summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-02-04 14:38:12 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-02-04 14:38:12 +0000
commit1b5f9ff2f0c5ac98bebdbc57618f8cc107e87e27 (patch)
tree6e3b21cc8f410dee7748d9fb97506f5e427c8354
parent- Update to 0.26.0 (diff)
Update to 2.01
PR: 92794 Submitted by: leeym Approved by: Jim Geovedi <jim@corebsd.or.id> (maintainer)
Notes
Notes: svn path=/head/; revision=155198
-rw-r--r--security/p5-SHA/Makefile7
-rw-r--r--security/p5-SHA/distinfo6
-rw-r--r--security/p5-SHA/files/patch-Makefile.PL11
-rw-r--r--security/p5-SHA/pkg-descr2
-rw-r--r--security/p5-SHA/pkg-plist7
5 files changed, 11 insertions, 22 deletions
diff --git a/security/p5-SHA/Makefile b/security/p5-SHA/Makefile
index 9252dc28ec5e..c5f18ff34409 100644
--- a/security/p5-SHA/Makefile
+++ b/security/p5-SHA/Makefile
@@ -6,15 +6,18 @@
#
PORTNAME= SHA
-PORTVERSION= 1.2
+PORTVERSION= 2.01
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= SHA
+MASTER_SITE_SUBDIR= ../../authors/id/G/GA/GAAS/
PKGNAMEPREFIX= p5-
MAINTAINER= jim@corebsd.or.id
COMMENT= Perl5 interface to the SHA1 algorithm
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= SHA.3
diff --git a/security/p5-SHA/distinfo b/security/p5-SHA/distinfo
index 0c215d8565ed..cf0a3659c196 100644
--- a/security/p5-SHA/distinfo
+++ b/security/p5-SHA/distinfo
@@ -1,3 +1,3 @@
-MD5 (SHA-1.2.tar.gz) = fc23793219770f156d32fa676ab49be4
-SHA256 (SHA-1.2.tar.gz) = b239bb7e25315dc44d5f6acbad16bd8570ba33a80ee2c8aed9ab143a4d41a966
-SIZE (SHA-1.2.tar.gz) = 8966
+MD5 (SHA-2.01.tar.gz) = 56573202d94ace4da5641a6f4f25cfe0
+SHA256 (SHA-2.01.tar.gz) = 8571331eac2cf9f9e3f4dee586017884c6dbb02ec64960f3e5f526b6514ef4ea
+SIZE (SHA-2.01.tar.gz) = 2282
diff --git a/security/p5-SHA/files/patch-Makefile.PL b/security/p5-SHA/files/patch-Makefile.PL
deleted file mode 100644
index 7f08d4876df6..000000000000
--- a/security/p5-SHA/files/patch-Makefile.PL
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.PL.orig Mon Sep 30 04:33:16 2002
-+++ Makefile.PL Mon Sep 30 04:34:51 2002
-@@ -20,7 +20,7 @@ if (exists($Config{'byteorder'}) and def
- print "Writing endian.h for SHA\n";
- }
- 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)) {
- $resp =~ s/^\s+//;
- $resp =~ s/\s+$//;
diff --git a/security/p5-SHA/pkg-descr b/security/p5-SHA/pkg-descr
index 584611c9ebee..a0859b5e2e02 100644
--- a/security/p5-SHA/pkg-descr
+++ b/security/p5-SHA/pkg-descr
@@ -6,3 +6,5 @@ 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.
+
+WWW: http://search.cpan.org/dist/SHA/
diff --git a/security/p5-SHA/pkg-plist b/security/p5-SHA/pkg-plist
index 1cdf90388460..2bf5372abe0b 100644
--- a/security/p5-SHA/pkg-plist
+++ b/security/p5-SHA/pkg-plist
@@ -1,8 +1,3 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/SHA.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/SHA.pod
-%%SITE_PERL%%/%%PERL_ARCH%%/sha_driver.pl
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/SHA.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/SHA.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/autosplit.ix
+%%SITE_PERL%%/SHA.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SHA