From cf29b576633ccb16d7a1b2b7a7d9eddc063c7400 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 27 Oct 2022 19:20:53 +0200 Subject: 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 -- cgit v1.2.3