From owner-svn-ports-head@FreeBSD.ORG Sun Aug 31 14:23:27 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2CCAD503; Sun, 31 Aug 2014 14:23:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C4371CB4; Sun, 31 Aug 2014 14:23:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7VENQYo067468; Sun, 31 Aug 2014 14:23:26 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7VENQ23067465; Sun, 31 Aug 2014 14:23:26 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201408311423.s7VENQ23067465@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Sun, 31 Aug 2014 14:23:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366766 - head/mail/postfix-postfwd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 14:23:27 -0000 Author: ohauer Date: Sun Aug 31 14:23:26 2014 New Revision: 366766 URL: http://svnweb.freebsd.org/changeset/ports/366766 QAT: https://qat.redports.org/buildarchive/r366766/ Log: - add stage support - add pkg-plist - fix LICENSE - use shebangfix Added: head/mail/postfix-postfwd/pkg-plist (contents, props changed) Modified: head/mail/postfix-postfwd/Makefile head/mail/postfix-postfwd/pkg-descr Modified: head/mail/postfix-postfwd/Makefile ============================================================================== --- head/mail/postfix-postfwd/Makefile Sun Aug 31 14:13:33 2014 (r366765) +++ head/mail/postfix-postfwd/Makefile Sun Aug 31 14:23:26 2014 (r366766) @@ -3,58 +3,49 @@ PORTNAME= postfwd PORTVERSION= 1.35 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.${PORTNAME}.org/old/ PKGNAMEPREFIX= postfix- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Postfix firewall policy daemon -LICENSE= BSD +LICENSE= BSD3CLAUSE RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \ p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \ p5-Storable>=0:${PORTSDIR}/devel/p5-Storable \ p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes -PORTDOCS= * -PORTEXAMPLES= request.sample postfwd.plugins.sample - -PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample SUB_FILES= pkg-message USE_RC_SUBR= ${PORTNAME} -USES= perl5 +USES= perl5 shebangfix +SHEBANG_LANG= perl +SHEBANG_FILES= sbin/* tools/*.pl tools/hapolicy/* USE_PERL5= run NO_BUILD= yes -MAN8= ${PORTNAME}.8 ${PORTNAME}2.8 - OPTIONS_DEFINE= EXAMPLES DOCS POSTFWD2 POSTFWD2_DESC= Install postfwd v2 rather than v1 -NO_STAGE= yes .include do-install: .if ${PORT_OPTIONS:MPOSTFWD2} - @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${PREFIX}/bin/${PORTNAME} + @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .else - @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/ + @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .endif - @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${PREFIX}/etc/${PORTNAME}.conf.sample - @${INSTALL_MAN} ${WRKSRC}/man/man8/* ${MANPREFIX}/man/man8/ + @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR} + @${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8 post-install: -.if !empty(PORT_OPTIONS:MDOCS) - @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR} - @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif -.if !empty(PORT_OPTIONS:MEXAMPLES) - @${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${EXAMPLESDIR} -.endif - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/mail/postfix-postfwd/pkg-descr ============================================================================== --- head/mail/postfix-postfwd/pkg-descr Sun Aug 31 14:13:33 2014 (r366765) +++ head/mail/postfix-postfwd/pkg-descr Sun Aug 31 14:23:26 2014 (r366766) @@ -5,4 +5,4 @@ allows you to choose an action (e.g. rej several smtp parameters (like sender and recipient address, size or the client's TLS fingerprint). -WWW: http://www.postfwd.org/ +WWW: http://www.postfwd.org/ Added: head/mail/postfix-postfwd/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/postfix-postfwd/pkg-plist Sun Aug 31 14:23:26 2014 (r366766) @@ -0,0 +1,24 @@ +bin/postfwd +etc/postfwd +man/man8/postfwd.8.gz +man/man8/postfwd2.8.gz +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/arch.html +%%PORTDOCS%%%%DOCSDIR%%/hapolicy.html +%%PORTDOCS%%%%DOCSDIR%%/hapolicy.txt +%%PORTDOCS%%%%DOCSDIR%%/postfwd-ARCH.png +%%PORTDOCS%%%%DOCSDIR%%/postfwd.CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/postfwd.html +%%PORTDOCS%%%%DOCSDIR%%/postfwd.txt +%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.html +%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.txt +%%PORTDOCS%%%%DOCSDIR%%/postfwd2.CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/postfwd2.html +%%PORTDOCS%%%%DOCSDIR%%/postfwd2.txt +%%PORTDOCS%%%%DOCSDIR%%/quick.html +%%PORTDOCS%%%%DOCSDIR%%/versions.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/request.sample +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +