1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

security/gvmd: fix shebangs

Build fails with `poudriere -t` because of bad shebangs
in some of the alert scripts (that use Python or bash).
This commit is contained in:
Adriaan de Groot 2021-04-13 00:05:39 +02:00
parent cb473d917e
commit b495234dd1

View File

@ -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