freebsd-ports/security/gvmd/Makefile
Jose Alonso Cardenas Marquez 77f5aa5d32 security/gvm: update to 21.4.3
The following ports part of security gvm were updated

security/gvmd: Update to 21.4.4
security/gvm-libs: Update to 21.4.3
security/openvas: Update to 21.4.3
security/py-ospd-openvas: Update to 21.4.3
security/py-ospd: Update to 21.4.4
security/greenbone-security-assistant: Update to 21.4.3
security/py-gvm-tools: Update to 21.10.0
security/py-python-gvm: Update to 21.10.0
2021-11-05 11:32:20 -05:00

56 lines
1.4 KiB
Makefile

PORTNAME= gvmd
DISTVERSION= 21.4.4
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= acm@FreeBSD.org
COMMENT= Greenbone Vulnerability Manager central management service
LICENSE= AGPLv3+
BUILD_DEPENDS= doxygen>0:devel/doxygen
LIB_DEPENDS= libgvm_base.so:security/gvm-libs \
libgnutls.so:security/gnutls \
libgpgme.so:security/gpgme \
libical.so:devel/libical
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
doxygen>0:devel/doxygen \
p5-XML-Twig>=0:textproc/p5-XML-Twig \
snmpget:net-mgmt/net-snmp \
rsync:net/rsync \
wget:ftp/wget \
gpg:security/gnupg \
xml:textproc/xmlstarlet \
sshpass:security/sshpass \
socat:net/socat \
zip:archivers/zip
USE_GITHUB= yes
GH_ACCOUNT= greenbone
USES= cmake gnome pkgconfig pgsql python samba:run shebangfix
USE_GNOME= glib20 libxslt:build
USE_LDCONFIG= yes
USERS= gvm
GROUPS= ${USERS}
USE_RC_SUBR= gvmd
SHEBANG_FILES= tools/gvm-lsc-rpm-creator \
tools/gvm-lsc-deb-creator \
src/alert_methods/TippingPoint/report-convert.py \
src/alert_methods/SCP/alert \
src/alert_methods/SMB/alert
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/manage_sql.c
${REINPLACE_CMD} -e 's|+660|660|g' ${WRKSRC}/tools/greenbone-feed-sync.in
post-install:
@${MKDIR} ${STAGEDIR}/var/lib/gvm/gvmd/gnupg
@${MKDIR} ${STAGEDIR}/var/log/gvm
@${MKDIR} ${STAGEDIR}/var/run/gvm
.include <bsd.port.mk>