diff options
Diffstat (limited to 'security')
| -rw-r--r-- | security/p5-Authen-Bitcard/Makefile | 8 | ||||
| -rw-r--r-- | security/p5-Authen-Simple/Makefile | 8 | ||||
| -rw-r--r-- | security/p5-Crypt-OpenPGP/Makefile | 8 | ||||
| -rw-r--r-- | security/p5-Crypt-OpenSSL-CA/Makefile | 8 | ||||
| -rw-r--r-- | security/p5-Crypt-OpenSSL-RSA/Makefile | 3 | ||||
| -rw-r--r-- | security/p5-Crypt-PBKDF2/Makefile | 12 | ||||
| -rw-r--r-- | security/p5-Crypt-SaltedHash/Makefile | 14 | ||||
| -rw-r--r-- | security/p5-Crypt-Simple/Makefile | 12 | ||||
| -rw-r--r-- | security/p5-Data-Entropy/Makefile | 8 | ||||
| -rw-r--r-- | security/p5-Digest-MD5/Makefile | 8 | ||||
| -rw-r--r-- | security/p5-Digest-SHA-PurePerl/Makefile | 17 | ||||
| -rw-r--r-- | security/p5-Digest-SHA-PurePerl/pkg-plist | 1 | ||||
| -rw-r--r-- | security/p5-Digest-SHA/Makefile | 13 | ||||
| -rw-r--r-- | security/p5-Digest-SHA/pkg-plist | 1 | ||||
| -rw-r--r-- | security/p5-Digest-SHA1/Makefile | 9 | ||||
| -rw-r--r-- | security/p5-IO-Socket-SSL/Makefile | 3 | ||||
| -rw-r--r-- | security/p5-Module-Signature/Makefile | 9 | ||||
| -rw-r--r-- | security/p5-Net-OpenID-Common/Makefile | 5 | ||||
| -rw-r--r-- | security/p5-Net-SinFP/Makefile | 2 | ||||
| -rw-r--r-- | security/p5-POE-Component-SSLify/Makefile | 14 |
20 files changed, 149 insertions, 14 deletions
diff --git a/security/p5-Authen-Bitcard/Makefile b/security/p5-Authen-Bitcard/Makefile index 169135294f27..491014a7daf0 100644 --- a/security/p5-Authen-Bitcard/Makefile +++ b/security/p5-Authen-Bitcard/Makefile @@ -23,4 +23,10 @@ PERL_CONFIGURE= yes MAN3= Authen::Bitcard.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Authen-Simple/Makefile b/security/p5-Authen-Simple/Makefile index 34ee94c69ada..45a536cf442d 100644 --- a/security/p5-Authen-Simple/Makefile +++ b/security/p5-Authen-Simple/Makefile @@ -29,4 +29,10 @@ MAN3= Authen::Simple.3 \ PERL_MODBUILD= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Crypt-OpenPGP/Makefile b/security/p5-Crypt-OpenPGP/Makefile index 4452bf86ccfc..7c9f16b20bf3 100644 --- a/security/p5-Crypt-OpenPGP/Makefile +++ b/security/p5-Crypt-OpenPGP/Makefile @@ -48,7 +48,13 @@ MAN3= Crypt::OpenPGP::ErrorHandler.3 Crypt::OpenPGP::Key.3 \ Crypt::OpenPGP::Trust.3 Crypt::OpenPGP::Certificate.3 \ Crypt::OpenPGP::Message.3 Crypt::OpenPGP::KeyServer.3 +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + post-patch: @${RM} -f ${WRKSRC}/lib/Crypt/OpenPGP/Ciphertext.pm.orig -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/p5-Crypt-OpenSSL-CA/Makefile b/security/p5-Crypt-OpenSSL-CA/Makefile index 5b8d9ba69a7d..528cfcd182af 100644 --- a/security/p5-Crypt-OpenSSL-CA/Makefile +++ b/security/p5-Crypt-OpenSSL-CA/Makefile @@ -32,4 +32,10 @@ MAN3= Crypt::OpenSSL::CA.3 \ Crypt::OpenSSL::CA::Inline::C.3 \ Crypt::OpenSSL::CA::Resources.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-Module-Build>=0.2900:${PORTSDIR}/devel/p5-Module-Build +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Crypt-OpenSSL-RSA/Makefile b/security/p5-Crypt-OpenSSL-RSA/Makefile index 58218195c0c6..e5aaa8fe54f7 100644 --- a/security/p5-Crypt-OpenSSL-RSA/Makefile +++ b/security/p5-Crypt-OpenSSL-RSA/Makefile @@ -25,4 +25,7 @@ MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC} MAN3= Crypt::OpenSSL::RSA.3 +regression-test: build + cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test + .include <bsd.port.mk> diff --git a/security/p5-Crypt-PBKDF2/Makefile b/security/p5-Crypt-PBKDF2/Makefile index b407373ab31e..6c6ba5867ae0 100644 --- a/security/p5-Crypt-PBKDF2/Makefile +++ b/security/p5-Crypt-PBKDF2/Makefile @@ -30,4 +30,14 @@ MAN3= Crypt::PBKDF2.3 \ Crypt::PBKDF2::Hash::HMACSHA1.3 \ Crypt::PBKDF2::Hash::HMACSHA2.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA +.endif + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-Digest>=1.16:${PORTSDIR}/security/p5-Digest +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Crypt-SaltedHash/Makefile b/security/p5-Crypt-SaltedHash/Makefile index ac52bab559be..44fceb69bd83 100644 --- a/security/p5-Crypt-SaltedHash/Makefile +++ b/security/p5-Crypt-SaltedHash/Makefile @@ -17,4 +17,16 @@ PERL_MODBUILD= yes MAN3= Crypt::SaltedHash.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest>=1.16:${PORTSDIR}/security/p5-Digest +BUILD_DEPENDS+= p5-Digest>=1.16:${PORTSDIR}/security/p5-Digest +.endif + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +BUILD_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Crypt-Simple/Makefile b/security/p5-Crypt-Simple/Makefile index be93f32bd2e8..e409e9dbe8f4 100644 --- a/security/p5-Crypt-Simple/Makefile +++ b/security/p5-Crypt-Simple/Makefile @@ -24,4 +24,14 @@ PERL_CONFIGURE= yes MAN3= Crypt::Simple.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Data-Entropy/Makefile b/security/p5-Data-Entropy/Makefile index 247109281570..ab87abeea908 100644 --- a/security/p5-Data-Entropy/Makefile +++ b/security/p5-Data-Entropy/Makefile @@ -29,4 +29,10 @@ MAN3= Data::Entropy.3 \ Data::Entropy::RawSource::RandomnumbersInfo.3 \ Data::Entropy::Source.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Digest-MD5/Makefile b/security/p5-Digest-MD5/Makefile index 8dcf77ff359f..e21ae3184e58 100644 --- a/security/p5-Digest-MD5/Makefile +++ b/security/p5-Digest-MD5/Makefile @@ -18,4 +18,10 @@ PERL_CONFIGURE= yes MAN3= Digest::MD5.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500803 +RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Digest-SHA-PurePerl/Makefile b/security/p5-Digest-SHA-PurePerl/Makefile index 9fd7ef8a8a25..6f65e9d83975 100644 --- a/security/p5-Digest-SHA-PurePerl/Makefile +++ b/security/p5-Digest-SHA-PurePerl/Makefile @@ -16,8 +16,23 @@ PERL_CONFIGURE= yes MAN3= Digest::SHA::PurePerl.3 +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500803 +RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest +.endif + +.if ${PERL_LEVEL} >= 501000 +PLIST_SUB+= EXE_FILES="@comment " +.else +PLIST_SUB+= EXE_FILES="" +MAN1= shasum.1 +.endif + post-patch: +.if ${PERL_LEVEL} >= 501000 @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL +.endif .if !defined(NOPORTEXAMPLES) post-install: @@ -25,4 +40,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/examples/dups ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/p5-Digest-SHA-PurePerl/pkg-plist b/security/p5-Digest-SHA-PurePerl/pkg-plist index 66867ad751c6..dc5712fcf580 100644 --- a/security/p5-Digest-SHA-PurePerl/pkg-plist +++ b/security/p5-Digest-SHA-PurePerl/pkg-plist @@ -1,3 +1,4 @@ +%%EXE_FILES%%bin/shasum %%SITE_PERL%%/Digest/SHA/PurePerl.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/ diff --git a/security/p5-Digest-SHA/Makefile b/security/p5-Digest-SHA/Makefile index bc23fc149873..4397e4817dbb 100644 --- a/security/p5-Digest-SHA/Makefile +++ b/security/p5-Digest-SHA/Makefile @@ -21,7 +21,18 @@ PERL_CONFIGURE= yes MAN3= Digest::SHA.3 +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} >= 501000 +PLIST_SUB+= EXE_FILES="@comment " +.else +PLIST_SUB+= EXE_FILES="" +MAN1= shasum.1 +.endif + post-patch: +.if ${PERL_LEVEL} >= 501000 @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/p5-Digest-SHA/pkg-plist b/security/p5-Digest-SHA/pkg-plist index 33a87d78e818..7b40336aaa75 100644 --- a/security/p5-Digest-SHA/pkg-plist +++ b/security/p5-Digest-SHA/pkg-plist @@ -1,3 +1,4 @@ +%%EXE_FILES%%bin/shasum %%SITE_PERL%%/%%PERL_ARCH%%/Digest/SHA.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/SHA.bs diff --git a/security/p5-Digest-SHA1/Makefile b/security/p5-Digest-SHA1/Makefile index bc49602ad0a8..00b9670922e3 100644 --- a/security/p5-Digest-SHA1/Makefile +++ b/security/p5-Digest-SHA1/Makefile @@ -18,4 +18,11 @@ PERL_CONFIGURE= yes MAN3= Digest::SHA1.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500803 +BUILD_DEPENDS+= p5-Digest>=1.00:${PORTSDIR}/security/p5-Digest +RUN_DEPENDS+= p5-Digest>=1.00:${PORTSDIR}/security/p5-Digest +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-IO-Socket-SSL/Makefile b/security/p5-IO-Socket-SSL/Makefile index 771fbefcb7cb..ebddb88760a2 100644 --- a/security/p5-IO-Socket-SSL/Makefile +++ b/security/p5-IO-Socket-SSL/Makefile @@ -41,4 +41,7 @@ RUN_DEPENDS+= p5-Net-LibIDN>=0:${PORTSDIR}/dns/p5-Net-LibIDN RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6 .endif +regression-test: + @(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test) + .include <bsd.port.mk> diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile index 54cb2525ea6e..cb3759a7d125 100644 --- a/security/p5-Module-Signature/Makefile +++ b/security/p5-Module-Signature/Makefile @@ -25,4 +25,11 @@ PERL_CONFIGURE= yes MAN1= cpansign.1 MAN3= Module::Signature.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA +RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Net-OpenID-Common/Makefile b/security/p5-Net-OpenID-Common/Makefile index 1bd582f8f36a..9cc38356f3b1 100644 --- a/security/p5-Net-OpenID-Common/Makefile +++ b/security/p5-Net-OpenID-Common/Makefile @@ -38,4 +38,9 @@ MAN3= Net::OpenID::Common.3 \ Net::OpenID::Yadis.3 \ Net::OpenID::Yadis::Service.3 +.if defined(MAINTAINER_MODE) +regression-test: build + cd ${WRKSRC} && ${MAKE} test +.endif + .include <bsd.port.mk> diff --git a/security/p5-Net-SinFP/Makefile b/security/p5-Net-SinFP/Makefile index fed38abb1728..8984e98cd7fa 100644 --- a/security/p5-Net-SinFP/Makefile +++ b/security/p5-Net-SinFP/Makefile @@ -65,6 +65,8 @@ MAN3= Net::SinFP.3 \ post-patch: @${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT} +regression-test: + @(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test) .endif ONLY_FOR_ARCHS= i386 amd64 alpha diff --git a/security/p5-POE-Component-SSLify/Makefile b/security/p5-POE-Component-SSLify/Makefile index a7d9c0a5c85b..b1352e2d81f2 100644 --- a/security/p5-POE-Component-SSLify/Makefile +++ b/security/p5-POE-Component-SSLify/Makefile @@ -28,4 +28,16 @@ MAN3= POE::Component::SSLify.3 \ POE::Component::SSLify::ClientHandle.3 \ POE::Component::SSLify::ServerHandle.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500809 +BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.31:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +RUN_DEPENDS+= p5-ExtUtils-MakeMaker>=6.31:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +.endif + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-IO>=1.28:${PORTSDIR}/devel/p5-IO +RUN_DEPENDS+= p5-IO>=1.28:${PORTSDIR}/devel/p5-IO +.endif + +.include <bsd.port.post.mk> |
