diff options
author | itojun <itojun> | 2000-10-15 17:23:44 +0000 |
---|---|---|
committer | itojun <itojun> | 2000-10-15 17:23:44 +0000 |
commit | fd1c02223c4818146c62bc241b4c37f3b7be4853 (patch) | |
tree | 84527a717b9ac930f7ba7e00a6e128cd25c61090 /security | |
parent | d6af26f99a93e3ea6f7cedd9900cfa15c6e64592 (diff) | |
download | pkgsrc-fd1c02223c4818146c62bc241b4c37f3b7be4853.tar.gz |
new pkgsrc: SHA1 hash function for perl.
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-SHA/Makefile | 17 | ||||
-rw-r--r-- | security/p5-SHA/files/md5 | 3 | ||||
-rw-r--r-- | security/p5-SHA/files/patch-sum | 3 | ||||
-rw-r--r-- | security/p5-SHA/patches/patch-aa | 8 | ||||
-rw-r--r-- | security/p5-SHA/pkg/COMMENT | 1 | ||||
-rw-r--r-- | security/p5-SHA/pkg/DESCR | 8 | ||||
-rw-r--r-- | security/p5-SHA/pkg/PLIST | 1 |
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 $ |