On Tue, Jan 07, 2014 at 09:27:26PM -0300, Gleydson Soares wrote:
> Em 07/01/2014 20:30, "Antoine Jacoutot" <ajacou...@bsdfrog.org> escreveu:
> >
> > On Tue, Jan 07, 2014 at 11:13:24PM +0100, Remi Locherer wrote:
> > > This adds an rc script do dkim-milter. Manuals look good without
> > > using groff.
> > >
> > > This is not an update of dkim-milter itself, 2.8.3 is likely the
> > > last version. Development continues within the OpenDKIM project
> > > (http://www.opendkim.org/).
> > >
> > > Remi

> > >
> > > +daemon="/usr/local/libexec/dkim-filter"
> >
> > ${TRUEPREFIX} instead of /usr/local
> >
> >
> 
> plus:
> add RCS id in RC script.

new diff:


cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile    23 Oct 2013 16:33:20 -0000      1.37
+++ Makefile    7 Jan 2014 21:30:28 -0000
@@ -3,7 +3,7 @@
 COMMENT=       DKIM milter
 
 DISTNAME=      dkim-milter-2.8.3
-REVISION =     2
+REVISION =     3
 CATEGORIES=    mail
 HOMEPAGE=      http://sourceforge.net/projects/dkim-milter/
 
@@ -18,7 +18,6 @@ PERMIT_PACKAGE_FTP=           Yes
 WANTLIB=       c crypto milter pthread ssl
 
 EXAMPLESDIR=   share/examples/dkim-milter
-USE_GROFF =    Yes
 
 post-configure:
        @(echo "define(\`confCC', \`${CC}')"; \
cvs diff: Diffing patches
cvs diff: Diffing pkg
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/mail/dkim-milter/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   8 Mar 2013 06:42:09 -0000       1.5
+++ pkg/PLIST   7 Jan 2014 19:40:36 -0000
@@ -13,3 +13,4 @@ bin/dkim-genkey
 share/doc/pkg-readmes/${FULLPKGNAME}
 share/examples/dkim-milter/
 share/examples/dkim-milter/dkim-filter.conf.sample
+@rcscript ${RCDIR}/dkim_filter
Index: pkg/dkim_filter.rc
===================================================================
RCS file: pkg/dkim_filter.rc
diff -N pkg/dkim_filter.rc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/dkim_filter.rc  7 Jan 2014 23:52:03 -0000
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/libexec/dkim-filter"
+
+. /etc/rc.d/rc.subr
+
+rc_reload() {
+       pkill -USR1 -f "^${pexp}"
+}
+
+rc_cmd $1

Reply via email to