aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-09-01 11:03:48 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-09-01 11:03:48 +0000
commitee8919ab2a3241903ea3ce7c55cd1be9289a1244 (patch)
tree8561006db7f92ef8c1f30b8fb0261d3e38bc32ef /mail
parent8700f476c4bcaffc9cc253a58ad11496c975c4d6 (diff)
downloadports-ee8919ab2a3241903ea3ce7c55cd1be9289a1244.tar.gz
ports-ee8919ab2a3241903ea3ce7c55cd1be9289a1244.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/postgrey/Makefile7
-rw-r--r--mail/postgrey/distinfo6
-rw-r--r--mail/postgrey/files/postgrey.in (renamed from mail/postgrey/files/postgrey.sh)0
-rw-r--r--mail/postgrey/pkg-plist1
4 files changed, 5 insertions, 9 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 7bc9cd8a0175..07cad159d478 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postgrey
-PORTVERSION= 1.24
+PORTVERSION= 1.27
CATEGORIES= mail
MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server \
${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
USE_PERL5_RUN= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= postgrey
NO_BUILD= yes
ETCFILES= whitelist_clients whitelist_recipients
@@ -44,8 +44,6 @@ 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
${SED} -e 's#%%USER%%#${PGY_USERNAME}#g' -e 's#%%UID%%#${PGY_USERID}#g' \
-e 's#%%GROUP%%#${PGY_GROUPNAME}#g' -e 's#%%GID%%#${PGY_GROUPID}#g' \
-e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%ETCFILES%%#${ETCFILES}#g' \
@@ -56,7 +54,6 @@ pre-install:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/contrib/postgreyreport ${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKDIR}/postgrey.sh ${PREFIX}/etc/rc.d
${MKDIR} ${PREFIX}/etc/postfix
.for i in ${ETCFILES}
${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${PREFIX}/etc/postfix/dist-postgrey_${i}
diff --git a/mail/postgrey/distinfo b/mail/postgrey/distinfo
index 736b828ba60f..99b2c8dbc4a5 100644
--- a/mail/postgrey/distinfo
+++ b/mail/postgrey/distinfo
@@ -1,3 +1,3 @@
-MD5 (postgrey-1.24.tar.gz) = db11f4da47ee28252cf2ddd160308d7e
-SHA256 (postgrey-1.24.tar.gz) = 266506813ee56314ea3f2e96dbfe0c7cbfe8a8548f3718f2d0952b0370683b77
-SIZE (postgrey-1.24.tar.gz) = 27444
+MD5 (postgrey-1.27.tar.gz) = df3a8b4a0c6ab7e8e5bb5be0de096c47
+SHA256 (postgrey-1.27.tar.gz) = b29f9e6a0648ea8cddd6c96ea827bb33b8346605f6d45d6ebb33a1af8470ce42
+SIZE (postgrey-1.27.tar.gz) = 29221
diff --git a/mail/postgrey/files/postgrey.sh b/mail/postgrey/files/postgrey.in
index 64f45981a2c2..64f45981a2c2 100644
--- a/mail/postgrey/files/postgrey.sh
+++ b/mail/postgrey/files/postgrey.in
diff --git a/mail/postgrey/pkg-plist b/mail/postgrey/pkg-plist
index 1ee0bca1fb46..b093c6b3287b 100644
--- a/mail/postgrey/pkg-plist
+++ b/mail/postgrey/pkg-plist
@@ -2,7 +2,6 @@
@unexec if cmp -s %D/etc/postfix/dist-postgrey_whitelist_clients %D/etc/postfix/postgrey_whitelist_clients; then rm -f %D/etc/postfix/postgrey_whitelist_clients; fi
sbin/postgrey
sbin/postgreyreport
-etc/rc.d/postgrey.sh
etc/postfix/dist-postgrey_whitelist_recipients
etc/postfix/dist-postgrey_whitelist_clients
@dirrmtry etc/postfix