git: 4b312f7f6d1c - main - security/gvm: Update to 22.7.0

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Thu, 18 May 2023 20:40:29 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4b312f7f6d1cbe0489a104130f35d0412d138212

commit 4b312f7f6d1cbe0489a104130f35d0412d138212
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-05-18 20:35:14 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-05-18 20:40:13 +0000

    security/gvm: Update to 22.7.0
    
    - security/gvm-libs: Update to 22.6.0
    - security/gvmd: Bump PORTREVISION
    - security/openvas: Update to 22.7.0
    - security/py-notus-scanner: Update to 22.5.0
    - security/py-ospd-openvas: Update to 22.5.1
    - security/gsa: Bump PORTREVISION
    - security/gsad: Bump PORTREVISION
    - security/py-gvm-tools: Update to 23.4.0
    - security/py-python-gvm: Update to 23.5.0
---
 security/gsa/Makefile                   |  1 +
 security/gsad/Makefile                  |  1 +
 security/gvm-libs/Makefile              |  2 +-
 security/gvm-libs/distinfo              |  6 +++---
 security/gvm-libs/files/patch-osp_osp.c | 12 ++++++------
 security/gvm-libs/pkg-plist             | 10 +++++-----
 security/gvm/Makefile                   |  2 +-
 security/gvmd/Makefile                  |  1 +
 security/openvas/Makefile               |  2 +-
 security/openvas/distinfo               |  6 +++---
 security/openvas/pkg-plist              |  4 ++--
 security/py-gvm-tools/Makefile          |  2 +-
 security/py-gvm-tools/distinfo          |  6 +++---
 security/py-notus-scanner/Makefile      |  5 ++---
 security/py-notus-scanner/distinfo      |  6 +++---
 security/py-ospd-openvas/Makefile       |  2 +-
 security/py-ospd-openvas/distinfo       |  6 +++---
 security/py-ospd-openvas/pkg-plist      |  3 ---
 security/py-python-gvm/Makefile         |  2 +-
 security/py-python-gvm/distinfo         |  6 +++---
 20 files changed, 42 insertions(+), 43 deletions(-)

diff --git a/security/gsa/Makefile b/security/gsa/Makefile
index 74a8051c41f5..3b1ba9c5eacc 100644
--- a/security/gsa/Makefile
+++ b/security/gsa/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	gsa
 DISTVERSIONPREFIX=	v
 DISTVERSION=	22.4.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	LOCAL/acm/gsa/:yarn_cache
 DISTFILES=	${PORTNAME}-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache
diff --git a/security/gsad/Makefile b/security/gsad/Makefile
index 42844d5eb345..7acb4791355c 100644
--- a/security/gsad/Makefile
+++ b/security/gsad/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	gsad
 DISTVERSIONPREFIX=	v
 DISTVERSION=	22.4.1
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	acm@FreeBSD.org
diff --git a/security/gvm-libs/Makefile b/security/gvm-libs/Makefile
index 1daea5b328fc..beb2b2fcfd2a 100644
--- a/security/gvm-libs/Makefile
+++ b/security/gvm-libs/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gvm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	22.4.5
+DISTVERSION=	22.6.0
 CATEGORIES=	security
 PKGNAMESUFFIX=	-libs
 
