From nobody Fri Jun 9 22:44:51 2023 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 4QdGNz5Qg2z4bFX0; Fri, 9 Jun 2023 22:44:51 +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 4QdGNz4SY3z3l8f; Fri, 9 Jun 2023 22:44:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686350691; 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=T8J8+x7sQFcK8fqyhWF2kOC7wOHcifL3eKy8A/aGL9U=; b=PZvyvC10T40g1Zn343zSmHEpxFu3QNyANpEY+1fhgsRZlZQcYXuVhwZS0gzHj2YtruFpwv thuP4a2VwVuudMeCJGbeqwS4gS7aCrheHK/76iEGbORXsgQrVFgETkNuq/FVSOGwe8Yt5n QZ1UxEl4S2NaV41hT/OSVZDI5gTSaJUeUFd6On3RnpbhOx8fYPCh48nIELA/owwMnc5OIV 8uo+Bbbm4RxN6lOZkLLBQhPvabUAss8J4PsjPcqP/EQyAeTKrBJhFzZ2Leh2OWKs1FFG1x eJbyuXF2AoUulUZCat4XxciJN77fF8z2xNOfmDtSqLAU/Eu4mhSXrViBo0SXFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686350691; 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=T8J8+x7sQFcK8fqyhWF2kOC7wOHcifL3eKy8A/aGL9U=; b=cgo47NKxCcoudZYZ8b2PxaXAjJKpAFU/UQRm/Yy5eT9an8OuyOrIi6QMlexfXefpNceTky TrGLCfV3Owy3YKlV9OYETtzJObrcWj1z+JDgG2VGnAB4DSSSRVIVCBbXR6Xx65u7IfeJFX 9mXXVpDyo4tVGZesnKICgwB4Aqk8sbDtQjFa7+QQS6BJP+mYX20s6x8KhGobtJim3vxFoP hbTd1Hu6uCYSIJLKPMVzDlLMB4HnrlXyeCzKnXH1xkY5aO3jAZ2TuuCYrvDZd8e0T1BVNw DgJL/Hlx/TfzJgEavADluf7hXpBDHYeSt9zj9pw/JxfZ6sY8gDLN+eAzrdRKvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686350691; a=rsa-sha256; cv=none; b=xfHO9iQPLWn1xtq6RlHopjenbd0znZ3Q3o+AvR+7xntUI33yBbH4tPKfVgMfbsK9WM9e30 gJtsgQyc0cI6RR4QZlezwoRJzEKWiMhQuvfZZfqUotmEzhCBxeOsg1/3UxUS0kTKbRJKuI 0aYtSPxf3IPu3qMpyY9iKQmerPFfIUQveQmFlBNXFKP4axc923FTRYItzgEN/c+mEeC5um MVexC0wLa0P8iHsEVCqNEOjI3b1KNwxYbmcKBWJGoXTBdq/b0tqCEWoSeq86pFrhE48e0m b9uo4NEYDohdzKZCM+UjiWRbMj+7KE5ScXYY9ZYamQ/uVu+GsuGn3omS0c4EbA== 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 4QdGNz3XxZzsyK; Fri, 9 Jun 2023 22:44:51 +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 359MipW8052739; Fri, 9 Jun 2023 22:44:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359MipXI052738; Fri, 9 Jun 2023 22:44:51 GMT (envelope-from git) Date: Fri, 9 Jun 2023 22:44:51 GMT Message-Id: <202306092244.359MipXI052738@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: d15691df9cfb - main - security/openvas: Fix build with llvm15 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d15691df9cfb01d0881d61b6c2e086f991003873 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d15691df9cfb01d0881d61b6c2e086f991003873 commit d15691df9cfb01d0881d61b6c2e086f991003873 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-09 20:09:10 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-09 22:00:18 +0000 security/openvas: Fix build with llvm15 - Add missing LIB_DEPENDS and USES - Pet portclippy Approved by: portmgr (blanket) --- security/openvas/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/security/openvas/Makefile b/security/openvas/Makefile index c75024ec778a..a5febf2e4908 100644 --- a/security/openvas/Makefile +++ b/security/openvas/Makefile @@ -12,6 +12,7 @@ LICENSE= GPLv2+ BUILD_DEPENDS= flex:textproc/flex LIB_DEPENDS= libgvm_base.so:security/gvm-libs \ libgcrypt.so:security/libgcrypt \ + libgpg-error.so:security/libgpg-error \ libpcap.so.1:net/libpcap \ libksba.so:security/libksba \ libgpgme.so:security/gpgme \ @@ -24,11 +25,11 @@ RUN_DEPENDS= redis-server:databases/redis \ rsync:net/rsync \ nmap:security/nmap \ ${PYTHON_PKGNAMEPREFIX}impacket>=0:net/py-impacket@${PY_FLAVOR} + +USES= bison cmake gnome pkgconfig python:3.5+ ssl USE_GITHUB= yes GH_ACCOUNT= greenbone GH_PROJECT= ${PORTNAME}-scanner - -USES= bison cmake gnome pkgconfig python:3.5+ USE_GNOME= glib20 USERS= gvm @@ -36,10 +37,14 @@ GROUPS= ${USERS} .include +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=invalid-utf8 +.endif + post-patch: - @${REINPLACE_CMD} -e 's|g_pattern_match_string|g_pattern_spec_match_string|g' ${WRKSRC}/misc/strutils.c @${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 + @${REINPLACE_CMD} -e 's|vendor_version_get ()|vendor_version_get (void)|g' ${WRKSRC}/misc/vendorversion.c post-install: @${MKDIR} ${STAGEDIR}/var/run/ospd