diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2022-08-09 21:57:09 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2022-08-09 21:58:26 +0000 |
commit | fa18d9fd8fb4b12c97f012576938b6714c80a950 (patch) | |
tree | 4c6a80dd5f1b5da248e518eee3c49c1909d32ac2 | |
parent | 6d61cb904e2632fb3943b7f6354711e5d3b3032d (diff) | |
download | ports-fa18d9fd8fb4b12c97f012576938b6714c80a950.tar.gz ports-fa18d9fd8fb4b12c97f012576938b6714c80a950.zip |
security/openvas: Fix build on some 13.x and 14-CURRENT
- Bump PORTREVISION
Reported by: pkg-fallout
-rw-r--r-- | security/gvm/Makefile | 1 | ||||
-rw-r--r-- | security/openvas/Makefile | 7 | ||||
-rw-r--r-- | security/py-ospd-openvas/Makefile | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/security/gvm/Makefile b/security/gvm/Makefile index 08dd06cf1d99..0e4708a25266 100644 --- a/security/gvm/Makefile +++ b/security/gvm/Makefile @@ -1,5 +1,6 @@ PORTNAME= gvm PORTVERSION= 22.4.0 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= acm@FreeBSD.org diff --git a/security/openvas/Makefile b/security/openvas/Makefile index 33e380328be1..96aa7f2dec3d 100644 --- a/security/openvas/Makefile +++ b/security/openvas/Makefile @@ -1,5 +1,6 @@ PORTNAME= openvas DISTVERSION= 22.4.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security @@ -33,13 +34,17 @@ USE_GNOME= glib20 USERS= gvm GROUPS= ${USERS} +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e 's|g_pattern_match_string|g_pattern_spec_match_string|g' ${WRKSRC}/misc/strutils.c +.if ${OSVERSION} < 1301000 @${REINPLACE_CMD} -e 's|-Wunused-but-set-variable|-Wunused-variable|g' ${WRKSRC}/nasl/nasl_grammar.y +.endif @${REINPLACE_CMD} -e 's|#include <bsd/unistd.h>||g' ${WRKSRC}/src/attack.c ${WRKSRC}/src/nasl_plugins.c @${REINPLACE_CMD} -e 's|#include <bsd/unistd.h>|#include <unistd.h>|g' ${WRKSRC}//src/pluginload.c post-install: @${MKDIR} ${STAGEDIR}/var/run/ospd -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/py-ospd-openvas/Makefile b/security/py-ospd-openvas/Makefile index 02557ea63f21..c8f2f1eefdcc 100644 --- a/security/py-ospd-openvas/Makefile +++ b/security/py-ospd-openvas/Makefile @@ -1,5 +1,6 @@ PORTNAME= ospd-openvas DISTVERSION= 22.4.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security python #MASTER_SITES= CHEESESHOP |