From dbaio@bsd.com.br  Fri Apr  4 20:50:26 2014
Return-Path: <dbaio@bsd.com.br>
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 189F9C81
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Apr 2014 20:50:26 +0000 (UTC)
Received: from mail-qc0-f195.google.com (mail-qc0-f195.google.com [209.85.216.195])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id CD999F5F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Apr 2014 20:50:25 +0000 (UTC)
Received: by mail-qc0-f195.google.com with SMTP id c9so1090737qcz.2
        for <FreeBSD-gnats-submit@freebsd.org>; Fri, 04 Apr 2014 13:50:24 -0700 (PDT)
Received: from dbaio@bsd.com.br ([177.66.160.244])
        by mx.google.com with ESMTPSA id b3sm18292200qae.2.2014.04.04.13.37.18
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 04 Apr 2014 13:37:20 -0700 (PDT)
Received: by dbaio@bsd.com.br (sSMTP sendmail emulation); Fri, 04 Apr 2014 17:37:15 -0300
Message-Id: <533f1800.8326e00a.7ae1.0bd1@mx.google.com>
Date: Fri, 04 Apr 2014 17:37:15 -0300
From: Danilo G. Baio <dbaio@bsd.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc: umq@ueo.co.jp
Subject: [PATCH] mail/opendkim: stage support 
X-Send-Pr-Version: 3.113
X-GNATS-Notify: umq@ueo.co.jp

>Number:         188266
>Category:       ports
>Synopsis:       [PATCH] mail/opendkim: stage support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rene
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 21:00:01 UTC 2014
>Closed-Date:    Tue Apr 22 15:59:24 UTC 2014
>Last-Modified:  Tue Apr 22 16:00:00 UTC 2014
>Originator:     Danilo G. Baio
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dbaio.bs2cloud.com.br 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC
>Description:
- Stage support
- Orphan files

Port maintainer (umq@ueo.co.jp) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- opendkim-2.8.3.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 350163)
+++ Makefile	(working copy)
@@ -50,7 +50,6 @@
 
 MAKE_ARGS+=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
 
-NO_STAGE=	yes
 .include "${.CURDIR}/Makefile.options"
 .include <bsd.port.options.mk>
 
@@ -169,13 +168,10 @@
 
 post-install:
 .if ! ${PORT_OPTIONS:MDEBUG} && ${PORT_OPTIONS:MFILTER}
-	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/opendkim
 .endif
-	@${MKDIR} ${PREFIX}/etc/mail
-	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${PREFIX}/etc/mail/
-.if ${PORT_OPTIONS:MFILTER}
-	@${CAT} ${PKGMESSAGE}
-.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
+	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${STAGEDIR}${PREFIX}/etc/mail/
 
 regression-test: build
 	cd ${WRKSRC} ; ${MAKE} check
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 350163)
+++ pkg-plist	(working copy)
@@ -68,3 +68,12 @@
 @dirrm include/opendkim
 %%DKIMREP%%@dirrm include/dkim-rep
 @dirrmtry etc/mail
+man/man3/opendkim-lua.3.gz
+man/man5/opendkim.conf.5.gz
+man/man8/miltertest.8.gz
+man/man8/opendkim-genkey.8.gz
+man/man8/opendkim-genzone.8.gz
+man/man8/opendkim-testadsp.8.gz
+man/man8/opendkim-testkey.8.gz
+man/man8/opendkim-testmsg.8.gz
+man/man8/opendkim.8.gz
--- opendkim-2.8.3.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Apr 4 21:00:05 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188266 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: umq@ueo.co.jp
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/188266: [PATCH] mail/opendkim: stage support
Date: Fri, 4 Apr 2014 21:00:04 UT

 Maintainer of mail/opendkim,
 
 Please note that PR ports/188266 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188266
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->rene 
Responsible-Changed-By: rene 
Responsible-Changed-When: Sun Apr 6 11:57:19 UTC 2014 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188266 

