Date: Mon, 23 Apr 2012 09:51:51 +0400 From: Andrej Zverev <az@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/167220: [FIX] mail/rspamd rcng script while testing config (reload stage) Message-ID: <E1SMCBj-000Dr8-GM@sunner.semmy.ru> Resent-Message-ID: <201204230600.q3N60LxD023998@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167220 >Category: ports >Synopsis: [FIX] mail/rspamd rcng script while testing config (reload stage) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 23 06:00:21 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Andrej Zverev >Release: >Organization: >Environment: >Description: rpamd needs group and user args to be passed. Currently this not true for checkconfig which called by restart, reload, configtest. >How-To-Repeat: >Fix: --- rspamd-rc.diff.txt begins here --- Index: rspamd/Makefile =================================================================== RCS file: /home/pcvs/ports/mail/rspamd/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- rspamd/Makefile 14 Feb 2012 12:45:23 -0000 1.21 +++ rspamd/Makefile 20 Apr 2012 09:52:27 -0000 @@ -7,7 +7,7 @@ PORTNAME= rspamd PORTVERSION= 0.4.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://highsecure.ru/ Index: rspamd/files/rspamd.in =================================================================== RCS file: /home/pcvs/ports/mail/rspamd/files/rspamd.in,v retrieving revision 1.4 diff -u -r1.4 rspamd.in --- rspamd/files/rspamd.in 14 Jan 2012 08:56:03 -0000 1.4 +++ rspamd/files/rspamd.in 20 Apr 2012 09:52:27 -0000 @@ -43,7 +43,7 @@ rspamd_checkconfig() { echo "Performing sanity check on rspamd configuration:" - eval ${command} -t + eval ${command} ${command_args} -t } reopenlog_cmd() --- rspamd-rc.diff.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SMCBj-000Dr8-GM>