summaryrefslogtreecommitdiff
path: root/security/p5-SHA
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-10-15 17:23:44 +0000
committeritojun <itojun@pkgsrc.org>2000-10-15 17:23:44 +0000
commit858752c57775444e7c17b104c324c4e4553049f7 (patch)
tree84527a717b9ac930f7ba7e00a6e128cd25c61090 /security/p5-SHA
parent7ed1780b10f37b384a58bae1a534c672e69056d5 (diff)
downloadpkgsrc-858752c57775444e7c17b104c324c4e4553049f7.tar.gz
new pkgsrc: SHA1 hash function for perl.
Diffstat (limited to 'security/p5-SHA')
-rw-r--r--security/p5-SHA/Makefile17
-rw-r--r--security/p5-SHA/files/md53
-rw-r--r--security/p5-SHA/files/patch-sum3
-rw-r--r--security/p5-SHA/patches/patch-aa8
-rw-r--r--security/p5-SHA/pkg/COMMENT1
-rw-r--r--security/p5-SHA/pkg/DESCR8
-rw-r--r--security/p5-SHA/pkg/PLIST1
7 files changed, 41 insertions, 0 deletions
diff --git a/security/p5-SHA/Makefile b/security/p5-SHA/Makefile
new file mode 100644
index 00000000000..3ccba082f98
--- /dev/null
+++ b/security/p5-SHA/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 17:23:44 itojun Exp $
+#
+
+DISTNAME= SHA-1.2
+PKGNAME= p5-SHA-1.2
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SHA/}
+
+MAINTAINER= packages@netbsd.org
+
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SHA/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-SHA/files/md5 b/security/p5-SHA/files/md5
new file mode 100644
index 00000000000..843cd06bf70
--- /dev/null
+++ b/security/p5-SHA/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 17:23:44 itojun Exp $
+
+MD5 (SHA-1.2.tar.gz) = fc23793219770f156d32fa676ab49be4
diff --git a/security/p5-SHA/files/patch-sum b/security/p5-SHA/files/patch-sum
new file mode 100644
index 00000000000..eefa3bd3c15
--- /dev/null
+++ b/security/p5-SHA/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 17:23:44 itojun Exp $
+
+MD5 (patch-aa) = 8510b9f7f763f01e70abe92e3da085d7
diff --git a/security/p5-SHA/patches/patch-aa b/security/p5-SHA/patches/patch-aa
new file mode 100644
index 00000000000..b6c3aeb0a9b
--- /dev/null
+++ b/security/p5-SHA/patches/patch-aa
@@ -0,0 +1,8 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:23:44 itojun Exp $
+--- Makefile.PL- Sat Oct 7 21:47:26 2000
++++ Makefile.PL Sat Oct 7 21:47:33 2000
+@@ -22,3 +22,3 @@
+ print "Do you want to use the original SHA or the new standard SHA-1?\nEnter 0 for the original or 1 for the new standard. [1]";
+- $resp = <STDIN>;
++ $resp = '1';
+ if (defined($resp)) {
diff --git a/security/p5-SHA/pkg/COMMENT b/security/p5-SHA/pkg/COMMENT
new file mode 100644
index 00000000000..82aefe9db13
--- /dev/null
+++ b/security/p5-SHA/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 interface to the SHA1 algorithm
diff --git a/security/p5-SHA/pkg/DESCR b/security/p5-SHA/pkg/DESCR
new file mode 100644
index 00000000000..98d97459995
--- /dev/null
+++ b/security/p5-SHA/pkg/DESCR
@@ -0,0 +1,8 @@
+ The SHA module allows you to use the NIST SHA message digest algorithm
+ from within Perl programs.
+
+ The final message digest value is returned by the digest operation as a
+ 20-byte binary string. This operation delivers the result of operations
+ since the last new or reset operation. Once the operation has been
+ performed, the context must be reset before being used to calculate
+ another digest value.
diff --git a/security/p5-SHA/pkg/PLIST b/security/p5-SHA/pkg/PLIST
new file mode 100644
index 00000000000..2c9f500e8a7
--- /dev/null
+++ b/security/p5-SHA/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 17:23:44 itojun Exp $