aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-08-28 15:27:15 +0800
committerdemon <demon@FreeBSD.org>2003-08-28 15:27:15 +0800
commitc3759e360502c33b661d164b6539e2c8819b2467 (patch)
treede835f87b43533f70cd2279f7604e8407ffce0a0
parentb222470437bd132533cdbbf93d8add7fac51733c (diff)
downloadfreebsd-ports-gnome-c3759e360502c33b661d164b6539e2c8819b2467.tar.gz
freebsd-ports-gnome-c3759e360502c33b661d164b6539e2c8819b2467.tar.zst
freebsd-ports-gnome-c3759e360502c33b661d164b6539e2c8819b2467.zip
New port: p5-Module-Signature.
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. Submitted by: autrijus@autrijus.org
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Module-Signature/Makefile29
-rw-r--r--security/p5-Module-Signature/distinfo1
-rw-r--r--security/p5-Module-Signature/pkg-descr10
-rw-r--r--security/p5-Module-Signature/pkg-plist6
5 files changed, 47 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index baea4376d438..ea40bfa81f21 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -242,6 +242,7 @@
SUBDIR += p5-GnuPG-Interface
SUBDIR += p5-IO-Socket-SSL
SUBDIR += p5-MD5
+ SUBDIR += p5-Module-Signature
SUBDIR += p5-Net-SSLeay
SUBDIR += p5-Nmap-Scanner
SUBDIR += p5-PGP
diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile
new file mode 100644
index 000000000000..8950a2ded8ee
--- /dev/null
+++ b/security/p5-Module-Signature/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: security/p5-Module-Signature
+# Date created: Aug 27 2003
+# Whom: Autrijus Tang <autrijus@autrijus.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Module-Signature
+PORTVERSION= 0.35
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/A/AU/AUTRIJUS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= autrijus@autrijus.org
+COMMENT= Module signature file manipulation
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/PAR/Dist.pm:$PORTSDIR}/devel/p5-PAR-Dist \
+ ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN1= cpansign.1
+MAN3= Module::Signature.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Module-Signature/distinfo b/security/p5-Module-Signature/distinfo
new file mode 100644
index 000000000000..4c853b828fea
--- /dev/null
+++ b/security/p5-Module-Signature/distinfo
@@ -0,0 +1 @@
+MD5 (Module-Signature-0.35.tar.gz) = 2a68898500253c9918d7b74ca8a5872e
diff --git a/security/p5-Module-Signature/pkg-descr b/security/p5-Module-Signature/pkg-descr
new file mode 100644
index 000000000000..221bae0f8d24
--- /dev/null
+++ b/security/p5-Module-Signature/pkg-descr
@@ -0,0 +1,10 @@
+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.
diff --git a/security/p5-Module-Signature/pkg-plist b/security/p5-Module-Signature/pkg-plist
new file mode 100644
index 000000000000..a756698dcf7c
--- /dev/null
+++ b/security/p5-Module-Signature/pkg-plist
@@ -0,0 +1,6 @@
+bin/cpansign
+%%SITE_PERL%%/Module/Signature.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Signature/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Signature
+@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module 2>/dev/null || true