mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
a65d2f7cde
The following ports part of security gvm were updated security/gvmd: Update to 21.4.3 security/gvm-libs: Update to 21.4.2 security/openvas: Update to 21.4.2 security/py-ospd-openvas: Update to 21.4.2 security/py-ospd: Update to 21.4.3 security/greenbone-security-assistant: Update to 21.4.2 - Fix build on FreeBSD 11 [1] PR: 257653 Reported by: John Hein <jcfyecrayz _ at _ liamekaens.com> [1]
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
PORTNAME= gvm
|
|
DISTVERSION= 21.4.2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
PKGNAMESUFFIX= -libs
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= libraries module for the GVM solution
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
BUILD_DEPENDS= doxygen>0:devel/doxygen
|
|
LIB_DEPENDS= libassuan.so:security/libassuan \
|
|
libgpgme.so:security/gpgme \
|
|
libgpg-error.so:security/libgpg-error \
|
|
libgnutls.so:security/gnutls \
|
|
libuuid.so:misc/e2fsprogs-libuuid \
|
|
libssh.so:security/libssh \
|
|
libhiredis.so:databases/hiredis \
|
|
libnet.so:net/libnet \
|
|
libgcrypt.so:security/libgcrypt
|
|
RUN_DEPENDS= doxygen>0:devel/doxygen
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= greenbone
|
|
GH_PROJECT= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
USES= cmake gnome pkgconfig
|
|
USE_GNOME= glib20 libxml2
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= LDAP RADIUS
|
|
|
|
LDAP_CMAKE_ON= -DBUILD_WITH_LDAP=1
|
|
LDAP_CMAKE_OFF= -DBUILD_WITH_LDAP=0
|
|
LDAP_USE= OPENLDAP=yes
|
|
RADIUS_CMAKE_ON=-DBUILD_WITH_RADIUS=1
|
|
RADIUS_CMAKE_OFF=-DBUILD_WITH_RADIUS=0
|
|
RADIUS_LIB_DEPENDS= libfreeradius-client.so:net/freeradius-client
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|2.25.0|1.45.6|g' ${WRKSRC}/util/libgvm_util.pc.in
|
|
@${REINPLACE_CMD} -e 's|uuid>=2.25.0|uuid>=1.45.6|g' ${WRKSRC}/util/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|