summaryrefslogtreecommitdiff
path: root/security/p5-Module-Signature/Makefile
diff options
context:
space:
mode:
authorseb <seb>2004-11-11 18:11:58 +0000
committerseb <seb>2004-11-11 18:11:58 +0000
commitecd8ab2fcd9f6128e86c6a8ba3e427ca51ac3403 (patch)
tree578ab626b40065e41ebfd110fb23b4893817f6d5 /security/p5-Module-Signature/Makefile
parentfdc33f28cc4b0c02c711f26745a6f55dfeaefee6 (diff)
downloadpkgsrc-ecd8ab2fcd9f6128e86c6a8ba3e427ca51ac3403.tar.gz
Initial addition of p5-Module-Signature version 0.41 in the NetBSD Packages
Collection. The Perl 5 module Module::Signature adds cryptographic authentications to CPAN distributions, via the special SIGNATURE file. If you are a module user, all you have to do is to remember running cpansign -v (or just cpansign) before issuing perl Makefile.PL or perl Build.PL; that will ensure the distribution has not been tampered with. For module authors, you'd want to add the SIGNATURE file to your MANIFEST, then type cpansign -s before making a distribution. You may also want to consider adding a signature check as part of your test suite.
Diffstat (limited to 'security/p5-Module-Signature/Makefile')
-rw-r--r--security/p5-Module-Signature/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile
new file mode 100644
index 00000000000..515f10284ea
--- /dev/null
+++ b/security/p5-Module-Signature/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/11 18:11:58 seb Exp $
+#
+
+DISTNAME= Module-Signature-0.41
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5ms
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
+
+MAINTAINER= seb@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Module-Signature/
+COMMENT= Perl 5 module adding cryptographic authentications to CPAN distributions
+
+DEPENDS+= gnupg-[0-9]*:../../security/gnupg
+DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
+DEPENDS+= p5-PAR-Dist-[0-9]*:../../devel/p5-PAR-Dist
+
+USE_BUILDLINK3= YES
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Module/Signature/.packlist
+
+INSTALLATION_DIRS+= share/Module-Signature
+
+# this package has patch files so the signature check test fails
+post-extract:
+ ${MV} ${WRKSRC}/t/0-signature.t ${WRKSRC}/t/0-signature.t.SKIP
+
+post-install:
+ ${PKG_SILENT}${PKG_DEBUG} \
+ for f in ${WRKSRC}/*.pub; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/share/Module-Signature; \
+ done
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"