From nobody Tue Aug 9 21:58:35 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M2Rlw1dsrz4YHCg; Tue, 9 Aug 2022 21:58:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M2Rlw1DBSz426B; Tue, 9 Aug 2022 21:58:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660082316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DPwClG/lzm3zKt0tM0Tj2/prK3iB93U/aAnIuNkf/Ak=; b=MlVZAVfUCCG4ZsEkuLsdVvraIZDNYk/fpeJD2XV5ADFH78Q0X0FBL+/ORbfO/tKk59OSBa fiU2ytHyGwU2ptlyl0T0kkxituZAkRz3jtl7vRrAQlbVM1OTVhGDS1Dt2JI5GAv69YyZc3 RNjVVZS4/9s9wzNfCWAQyz2TdB9zCRpG7WYMU0Woe/DNaDDBDZQ44FAK5co9mDcgfstCF8 jvhunJDPsXvv6aL9+HbsI7BWFE0MLY613jBpfTQzXg9l6D0FfN0Wuv7jrzBmLVXiN7S0sT DJk70OgYAOVWnBdKlqHOaTjM6Ot+dkCoZeyxS9ix6oZXJRgqAee34oZf/A2z8g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M2Rlw000pzn6Q; Tue, 9 Aug 2022 21:58:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 279LwZt2086261; Tue, 9 Aug 2022 21:58:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 279LwZNo086260; Tue, 9 Aug 2022 21:58:35 GMT (envelope-from git) Date: Tue, 9 Aug 2022 21:58:35 GMT Message-Id: <202208092158.279LwZNo086260@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: fa18d9fd8fb4 - main - security/openvas: Fix build on some 13.x and 14-CURRENT List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa18d9fd8fb4b12c97f012576938b6714c80a950 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660082316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DPwClG/lzm3zKt0tM0Tj2/prK3iB93U/aAnIuNkf/Ak=; b=JGf/NIDwC+J26XNWKnaClXI64Uq4z6iEv0ygyXX+eI7G+USh8OQER7CwSkOH3XFn0LuREj HiJtIxo2aAv5xmLZ8eQUc6Ny4kfZPAyW0Y8Hejl4KiSnmv1YD+4R0GK0jyDkRKYhxk5NZ2 dMmC+ofTHk1kxH5oNEX8dliWRDFs9K8h+ZjuOK/yniKTdfyk7okgmXGNC7rMWRTevaqUpj sKSmBclgAIgyiiJ/7kV2ba89jBYXzef0E34Sy1ZXGtu8RdPoux5rlir6U1K3PKuN7TOOJ8 Mtxt3X2pECwAgwhQnZaO9yueqCZWXmNvLhGJaJ/FkjJJzJK+9PlevqGjSdyvDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660082316; a=rsa-sha256; cv=none; b=NL4P+QPVEUA5f7/BG4qpmsLflgtMvnzBoYvI0iWjYWEaC++omQGjlkmYe16+x1IH+ozYIn eTYRrHrVU2Zo6EaclVU3aogfAN/EMaGLzdDmNZXIs2iL0ZjA/p6Jr5CZLzFR2exy7qPCkM tEBxzNMRoPDJk3RvaGvyPlXKLbi9uiRNeHTZzOFba1J5EvGp3imgEYgPeFAXt03jkVjfBw 87QKrLDIZ/B7ve90OYIjxxnm2Iq5X/6ZBd4V5efDONCJ7zCU6GUQTjjr/SUTGyTqa0tCdg lUl6Hxj/CnadBVbYAV6Vx5T0dvhLbj3UsSMW7B92jJ/u/AKGoWuGOTiD7DCj+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa18d9fd8fb4b12c97f012576938b6714c80a950 commit fa18d9fd8fb4b12c97f012576938b6714c80a950 Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-08-09 21:57:09 +0000 Commit: Jose Alonso Cardenas Marquez 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 + 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 ||g' ${WRKSRC}/src/attack.c ${WRKSRC}/src/nasl_plugins.c @${REINPLACE_CMD} -e 's|#include |#include |g' ${WRKSRC}//src/pluginload.c post-install: @${MKDIR} ${STAGEDIR}/var/run/ospd -.include +.include 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