summaryrefslogtreecommitdiff
path: root/security/gvm/Makefile
blob: 7515275661ed58c2c6f27491df4b6f8b472a5f27 (plain)
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

PORTNAME=	gvm
PORTVERSION=	20.8.1
CATEGORIES=	security

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Greenbone vulnerability management (metaport)

USES=		metaport python:3.6+

# Install GVM libraries
RUN_DEPENDS+=	${LOCALBASE}/lib/libgvm_base.so:security/gvm-libs

# Install GVM Manager
RUN_DEPENDS+=	${LOCALBASE}/sbin/gvmd:security/gvmd

# Install Scanner wrapper for OSP
RUN_DEPENDS+=	${LOCALBASE}/bin/ospd-openvas:security/py-ospd-openvas@${PY_FLAVOR}

# Install OpenVAS Scanner
RUN_DEPENDS+=   ${LOCALBASE}/sbin/openvas:security/openvas

# Install GVM Web Interface
RUN_DEPENDS+=	${LOCALBASE}/sbin/gsad:security/greenbone-security-assistant

SUB_FILES=	pkg-message

OPTIONS_DEFINE=		PYTHON-GVM GVM-TOOLS
OPTIONS_DEFAULT=	PYTHON-GVM GVM-TOOLS

PYTHON-GVM_DESC=	Install GVM python API library
GVM-TOOLS_DESC=		Install GVM tools

PYTHON-GVM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-gvm>=0:security/py-python-gvm@${PY_FLAVOR}
GVM-TOOLS_RUN_DEPENDS=	gvm-cli:security/py-gvm-tools@${PY_FLAVOR}

.include <bsd.port.mk>