diff --git a/security/gvm-libs/distinfo b/security/gvm-libs/distinfo
index be3ba027a5b3..55debc77e367 100644
--- a/security/gvm-libs/distinfo
+++ b/security/gvm-libs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680416107
-SHA256 (greenbone-gvm-libs-v22.4.5_GH0.tar.gz) = d28c9de8d70f302cfe2d92515eb651e1d093c700e04a931f13285efa68b7485b
-SIZE (greenbone-gvm-libs-v22.4.5_GH0.tar.gz) = 310749
+TIMESTAMP = 1684281847
+SHA256 (greenbone-gvm-libs-v22.6.0_GH0.tar.gz) = e18f7d7c69c2adb4be22d6ce8e3cba0bb9ff2c6364f7a4911c9e6ad0e782ab40
+SIZE (greenbone-gvm-libs-v22.6.0_GH0.tar.gz) = 313140
diff --git a/security/gvm-libs/files/patch-osp_osp.c b/security/gvm-libs/files/patch-osp_osp.c
index a7ccd18fce69..38d328ac33a6 100644
--- a/security/gvm-libs/files/patch-osp_osp.c
+++ b/security/gvm-libs/files/patch-osp_osp.c
@@ -1,5 +1,5 @@
---- osp/osp.c	2022-07-18 03:40:56.000000000 -0500
-+++ osp/osp.c	2022-07-31 18:21:56.704338000 -0500
+--- osp/osp.c	2023-04-26 03:20:28.000000000 -0500
++++ osp/osp.c	2023-05-15 22:35:12.914724000 -0500
 @@ -141,7 +141,9 @@
    if (host && *host == '/')
      {
@@ -8,9 +8,9 @@
        int len;
 +#endif
  
-       connection = g_malloc0 (sizeof (*connection));
-       connection->socket = socket (AF_UNIX, SOCK_STREAM, 0);
-@@ -152,10 +154,15 @@
+       if (strlen (host) >= sizeof (addr.sun_path))
+         {
+@@ -159,10 +161,15 @@
          }
  
        addr.sun_family = AF_UNIX;
@@ -19,7 +19,7 @@
 +      if (connect (connection->socket, (struct sockaddr *) &addr, sizeof(struct sockaddr_un)) == -1)
 +#else
        memset (addr.sun_path, 0, sizeof (addr.sun_path));
-       memcpy (addr.sun_path, host, sizeof (addr.sun_path) - 1);
+       memcpy (addr.sun_path, host, strlen (host));
        len = strlen (addr.sun_path) + sizeof (addr.sun_family);
        if (connect (connection->socket, (struct sockaddr *) &addr, len) == -1)
 +#endif
diff --git a/security/gvm-libs/pkg-plist b/security/gvm-libs/pkg-plist
index 15c1d2bff2e2..21e5f349b9ef 100644
--- a/security/gvm-libs/pkg-plist
+++ b/security/gvm-libs/pkg-plist
@@ -40,19 +40,19 @@ include/gvm/util/uuidutils.h
 include/gvm/util/xmlutils.h
 lib/libgvm_base.so
 lib/libgvm_base.so.22
-lib/libgvm_base.so.22.4.5
+lib/libgvm_base.so.22.6.0
 lib/libgvm_boreas.so
 lib/libgvm_boreas.so.22
-lib/libgvm_boreas.so.22.4.5
+lib/libgvm_boreas.so.22.6.0
 lib/libgvm_gmp.so
 lib/libgvm_gmp.so.22
-lib/libgvm_gmp.so.22.4.5
+lib/libgvm_gmp.so.22.6.0
 lib/libgvm_osp.so
 lib/libgvm_osp.so.22
-lib/libgvm_osp.so.22.4.5
+lib/libgvm_osp.so.22.6.0
 lib/libgvm_util.so
 lib/libgvm_util.so.22
-lib/libgvm_util.so.22.4.5
+lib/libgvm_util.so.22.6.0
 libdata/pkgconfig/libgvm_base.pc
 libdata/pkgconfig/libgvm_boreas.pc
 libdata/pkgconfig/libgvm_gmp.pc
diff --git a/security/gvm/Makefile b/security/gvm/Makefile
index 730563ab3324..d1fc055edd03 100644
--- a/security/gvm/Makefile
+++ b/security/gvm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gvm
-PORTVERSION=	22.4.1
+PORTVERSION=	22.7.0
 CATEGORIES=	security
 
 MAINTAINER=	acm@FreeBSD.org
diff --git a/security/gvmd/Makefile b/security/gvmd/Makefile
index 9bae53d874e3..09137110d128 100644
--- a/security/gvmd/Makefile
+++ b/security/gvmd/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	gvmd
 DISTVERSION=	22.4.2
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	acm@FreeBSD.org
diff --git a/security/openvas/Makefile b/security/openvas/Makefile
index 91d3886d4a13..c75024ec778a 100644
--- a/security/openvas/Makefile
+++ b/security/openvas/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openvas
-DISTVERSION=	22.4.1
+DISTVERSION=	22.7.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 
diff --git a/security/openvas/distinfo b/security/openvas/distinfo
index bb8a3c524dbc..af2b4436e1a6 100644
--- a/security/openvas/distinfo
+++ b/security/openvas/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680416417
-SHA256 (greenbone-openvas-scanner-v22.4.1_GH0.tar.gz) = efe8c5a3a221fd28292fd12b9f4974b98e3f11ee8d73bcf253c5087bd661427c
-SIZE (greenbone-openvas-scanner-v22.4.1_GH0.tar.gz) = 753758
+TIMESTAMP = 1684428125
+SHA256 (greenbone-openvas-scanner-v22.7.0_GH0.tar.gz) = 8159e3a753f5b8595c9af7ef6711503297f4a47dc17d987970bd0cf70dd02407
+SIZE (greenbone-openvas-scanner-v22.7.0_GH0.tar.gz) = 899455
diff --git a/security/openvas/pkg-plist b/security/openvas/pkg-plist
index 5a515b9f570c..b4d197fd8605 100644
--- a/security/openvas/pkg-plist
+++ b/security/openvas/pkg-plist
@@ -4,10 +4,10 @@ bin/openvas-nasl-lint
 @sample %%ETCDIR%%/openvas_log.conf.sample
 lib/libopenvas_misc.so
 lib/libopenvas_misc.so.22
-lib/libopenvas_misc.so.22.4.1
+lib/libopenvas_misc.so.22.7.0
 lib/libopenvas_nasl.so
 lib/libopenvas_nasl.so.22
-lib/libopenvas_nasl.so.22.4.1
+lib/libopenvas_nasl.so.22.7.0
 sbin/openvas
 share/man/man1/openvas-nasl-lint.1.gz
 share/man/man1/openvas-nasl.1.gz
diff --git a/security/py-gvm-tools/Makefile b/security/py-gvm-tools/Makefile
index 130a77785e6e..0ef44293b3b9 100644
--- a/security/py-gvm-tools/Makefile
+++ b/security/py-gvm-tools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gvm-tools
-DISTVERSION=	23.3.0
+DISTVERSION=	23.4.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/security/py-gvm-tools/distinfo b/security/py-gvm-tools/distinfo
index 15d9ec771e66..0874b9a29ab8 100644
--- a/security/py-gvm-tools/distinfo
+++ b/security/py-gvm-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680420138
-SHA256 (greenbone-gvm-tools-v23.3.0_GH0.tar.gz) = 3633490cb251be83e17e89e14e6996e45a6a17e504b74cdc892a98508a626684
-SIZE (greenbone-gvm-tools-v23.3.0_GH0.tar.gz) = 219338
+TIMESTAMP = 1684208856
+SHA256 (greenbone-gvm-tools-v23.4.0_GH0.tar.gz) = 1efb4ddca8594c21cc4f479a2654a9736dd3c3733619222309917e5e42f7b4b2
+SIZE (greenbone-gvm-tools-v23.4.0_GH0.tar.gz) = 219320
diff --git a/security/py-notus-scanner/Makefile b/security/py-notus-scanner/Makefile
index 242b4880e11e..3326cb6cd577 100644
--- a/security/py-notus-scanner/Makefile
+++ b/security/py-notus-scanner/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	notus-scanner
-DISTVERSION=	22.4.5
+DISTVERSION=	22.5.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	security python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -43,7 +42,7 @@ post-patch:
 	${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/notus/scanner/cli/parser.py
 	${REINPLACE_CMD} -i "" -e 's|/etc/openvas/gnupg|/var/lib/openvas/gnupg|g' \
 		${WRKSRC}/notus/scanner/loader/gpg_sha_verifier.py
-	${REINPLACE_CMD} '37d' ${WRKSRC}/pyproject.toml
+	${REINPLACE_CMD} '38d' ${WRKSRC}/pyproject.toml
 	@${RM} ${WRKSRC}/notus/scanner/cli/parser.py.orig
 	@${RM} ${WRKSRC}/notus/scanner/config.py.orig
 
diff --git a/security/py-notus-scanner/distinfo b/security/py-notus-scanner/distinfo
index d0c567444eab..5b9075b819a2 100644
--- a/security/py-notus-scanner/distinfo
+++ b/security/py-notus-scanner/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680417913
-SHA256 (greenbone-notus-scanner-v22.4.5_GH0.tar.gz) = dfff80cb5254caf76701117260094f7d388c87ab00e5ce26298b67f02a0fc4bf
-SIZE (greenbone-notus-scanner-v22.4.5_GH0.tar.gz) = 319768
+TIMESTAMP = 1684208715
+SHA256 (greenbone-notus-scanner-v22.5.0_GH0.tar.gz) = 9ca9212924e3eecf5fdb7eab283bf81b17584bc488570034cf3b4f693eb0391d
+SIZE (greenbone-notus-scanner-v22.5.0_GH0.tar.gz) = 320894
diff --git a/security/py-ospd-openvas/Makefile b/security/py-ospd-openvas/Makefile
index 10488ee24174..ac7f4516af17 100644
--- a/security/py-ospd-openvas/Makefile
+++ b/security/py-ospd-openvas/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ospd-openvas
-DISTVERSION=	22.4.6
+DISTVERSION=	22.5.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security python
 #MASTER_SITES=	PYPI
diff --git a/security/py-ospd-openvas/distinfo b/security/py-ospd-openvas/distinfo
index ba8bb2e56606..ca85ee45a5e3 100644
--- a/security/py-ospd-openvas/distinfo
+++ b/security/py-ospd-openvas/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680418036
-SHA256 (greenbone-ospd-openvas-v22.4.6_GH0.tar.gz) = b3a4f7e89d0b01d12c58d7e44242097cc493fd81ec3d39f2446540e963f696ed
-SIZE (greenbone-ospd-openvas-v22.4.6_GH0.tar.gz) = 250321
+TIMESTAMP = 1684208512
+SHA256 (greenbone-ospd-openvas-v22.5.1_GH0.tar.gz) = b7e2f73ca31fe9fa08d87615ca1453af2b83abb0a05af65366f80f241a92eda7
+SIZE (greenbone-ospd-openvas-v22.5.1_GH0.tar.gz) = 253605
diff --git a/security/py-ospd-openvas/pkg-plist b/security/py-ospd-openvas/pkg-plist
index d440dd2351cf..3f1136d05026 100644
--- a/security/py-ospd-openvas/pkg-plist
+++ b/security/py-ospd-openvas/pkg-plist
@@ -85,8 +85,6 @@ bin/ospd-openvas
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/dryrun%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/errors%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/errors%%PYTHON_EXT_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/feed%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/feed%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/gpg_sha_verifier%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/gpg_sha_verifier%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/ospd_openvas/__pycache__/lock%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
@@ -106,7 +104,6 @@ bin/ospd-openvas
 %%PYTHON_SITELIBDIR%%/ospd_openvas/db.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/dryrun.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/errors.py
-%%PYTHON_SITELIBDIR%%/ospd_openvas/feed.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/gpg_sha_verifier.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/lock.py
 %%PYTHON_SITELIBDIR%%/ospd_openvas/messages/__init__.py
diff --git a/security/py-python-gvm/Makefile b/security/py-python-gvm/Makefile
index e1c7ecc92868..7484faa436dc 100644
--- a/security/py-python-gvm/Makefile
+++ b/security/py-python-gvm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	python-gvm
-DISTVERSION=	23.2.0
+DISTVERSION=	23.5.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/security/py-python-gvm/distinfo b/security/py-python-gvm/distinfo
index cdec2ae59ff2..7f9492307eb6 100644
--- a/security/py-python-gvm/distinfo
+++ b/security/py-python-gvm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680419775
-SHA256 (greenbone-python-gvm-v23.2.0_GH0.tar.gz) = 97d5a9dffb599a788cd81e90fdfdedf19376616ec35efa3c4c1e4d9d17608237
-SIZE (greenbone-python-gvm-v23.2.0_GH0.tar.gz) = 286131
+TIMESTAMP = 1684208918
+SHA256 (greenbone-python-gvm-v23.5.0_GH0.tar.gz) = 750563d044c9758dd362de318c33edcfee7010bf658dc5fd20fbe0d803d25cea
+SIZE (greenbone-python-gvm-v23.5.0_GH0.tar.gz) = 291592