aboutsummaryrefslogtreecommitdiff
path: root/security/gvm/Makefile
blob: c4ce5fdcfd0a6fd7680be8bdc5fa1bcb7e32ed29 (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
PORTNAME=	gvm
PORTVERSION=	23.5.2
CATEGORIES=	security

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Greenbone vulnerability management (metaport)
WWW=		https://www.openvas.org/

USES=		metaport python

# 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 Notus Scanner
RUN_DEPENDS+=	${LOCALBASE}/bin/notus-scanner:security/py-notus-scanner

# Install Greenbone Community Feed
RUN_DEPENDS+=	greenbone-feed-sync:security/py-greenbone-feed-sync@${PY_FLAVOR}

# Install GVM Web Interface
RUN_DEPENDS+=	${LOCALBASE}/sbin/gsad:security/gsad
RUN_DEPENDS+=	${LOCALBASE}/share/gvm/gsad/web/index.html:security/gsa

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>