aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix-postfwd
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-07-06 20:18:05 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-07-06 20:18:05 +0000
commit768043af28859c06c0a0e14aebf404a2becab1a8 (patch)
tree206cf78860649281c8d9ab94535aaf6abbdf6d6d /mail/postfix-postfwd
parentd1ca02d7c4472c84919a6f46c338f86ddc294c1d (diff)
downloadports-768043af28859c06c0a0e14aebf404a2becab1a8.tar.gz
ports-768043af28859c06c0a0e14aebf404a2becab1a8.zip
- update underlying software to 1.13
- misc. refinements in Makefile and files/pkg-message.in PR: 135906 Submitted by: Sahil Tandon (maintainer)
Notes
Notes: svn path=/head/; revision=237275
Diffstat (limited to 'mail/postfix-postfwd')
-rw-r--r--mail/postfix-postfwd/Makefile21
-rw-r--r--mail/postfix-postfwd/distinfo6
-rw-r--r--mail/postfix-postfwd/files/pkg-message.in2
3 files changed, 14 insertions, 15 deletions
diff --git a/mail/postfix-postfwd/Makefile b/mail/postfix-postfwd/Makefile
index 814c11464543..45398497f492 100644
--- a/mail/postfix-postfwd/Makefile
+++ b/mail/postfix-postfwd/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= postfwd
-DISTVERSION= 1.10.8b
+PORTVERSION= 1.13
CATEGORIES= mail
-MASTER_SITES= http://www.postfwd.org/old/
+MASTER_SITES= http://www.${PORTNAME}.org/old/
PKGNAMEPREFIX= postfix-
-DISTNAME= postfwd-1.10pre8b
MAINTAINER= sahil@tandon.net
COMMENT= A postfix firewall policy daemon
@@ -18,33 +17,33 @@ COMMENT= A postfix firewall policy daemon
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex
-PORTDOCS= CHANGELOG postfwd.html postfwd.txt
+PORTDOCS= CHANGELOG ${PORTNAME}.html ${PORTNAME}.txt
PORTEXAMPLES= request.sample
-PLIST_FILES= bin/postfwd etc/postfwd.conf.sample
+PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample
SUB_FILES= pkg-message
-USE_RC_SUBR= postfwd
+USE_RC_SUBR= ${PORTNAME}
USE_PERL5_RUN= yes
NO_BUILD= yes
-MAN8= postfwd.8
+MAN8= ${PORTNAME}.8
.include <bsd.port.pre.mk>
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/
- @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf ${PREFIX}/etc/${PORTNAME}.conf.sample
+ @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${PREFIX}/etc/${PORTNAME}.conf.sample
@${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${MANPREFIX}/man/man8/
post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
+ @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
- @${INSTALL} -d ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${EXAMPLESDIR}
+ @${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/tools/${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/mail/postfix-postfwd/distinfo b/mail/postfix-postfwd/distinfo
index 5c737ef39501..fda8e4b655bc 100644
--- a/mail/postfix-postfwd/distinfo
+++ b/mail/postfix-postfwd/distinfo
@@ -1,3 +1,3 @@
-MD5 (postfwd-1.10pre8b.tar.gz) = 077855c4b7ce015deec16cddd2c5156e
-SHA256 (postfwd-1.10pre8b.tar.gz) = ea60b32c511145d0d8724babd327c7a2091739b7647fbff0d3d1e7d83a0cca46
-SIZE (postfwd-1.10pre8b.tar.gz) = 84688
+MD5 (postfwd-1.13.tar.gz) = 4790bdc66509f504dac38a0ef67033e1
+SHA256 (postfwd-1.13.tar.gz) = 5d8571ce6e3e5d2802e94a5c784a873822fd5b010d6e98b32c66e3dfd583defa
+SIZE (postfwd-1.13.tar.gz) = 94497
diff --git a/mail/postfix-postfwd/files/pkg-message.in b/mail/postfix-postfwd/files/pkg-message.in
index bf63e05ea004..053d808d3f32 100644
--- a/mail/postfix-postfwd/files/pkg-message.in
+++ b/mail/postfix-postfwd/files/pkg-message.in
@@ -1,7 +1,7 @@
*************
* Start postfwd with:
-# %%PREFIX%%/bin/postfwd start
+# %%PREFIX%%/etc/rc.d/postfwd start
* Integrate thusly in: %%PREFIX%%/etc/postfix/main.cf