From e9606fd020e0b25be7ed9fade46a90a6454f3e3d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 26 Aug 2009 15:17:33 +0400 Subject: * Change symbols planner sort logic to take into consideration not frequenses of symbols but their percent in total number --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3