Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 05:16:08 +0000 (UTC)
From:      Paul J Murphy <paul@inetstat.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perl@FreeBSD.org
Subject:   [PATCH] mail/p5-Mail-DKIM: shebangfix & portlint
Message-ID:  <20140512051608.89FD7D78D1@srv00.inetstat.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Paul J Murphy
>Organization:	iNetStat.net
>Confidential:	no
>Synopsis:	[PATCH] mail/p5-Mail-DKIM: shebangfix & portlint
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 10.0-RELEASE-p2 amd64
>Environment:
System: FreeBSD srv00.inetstat.net 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0 r265140: Wed Apr 30 12:18:59 UTC
>Description:
- shebangfix
- Add LICENSE to the Makefile

Summary: Fix problems preventing it building with DEVELOPER=yes and port test

"port test" still fails when checking for plist orphans, but that's a problem with the build system not provding a way to ignore paths owned by perl rather than a perl module.  It's clean other than that (with my perl.mk patch from ports/189694 applied).

Port maintainer (perl@FreeBSD.org) is cc'd.

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

--- p5-Mail-DKIM-0.40.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 353768)
+++ 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
 
--- p5-Mail-DKIM-0.40.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140512051608.89FD7D78D1>