summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/p5-Crypt-RSA/Makefile36
-rw-r--r--security/p5-Crypt-RSA/distinfo6
-rw-r--r--security/p5-Crypt-RSA/pkg-descr2
3 files changed, 25 insertions, 19 deletions
diff --git a/security/p5-Crypt-RSA/Makefile b/security/p5-Crypt-RSA/Makefile
index 2df6d9231d7c..b7c025288cb7 100644
--- a/security/p5-Crypt-RSA/Makefile
+++ b/security/p5-Crypt-RSA/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Crypt-RSA
-PORTVERSION= 1.58
+PORTVERSION= 1.98
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,20 +14,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= RSA public-key cryptosystem
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
- ${SITE_PERL}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \
- ${SITE_PERL}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
- ${SITE_PERL}/Crypt/Primes.pm:${PORTSDIR}/security/p5-Crypt-Primes \
- ${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
- ${SITE_PERL}/Convert/ASCII/Armor.pm:${PORTSDIR}/converters/p5-Convert-ASCII-Armour \
- ${SITE_PERL}/Data/Buffer.pm:${PORTSDIR}/misc/p5-Data-Buffer \
- ${SITE_PERL}/Sort/Versions.pm:${PORTSDIR}/devel/p5-Sort-Versions \
- ${SITE_PERL}/Class/Loader.pm:${PORTSDIR}/devel/p5-Class-Loader \
- ${SITE_PERL}/${PERL_ARCH}/Digest/MD2.pm:${PORTSDIR}/security/p5-Digest-MD2 \
- ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Tie/EncryptedHash.pm:${PORTSDIR}/security/p5-Tie-EncryptedHash \
- ${SITE_PERL}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Class-Loader>=2.00:${PORTSDIR}/devel/p5-Class-Loader \
+ p5-Convert-ASCII-Armour>=0:${PORTSDIR}/converters/p5-Convert-ASCII-Armour \
+ p5-Crypt-CBC>=0:${PORTSDIR}/security/p5-Crypt-CBC \
+ p5-Crypt-Primes>=0.38:${PORTSDIR}/security/p5-Crypt-Primes \
+ p5-Crypt-Random>=0.34:${PORTSDIR}/security/p5-Crypt-Random \
+ p5-Data-Buffer>=0:${PORTSDIR}/misc/p5-Data-Buffer \
+ p5-Digest-MD2>=0:${PORTSDIR}/security/p5-Digest-MD2 \
+ p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
+ p5-Math-Pari>=2.001804:${PORTSDIR}/math/p5-Math-Pari \
+ p5-Sort-Versions>=0:${PORTSDIR}/devel/p5-Sort-Versions \
+ p5-Tie-EncryptedHash>=0:${PORTSDIR}/security/p5-Tie-EncryptedHash
PERL_CONFIGURE= yes
@@ -46,4 +43,11 @@ MAN3= Crypt::RSA.3 \
Crypt::RSA::SS::PKCS1v15.3 \
Crypt::RSA::SS::PSS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
+ p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-RSA/distinfo b/security/p5-Crypt-RSA/distinfo
index d25e7ba62974..846d2ebf0da0 100644
--- a/security/p5-Crypt-RSA/distinfo
+++ b/security/p5-Crypt-RSA/distinfo
@@ -1,3 +1,3 @@
-MD5 (Crypt-RSA-1.58.tar.gz) = fb0eb5f47f42eb8737e1ecfa28ed4523
-SHA256 (Crypt-RSA-1.58.tar.gz) = 7d29a7a221cd31e6c70a416c2bde50427def0c4f66ddec068b969996dc4287d9
-SIZE (Crypt-RSA-1.58.tar.gz) = 40898
+MD5 (Crypt-RSA-1.98.tar.gz) = c0bfb2df955be680ef5642bffec15b74
+SHA256 (Crypt-RSA-1.98.tar.gz) = 8758447f40cbf64c6d473bf71bcb59bae57339efd467f62caacfefa3fda1ef25
+SIZE (Crypt-RSA-1.98.tar.gz) = 52330
diff --git a/security/p5-Crypt-RSA/pkg-descr b/security/p5-Crypt-RSA/pkg-descr
index 8224c2e5e83e..16200b93561a 100644
--- a/security/p5-Crypt-RSA/pkg-descr
+++ b/security/p5-Crypt-RSA/pkg-descr
@@ -20,3 +20,5 @@ the key-pair are encapsulated in Crypt::RSA::Key(3). Crypt::RSA::Key::Public(3)
from disk, decoding & encoding of keys in certain formats, and secure
representation of keys in memory. Finally, the Crypt::RSA module provides a
convenient, DWIM wrapper around the rest of the modules in the bundle.
+
+WWW: http://search.cpan.org/dist/Crypt-RSA/