aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2022-10-27 17:20:53 +0000
committerMatthias Andree <mandree@FreeBSD.org>2022-10-27 18:08:20 +0000
commitcf29b576633ccb16d7a1b2b7a7d9eddc063c7400 (patch)
treed47cbec6231f651574e894bf4e84f259e9beea73
parentbb24536ac02a721fdc6657a2ff5e43c0c71ae54e (diff)
downloadports-cf29b576633ccb16d7a1b2b7a7d9eddc063c7400.tar.gz
ports-cf29b576633ccb16d7a1b2b7a7d9eddc063c7400.zip
security/openvpn-devel: fix up shebang of totpauth.py script
...and we also need to add USES+=python:build to fix stage-qa complaints of the following kind: Error: '/usr/local/bin/python' is an invalid shebang you need USES=shebangfix for 'share/examples/openvpn/sample-scripts/totpauth.py' ALTHOUGH the shebangfix has worked and replaced /usr/bin/python3 by /usr/local/bin/python (with /usr/local from LOCALBASE apparently).
-rw-r--r--security/openvpn-devel/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index 6bf71980bb66..ce44b5fecc4d 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -18,13 +18,15 @@ BUILD_DEPENDS+= cmocka>=0:sysutils/cmocka \
rst2man:textproc/py-docutils
LIB_DEPENDS+= liblzo2.so:archivers/lzo2
-USES= autoreconf cpe libtool pkgconfig shebangfix tar:xz
+USES= autoreconf cpe libtool pkgconfig python:build shebangfix tar:xz
IGNORE_SSL= libressl libressl-devel
USE_GITLAB= yes
GL_COMMIT= ecad4839caf4c2fab9c6627ceeca9b9cb32e8929
USE_RC_SUBR= openvpn
-SHEBANG_FILES= sample/sample-scripts/auth-pam.pl sample/sample-scripts/ucn.pl \
+SHEBANG_FILES= sample/sample-scripts/auth-pam.pl \
+ sample/sample-scripts/totpauth.py \
+ sample/sample-scripts/ucn.pl \
sample/sample-scripts/verify-cn
GNU_CONFIGURE= yes