git: 9e6756430a04 - main - security/p5-PerlCryptLib: Update to 1.12

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:05:38 UTC
The branch main has been updated by sunpoet:

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

commit 9e6756430a044b011f688472a9042573a2ae0468
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:50:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:59:06 +0000

    security/p5-PerlCryptLib: Update to 1.12
    
    - Add LICENSE
    - Strip shared library
    - Sort PLIST
    
    Changes:        https://metacpan.org/dist/PerlCryptLib/changes
---
 security/p5-PerlCryptLib/Makefile  | 9 +++++++--
 security/p5-PerlCryptLib/distinfo  | 5 +++--
 security/p5-PerlCryptLib/pkg-plist | 2 +-
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/security/p5-PerlCryptLib/Makefile b/security/p5-PerlCryptLib/Makefile
index 8c0ea3ad3a7b..f6a9c192b6dc 100644
--- a/security/p5-PerlCryptLib/Makefile
+++ b/security/p5-PerlCryptLib/Makefile
@@ -1,8 +1,7 @@
 # Created by: Gea-Suan Lin <gslin@gslin.org>
 
 PORTNAME=	PerlCryptLib
-PORTVERSION=	1.11
-PORTREVISION=	1
+PORTVERSION=	1.12
 CATEGORIES=	security perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:ALVAROL
@@ -11,9 +10,15 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl interface to Peter Guttman cryptlib API
 
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
 LIB_DEPENDS=	libcl.so:security/cryptlib
 
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PerlCryptLib/PerlCryptLib.so
+
 .include <bsd.port.mk>
diff --git a/security/p5-PerlCryptLib/distinfo b/security/p5-PerlCryptLib/distinfo
index aadb3691af6f..8d7c5a8c7a4e 100644
--- a/security/p5-PerlCryptLib/distinfo
+++ b/security/p5-PerlCryptLib/distinfo
@@ -1,2 +1,3 @@
-SHA256 (PerlCryptLib-1.11.tar.gz) = 82fe01ed1f4b3905ef77edc76ff463f87fcdcea38a0eda534b99e5a8725d0419
-SIZE (PerlCryptLib-1.11.tar.gz) = 21903
+TIMESTAMP = 1650229136
+SHA256 (PerlCryptLib-1.12.tar.gz) = e1cae5d16c19ea74f5d4d7e84f2988270e2a4a485135951e0294d85f791a7940
+SIZE (PerlCryptLib-1.12.tar.gz) = 22527
diff --git a/security/p5-PerlCryptLib/pkg-plist b/security/p5-PerlCryptLib/pkg-plist
index 9cb11f375c10..1cfddfbc3610 100644
--- a/security/p5-PerlCryptLib/pkg-plist
+++ b/security/p5-PerlCryptLib/pkg-plist
@@ -1,5 +1,5 @@
-%%PERL5_MAN3%%/PerlCryptLib.3.gz
 %%SITE_ARCH%%/PerlCryptLib.ph
 %%SITE_ARCH%%/PerlCryptLib.pm
 %%SITE_ARCH%%/auto/PerlCryptLib/PerlCryptLib.so
 %%SITE_ARCH%%/auto/PerlCryptLib/autosplit.ix
+%%PERL5_MAN3%%/PerlCryptLib.3.gz