git: cf29b576633c - main - security/openvpn-devel: fix up shebang of totpauth.py script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Oct 2022 18:08:56 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cf29b576633ccb16d7a1b2b7a7d9eddc063c7400
commit cf29b576633ccb16d7a1b2b7a7d9eddc063c7400
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-10-27 17:20:53 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-10-27 18:08:20 +0000
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).
---
security/openvpn-devel/Makefile | 6 ++++--
1 file 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