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

(-)postgrey/Makefile (+5 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	postgrey
8
PORTNAME=	postgrey
9
PORTVERSION=	1.18
9
PORTVERSION=	1.18
10
PORTREVISION=	1
10
CATEGORIES=	mail
11
CATEGORIES=	mail
11
MASTER_SITES=	http://isg.ee.ethz.ch/tools/postgrey/pub/
12
MASTER_SITES=	http://isg.ee.ethz.ch/tools/postgrey/pub/
12
13
Lines 19-24 Link Here
19
20
20
USE_PERL5=	yes
21
USE_PERL5=	yes
21
USE_RC_SUBR=	yes
22
USE_RC_SUBR=	yes
23
USE_REINPLACE=	yes
22
NO_BUILD=	yes
24
NO_BUILD=	yes
23
25
24
ETCFILES=	whitelist_clients whitelist_recipients
26
ETCFILES=	whitelist_clients whitelist_recipients
Lines 51-56 Link Here
51
.if ${PERL_LEVEL} < 500600
53
.if ${PERL_LEVEL} < 500600
52
IGNORE=	Needs perl 5.6.1 or higher, install lang/perl5.8 and try again
54
IGNORE=	Needs perl 5.6.1 or higher, install lang/perl5.8 and try again
53
.endif
55
.endif
56
57
post-patch:
58
	${REINPLACE_CMD} -e "s#/etc/#${PREFIX}/etc/#" ${WRKSRC}/postgrey
54
59
55
pre-install:
60
pre-install:
56
	${SED}	-e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \
61
	${SED}	-e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \
(-)postgrey/files/postgrey.sh (-4 / +1 lines)
Lines 36-45 Link Here
36
postgrey_enable=${postgrey_enable:-"NO"}
36
postgrey_enable=${postgrey_enable:-"NO"}
37
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
37
postgrey_pidfile=${postgrey_pidfile:-"/var/run/postgrey.pid"}
38
postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
38
postgrey_flags=${postgrey_flags:-"--pidfile=${postgrey_pidfile} \
39
	--inet=10023 -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey \
39
	--inet=10023 -d --user=postgrey --group=postgrey --dbdir=/var/db/postgrey"}
40
	--whitelist-clients=%%PREFIX%%/etc/postfix/postgrey_whitelist_clients \
41
	--whitelist-clients=%%PREFIX%%/etc/postfix/postgrey_whitelist_clients.local \
42
	--whitelist-recipients=%%PREFIX%%/etc/postfix/postgrey_whitelist_recipients"}
43
40
44
pidfile="${postgrey_pidfile}"
41
pidfile="${postgrey_pidfile}"
45
42

Return to bug 77149