aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-19 19:04:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-19 19:04:35 +0000
commitdfdb9cd5dff4eccb212a33195af8d1f821d80f78 (patch)
tree728adce33952e57969940301df9d59b89f79ff96 /security
parentb0f42a7081b18f8e243e5f09d83415a575b8a55b (diff)
downloadports-dfdb9cd5dff4eccb212a33195af8d1f821d80f78.tar.gz
ports-dfdb9cd5dff4eccb212a33195af8d1f821d80f78.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/openvas-server/Makefile9
-rw-r--r--security/openvas-server/pkg-plist1
2 files changed, 9 insertions, 1 deletions
diff --git a/security/openvas-server/Makefile b/security/openvas-server/Makefile
index 2ea0caebc96d..4a23baf32bf0 100644
--- a/security/openvas-server/Makefile
+++ b/security/openvas-server/Makefile
@@ -3,13 +3,16 @@
PORTNAME= openvas-server
PORTVERSION= 2.0.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= http://wald.intevation.org/frs/download.php/593/
MAINTAINER= ports@FreeBSD.org
COMMENT= Security scanner: a fork of Nessus
+LICENSE= GPLv2 # only
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libopenvas.so:${PORTSDIR}/security/openvas-libraries \
libopenvasnasl.so:${PORTSDIR}/security/openvas-libnasl
@@ -21,4 +24,8 @@ CONFIGURE_ARGS= --localstatedir=/var
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lgcrypt
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openvas-mkrand \
+ ${STAGEDIR}${PREFIX}/sbin/openvasd
+
.include <bsd.port.mk>
diff --git a/security/openvas-server/pkg-plist b/security/openvas-server/pkg-plist
index 7df2ef71a8d3..77a93f8b4269 100644
--- a/security/openvas-server/pkg-plist
+++ b/security/openvas-server/pkg-plist
@@ -30,5 +30,6 @@ sbin/openvasd
@dir /var/lib/openvas/logs
@dir /var/lib/openvas/jobs
@dir /var/lib/openvas/CA
+@dir /var/lib/openvas
@dir /var/lib
@dir /var/cache/openvas