pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/p5-Module-Signature Initial addition of p5-Mo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3933b1930c51
branches: trunk
changeset: 483388:3933b1930c51
user: seb <seb%pkgsrc.org@localhost>
date: Thu Nov 11 18:11:58 2004 +0000
description:
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:
security/p5-Module-Signature/DESCR | 10 +++++++
security/p5-Module-Signature/Makefile | 35 +++++++++++++++++++++++++++
security/p5-Module-Signature/PLIST | 4 +++
security/p5-Module-Signature/distinfo | 5 +++
security/p5-Module-Signature/patches/patch-aa | 16 ++++++++++++
5 files changed, 70 insertions(+), 0 deletions(-)
diffs (90 lines):
diff -r 64acaee46305 -r 3933b1930c51 security/p5-Module-Signature/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Module-Signature/DESCR Thu Nov 11 18:11:58 2004 +0000
@@ -0,0 +1,10 @@
+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.
diff -r 64acaee46305 -r 3933b1930c51 security/p5-Module-Signature/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Module-Signature/Makefile Thu Nov 11 18:11:58 2004 +0000
@@ -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@localhost
+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"
diff -r 64acaee46305 -r 3933b1930c51 security/p5-Module-Signature/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Module-Signature/PLIST Thu Nov 11 18:11:58 2004 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/11 18:11:58 seb Exp $
+share/Module-Signature/AUTRIJUS.pub
+share/Module-Signature/PAUSE2003.pub
+@dirrm share/Module-Signature
diff -r 64acaee46305 -r 3933b1930c51 security/p5-Module-Signature/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Module-Signature/distinfo Thu Nov 11 18:11:58 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/11 18:11:58 seb Exp $
+
+SHA1 (Module-Signature-0.41.tar.gz) = 203a35b8bb7f9098286fbb2c3c92465d83b51c88
+Size (Module-Signature-0.41.tar.gz) = 56276 bytes
+SHA1 (patch-aa) = 17dc9e97f45058cc273265bcc3b9dcc1f39de6ec
diff -r 64acaee46305 -r 3933b1930c51 security/p5-Module-Signature/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Module-Signature/patches/patch-aa Thu Nov 11 18:11:58 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/11 18:11:58 seb Exp $
+
+--- Makefile.PL.orig 2004-07-01 12:13:51.000000000 +0000
++++ Makefile.PL
+@@ -88,11 +88,6 @@ sub locate_gpg {
+
+ if ($has_gpg) {
+ print "GnuPG found ($gpg).\n";
+- if (prompt("Import PAUSE and author keys to GnuPG?", 'y') =~ /^y/i) {
+- print "Importing... ";
+- system('gpg', '--quiet', '--import', <*.pub>);
+- print "done.\n";
+- }
+ return 1;
+ }
+
Home |
Main Index |
Thread Index |
Old Index