Date: Tue, 9 Aug 2022 21:58:35 GMT From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fa18d9fd8fb4 - main - security/openvas: Fix build on some 13.x and 14-CURRENT Message-ID: <202208092158.279LwZNo086260@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa18d9fd8fb4b12c97f012576938b6714c80a950 commit fa18d9fd8fb4b12c97f012576938b6714c80a950 Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2022-08-09 21:57:09 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-08-09 21:58:26 +0000 security/openvas: Fix build on some 13.x and 14-CURRENT - Bump PORTREVISION Reported by: pkg-fallout --- security/gvm/Makefile | 1 + security/openvas/Makefile | 7 ++++++- security/py-ospd-openvas/Makefile | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208092158.279LwZNo086260>