git: c01501a9538d - main - security/p5-Digest-SHA1: Strip shared library

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

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

commit c01501a9538df83d779bb993d748e7339c443b40
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:50:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:59:05 +0000

    security/p5-Digest-SHA1: Strip shared library
    
    - Sort PLIST
    - Bump PORTREVISION for package change
---
 security/p5-Digest-SHA1/Makefile  | 5 ++++-
 security/p5-Digest-SHA1/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/security/p5-Digest-SHA1/Makefile b/security/p5-Digest-SHA1/Makefile
index cacc1e8e4c40..0ef9ab23c447 100644
--- a/security/p5-Digest-SHA1/Makefile
+++ b/security/p5-Digest-SHA1/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	Digest-SHA1
 PORTVERSION=	2.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -16,4 +16,7 @@ LICENSE_COMB=	dual
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Digest/SHA1/SHA1.so
+
 .include <bsd.port.mk>
diff --git a/security/p5-Digest-SHA1/pkg-plist b/security/p5-Digest-SHA1/pkg-plist
index e5a95fee83f3..d62e0d7e652d 100644
--- a/security/p5-Digest-SHA1/pkg-plist
+++ b/security/p5-Digest-SHA1/pkg-plist
@@ -1,3 +1,3 @@
-%%PERL5_MAN3%%/Digest::SHA1.3.gz
 %%SITE_ARCH%%/Digest/SHA1.pm
 %%SITE_ARCH%%/auto/Digest/SHA1/SHA1.so
+%%PERL5_MAN3%%/Digest::SHA1.3.gz