Date: Wed, 21 May 2014 20:33:47 +0200 (CEST) From: freebsd@nagilum.org To: FreeBSD-gnats-submit@freebsd.org Cc: ports.maintainer@evilphi.com Subject: ports/190082: mail/postgrey does not support staging Message-ID: <20140521183348.00E3E2D5088@cakebox.homeunix.net> Resent-Message-ID: <201405211840.s4LIe0B9059008@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190082 >Category: ports >Synopsis: mail/postgrey does not support staging >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 21 18:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: freebsd@nagilum.org >Release: FreeBSD 9.2-STABLE i386 >Organization: >Environment: System: FreeBSD cakebox.tis 9.2-STABLE FreeBSD 9.2-STABLE #0 r264294M: Fri Apr 11 10:19:25 CEST 2014 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: mail/postgrey does not support staging >How-To-Repeat: >Fix: Apply attached patch. --- postgrey.patch begins here --- diff -Naur postgrey.orig/Makefile postgrey/Makefile --- postgrey.orig/Makefile 2014-02-21 14:37:56.000000000 +0100 +++ postgrey/Makefile 2014-05-21 20:19:52.000000000 +0200 @@ -39,8 +39,6 @@ USES= shebangfix perl5 SHEBANG_FILES= ${WRKSRC}/postgrey -NO_STAGE= yes - OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> @@ -58,19 +56,20 @@ @${POD2MAN} ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1 @${POD2MAN} ${WRKSRC}/policy-test ${WRKSRC}/policy-test.1 @${POD2MAN} ${WRKSRC}/contrib/postgreyreport ${WRKSRC}/postgreyreport.1 - @${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin - @${INSTALL_SCRIPT} ${WRKSRC}/policy-test ${PREFIX}/sbin - @${INSTALL_SCRIPT} ${WRKSRC}/contrib/postgreyreport ${PREFIX}/sbin - @${INSTALL} -d ${PREFIX}/etc/postfix + @${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${STAGEDIR}${PREFIX}/sbin + @${INSTALL_SCRIPT} ${WRKSRC}/policy-test ${STAGEDIR}${PREFIX}/sbin + @${INSTALL_SCRIPT} ${WRKSRC}/contrib/postgreyreport ${STAGEDIR}${PREFIX}/sbin + @${INSTALL} -d ${STAGEDIR}${PREFIX}/etc/postfix + @${INSTALL} -d ${STAGEDIR}/var/db/${PORTNAME} .for i in ${ETCFILES} - ${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${PREFIX}/etc/postfix/dist-postgrey_${i} + ${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${STAGEDIR}${PREFIX}/etc/postfix/dist-postgrey_${i} .endfor .if ${PORT_OPTIONS:MDOCS} - @${INSTALL} -d ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${INSTALL} -d ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif - @cd ${WRKSRC} && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 + @cd ${WRKSRC} && ${INSTALL_MAN} ${MAN1} ${STAGEDIR}${MANPREFIX}/man/man1 post-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL diff -Naur postgrey.orig/pkg-plist postgrey/pkg-plist --- postgrey.orig/pkg-plist 2014-01-22 16:16:56.000000000 +0100 +++ postgrey/pkg-plist 2014-05-21 20:23:17.000000000 +0200 @@ -7,3 +7,6 @@ etc/postfix/dist-postgrey_whitelist_clients @dirrmtry etc/postfix @unexec rmdir /var/db/postgrey 2>/dev/null || true +man/man1/policy-test.1.gz +man/man1/postgrey.1.gz +man/man1/postgreyreport.1.gz --- postgrey.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140521183348.00E3E2D5088>