diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-10-01 19:01:28 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-10-01 19:01:28 +0400 |
commit | dcdcecb4998fd65c6248225b220637df6694dbad (patch) | |
tree | d2597d1d2dbb7e74b25d18e6948338aea261bb3d /CMakeLists.txt | |
parent | 5cf9bd2578cab28565287b53ac4128a4970408ce (diff) | |
download | rspamd-dcdcecb4998fd65c6248225b220637df6694dbad.tar.gz rspamd-dcdcecb4998fd65c6248225b220637df6694dbad.zip |
* Add ability to specify many redirector hosts and choose them round-robin
* Fix ip address parsing in redirector config
* Fix logic of checking url in redirector if its domain is in exceptions list
* Add dependencies in perl module (suggested by AZ)
* Add BUILD_PORT define for skipping installation of FreeBSD rc scrips (suggested by AZ)
* Change version of 0.3.3
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e017e6875..23d7f7671 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ PROJECT(rspamd C) SET(RSPAMD_VERSION_MAJOR 0) SET(RSPAMD_VERSION_MINOR 3) -SET(RSPAMD_VERSION_PATCH 2) +SET(RSPAMD_VERSION_PATCH 3) SET(RSPAMD_VERSION "${RSPAMD_VERSION_MAJOR}.${RSPAMD_VERSION_MINOR}.${RSPAMD_VERSION_PATCH}") SET(RSPAMD_MASTER_SITE_URL "http://bitbucket.org/vstakhov/rspamd") @@ -757,14 +757,14 @@ IF(ENABLE_REDIRECTOR MATCHES "ON" AND PERL_EXECUTABLE) ENDIF(ENABLE_REDIRECTOR MATCHES "ON" AND PERL_EXECUTABLE) # Start scripts -IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") +IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT BUILD_PORT) INSTALL(PROGRAMS freebsd/rspamd.sh DESTINATION etc/rc.d) IF(ENABLE_REDIRECTOR MATCHES "ON") INSTALL(PROGRAMS freebsd/redirector.sh DESTINATION etc/rc.d) ENDIF(ENABLE_REDIRECTOR MATCHES "ON") INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E make_directory ${DESTDIR}/var/run/rspamd/)") INSTALL(CODE "EXECUTE_PROCESS(COMMAND chown ${RSPAMD_USER}:${RSPAMD_GROUP} ${DESTDIR}/var/run/rspamd/)") -ENDIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") +ENDIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT BUILD_PORT) IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") INSTALL(PROGRAMS linux/rspamd DESTINATION ${ETC_PREFIX}/init.d) INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E make_directory ${DESTDIR}/var/run/rspamd/)") |