summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/p5-Crypt-RSA/Makefile25
-rw-r--r--security/p5-Crypt-RSA/distinfo7
-rw-r--r--security/p5-Crypt-RSA/patches/patch-aa14
3 files changed, 33 insertions, 13 deletions
diff --git a/security/p5-Crypt-RSA/Makefile b/security/p5-Crypt-RSA/Makefile
index d185cced9b8..5ed13521c5f 100644
--- a/security/p5-Crypt-RSA/Makefile
+++ b/security/p5-Crypt-RSA/Makefile
@@ -1,30 +1,35 @@
-# $NetBSD: Makefile,v 1.10 2003/07/21 17:20:17 martti Exp $
+# $NetBSD: Makefile,v 1.11 2004/02/24 23:05:08 heinz Exp $
#
-DISTNAME= Crypt-RSA-1.47
+DISTNAME= Crypt-RSA-1.50
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= # empty
SVR4_PKGNAME= p5rsa
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
-MAINTAINER= tech-pkg@NetBSD.org
-#HOMEPAGE=
+MAINTAINER= heinz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Crypt-RSA/
COMMENT= Perl5 module of the RSA public key algorithm
-DEPENDS+= p5-Math-Pari-[0-9]*:../../math/p5-Math-Pari
-DEPENDS+= p5-Crypt-Random-[0-9]*:../../security/p5-Crypt-Random
-DEPENDS+= p5-Crypt-Primes-[0-9]*:../../security/p5-Crypt-Primes
+DEPENDS+= p5-Math-Pari>=2.001804:../../math/p5-Math-Pari
+DEPENDS+= p5-Crypt-Random>=0.34:../../security/p5-Crypt-Random
+DEPENDS+= p5-Crypt-Primes>=0.38:../../security/p5-Crypt-Primes
+DEPENDS+= p5-Crypt-CBC-[0-9]*:../../security/p5-Crypt-CBC
+DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish
DEPENDS+= p5-Tie-EncryptedHash-[0-9]*:../../security/p5-Tie-EncryptedHash
DEPENDS+= p5-Convert-ASCII-Armour-[0-9]*:../../textproc/p5-Convert-ASCII-Armour
DEPENDS+= p5-SortVersions-[0-9]*:../../devel/p5-SortVersions
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-Digest-MD5>=2.16:../../security/p5-Digest-MD5
DEPENDS+= p5-Digest-MD2-[0-9]*:../../security/p5-Digest-MD2
-DEPENDS+= p5-Class-Loader-[0-9]*:../../devel/p5-Class-Loader
+DEPENDS+= p5-Class-Loader>=2.00:../../devel/p5-Class-Loader
DEPENDS+= p5-Data-Buffer-[0-9]*:../../devel/p5-Data-Buffer
-USE_BUILDLINK2= YES
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
+USE_LANGUAGES= # empty
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/RSA/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/security/p5-Crypt-RSA/distinfo b/security/p5-Crypt-RSA/distinfo
index 901018ab7c3..7cb7aa16262 100644
--- a/security/p5-Crypt-RSA/distinfo
+++ b/security/p5-Crypt-RSA/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1 2001/10/01 00:42:53 mcr Exp $
+$NetBSD: distinfo,v 1.2 2004/02/24 23:05:08 heinz Exp $
-SHA1 (Crypt-RSA-1.47.tar.gz) = 6ccfcae808016d6ab82de0ea8b7ff60951d180fd
-Size (Crypt-RSA-1.47.tar.gz) = 31972 bytes
+SHA1 (Crypt-RSA-1.50.tar.gz) = 26387aca1721ff484a087a6b2cfd3d7d1613668c
+Size (Crypt-RSA-1.50.tar.gz) = 32763 bytes
+SHA1 (patch-aa) = ce8bde917cd0d21d3f8f1eef8ed261151d9249d7
diff --git a/security/p5-Crypt-RSA/patches/patch-aa b/security/p5-Crypt-RSA/patches/patch-aa
new file mode 100644
index 00000000000..e7bf2746fbe
--- /dev/null
+++ b/security/p5-Crypt-RSA/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2004/02/24 23:05:08 heinz Exp $
+
+--- t/15-benchmark.t.orig Wed May 30 15:09:20 2001
++++ t/15-benchmark.t
+@@ -54,7 +54,8 @@ local $sigcrtpkcs = $pkcs->sign (
+ );
+
+
+-($message, $pkcs, $pss, $pub, $pub2, $priv, $priv2, $sig, $sigcrt,
++# get rid of "Useless use of a variable in void context"
++()= ($message, $pkcs, $pss, $pub, $pub2, $priv, $priv2, $sig, $sigcrt,
+ $sigcrtpkcs, $keychain, $sigpkcs);
+
+ timethese ($count, {