Update to milter-sender 0.61 / libsnert 1.39.
Most notable new feature: Outgoing recipients are automatically white-listed if the incoming sender was white-listed (i.e. you will receive replies to your mails w/o a callback).
This commit is contained in:
parent
83d8251d79
commit
977f6e058b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117135
4 changed files with 22 additions and 21 deletions
|
@ -6,10 +6,10 @@
|
|||
#
|
||||
|
||||
PORTNAME= milter-sender
|
||||
PORTVERSION= 0.58
|
||||
PORTVERSION= 0.61
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.snert.com/Software/download/
|
||||
DISTFILES= libsnert-1.36.tgz milter-sender-${PORTVERSION}.tgz
|
||||
DISTFILES= libsnert-1.39.tgz milter-sender-${PORTVERSION}.tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Real-time sender address verification, based on Milter API
|
||||
|
@ -39,7 +39,7 @@ CFLAGS+= ${PTHREAD_CFLAGS}
|
|||
LDFLAGS+= ${PTHREAD_LIBS}
|
||||
|
||||
DOCS= CHANGES.TXT index.shtml style.css mailto.js \
|
||||
license-body.html LICENSE.TXT
|
||||
LICENSE.TXT
|
||||
|
||||
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
||||
|
@ -47,7 +47,7 @@ CONFIGURE_ARGS+=--with-db --localstatedir=/var/spool \
|
|||
--enable-milter-cf="${PREFIX}/etc/milter-sender.cf"
|
||||
|
||||
post-patch:
|
||||
.if ( ${OSVERSION} < 440000 )
|
||||
.if ( ${OSVERSION} < 440000 ) # please contact vs@ if in doubt
|
||||
${REINPLACE_CMD} 's/xargs -J{}/gxargs -i{}/' ${WRKSRC}/../lib/configure
|
||||
${REINPLACE_CMD} 's+/usr/sbin/daemon -f ++' ${WRKSRC}/milter-sender.sh.in
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
MD5 (libsnert-1.36.tgz) = c4b130c5d20682b6cd8579d2040a12a9
|
||||
SIZE (libsnert-1.36.tgz) = 236249
|
||||
MD5 (milter-sender-0.58.tgz) = b12ec6f6969ebeeede5e1c463082c069
|
||||
SIZE (milter-sender-0.58.tgz) = 236430
|
||||
MD5 (libsnert-1.39.tgz) = 3017eaaa62c1c9f321f4d323dbb01c7e
|
||||
SIZE (libsnert-1.39.tgz) = 299689
|
||||
MD5 (milter-sender-0.61.tgz) = da277e57d858a37aaa8ba850e34cd498
|
||||
SIZE (milter-sender-0.61.tgz) = 263998
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
--- milter-sender.sh.in.orig Tue Feb 24 20:18:59 2004
|
||||
+++ milter-sender.sh.in Sat Mar 6 12:33:09 2004
|
||||
@@ -69,34 +69,24 @@
|
||||
start()
|
||||
{
|
||||
--- milter-sender.sh.in.orig Thu Aug 12 09:44:49 2004
|
||||
+++ milter-sender.sh.in Mon Aug 23 10:45:57 2004
|
||||
@@ -88,35 +88,25 @@
|
||||
rm -f $STATE_DIR/mutex
|
||||
|
||||
NAME=`basename "$PROGRAM"`
|
||||
- printf "Starting %s" $NAME
|
||||
|
||||
pid=`getpid "$PROGRAM"`
|
||||
if [ X"$pid" != X ]; then
|
||||
- printf '\r\033[71C['${FG_RED}'FAILED'${FG_NORMAL}']\n'
|
||||
+ echo " milter-sender:FAILED"
|
||||
+ echo " milter-sender:FAILED"
|
||||
return
|
||||
fi
|
||||
|
||||
|
@ -19,8 +19,7 @@
|
|||
- # Start the program in the background from a sub-shell
|
||||
- # so that process will appear in the ps output immediately.
|
||||
- sh -c "$PROGRAM $OPTIONS &"
|
||||
+ cd $STATE_DIR && /usr/sbin/daemon -f $PROGRAM $OPTIONS &
|
||||
|
||||
-
|
||||
- pid=`getpid "$PROGRAM"`
|
||||
- if [ X"$pid" = X ]; then
|
||||
- printf '\r\033[71C['${FG_RED}'FAILED'${FG_NORMAL}']\n'
|
||||
|
@ -28,9 +27,12 @@
|
|||
- fi
|
||||
-
|
||||
- printf '\r\033[71C['${FG_GREEN}' OK '${FG_NORMAL}']\n'
|
||||
+ echo -n " milter-sender"
|
||||
+ cd $STATE_DIR && /usr/sbin/daemon -f $PROGRAM $OPTIONS &
|
||||
+
|
||||
+ echo -n " milter-sender"
|
||||
}
|
||||
|
||||
unalias stop
|
||||
stop()
|
||||
{
|
||||
NAME=`basename "$PROGRAM"`
|
||||
|
@ -38,7 +40,7 @@
|
|||
|
||||
pid=`getpid "$PROGRAM"`
|
||||
if [ X"$pid" != X ]; then
|
||||
@@ -113,7 +103,7 @@
|
||||
@@ -133,7 +123,7 @@
|
||||
|
||||
pid=`getpid "$PROGRAM"`
|
||||
if [ X"$pid" != X ]; then
|
||||
|
@ -47,7 +49,7 @@
|
|||
return
|
||||
fi
|
||||
|
||||
@@ -132,7 +122,7 @@
|
||||
@@ -152,7 +142,7 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -56,7 +58,7 @@
|
|||
}
|
||||
|
||||
case "$1" in
|
||||
@@ -163,9 +153,9 @@
|
||||
@@ -183,9 +173,9 @@
|
||||
status)
|
||||
pid=`getpid "$PROGRAM"`
|
||||
if [ X"$pid" != X ]; then
|
||||
|
|
|
@ -19,7 +19,6 @@ sbin/milter-sender
|
|||
%%PORTDOCS%%%%DOCSDIR%%/Img/sun.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.shtml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/license-body.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mailto.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/style.css
|
||||
@unexec echo
|
||||
|
|
Loading…
Reference in a new issue