- update to 2.65
- use SUBST_CMD - fix sample startup rc.mimedefang ok merdely
This commit is contained in:
parent
8545310f76
commit
08148a8e73
@ -1,11 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2008/02/05 20:46:21 okan Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2008/10/21 23:28:14 okan Exp $
|
||||
|
||||
COMMENT= mailfilter to identify and mark spam
|
||||
|
||||
DISTNAME= mimedefang-2.64
|
||||
DISTNAME= mimedefang-2.65
|
||||
CATEGORIES= mail
|
||||
|
||||
HOMEPAGE= http://www.mimedefang.org/
|
||||
MASTER_SITES= ${HOMEPAGE}static/
|
||||
|
||||
MAINTAINER= Okan Demirmen <okan@openbsd.org>
|
||||
|
||||
@ -17,8 +18,6 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= c m perl pthread util milter
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}static/
|
||||
|
||||
RUN_DEPENDS= :p5-MIME-tools-*:mail/p5-MIME-tools \
|
||||
:p5-Digest-SHA1-*:security/p5-Digest-SHA1 \
|
||||
:p5-HTML-Parser-*:www/p5-HTML-Parser
|
||||
@ -31,8 +30,7 @@ CONFIGURE_ARGS= --with-user=_mdefang \
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-build:
|
||||
@sed -e 's,%LOCALBASE%,${LOCALBASE},g' < ${FILESDIR}/rc.mimedefang \
|
||||
> ${WRKSRC}/rc.mimedefang
|
||||
${SUBST_CMD} -c ${FILESDIR}/rc.mimedefang ${WRKSRC}/rc.mimedefang
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mimedefang
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (mimedefang-2.64.tar.gz) = FKXxqUpMlcR4/MPXb5pP3w==
|
||||
RMD160 (mimedefang-2.64.tar.gz) = 8258tywSUlZ8VGav5ooCQ63JnxI=
|
||||
SHA1 (mimedefang-2.64.tar.gz) = DXe7mC5R0QGMzFbiPjnzHaKw0z4=
|
||||
SHA256 (mimedefang-2.64.tar.gz) = WTiI/RWnH7GSVJ55nCelE2yx78s1N4omYRfVwrApuJw=
|
||||
SIZE (mimedefang-2.64.tar.gz) = 331444
|
||||
MD5 (mimedefang-2.65.tar.gz) = OeiJrc+L2nZ/yaLwPoh8TA==
|
||||
RMD160 (mimedefang-2.65.tar.gz) = Go0SAXfHIBsM5PZI0eqIfMiHrBs=
|
||||
SHA1 (mimedefang-2.65.tar.gz) = g5fzutPAADzW3pFcEUHrTj57vCk=
|
||||
SHA256 (mimedefang-2.65.tar.gz) = UrBdUG9clHDyS4mfQuekyYYCy+bjo45EP7nhzRQubuo=
|
||||
SIZE (mimedefang-2.65.tar.gz) = 334830
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $OpenBSD: rc.mimedefang,v 1.2 2007/11/02 22:40:03 sthen Exp $
|
||||
# $OpenBSD: rc.mimedefang,v 1.3 2008/10/21 23:28:14 okan Exp $
|
||||
|
||||
mimedefang=%LOCALBASE%/bin/mimedefang
|
||||
multiplexor=%LOCALBASE%/bin/mimedefang-multiplexor
|
||||
mimedefang=${LOCALBASE}/bin/mimedefang
|
||||
multiplexor=${LOCALBASE}/bin/mimedefang-multiplexor
|
||||
|
||||
if [ -x $mimedefang -a -x $multiplexor ]; then
|
||||
MAX_SLAVES=16
|
||||
@ -24,7 +24,7 @@ if [ -x $mimedefang -a -x $multiplexor ]; then
|
||||
|
||||
echo -n " mimedefang"
|
||||
$mimedefang -U _mdefang -r -s -t \
|
||||
-p /var/run/mdefang/mimedefang.socket \
|
||||
-p /var/run/mdefang/mimedefang.pid \
|
||||
-m /var/run/mdefang/multiplexor.socket
|
||||
|
||||
sleep 3 # for socket creation
|
||||
|
@ -1,9 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2007/11/02 22:40:04 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2008/10/21 23:28:14 okan Exp $
|
||||
@newgroup _mdefang:570
|
||||
@newuser _mdefang:570:_mdefang:daemon:MIMEDefang:/nonexistent:/sbin/nologin
|
||||
bin/md-mx-ctrl
|
||||
bin/mimedefang
|
||||
bin/mimedefang-multiplexor
|
||||
@bin bin/md-mx-ctrl
|
||||
@bin bin/mimedefang
|
||||
@bin bin/mimedefang-multiplexor
|
||||
bin/mimedefang.pl
|
||||
bin/watch-mimedefang
|
||||
bin/watch-multiple-mimedefangs.tcl
|
||||
|
Loading…
Reference in New Issue
Block a user