aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2007-06-20 18:58:08 +0800
committermat <mat@FreeBSD.org>2007-06-20 18:58:08 +0800
commit8a2945d4adbf389ed44689cd4830adbede0c2e7b (patch)
treed77fa3e087996586a064716f898f783f079a2c60 /security
parentcc386f1febbb9eadd64e0363703f2efc4786a0a9 (diff)
downloadfreebsd-ports-gnome-8a2945d4adbf389ed44689cd4830adbede0c2e7b.tar.gz
freebsd-ports-gnome-8a2945d4adbf389ed44689cd4830adbede0c2e7b.tar.zst
freebsd-ports-gnome-8a2945d4adbf389ed44689cd4830adbede0c2e7b.zip
Update to 1.04
Diffstat (limited to 'security')
-rw-r--r--security/p5-PerlCryptLib/Makefile10
-rw-r--r--security/p5-PerlCryptLib/distinfo6
2 files changed, 11 insertions, 5 deletions
diff --git a/security/p5-PerlCryptLib/Makefile b/security/p5-PerlCryptLib/Makefile
index a46e2882e898..0d58f97364e0 100644
--- a/security/p5-PerlCryptLib/Makefile
+++ b/security/p5-PerlCryptLib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= PerlCryptLib
-PORTVERSION= 1.03
+PORTVERSION= 1.04
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/A/AL/ALVAROL
@@ -15,15 +15,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to Peter Guttman cryptlib API
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= cl:${PORTSDIR}/security/cryptlib
RUN_DEPENDS= ${SITE_PERL}/enum.pm:${PORTSDIR}/devel/p5-enum
PERL_CONFIGURE= yes
+USE_OPENSSL= yes
MAN3= PerlCryptLib.3
post-patch:
- ${PERL} -pi -e 's,^use 5\.008.*$$,,' ${WRKSRC}/Makefile.PL
+ ${PERL} -pi -e 's,^#!/bin/bash,#!${LOCALBASE}/bin/bash,;' \
+ -e 's,^read .* cl_path_in .*$$,cl_path_in=${LOCALBASE}/include,' \
+ ${WRKSRC}/configure
+ ${PERL} -pi -e 's,^use 5\.008.*$$,,;' \
+ -e 's,'\''$$, -L${OPENSSLINC} $$&, if /INC/' ${WRKSRC}/Makefile.PL
${PERL} -pi -e 's,\.\./cryptlib322,${LOCALBASE}/include,' \
${WRKSRC}/PerlCryptLib.xs
diff --git a/security/p5-PerlCryptLib/distinfo b/security/p5-PerlCryptLib/distinfo
index 5e8e56fe1da7..7eb9f4ecbb4f 100644
--- a/security/p5-PerlCryptLib/distinfo
+++ b/security/p5-PerlCryptLib/distinfo
@@ -1,3 +1,3 @@
-MD5 (PerlCryptLib-1.03.tar.gz) = 8d31fa1e33264bad600676e931402914
-SHA256 (PerlCryptLib-1.03.tar.gz) = bef682a9041ec4019aae43766e1e7ea467ee34ac247242b87730e7001d38cca0
-SIZE (PerlCryptLib-1.03.tar.gz) = 23834
+MD5 (PerlCryptLib-1.04.tar.gz) = b710060ebefd0ca0a0f7ef059110de77
+SHA256 (PerlCryptLib-1.04.tar.gz) = 2ef390a06e9a9eea9356a1cbc141f70f30ed4a8d6e2abc73c4b6f50d5b2b2daa
+SIZE (PerlCryptLib-1.04.tar.gz) = 20442