View | Details | Raw Unified | Return to bug 242550 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-15 / +11 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	postfwd
4
PORTNAME=	postfwd
5
PORTVERSION=	1.35
5
PORTVERSION=	2.02
6
DISTVERSIONPREFIX=	v
6
PORTREVISION=	1
7
PORTREVISION=	1
7
CATEGORIES=	mail
8
CATEGORIES=	mail
8
MASTER_SITES=	http://www.${PORTNAME}.org/old/
9
PKGNAMEPREFIX=	postfix-
9
PKGNAMEPREFIX=	postfix-
10
10
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
Lines 17-51 Link Here
17
RUN_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS \
17
RUN_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS \
18
		p5-Net-Server>=0:net/p5-Net-Server
18
		p5-Net-Server>=0:net/p5-Net-Server
19
19
20
USES=		perl5 shebangfix
21
20
NO_ARCH=	yes
22
NO_ARCH=	yes
21
SUB_FILES=	pkg-message
23
SUB_FILES=	pkg-message
22
24
23
USE_RC_SUBR=	${PORTNAME}
25
USE_RC_SUBR=	${PORTNAME}
24
USES=		perl5 shebangfix
26
USE_GITHUB=	yes
25
SHEBANG_FILES=	sbin/* tools/*.pl tools/hapolicy/*
27
SHEBANG_FILES=	sbin/* tools/*.pl tools/hapolicy/*
26
USE_PERL5=	run
28
USE_PERL5=	run
27
NO_BUILD=	yes
29
NO_BUILD=	yes
28
30
29
OPTIONS_DEFINE=	EXAMPLES DOCS POSTFWD2
31
OPTIONS_DEFINE=	EXAMPLES DOCS
30
POSTFWD2_DESC=	Install postfwd v2 rather than v1
31
32
32
do-install:
33
do-install:
33
	@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR}
34
	${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR}
34
	@${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8
35
	${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8
36
	${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}3 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
35
37
36
post-install-DOCS-on:
38
post-install-DOCS-on:
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
39
	${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
40
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
39
41
40
post-install-EXAMPLES-on:
42
post-install-EXAMPLES-on:
41
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
43
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
42
	${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR}
44
	${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR}
43
	${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR}
45
	${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR}
44
46
45
do-install-POSTFWD2-on:
46
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
47
48
do-install-POSTFWD2-off:
49
	@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
50
51
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (postfwd-1.35.tar.gz) = 42abf8fc1229e8a09fa0141b6e23e34c6e1b654a56f6e7556d04067eafc77c41
1
TIMESTAMP = 1575902368
2
SIZE (postfwd-1.35.tar.gz) = 354609
2
SHA256 (postfwd-postfwd-v2.02_GH0.tar.gz) = 38d191b825192c7a884aef8f6a10ef5f93860df7428c9fab645eab81bdfcf6af
3
SIZE (postfwd-postfwd-v2.02_GH0.tar.gz) = 266603
(-)pkg-plist (-5 / +4 lines)
Lines 4-9 Link Here
4
man/man8/postfwd2.8.gz
4
man/man8/postfwd2.8.gz
5
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
5
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
6
%%PORTDOCS%%%%DOCSDIR%%/arch.html
6
%%PORTDOCS%%%%DOCSDIR%%/arch.html
7
%%PORTDOCS%%%%DOCSDIR%%/docker.txt
7
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.html
8
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.html
8
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.txt
9
%%PORTDOCS%%%%DOCSDIR%%/hapolicy.txt
9
%%PORTDOCS%%%%DOCSDIR%%/postfwd-ARCH.png
10
%%PORTDOCS%%%%DOCSDIR%%/postfwd-ARCH.png
Lines 10-20 Link Here
10
%%PORTDOCS%%%%DOCSDIR%%/postfwd.CHANGELOG
11
%%PORTDOCS%%%%DOCSDIR%%/postfwd.CHANGELOG
11
%%PORTDOCS%%%%DOCSDIR%%/postfwd.html
12
%%PORTDOCS%%%%DOCSDIR%%/postfwd.html
12
%%PORTDOCS%%%%DOCSDIR%%/postfwd.txt
13
%%PORTDOCS%%%%DOCSDIR%%/postfwd.txt
13
%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.html
14
%%PORTDOCS%%%%DOCSDIR%%/postfwd3.CHANGELOG
14
%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.txt
15
%%PORTDOCS%%%%DOCSDIR%%/postfwd3.html
15
%%PORTDOCS%%%%DOCSDIR%%/postfwd2.CHANGELOG
16
%%PORTDOCS%%%%DOCSDIR%%/postfwd3.txt
16
%%PORTDOCS%%%%DOCSDIR%%/postfwd2.html
17
%%PORTDOCS%%%%DOCSDIR%%/postfwd2.txt
18
%%PORTDOCS%%%%DOCSDIR%%/quick.html
17
%%PORTDOCS%%%%DOCSDIR%%/quick.html
19
%%PORTDOCS%%%%DOCSDIR%%/versions.html
18
%%PORTDOCS%%%%DOCSDIR%%/versions.html
20
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample
19
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample

Return to bug 242550