View | Details | Raw Unified | Return to bug 135906
Collapse All | Expand All

(-)Makefile (-11 / +10 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	postfwd
8
PORTNAME=	postfwd
9
DISTVERSION=	1.10.8b
9
PORTVERSION=	1.11
10
CATEGORIES=	mail
10
CATEGORIES=	mail
11
MASTER_SITES=	http://www.postfwd.org/old/
11
MASTER_SITES=	http://www.${PORTNAME}.org/old/
12
PKGNAMEPREFIX=	postfix-
12
PKGNAMEPREFIX=	postfix-
13
DISTNAME=	postfwd-1.10pre8b
14
13
15
MAINTAINER=	sahil@tandon.net
14
MAINTAINER=	sahil@tandon.net
16
COMMENT=	A postfix firewall policy daemon
15
COMMENT=	A postfix firewall policy daemon
Lines 18-50 Link Here
18
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
17
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
19
		${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex
18
		${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex
20
19
21
PORTDOCS=	CHANGELOG postfwd.html postfwd.txt
20
PORTDOCS=	CHANGELOG ${PORTNAME}.html ${PORTNAME}.txt
22
PORTEXAMPLES=	request.sample
21
PORTEXAMPLES=	request.sample
23
PLIST_FILES=	bin/postfwd etc/postfwd.conf.sample
22
PLIST_FILES=	bin/${PORTNAME} etc/${PORTNAME}.conf.sample
24
23
25
SUB_FILES=	pkg-message
24
SUB_FILES=	pkg-message
26
25
27
USE_RC_SUBR=	postfwd
26
USE_RC_SUBR=	${PORTNAME}	
28
USE_PERL5_RUN=	yes
27
USE_PERL5_RUN=	yes
29
NO_BUILD=	yes
28
NO_BUILD=	yes
30
29
31
MAN8=		postfwd.8
30
MAN8=		${PORTNAME}.8
32
31
33
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
34
33
35
do-install:
34
do-install:
36
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/
35
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/
37
	@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf ${PREFIX}/etc/${PORTNAME}.conf.sample
36
	@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${PREFIX}/etc/${PORTNAME}.conf.sample
38
	@${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${MANPREFIX}/man/man8/
37
	@${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${MANPREFIX}/man/man8/
39
38
40
post-install:
39
post-install:
41
.if !defined(NOPORTDOCS)
40
.if !defined(NOPORTDOCS)
42
	@${INSTALL} -d ${DOCSDIR}
41
	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
43
	@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
42
	@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
44
.endif
43
.endif
45
.if !defined(NOPORTEXAMPLES)
44
.if !defined(NOPORTEXAMPLES)
46
	@${INSTALL} -d ${EXAMPLESDIR}
45
	@${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
47
	@${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${EXAMPLESDIR}
46
	@${INSTALL_DATA} ${WRKSRC}/tools/${PORTEXAMPLES} ${EXAMPLESDIR}
48
.endif
47
.endif
49
	@${CAT} ${PKGMESSAGE}
48
	@${CAT} ${PKGMESSAGE}
50
49
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (postfwd-1.10pre8b.tar.gz) = 077855c4b7ce015deec16cddd2c5156e
1
MD5 (postfwd-1.11.tar.gz) = db68544653d625b0d5d6edf90915e4f1
2
SHA256 (postfwd-1.10pre8b.tar.gz) = ea60b32c511145d0d8724babd327c7a2091739b7647fbff0d3d1e7d83a0cca46
2
SHA256 (postfwd-1.11.tar.gz) = 49028f39ee4bfcfcb3f0afdbe5507807729d60b0e440a1f9485b109dd01765b9
3
SIZE (postfwd-1.10pre8b.tar.gz) = 84688
3
SIZE (postfwd-1.11.tar.gz) = 90723
(-)files/pkg-message.in (-1 / +1 lines)
Lines 1-7 Link Here
1
*************
1
*************
2
* Start postfwd with:
2
* Start postfwd with:
3
3
4
# %%PREFIX%%/bin/postfwd start
4
# %%PREFIX%%/etc/rc.d/postfwd start
5
5
6
* Integrate thusly in: %%PREFIX%%/etc/postfix/main.cf
6
* Integrate thusly in: %%PREFIX%%/etc/postfix/main.cf

Return to bug 135906