diff options
author | dd <dd@FreeBSD.org> | 2005-04-15 14:31:28 +0800 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2005-04-15 14:31:28 +0800 |
commit | 5d44c248a753ad7424840166ad168db7280c5572 (patch) | |
tree | 37e330e9fecc3b6c857204f7299283ec28d47132 /mail | |
parent | 0d86bb946adb3b487dbc6cf3ddda137593c7a2a2 (diff) | |
download | freebsd-ports-gnome-5d44c248a753ad7424840166ad168db7280c5572.tar.gz freebsd-ports-gnome-5d44c248a753ad7424840166ad168db7280c5572.tar.zst freebsd-ports-gnome-5d44c248a753ad7424840166ad168db7280c5572.zip |
Upgrade to 1.21.
Submitted by: Harold Paulson <haroldp@internal.org>
Related PR: 77149
Security: http://lists.ee.ethz.ch/postgrey/msg00647.html
Security: remotely exploitable DoS vulnerability
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postgrey/Makefile | 6 | ||||
-rw-r--r-- | mail/postgrey/distinfo | 4 | ||||
-rw-r--r-- | mail/postgrey/files/postgrey.sh | 5 |
3 files changed, 8 insertions, 7 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile index 1b4564d67d9b..ee4f2cbd5828 100644 --- a/mail/postgrey/Makefile +++ b/mail/postgrey/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postgrey -PORTVERSION= 1.18 +PORTVERSION= 1.21 CATEGORIES= mail MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/ @@ -19,6 +19,7 @@ RUN_DEPENDS= ${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server \ USE_PERL5= yes USE_RC_SUBR= yes +USE_REINPLACE= yes NO_BUILD= yes ETCFILES= whitelist_clients whitelist_recipients @@ -52,6 +53,9 @@ pre-extract: IGNORE= Needs perl 5.6.1 or higher, install lang/perl5.8 and try again .endif +post-patch: + ${REINPLACE_CMD} -e "s#/etc/#${PREFIX}/etc/#" ${WRKSRC}/postgrey + pre-install: ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \ ${FILESDIR}/postgrey.sh > ${WRKDIR}/postgrey.sh diff --git a/mail/postgrey/distinfo b/mail/postgrey/distinfo index 4abc7f88ef33..6816afb47d45 100644 --- a/mail/postgrey/distinfo +++ b/mail/postgrey/distinfo @@ -1,2 +1,2 @@ -MD5 (postgrey-1.18.tar.gz) = 90db6140ce09e63c5e0e84eb72d71648 -SIZE (postgrey-1.18.tar.gz) = 25699 +MD5 (postgrey-1.21.tar.gz) = 1274e073be5178445e0892a9dcc6fe98 +SIZE (postgrey-1.21.tar.gz) = 25934 diff --git a/mail/postgrey/files/postgrey.sh b/mail/postgrey/files/postgrey.sh index 9908e9e2d991..63f47a2b08e6 100644 --- a/mail/postgrey/files/postgrey.sh +++ b/mail/postgrey/files/postgrey.sh @@ -36,10 +36,7 @@ stop_postcmd() postgrey_enable=${postgrey_enable:-"NO"} postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"} postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \ - --inet=10023 -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey \ - --whitelist-clients=%%PREFIX%%/etc/postfix/postgrey_whitelist_clients \ - --whitelist-clients=%%PREFIX%%/etc/postfix/postgrey_whitelist_clients.local \ - --whitelist-recipients=%%PREFIX%%/etc/postfix/postgrey_whitelist_recipients"} + --inet=10023 -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey"} pidfile="${postgrey_pidfile}" |