summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-26 15:17:33 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-26 15:17:33 +0400
commite9606fd020e0b25be7ed9fade46a90a6454f3e3d (patch)
tree558955ed3b9f4d21329cf0e3733a5ec237866647 /CMakeLists.txt
parent52eacd589704ae63a3794a1ed111de06add196f3 (diff)
downloadrspamd-e9606fd020e0b25be7ed9fade46a90a6454f3e3d.tar.gz
rspamd-e9606fd020e0b25be7ed9fade46a90a6454f3e3d.zip
* Change symbols planner sort logic to take into consideration not frequenses of symbols but their percent in total number
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b78780bb3..dbc49de28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -524,3 +524,13 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E make_directory /var/run/rspamd/)")
INSTALL(CODE "EXECUTE_PROCESS(COMMAND chown ${RSPAMD_USER}:${RSPAMD_GROUP} /var/run/rspamd/)")
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+
+# CPack section
+SET(CPACK_DEBIAN_PACKAGE_DEPENDS libevent1 libgmime-2.0-2a)
+SET(CPACK_PACKAGE_CONTACT "vsevolod@highsecure.ru")
+SET(CPACK_PACKAGE_NAME rspamd)
+SET(CPACK_SOURCE_IGNORE_FILES "\\\\.swp$" "/\\\\.hg/")
+SET(CPACK_PACKAGE_VERSION_MAJOR ${RSPAMD_VERSION_MAJOR})
+SET(CPACK_PACKAGE_VERSION_MINOR ${RSPAMD_VERSION_MINOR})
+SET(CPACK_PACKAGE_VERSION_PATCH ${RSPAMD_VERSION_PATCH})
+INCLUDE(CPack)