ports/167220: [FIX] mail/rspamd rcng script while testing config (reload stage)
Andrej Zverev
az at FreeBSD.org
Mon Apr 23 06:00:22 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list