git: 7e96b5f51e6b - main - security/p5-openxpki: Fix shebang related bugs

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 08:21:09 UTC
The branch main has been updated by yasu:

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

commit 7e96b5f51e6be90611ac7828980e61f31998e07b
Author:     Sergei Vyshenski <svysh.fbsd@gmail.com>
AuthorDate: 2021-11-01 08:13:17 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-11-01 08:20:30 +0000

    security/p5-openxpki: Fix shebang related bugs
    
    * Update CONFLICTS
    * Update pkg-message
    
    PR:             259000
    MFH:            2021Q4
---
 security/p5-openxpki/Makefile             | 8 +++++---
 security/p5-openxpki/files/pkg-message.in | 4 +---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/security/p5-openxpki/Makefile b/security/p5-openxpki/Makefile
index f384fee08b4e..26df8028d20e 100644
--- a/security/p5-openxpki/Makefile
+++ b/security/p5-openxpki/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	openxpki
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.14.4
+PORTREVISION=	1
 CATEGORIES=	security perl5
 PKGNAMEPREFIX=	p5-
 
@@ -84,7 +85,7 @@ TEST_DEPENDS=	p5-DBD-SQLite>=1.52:databases/p5-DBD-SQLite \
 		p5-Test-Pod>=1.00:devel/p5-Test-Pod \
 		p5-Test-Prereq>=0:devel/p5-Test-Prereq
 
-USES=		gmake perl5 ssl
+USES=		gmake perl5 shebangfix ssl
 USE_GITHUB=	yes
 GH_PROJECT=	openxpki-config:conf
 GH_TAGNAME=	${DISTVERSIONPREFIX}${_conf_VERSION}:conf
@@ -92,10 +93,11 @@ _conf_VERSION=	3.12
 
 USE_PERL5=	configure
 USE_RC_SUBR=	openxpki
+SHEBANG_FILES=	bin/*
+SHEBANG_GLOB=	*.fcgi *.pl *.pm *.t*
 
 CONFLICTS=	p5-openxpki-client p5-openxpki-client-deployment \
-		p5-openxpki-client-html-mason \
-		p5-openxpki-client-scep
+		p5-openxpki-client-html-mason p5-openxpki-client-scep
 
 NO_ARCH=	yes
 # stay with stable versions only:
diff --git a/security/p5-openxpki/files/pkg-message.in b/security/p5-openxpki/files/pkg-message.in
index 71be0b41bc83..5b657c0d09bb 100644
--- a/security/p5-openxpki/files/pkg-message.in
+++ b/security/p5-openxpki/files/pkg-message.in
@@ -10,9 +10,7 @@
 - Install perl interface for your favorite database,
   e.g. databases/p5-DBD-mysql
 - Install your favorite web server.
-  Choose from two versions of the handler: based on CGI or FastCGI
-  perl core modules.
-  Copy CGI or FastCGI scripts from %%EXAMPLESDIR%%/cgi-bin to the location
+  Copy FastCGI scripts from %%EXAMPLESDIR%%/cgi-bin to the location
   where your web server can use them. Set executable permissions for them.
   Copy htdocs files from %%EXAMPLESDIR%%/htdocs to the location
   where your web server can use them.