From: =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To: bug-followup@FreeBSD.org, dbaio@bsd.com.br
Cc:  
Subject: Re: ports/188266: [PATCH] mail/opendkim: stage support
Date: Sun, 06 Apr 2014 14:30:54 +0200

 This is a multi-part message in MIME format.
 --------------090909080808080507060101
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 8bit
 
 There were some more problems with this ports, the attached patch should
 fix them:
 - MANx still being referenced in Makefile, they should go to pkg-plist
 - shebang fixes for perl scripts
 - use BSD3CLAUSE instead of BSD for license
 - add missing DEBUG option
 - use modern LIB_DEPENDS syntax
 
 Ren
 
 --------------090909080808080507060101
 Content-Type: text/x-patch;
  name="mail__opendkim.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="mail__opendkim.diff"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 350348)
 +++ Makefile	(working copy)
 @@ -11,7 +11,7 @@
  MAINTAINER=		umq@ueo.co.jp
  COMMENT=		DKIM library and milter implementation
  
 -LICENSE=		BSD SENDMAIL
 +LICENSE=		BSD3CLAUSE SENDMAIL
  LICENSE_COMB=		multi
  
  LICENSE_FILE_SENDMAIL=	${WRKSRC}/LICENSE.Sendmail
 @@ -21,18 +21,17 @@
  
  GNU_CONFIGURE=	yes
  NO_OPTIONS_SORT=yes
 -USES=		pkgconfig:build
 +USES=		pkgconfig:build shebangfix
 +SHEBANG_FILES=	opendkim/opendkim-genkey* reputation/opendkim-* stats/opendkim-*
  USE_OPENSSL=	yes
  USE_LDCONFIG=	yes
  
 -MAN8=		opendkim-genkey.8 opendkim-genzone.8 opendkim-testadsp.8 \
 -		opendkim-testkey.8 opendkim-testmsg.8
  PORTDOCS=	*
  
  OPTIONS_SINGLE=		RESOLV
  OPTIONS_SINGLE_RESOLV=	STOCK_RESOLVER UNBOUND
  OPTIONS_DEFINE=		FILTER GNUTLS LUA MEMCACHED BDB_BASE OPENDBX OPENLDAP \
 -			POPAUTH QUERY_CACHE STATS
 +			POPAUTH QUERY_CACHE STATS DEBUG
  OPTIONS_DEFAULT=	FILTER LUA UNBOUND
  
  STOCK_RESOLVER_DESC=	Use the stock resolver library
 @@ -47,17 +46,15 @@
  POPAUTH_DESC=		Use POP authentication DB
  QUERY_CACHE_DESC=	Cache DNS query results locally
  STATS_DESC=		Setup statistics tools
 +DEBUG_DESC=		Build with debug symbols
  
  MAKE_ARGS+=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
  
 -NO_STAGE=	yes
  .include "${.CURDIR}/Makefile.options"
  .include <bsd.port.options.mk>
  
  .if ${PORT_OPTIONS:MFILTER}
  USE_RC_SUBR=		milter-opendkim
 -MAN5+=			opendkim.conf.5
 -MAN8+=			opendkim.8
  PLIST_SUB+=		FILTER=""
  SUB_FILES=		pkg-message
  WITHOUT_MILTER_CFLAGS=	yes
 @@ -70,7 +67,7 @@
  .endif
  
  .if ${PORT_OPTIONS:MGNUTLS}
 -LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
 +LIB_DEPENDS+=		libgnutls.so:${PORTSDIR}/security/gnutls
  CONFIGURE_ARGS+=	--with-gnutls=${LOCALBASE}
  .else
  CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
 @@ -88,12 +85,6 @@
  
  .if ${PORT_OPTIONS:MSTATS}
  CONFIGURE_ARGS+=	--enable-stats
 -MAN8+=			opendkim-expire.8 opendkim-gengraphs.8 \
 -			opendkim-genstats.8 opendkim-stats.8
 -. if ${PORT_OPTIONS:MOPENDBX}
 -MAN1+=			opendkim-spam.1
 -MAN8+=			opendkim-importstats.8
 -. endif
  PLIST_SUB+=		STATS=""
  .else
  PLIST_SUB+=		STATS="@comment "
 @@ -114,7 +105,7 @@
  .endif
  .if ${PORT_OPTIONS:MUNBOUND}
  CONFIGURE_ARGS+=	--with-unbound
 -LIB_DEPENDS+=		unbound:${PORTSDIR}/dns/unbound
 +LIB_DEPENDS+=		libunbound.so:${PORTSDIR}/dns/unbound
  .endif
  .if ${PORT_OPTIONS:MPOPAUTH}
  CONFIGURE_ARGS+=	--enable-popauth
 @@ -124,13 +115,13 @@
  .endif
  .if ${PORT_OPTIONS:MMEMCACHED}
  CONFIGURE_ARGS+=	--with-libmemcached
 -LIB_DEPENDS+=		memcached:${PORTSDIR}/databases/libmemcached
 +LIB_DEPENDS+=		libmemcached.so:${PORTSDIR}/databases/libmemcached
  .else
  CONFIGURE_ARGS+=	--without-libmemcached
  .endif
  .if ${PORT_OPTIONS:MOPENDBX}
  CONFIGURE_ARGS+=	--with-odbx
 -LIB_DEPENDS+=		opendbx:${PORTSDIR}/databases/opendbx
 +LIB_DEPENDS+=		libopendbx.so:${PORTSDIR}/databases/opendbx
  PLIST_SUB+=		ODBX=""
  .else
  CONFIGURE_ARGS+=	--without-odbx
 @@ -138,7 +129,7 @@
  .endif
  .if ${PORT_OPTIONS:MOPENLDAP}
  CONFIGURE_ARGS+=	--with-openldap
 -LIB_DEPENDS+=		ldap:${PORTSDIR}/net/openldap24-sasl-client
 +LIB_DEPENDS+=		libldap.so:${PORTSDIR}/net/openldap24-sasl-client
  USE_OPENLDAP=		yes
  .else
  CONFIGURE_ARGS+=	--without-openldap
 @@ -145,10 +136,6 @@
  .endif
  .if ${PORT_OPTIONS:MLUA}
  CONFIGURE_ARGS+=	--with-lua
 -. if ${PORT_OPTIONS:MFILTER}
 -MAN3+=			opendkim-lua.3
 -. endif
 -MAN8+=			miltertest.8
  PLIST_SUB+=		LUA=""
  USE_LUA=		5.1
  .else
 @@ -169,13 +156,10 @@
  
  post-install:
  .if ! ${PORT_OPTIONS:MDEBUG} && ${PORT_OPTIONS:MFILTER}
 -	@${STRIP_CMD} ${PREFIX}/sbin/opendkim
 +	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/opendkim
  .endif
 -	@${MKDIR} ${PREFIX}/etc/mail
 -	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${PREFIX}/etc/mail/
 -.if ${PORT_OPTIONS:MFILTER}
 -	@${CAT} ${PKGMESSAGE}
 -.endif
 +	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
 +	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample ${STAGEDIR}${PREFIX}/etc/mail/
  
  regression-test: build
  	cd ${WRKSRC} ; ${MAKE} check
 Index: pkg-plist
 ===================================================================
 --- pkg-plist	(revision 350348)
 +++ pkg-plist	(working copy)
 @@ -68,3 +68,18 @@
  @dirrm include/opendkim
  %%DKIMREP%%@dirrm include/dkim-rep
  @dirrmtry etc/mail
 +%%FILTER%%man/man5/opendkim.conf.5.gz
 +%%LUA%%man/man8/miltertest.8.gz
 +man/man8/opendkim-genkey.8.gz
 +man/man8/opendkim-genzone.8.gz
 +man/man8/opendkim-testadsp.8.gz
 +man/man8/opendkim-testkey.8.gz
 +man/man8/opendkim-testmsg.8.gz
 +%%FILTER%%man/man8/opendkim.8.gz
 +%%LUA%%%%FILTER%%man/man3/opendkim-lua.3.gz
 +%%STATS%%man/man8/opendkim-expire.8.gz
 +%%STATS%%man/man8/opendkim-gengraphs.8.gz
 +%%STATS%%man/man8/opendkim-genstats.8.gz
 +%%STATS%%man/man8/opendkim-stats.8.gz
 +%%STATS%%%%ODBX%%man/man1/opendkim-spam.1.gz
 +%%STATS%%%%ODBX%%man/man8/opendkim-importstats.8.gz
 
 --------------090909080808080507060101--
