blob: e1c3e67f6f263bd7dd96a4178547347151918985 (
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
48
49
50
51
52
53
54
55
56
|
PORTNAME= gvmd
DISTVERSION= 21.4.4
PORTREVISION= 2
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>
|