blob: d62927b15a91f9d9cc727bacd937b443aa033ce3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= gvm
DISTVERSIONPREFIX= v
DISTVERSION= 22.4.1
CATEGORIES= security
PKGNAMESUFFIX= -libs
MAINTAINER= acm@FreeBSD.org
COMMENT= Libraries module for the GVM solution
WWW= https://github.com/greenbone/gvm-libs
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 \
libpaho-mqtt3a.so:net/libpaho-mqtt3
RUN_DEPENDS= doxygen>0:devel/doxygen
USES= cmake gnome pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= greenbone
GH_PROJECT= ${PORTNAME}${PKGNAMESUFFIX}
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_USES= ldap
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
@${REINPLACE_CMD} '31d' ${WRKSRC}/base/proctitle.c
.include <bsd.port.mk>
|