- update to 1.8
- add rc script - no need for groff - remove README since the remaining relevant snippet is in the manpage (maintainer timeout) feedback and ok ajacoutot@
This commit is contained in:
parent
fb664f768a
commit
7520f9d783
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2010/11/19 07:23:07 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2010/12/09 01:46:05 okan Exp $
|
||||
|
||||
COMMENT= sendmail milter plugin for regular expression filtering
|
||||
|
||||
DISTNAME= milter-regex-1.7
|
||||
REVISION = 0
|
||||
DISTNAME= milter-regex-1.8
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
@ -18,7 +17,6 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c pthread milter
|
||||
|
||||
USE_GROFF = Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-configure:
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (milter-regex-1.7.tar.gz) = C+9ZruF9fIfjbZlEuWZZRw==
|
||||
RMD160 (milter-regex-1.7.tar.gz) = ZoaLIesJXyA++DkemXRFBtfuPMQ=
|
||||
SHA1 (milter-regex-1.7.tar.gz) = 3jN7wS2t4e1LcVZXxDFwQPCO+QI=
|
||||
SHA256 (milter-regex-1.7.tar.gz) = ymTlHGeieWLi0lig9p+DL/1WtScNvkRA+WD0V8dLvOY=
|
||||
SIZE (milter-regex-1.7.tar.gz) = 19321
|
||||
MD5 (milter-regex-1.8.tar.gz) = zTpnU6fOvHRjATbNUlA9rQ==
|
||||
RMD160 (milter-regex-1.8.tar.gz) = Qfckiz8VvUzvjLRcIK09jY5KDOE=
|
||||
SHA1 (milter-regex-1.8.tar.gz) = 2H2s1JK+WaSnqdREGzpZWV0AiDM=
|
||||
SHA256 (milter-regex-1.8.tar.gz) = Y5mrIwYYpBnEKxF+N/2y3vPG4c42g0HfUQXNUF83fC4=
|
||||
SIZE (milter-regex-1.8.tar.gz) = 19545
|
||||
|
@ -1,14 +0,0 @@
|
||||
milter-regex has been installed as ${PREFIX}/libexec/milter-regex.
|
||||
See milter-regex(8) for instructions on how to register the plugin.
|
||||
|
||||
To start the plugin automatically on startup, one can use:
|
||||
|
||||
/etc/rc.conf.local
|
||||
milter_regex=YES
|
||||
|
||||
/etc/rc.local
|
||||
if [ X"${milter_regex}" == X"YES" -a \
|
||||
-x ${PREFIX}/libexec/milter-regex ]; then
|
||||
echo -n ' milter-regex'
|
||||
${PREFIX}/libexec/milter-regex
|
||||
fi
|
@ -1,10 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2004/09/27 13:29:04 naddy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2010/12/09 01:46:05 okan Exp $
|
||||
@newgroup _milter-regex:527
|
||||
@newuser _milter-regex:527:_milter-regex:daemon:milter-regex Account:/nonexistent:/sbin/nologin
|
||||
libexec/milter-regex
|
||||
@bin libexec/milter-regex
|
||||
@man man/man8/milter-regex.8
|
||||
@group _milter-regex
|
||||
@owner _milter-regex
|
||||
@rcscript ${RCDIR}/milter_regex
|
||||
@mode 700
|
||||
@owner _milter-regex
|
||||
@group _milter-regex
|
||||
@sample /var/spool/milter-regex/
|
||||
@extraunexec rm -rf /var/spool/milter-regex/*
|
||||
@extraunexec rm -rf /var/spool/milter-regex
|
||||
|
13
mail/milter-regex/pkg/milter_regex.rc
Normal file
13
mail/milter-regex/pkg/milter_regex.rc
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: milter_regex.rc,v 1.1 2010/12/09 01:46:05 okan Exp $
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
daemon="${TRUEPREFIX}/libexec/milter-regex"
|
||||
|
||||
rc_reload() {
|
||||
rc_err "$0: reload is not supported"
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue
Block a user