From owner-freebsd-perl@FreeBSD.ORG Mon May 12 09:10:01 2014 Return-Path: Delivered-To: perl@smarthost.ysv.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 5F6C7ADB for ; Mon, 12 May 2014 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 31A022C85 for ; Mon, 12 May 2014 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4C9A0lq024096 for ; Mon, 12 May 2014 09:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4C9A0Og024095; Mon, 12 May 2014 09:10:00 GMT (envelope-from gnats) Date: Mon, 12 May 2014 09:10:00 GMT Message-Id: <201405120910.s4C9A0Og024095@freefall.freebsd.org> To: perl@FreeBSD.org From: paul@inetstat.net (Paul J Murphy) Subject: Re: ports/189695: [PATCH] mail/p5-Mail-DKIM: shebangfix & portlint Reply-To: paul@inetstat.net (Paul J Murphy) X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 09:10:01 -0000 The following reply was made to PR ports/189695; it has been noted by GNATS. From: paul@inetstat.net (Paul J Murphy) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/189695: [PATCH] mail/p5-Mail-DKIM: shebangfix & portlint Date: Mon, 12 May 2014 09:01:06 +0000 (UTC) An updated patch for this, as I've discovered how to make "port test" happy about the directories deliberately omitted from the pkg-plist (the ones owned by the lang/perl5.x package). --- p5-Mail-DKIM-0.40.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 353783) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= Mail-DKIM PORTVERSION= 0.40 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -10,6 +11,9 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module to process and/or create DKIM email +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + RUN_DEPENDS= p5-Crypt-OpenSSL-RSA>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \ p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools @@ -17,9 +21,12 @@ MASTER_SITE_BACKUP+= http://jason.long.name/dkimproxy/ -USES= perl5 +USES= perl5 shebangfix USE_PERL5= configure +# Prefixed with ${WRKSRC} to silence portlint false positive warning about ${SCRIPTDIR} +SHEBANG_FILES= ${WRKSRC}/scripts/dkim*.pl + post-install: ${INSTALL_SCRIPT} ${WRKSRC}/scripts/dkim*.pl ${STAGEDIR}${PREFIX}/bin Index: pkg-plist =================================================================== --- pkg-plist (revision 353783) +++ pkg-plist (working copy) @@ -55,3 +55,15 @@ @dirrmtry %%SITE_PERL%%/Mail/DKIM/Algorithm @dirrmtry %%SITE_PERL%%/Mail/DKIM @dirrmtry %%SITE_PERL%%/Mail + +@comment Don't remove these directories, even if empty +@comment They belong to the lang/perl5.* package, not the module +@comment Including them as comments makes "port test" happy +@comment @dirrmtry %%PERL5_MAN3%% +@comment @dirrmtry lib/perl5/%%PERL_VER%%/man +@comment @dirrmtry lib/perl5/%%PERL_VER%% +@comment @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto +@comment @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%% +@comment @dirrmtry %%SITE_PERL%% +@comment @dirrmtry lib/perl5/site_perl +@comment @dirrmtry lib/perl5 --- p5-Mail-DKIM-0.40.patch ends here ---