From 02a6d987bbdf55e06375544a14c046d1724f946e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 27 Apr 2010 18:43:22 +0400 Subject: * 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 --- freebsd/port/Makefile | 8 +------- freebsd/rspamd.sh.in | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'freebsd') 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" -- cgit v1.2.3