aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-06 16:02:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-06 16:02:51 +0100
commitca78852de1b151de6f92fa35d89049072753f9e6 (patch)
tree50a494e511b6eb4823cd7e1e6bd3623705449c52 /CMakeLists.txt
parent4b6654ca102cdfd18a9b0c81cd466b51e5a3bf8d (diff)
downloadrspamd-ca78852de1b151de6f92fa35d89049072753f9e6.tar.gz
rspamd-ca78852de1b151de6f92fa35d89049072753f9e6.zip
Use publicsuffix list for url search (too slow now).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5dfeb9fd9..0fa67248d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1037,6 +1037,10 @@ ENDFOREACH(LUA_PLUGIN)
# Install lua fun library
INSTALL(FILES "contrib/lua-fun/fun.lua" DESTINATION ${PLUGINSDIR}/lua)
+# Install TLD list
+INSTALL(FILES "contrib/publicsuffix/effective_tld_names.dat" DESTINATION
+ "${PLUGINSDIR}/effective_tld_names.dat")
+
# Lua config
INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CONFDIR}/lua)")
FILE(GLOB_RECURSE LUA_CONFIGS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/conf/lua"