State-Changed-From-To: feedback->closed 
State-Changed-By: rene 
State-Changed-When: Tue Apr 22 15:59:12 UTC 2014 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188266 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188266: commit references a PR
Date: Tue, 22 Apr 2014 15:58:59 +0000 (UTC)

 Author: rene
 Date: Tue Apr 22 15:58:56 2014
 New Revision: 351857
 URL: http://svnweb.freebsd.org/changeset/ports/351857
 QAT: https://qat.redports.org/buildarchive/r351857/
 
 Log:
   - Add an option for DEBUG
   - Shebang fixes for perl scripts
   - Properly handle conditional manual pages
   
   Part of PR already committed in r351697
   
   PR:		ports/188266
   Submitted by:	Danilo G. Baio <dbaio@bsd.com.br>
   Approved by:	maintainer timeout (<umq@ueo.co.jp> , 18 days)
 
 Modified:
   head/mail/opendkim/Makefile
   head/mail/opendkim/pkg-plist
 
 Modified: head/mail/opendkim/Makefile
 ==============================================================================
 --- head/mail/opendkim/Makefile	Tue Apr 22 15:53:52 2014	(r351856)
 +++ head/mail/opendkim/Makefile	Tue Apr 22 15:58:56 2014	(r351857)
 @@ -25,6 +25,7 @@ NO_OPTIONS_SORT=yes
  USES=		pkgconfig perl5 shebangfix
  USE_PERL5=	run
  SHEBANG_FILES=	opendkim/opendkim-genkey.in
 +SHEBANG_FILES=	opendkim/opendkim-genkey* reputation/opendkim-* stats/opendkim-*
  USE_OPENSSL=	yes
  USE_LDCONFIG=	yes
  
 @@ -33,7 +34,7 @@ PORTDOCS=	*
  OPTIONS_SINGLE=		RESOLV
  OPTIONS_SINGLE_RESOLV=	STOCK_RESOLVER UNBOUND
  OPTIONS_DEFINE=		FILTER GNUTLS LUA MEMCACHED BDB_BASE OPENDBX OPENLDAP \
 -			POPAUTH QUERY_CACHE STATS
 +			POPAUTH QUERY_CACHE STATS DEBUG
  OPTIONS_DEFAULT=	FILTER LUA UNBOUND
  
  STOCK_RESOLVER_DESC=	Use the stock resolver library
 @@ -48,6 +49,7 @@ OPENLDAP_DESC=		Store filter policies in
  POPAUTH_DESC=		Use POP authentication DB
  QUERY_CACHE_DESC=	Cache DNS query results locally
  STATS_DESC=		Setup statistics tools
 +DEBUG_DESC=		Build with debug symbols
  
  MAKE_ARGS+=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"
  
 @@ -86,12 +88,6 @@ CONFIGURE_ARGS+=--docdir=${WRKDIR}/doc
  
  .if ${PORT_OPTIONS:MSTATS}
  CONFIGURE_ARGS+=	--enable-stats
 -MAN8+=			opendkim-expire.8 opendkim-gengraphs.8 \
 -			opendkim-genstats.8 opendkim-stats.8
 -. if ${PORT_OPTIONS:MOPENDBX}
 -MAN1+=			opendkim-spam.1
 -MAN8+=			opendkim-importstats.8
 -. endif
  PLIST_SUB+=		STATS=""
  .else
  PLIST_SUB+=		STATS="@comment "
 
 Modified: head/mail/opendkim/pkg-plist
 ==============================================================================
 --- head/mail/opendkim/pkg-plist	Tue Apr 22 15:53:52 2014	(r351856)
 +++ head/mail/opendkim/pkg-plist	Tue Apr 22 15:58:56 2014	(r351857)
 @@ -77,3 +77,18 @@ sbin/opendkim-testmsg
  @dirrm include/opendkim
  %%DKIMREP%%@dirrm include/dkim-rep
  @dirrmtry etc/mail
 +%%FILTER%%man/man5/opendkim.conf.5.gz
 +%%LUA%%man/man8/miltertest.8.gz
 +man/man8/opendkim-genkey.8.gz
 +man/man8/opendkim-genzone.8.gz
 +man/man8/opendkim-testadsp.8.gz
 +man/man8/opendkim-testkey.8.gz
 +man/man8/opendkim-testmsg.8.gz
 +%%FILTER%%man/man8/opendkim.8.gz
 +%%LUA%%%%FILTER%%man/man3/opendkim-lua.3.gz
 +%%STATS%%man/man8/opendkim-expire.8.gz
 +%%STATS%%man/man8/opendkim-gengraphs.8.gz
 +%%STATS%%man/man8/opendkim-genstats.8.gz
 +%%STATS%%man/man8/opendkim-stats.8.gz
 +%%STATS%%%%ODBX%%man/man1/opendkim-spam.1.gz
 +%%STATS%%%%ODBX%%man/man8/opendkim-importstats.8.gz
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
