summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-OpenSSL-X509
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Crypt-OpenSSL-X509')
-rw-r--r--security/p5-Crypt-OpenSSL-X509/Makefile5
-rw-r--r--security/p5-Crypt-OpenSSL-X509/distinfo6
-rw-r--r--security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL18
3 files changed, 15 insertions, 14 deletions
diff --git a/security/p5-Crypt-OpenSSL-X509/Makefile b/security/p5-Crypt-OpenSSL-X509/Makefile
index 5d0c53589a78..43961b5ea612 100644
--- a/security/p5-Crypt-OpenSSL-X509/Makefile
+++ b/security/p5-Crypt-OpenSSL-X509/Makefile
@@ -1,7 +1,7 @@
# Created by: kftseng@iyard.org
PORTNAME= Crypt-OpenSSL-X509
-PORTVERSION= 1.913
+PORTVERSION= 1.914
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -12,7 +12,8 @@ COMMENT= Perl extension for OpenSSL X509 API
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS= p5-Crypt-OpenSSL-Guess>=0:security/p5-Crypt-OpenSSL-Guess \
+ ${RUN_DEPENDS}
RUN_DEPENDS= p5-Convert-ASN1>=0.33:converters/p5-Convert-ASN1
TEST_DEPENDS= p5-Test-Pod>=1.00:devel/p5-Test-Pod
diff --git a/security/p5-Crypt-OpenSSL-X509/distinfo b/security/p5-Crypt-OpenSSL-X509/distinfo
index c9aa8ea4628e..d7ee0ad2a29f 100644
--- a/security/p5-Crypt-OpenSSL-X509/distinfo
+++ b/security/p5-Crypt-OpenSSL-X509/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650229130
-SHA256 (Crypt-OpenSSL-X509-1.913.tar.gz) = 4068ed2ca546d6a7376a4907c93fbfec2466bcff2f31728fdcf02f6931700be7
-SIZE (Crypt-OpenSSL-X509-1.913.tar.gz) = 153590
+TIMESTAMP = 1652122919
+SHA256 (Crypt-OpenSSL-X509-1.914.tar.gz) = 49c575257e6408ad5a89011e5b5800d598f9ccafdf42e71004ed81cb2f44ee7a
+SIZE (Crypt-OpenSSL-X509-1.914.tar.gz) = 154525
diff --git a/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL b/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL
index 2d1997a843cd..6ca8228e977a 100644
--- a/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL
+++ b/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL
@@ -1,11 +1,11 @@
---- Makefile.PL.orig 2021-05-13 16:03:15 UTC
+--- Makefile.PL.orig 2022-05-03 17:53:35 UTC
+++ Makefile.PL
-@@ -25,7 +25,7 @@ if ($^O ne 'MSWin32' and my $prefix = `brew --prefix -
- libs '-L/usr/local/opt/openssl/lib -L/usr/local/lib -L/usr/lib -L/usr/local/ssl/lib -lcrypto -lssl';
- }
-
--my $cc_option_flags = '-O2 -g -Wall -Werror';
-+my $cc_option_flags = '-O2 -g -Wall';
+@@ -22,7 +22,7 @@ my $api_ver = '0x10100000L'; # (version 1.1.0)
+ my $cc_option_flags = " -DOPENSSL_API_COMPAT=$api_ver -O2 -g";
- if ($Config::Config{gccversion} =~ /llvm/i) {
- if ($Config::Config{perl_version} <= 20) {
+ if ($Config::Config{cc} =~ /gcc/i) {
+- $cc_option_flags .= $ENV{AUTHOR_TESTING} ? ' -Wall -Werror' : ' -Wall';
++ $cc_option_flags .= $ENV{AUTHOR_TESTING} ? ' -Wall' : ' -Wall';
+ } else {
+ $cc_option_flags .= '';
+ }