git: e1a76a8cec65 - main - security/p5-Crypt-OpenSSL-X509: Update to 1.914

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:48:37 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e1a76a8cec658879f6d9a72ab139af1cd6c33d85

commit e1a76a8cec658879f6d9a72ab139af1cd6c33d85
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:35:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:40:05 +0000

    security/p5-Crypt-OpenSSL-X509: Update to 1.914
    
    Changes:        https://metacpan.org/dist/Crypt-OpenSSL-X509/changes
---
 security/p5-Crypt-OpenSSL-X509/Makefile                |  5 +++--
 security/p5-Crypt-OpenSSL-X509/distinfo                |  6 +++---
 security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL | 18 +++++++++---------
 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 .= '';
+ }