ports/72083: [MAINTAINER UPDATE] Rename mail/spamd's startup script's name
Xin LI
delphij at FreeBSD.org
Sat Sep 25 17:20:26 UTC 2004
>Number: 72083
>Category: ports
>Synopsis: [MAINTAINER UPDATE] Rename mail/spamd's startup script's name
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 25 17:20:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Xin LI
>Release: FreeBSD 4.10-STABLE i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD freefall.freebsd.org 4.10-STABLE FreeBSD 4.10-STABLE #13: Fri May 28 21:29:54 PDT 2004 kensmith at freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386
>Description:
As discussed in -ports@ and privately with mat@, I think it would
good to change the startup script's name so it will make it work better
with SpamAssassin's spamd daemon.
>How-To-Repeat:
Currently, spamd and SpamAssassin's spamd is using same name for
their startup script. I suggest that both port add a prefix, e.g.:
pf-spamd.sh
spamassassin-spamd.sh (or sa-spamd.sh, etc :-)
>Fix:
--- patch-spamd begins here ---
Index: Makefile
===================================================================
RCS file: /r/pcvs/ports/mail/spamd/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 18 Jul 2004 22:54:29 -0000 1.6
+++ Makefile 25 Sep 2004 17:02:44 -0000
@@ -7,7 +7,7 @@
PORTNAME= spamd
PORTVERSION= 3.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://resources.delphij.net/pf/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -35,7 +35,7 @@
MAN8= spamd.8 spamd-setup.8 spamdb.8 spamlogd.8
SAMPLE_SPAMD_CONF= ${PREFIX}/etc/spamd.conf.sample
-SAMPLE_SPAMD_RC= ${PREFIX}/etc/rc.d/spamd.sh
+SAMPLE_SPAMD_RC= ${PREFIX}/etc/rc.d/pf-spamd.sh
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCAL_PFCTL%%|${LOCAL_PFCTL}|; \
Index: pkg-plist
===================================================================
RCS file: /r/pcvs/ports/mail/spamd/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist 3 Apr 2004 16:42:37 -0000 1.2
+++ pkg-plist 25 Sep 2004 17:02:06 -0000
@@ -2,5 +2,5 @@
libexec/spamlogd
sbin/spamd-setup
sbin/spamdb
-etc/rc.d/spamd.sh
+etc/rc.d/pf-spamd.sh
etc/spamd.conf.sample
--- patch-spamd ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list