Hi,

- switch to pkg-readmes
- add rc script
- no need for groff

Maintainer timeout.

Comments, feedback, ok's..

Cheers,
Okan
 
Index: Makefile
===================================================================
RCS file: /home/open/anoncvs/cvs/ports/mail/milter-spamd/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile    19 Nov 2010 07:23:07 -0000      1.11
+++ Makefile    27 Nov 2010 05:34:47 -0000
@@ -3,7 +3,7 @@
 COMMENT=       sendmail milter plugin for SpamAssassin spamd
 
 DISTNAME=      milter-spamd-0.5
-REVISION =     0
+REVISION =     1
 CATEGORIES=    mail
 MASTER_SITES=  http://www.benzedrine.cx/
 
@@ -18,7 +18,6 @@ PERMIT_DISTFILES_CDROM=       Yes
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=               c pthread milter
 
-USE_GROFF =    Yes
 NO_REGRESS=    Yes
 
 do-configure:
Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- pkg/MESSAGE 13 Oct 2004 18:59:19 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-milter-spamd has been installed as ${PREFIX}/libexec/milter-spamd.
-See milter-spamd(8) for instructions on how to register the plugin.
-
-To start the plugin automatically on startup, one can use:
-
-/etc/rc.conf.local
-milter_spamd=""
-
-/etc/rc.local
-if [ X"${milter_spamd}" != X"NO" -a \
-     -x ${PREFIX}/libexec/milter-spamd ]; then
-        echo -n ' milter-spamd'
-        ${PREFIX}/libexec/milter-spamd ${milter_spamd}
-fi
Index: pkg/PLIST
===================================================================
RCS file: /home/open/anoncvs/cvs/ports/mail/milter-spamd/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   25 Nov 2004 00:37:47 -0000      1.4
+++ pkg/PLIST   27 Nov 2010 05:36:03 -0000
@@ -1,10 +1,15 @@
 @comment $OpenBSD: PLIST,v 1.4 2004/11/25 00:37:47 alek Exp $
 @newgroup _milter-spamd:532
 @newuser _milter-spamd:532:_milter-spamd:daemon:milter-spamd 
Account:/nonexistent:/sbin/nologin
-libexec/milter-spamd
+...@bin libexec/milter-spamd
 @man man/man8/milter-spamd.8
+...@mode 700
 @owner _milter-spamd
 @group _milter-spamd
-...@mode 700
 @sample /var/spool/milter-spamd/
 @extraunexec rm -fr /var/spool/milter-spamd
+...@mode
+...@owner
+...@group
+share/doc/pkg-readmes/${FULLPKGNAME}
+...@rcscript ${RCDIR}/milter_spamd
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/README  6 Dec 2010 01:37:40 -0000
@@ -0,0 +1,6 @@
+$OpenBSD$
+
+Running MILTER-SPAMD on OpenBSD
+===============================
+
+See milter-spamd(8) for instructions on how to register the plugin.
Index: pkg/milter_spamd.rc
===================================================================
RCS file: pkg/milter_spamd.rc
diff -N pkg/milter_spamd.rc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/milter_spamd.rc 27 Nov 2010 05:33:20 -0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+. /etc/rc.d/rc.subr
+
+daemon=${TRUEPREFIX}/libexec/milter-spamd
+
+rc_cmd $1

Reply via email to