diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-27 18:43:22 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-27 18:43:22 +0400 |
commit | 02a6d987bbdf55e06375544a14c046d1724f946e (patch) | |
tree | dae44cce3c62f56794fb4245ac86020f27ea7591 /freebsd | |
parent | 971bad45c44cf430bde13faede56699ba0381e83 (diff) | |
download | rspamd-02a6d987bbdf55e06375544a14c046d1724f946e.tar.gz rspamd-02a6d987bbdf55e06375544a14c046d1724f946e.zip |
* Improve logging system:
- do not write many repeated messages to log
- add process name to log line
* Small fixes to FreeBSD port and to start script as we have xml version now
* Reconfig modules while rereading config file
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/port/Makefile | 8 | ||||
-rwxr-xr-x | freebsd/rspamd.sh.in | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/freebsd/port/Makefile b/freebsd/port/Makefile index 668d8d8d4..d75fc40e4 100644 --- a/freebsd/port/Makefile +++ b/freebsd/port/Makefile @@ -6,7 +6,7 @@ # PORTNAME= rspamd -PORTVERSION= 0.2.9 +PORTVERSION= 0.3.0 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -27,7 +27,6 @@ USE_PERL5= yes OPTIONS= RSPAMD_GPERF "Enable google perf-tools profiling" off \ RSPAMD_JUDY "Enable judy arrays usage for performance" off \ - RSPAMD_LUA "Enable lua plugins support in rspamd" on \ RSPAMD_OPTFLAGS "Turn on compiler optimizations" off \ RSPAMD_REDIRECTOR "Install HTTP redirector" off \ RSPAMD_STATIC "Build static version of rspamd" off @@ -47,13 +46,8 @@ LIB_DEPENDS+= profiler.0:${PORTSDIR}/devel/google-perftools LIB_DEPENDS+= Judy:${PORTSDIR}/devel/judy .endif -.if defined(WITH_RSPAMD_LUA) USE_LUA= 5.1- PLIST_SUB+= LUA="" -.else -CMAKE_ARGS+= -DENABLE_LUA=OFF -PLIST_SUB+= LUA="@comment" -.endif .if defined(WITH_RSPAMD_OPTFLAGS) CMAKE_ARGS+= -DENABLE_OPTIMIZATION=ON diff --git a/freebsd/rspamd.sh.in b/freebsd/rspamd.sh.in index 5bb3a5cc2..42e82f140 100755 --- a/freebsd/rspamd.sh.in +++ b/freebsd/rspamd.sh.in @@ -41,6 +41,6 @@ extra_commands="reload configtest" sig_reload="USR1" command="$procname" -command_args="-u ${rspamd_user} -g ${rspamd_group} -c @CMAKE_INSTALL_PREFIX@/etc/rspamd.conf" +command_args="-u ${rspamd_user} -g ${rspamd_group} -c @CMAKE_INSTALL_PREFIX@/etc/rspamd.xml" run_rc_command "$1" |