aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 20:38:08 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 20:38:08 +0000
commit29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb (patch)
treee32b7b0c429d63f995810e3fbc85db9964120356
parent413f7b8e24c87a5c3e09b26ee5c7ebe11f02cd47 (diff)
downloadports-29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb.tar.gz
ports-29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb.zip
Notes
-rw-r--r--security/p5-Crypt-Ctr/Makefile10
-rw-r--r--security/p5-Crypt-Lite/Makefile12
-rw-r--r--security/p5-Crypt-SKey/Makefile12
3 files changed, 22 insertions, 12 deletions
diff --git a/security/p5-Crypt-Ctr/Makefile b/security/p5-Crypt-Ctr/Makefile
index 49ddc6fef771..b5a776baf5dc 100644
--- a/security/p5-Crypt-Ctr/Makefile
+++ b/security/p5-Crypt-Ctr/Makefile
@@ -5,6 +5,7 @@
PORTNAME= Crypt-Ctr
PORTVERSION= 0.01
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
@@ -13,12 +14,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= Perl extension for encrypting data in Counter Mode
+BUILD_DEPENDS= ${SITE_PERL}/Crypt/CFB.pm:${PORTSDIR}/security/p5-Crypt-CFB
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Crypt::Ctr.3
-.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500503
-IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Lite/Makefile b/security/p5-Crypt-Lite/Makefile
index cac66ed10c53..2f6c87c8f6c1 100644
--- a/security/p5-Crypt-Lite/Makefile
+++ b/security/p5-Crypt-Lite/Makefile
@@ -5,6 +5,7 @@
PORTNAME= Crypt-Lite
PORTVERSION= 0.82.06
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
@@ -13,12 +14,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= Perl extension for a symmetric data encryption and decryption
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Crypt::Lite.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500503
-IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/lib/Crypt/Lite.pm
+ ${PERL} -pi -e '$$_="" if m{5.6.1}' ${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
+
.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-SKey/Makefile b/security/p5-Crypt-SKey/Makefile
index 6200b4b26a90..4a878975c32a 100644
--- a/security/p5-Crypt-SKey/Makefile
+++ b/security/p5-Crypt-SKey/Makefile
@@ -5,6 +5,7 @@
PORTNAME= Crypt-SKey
PORTVERSION= 0.07
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
@@ -13,12 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= Perl S/Key calculator
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD4.pm:${PORTSDIR}/security/p5-Digest-MD4 \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Crypt::SKey.3
-.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500503
-IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>