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 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