blob: 15291eb26c674013e7829e79cf2c80d37c7db0a4 (
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
|
PORTNAME= gvm
PORTVERSION= 22.4.0
PORTREVISION= 3
CATEGORIES= security
MAINTAINER= acm@FreeBSD.org
COMMENT= Greenbone vulnerability management (metaport)
WWW= https://www.openvas.org/
USES= metaport python:3.7+
# 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 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>
|