git: b495234dd10f - main - security/gvmd: fix shebangs

Adriaan de Groot adridg at FreeBSD.org
Tue Apr 13 20:22:32 UTC 2021


The branch main has been updated by adridg:

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

commit b495234dd10f852ffb84eeb5c0ad359425284884
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-04-12 22:05:39 +0000
Commit:     Adriaan de Groot <adridg at FreeBSD.org>
CommitDate: 2021-04-13 20:17:00 +0000

    security/gvmd: fix shebangs
    
    Build fails with `poudriere -t` because of bad shebangs
    in some of the alert scripts (that use Python or bash).
---
 security/gvmd/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/security/gvmd/Makefile b/security/gvmd/Makefile
index 66d718710638..71002058cb42 100644
--- a/security/gvmd/Makefile
+++ b/security/gvmd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gvmd
 DISTVERSION=	20.8.1
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 
@@ -28,7 +29,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
 USE_GITHUB=	yes
 GH_ACCOUNT=	greenbone
 
-USES=		cmake gnome pkgconfig pgsql python samba:run
+USES=		cmake gnome pkgconfig pgsql python samba:run shebangfix
 USE_GNOME=	glib20 libxslt:build
 USE_LDCONFIG=	yes
 
@@ -37,6 +38,12 @@ GROUPS=		${USERS}
 
 USE_RC_SUBR=	gvmd
 
+SHEBANG_FILES=	tools/gvm-lsc-rpm-creator.sh \
+		tools/gvm-lsc-deb-creator.sh \
+		src/alert_methods/TippingPoint/report-convert.py \
+		src/alert_methods/SCP/alert \
+		src/alert_methods/SMB/alert
+
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/lib/gvm/gvmd/gnupg
 	@${MKDIR} ${STAGEDIR}/var/log/gvm


More information about the dev-commits-ports-all mailing list