diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2022-10-27 17:20:53 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2022-10-27 18:08:20 +0000 |
commit | cf29b576633ccb16d7a1b2b7a7d9eddc063c7400 (patch) | |
tree | d47cbec6231f651574e894bf4e84f259e9beea73 | |
parent | bb24536ac02a721fdc6657a2ff5e43c0c71ae54e (diff) |
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/Makefile | 6 |
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 |