[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 5e629cf7062f9f4e13956b0f4e069255b547cb1e
Author: Giuseppe Foti gmail com>
AuthorDate: Sat Nov 1 15:52:49 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Tue Nov 11 14:32:34 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e629cf7
net-analyzer/ospd-openvas: drop 22.7.1-r2
Signed-off-by: Giuseppe Foti gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44418
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 2 -
.../ospd-openvas/ospd-openvas-22.7.1-r2.ebuild | 93 --
2 files changed, 95 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 055e3c6a09aa..b1b5fc88ef5e 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,4 +1,2 @@
-DIST ospd-openvas-22.7.1-add-delay-in-mqtt-test.patch 1238 BLAKE2B
72d107f5056b72f7269e7408712b6a6a67b201c71024eff299eca0b1b5471dceb69c5d00df2d021d81cfd465bec85ea743f1e4c566840264d3f40481f5bca639
SHA512
c37e0d69ac4eb0eb6ee48c3f519c6ad2049b3cb81904fa9c0475e4fb700a2addf57001f277fdc0e48d40fb23b835ed17400cda3d46db5fa7e61babd1ee7d7c14
-DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
SHA512
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552
DIST ospd-openvas-22.8.2.tar.gz 250151 BLAKE2B
444ce2e73c32367530c14d1b698e5b7563ddb6f7775e517064185713edb8348c6d8f4ee3c3fa1f8edbcb3ff4c2d6720d7fc29d6fa5f6889b486e0d40f0c5972d
SHA512
72d868f41f575d0ef20b665afaf32113bf40f37f1f3a0626ec432f5e1e2f0ebade283c13c2a8c9dc8eab185997bcd9d890a9be0bc5964e7c65f32ba8b24ee070
DIST ospd-openvas-22.9.0.tar.gz 250165 BLAKE2B
4e82df9902dcd10bcfa0cf6024875025ad78d8811da25b1b25d5d188b1b2e69243e7e5141199d82f845da70f7544bf2f87166d1e0fdefe91055c0bf3e5c037cf
SHA512
5bbfadd1b5a75a0b0a44c1382d730cea824f66bfe22d33cc263328ff633f4ac1d39c1dc1416ecab5d06a5c8b47fa8241debac48baff98a4c2a305e0942d9b07f
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
deleted file mode 100644
index 2a45e7d3190a..
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2020-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 systemd
-
-DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
-SRC_URI="
- https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz
-
https://github.com/greenbone/ospd-openvas/commit/f968bcc540c22dad89a2ee3bdfc6384b97b6fa0f.patch
- -> ${PN}-22.7.1-add-delay-in-mqtt-test.patch
-"
-
-LICENSE="AGPL-3+ GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="doc +notus"
-
-DEPEND="
- acct-user/gvm
- >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
- >=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
- >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
- =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
- >=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
- =dev-python/paho-mqtt-1.6[${PYTHON_USEDEP}]
-
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 4e737371fc309971218ad1f1c8ed5deb6d7d2f0b
Author: Giuseppe Foti gmail com>
AuthorDate: Wed Sep 17 19:02:21 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Thu Sep 25 18:04:08 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e737371
net-analyzer/ospd-openvas: add 22.9.0
Signed-off-by: Giuseppe Foti gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43829
Closes: https://github.com/gentoo/gentoo/pull/43829
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
.../ospd-openvas/ospd-openvas-22.9.0.ebuild| 86 ++
2 files changed, 87 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index d7afebfb2d58..055e3c6a09aa 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,3 +1,4 @@
DIST ospd-openvas-22.7.1-add-delay-in-mqtt-test.patch 1238 BLAKE2B
72d107f5056b72f7269e7408712b6a6a67b201c71024eff299eca0b1b5471dceb69c5d00df2d021d81cfd465bec85ea743f1e4c566840264d3f40481f5bca639
SHA512
c37e0d69ac4eb0eb6ee48c3f519c6ad2049b3cb81904fa9c0475e4fb700a2addf57001f277fdc0e48d40fb23b835ed17400cda3d46db5fa7e61babd1ee7d7c14
DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
SHA512
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552
DIST ospd-openvas-22.8.2.tar.gz 250151 BLAKE2B
444ce2e73c32367530c14d1b698e5b7563ddb6f7775e517064185713edb8348c6d8f4ee3c3fa1f8edbcb3ff4c2d6720d7fc29d6fa5f6889b486e0d40f0c5972d
SHA512
72d868f41f575d0ef20b665afaf32113bf40f37f1f3a0626ec432f5e1e2f0ebade283c13c2a8c9dc8eab185997bcd9d890a9be0bc5964e7c65f32ba8b24ee070
+DIST ospd-openvas-22.9.0.tar.gz 250165 BLAKE2B
4e82df9902dcd10bcfa0cf6024875025ad78d8811da25b1b25d5d188b1b2e69243e7e5141199d82f845da70f7544bf2f87166d1e0fdefe91055c0bf3e5c037cf
SHA512
5bbfadd1b5a75a0b0a44c1382d730cea824f66bfe22d33cc263328ff633f4ac1d39c1dc1416ecab5d06a5c8b47fa8241debac48baff98a4c2a305e0942d9b07f
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.9.0.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.9.0.ebuild
new file mode 100644
index ..02b4bb8d656b
--- /dev/null
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.9.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 systemd
+
+DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="AGPL-3+ GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +notus"
+
+DEPEND="
+ acct-user/gvm
+ >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
+ >=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
+ =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
+ =dev-python/redis-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
+ =dev-python/paho-mqtt-1.6[${PYTHON_USEDEP}]
+
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: d45f7af78a8c0475de4fb1fe14ad5152aa997a33
Author: Giuseppe Foti gmail com>
AuthorDate: Sat Aug 2 11:40:20 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Fri Aug 8 12:56:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45f7af7
net-analyzer/ospd-openvas: enable py3.14
Closes: https://bugs.gentoo.org/960077
Signed-off-by: Giuseppe Foti gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43290
Closes: https://github.com/gentoo/gentoo/pull/43290
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild | 4 ++--
net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
index f6b6cf0de54c..2a45e7d3190a 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
@@ -25,7 +25,7 @@ DEPEND="
>=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
>=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
- =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
>=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
index d67b75ec39cc..02b4bb8d656b 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
@@ -21,7 +21,7 @@ DEPEND="
>=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
>=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
- =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 1e80591aace3d9d796b337ee3d7cc7201887e56a
Author: Giuseppe Foti gmail com>
AuthorDate: Sat Jun 7 10:29:55 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Wed Jun 18 12:11:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e80591a
net-analyzer/ospd-openvas: removing version constrains on dev-python/packaging
Closes: https://bugs.gentoo.org/956546
Signed-off-by: Giuseppe Foti gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42484
Closes: https://github.com/gentoo/gentoo/pull/42484
Signed-off-by: Florian Schmaus gentoo.org>
.../{ospd-openvas-22.7.1-r1.ebuild => ospd-openvas-22.7.1-r2.ebuild} | 3 +--
.../{ospd-openvas-22.8.2.ebuild => ospd-openvas-22.8.2-r1.ebuild} | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
similarity index 96%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
index 6b4fb2f8a8b2..f6b6cf0de54c 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r2.ebuild
@@ -26,8 +26,7 @@ DEPEND="
>=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
=dev-python/packaging-20.4[${PYTHON_USEDEP}]
- =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
>=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
>=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
similarity index 96%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
index 6b943b93e279..d67b75ec39cc 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2-r1.ebuild
@@ -22,8 +22,7 @@ DEPEND="
>=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
=dev-python/packaging-20.4[${PYTHON_USEDEP}]
- =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 109040ca537b9758f21558e8e93ff0d1316eecab
Author: Giuseppe Foti gmail com>
AuthorDate: Wed May 7 18:54:32 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri May 23 06:39:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109040ca
net-analyzer/ospd-openvas: disable py3.10, pypy3
Signed-off-by: Giuseppe Foti gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41982
Signed-off-by: Sam James gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild | 2 +-
net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
index 6d59c3fd9df5..6b4fb2f8a8b2 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
index 738c041961ed..6b943b93e279 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 7c72706d40901eecb38edf7298bb6691235192d5
Author: Giuseppe Foti gmail com>
AuthorDate: Tue Apr 22 20:47:16 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Tue Apr 29 07:35:19 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c72706d
net-analyzer/ospd-openvas: add 22.8.2, porting to Python 3.13
Closes: https://bugs.gentoo.org/952573
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41705
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild | 3 +--
...envas-22.7.1-r1.ebuild => ospd-openvas-22.8.2.ebuild} | 16
3 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 98fce6477374..d7afebfb2d58 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1,3 @@
DIST ospd-openvas-22.7.1-add-delay-in-mqtt-test.patch 1238 BLAKE2B
72d107f5056b72f7269e7408712b6a6a67b201c71024eff299eca0b1b5471dceb69c5d00df2d021d81cfd465bec85ea743f1e4c566840264d3f40481f5bca639
SHA512
c37e0d69ac4eb0eb6ee48c3f519c6ad2049b3cb81904fa9c0475e4fb700a2addf57001f277fdc0e48d40fb23b835ed17400cda3d46db5fa7e61babd1ee7d7c14
DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
SHA512
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552
+DIST ospd-openvas-22.8.2.tar.gz 250151 BLAKE2B
444ce2e73c32367530c14d1b698e5b7563ddb6f7775e517064185713edb8348c6d8f4ee3c3fa1f8edbcb3ff4c2d6720d7fc29d6fa5f6889b486e0d40f0c5972d
SHA512
72d868f41f575d0ef20b665afaf32113bf40f37f1f3a0626ec432f5e1e2f0ebade283c13c2a8c9dc8eab185997bcd9d890a9be0bc5964e7c65f32ba8b24ee070
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
index 4830118bd01b..6d59c3fd9df5 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
@@ -34,7 +34,6 @@ DEPEND="
=dev-python/paho-mqtt-1.6[${PYTHON_USEDEP}]
=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
net-libs/paho-mqtt-c
app-misc/mosquitto
"
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
similarity index 83%
copy from net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
copy to net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
index 4830118bd01b..738c041961ed 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.8.2.ebuild
@@ -3,21 +3,17 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} pypy3 pypy3_11 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
-SRC_URI="
- https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz
-
https://github.com/greenbone/ospd-openvas/commit/f968bcc540c22dad89a2ee3bdfc6384b97b6fa0f.patch
- -> ${PN}-22.7.1-add-delay-in-mqtt-test.patch
-"
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
LICENSE="AGPL-3+ GPL-2+"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="~amd64"
IUSE="doc +notus"
DEPEND="
@@ -29,12 +25,12 @@ DEPEND="
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
=dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
+ =dev-python/redis-4.5.0[${PYTHON_USEDEP}]
>=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
=dev-python/paho-mqtt-1.6[${PYTHON_USEDEP}]
=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
net-libs/paho-mqtt-c
app-misc/mosquitto
"
@@ -45,10 +41,6 @@ RDEPEND="
notus? ( >=net-analyzer/notus-scanner-22.4 )
"
-PATCHES=(
- "${DISTDIR}/${PN}-22.7.1-add-delay-in-mqtt-test.patch" #934153
-)
-
distutils_enable_tests unittest
python_compile() {
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 1fe81fb6c707abc4a5223e529abfab9d90477312
Author: Giuseppe Foti gmail com>
AuthorDate: Wed Feb 12 06:43:03 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon Apr 14 08:53:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe81fb6
net-analyzer/ospd-openvas: fix tests.messaging.test_mqtt.MQTTDaemonTestCase
backport upstream fix
[flow: do not bump the revision for test-only changes]
Closes: https://bugs.gentoo.org/934153
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40543
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild | 10 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index d5ed00caaaf8..98fce6477374 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1 +1,2 @@
+DIST ospd-openvas-22.7.1-add-delay-in-mqtt-test.patch 1238 BLAKE2B
72d107f5056b72f7269e7408712b6a6a67b201c71024eff299eca0b1b5471dceb69c5d00df2d021d81cfd465bec85ea743f1e4c566840264d3f40481f5bca639
SHA512
c37e0d69ac4eb0eb6ee48c3f519c6ad2049b3cb81904fa9c0475e4fb700a2addf57001f277fdc0e48d40fb23b835ed17400cda3d46db5fa7e61babd1ee7d7c14
DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
SHA512
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
index 3d8fa048e255..4830118bd01b 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
@@ -9,7 +9,11 @@ inherit distutils-r1 systemd
DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+SRC_URI="
+ https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz
+
https://github.com/greenbone/ospd-openvas/commit/f968bcc540c22dad89a2ee3bdfc6384b97b6fa0f.patch
+ -> ${PN}-22.7.1-add-delay-in-mqtt-test.patch
+"
LICENSE="AGPL-3+ GPL-2+"
SLOT="0"
@@ -41,6 +45,10 @@ RDEPEND="
notus? ( >=net-analyzer/notus-scanner-22.4 )
"
+PATCHES=(
+ "${DISTDIR}/${PN}-22.7.1-add-delay-in-mqtt-test.patch" #934153
+)
+
distutils_enable_tests unittest
python_compile() {
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 7abc0538c876a1197b5bc4de342ffcbb59caf455
Author: Florian Schmaus gentoo org>
AuthorDate: Mon Mar 31 11:43:58 2025 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon Mar 31 11:45:23 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abc0538
net-analyzer/ospd-openvas: weaken defusedxml dependency restriction
Allow for defusedxml 0.8 (and greater), because there seems no API
change between defusedxml 0.7 and 0.8, and 0.8 is the only ebuild in
::gentoo marked with python3_13.
Signed-off-by: Florian Schmaus gentoo.org>
.../{ospd-openvas-22.7.1.ebuild => ospd-openvas-22.7.1-r1.ebuild}| 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
similarity index 98%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
index 5ba56c4137f7..3d8fa048e255 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1-r1.ebuild
@@ -19,7 +19,6 @@ IUSE="doc +notus"
DEPEND="
acct-user/gvm
>=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
- =dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 7fb9e8915d96b44d2e70523a58b9990019418c89
Author: Michał Górny gentoo org>
AuthorDate: Sun Mar 2 19:08:35 2025 +
Commit: Michał Górny gentoo org>
CommitDate: Sun Mar 2 19:31:29 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb9e891
net-analyzer/ospd-openvas: Enable pypy3.11
Signed-off-by: Michał Górny gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
index 11a57ec79a7b..5ba56c4137f7 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020-2024 Gentoo Authors
+# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 pypy3_11 )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 011a37cb61783882b40948e74c1abc83577583fa
Author: Giuseppe Foti gmail com>
AuthorDate: Sun Nov 24 18:36:25 2024 +
Commit: Florian Schmaus gentoo org>
CommitDate: Fri Nov 29 12:05:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011a37cb
net-analyzer/ospd-openvas: drop 22.6.2, 22.7.0
Bug: https://bugs.gentoo.org/928232
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39457
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 2 -
.../ospd-openvas/ospd-openvas-22.6.2.ebuild| 86 -
.../ospd-openvas/ospd-openvas-22.7.0.ebuild| 87 --
3 files changed, 175 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index a4fa3875a5db..d5ed00caaaf8 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,3 +1 @@
-DIST ospd-openvas-22.6.2.tar.gz 246360 BLAKE2B
22c95cafdc6c223465805f30b522d357c28b9da3df74743cdee3cc608215d730da9101c37d2498e9680f506ed1301e12d9af3c8bab1c2a1847c034c7d6c10ca8
SHA512
a405779b9ea89b1300122c39553f8f9bf079b8610dc61ec6244affa9c9273725234a4a556df05e3013045681678646226cf12af66f051def8b042b84bb639ffe
-DIST ospd-openvas-22.7.0.tar.gz 246142 BLAKE2B
bb5ea9bdc82929958466d2002ce28e63e5ff8c72561758f328c05f0d8c6431f7e305772707027f764fd881334d3c0b993d7f1727f8d7d16da83cc34b9a608895
SHA512
5a2c533589dc7a27a1be1b834243054eaf1bdb250fc41a98b0b35e6e60b8a2793e0e1d7dcd8bbf638bf23da1636efb5a80310df75727990768035743300ca8b1
DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
SHA512
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
deleted file mode 100644
index d202b6f35bd0..
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 systemd
-
-DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
-
-LICENSE="AGPL-3+ GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="doc +notus"
-
-DEPEND="
- acct-user/gvm
- >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
- =dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
- >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
- >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
- =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
- >=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
- =dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
- >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
- net-libs/paho-mqtt-c
- app-misc/mosquitto
-"
-RDEPEND="
- ${DEPEND}
- app-admin/sudo
- >=net-analyzer/openvas-scanner-22.4
- notus? ( >=net-analyzer/notus-scanner-22.4 )
-"
-
-distutils_enable_tests unittest
-
-python_compile() {
- if use doc; then
- bash "${S}"/docs/generate || die
- HTML_DOCS=( "${S}"/docs/. )
- fi
- distutils-r1_python_compile
-}
-
-python_install() {
- distutils-r1_python_install
-
- insinto /etc/gvm
- doins config/${PN}.conf
- if ! use prefix; then
- fowners -R gvm:gvm /etc/gvm
- fi
-
- newinitd "${FILESDIR}/${PN}-22.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}-22.confd" "${PN}"
-
- systemd_dounit config/${PN}.service
-
- if use notus; then
- systemd_install_serviced
"${FILESDIR}/ospd-openvas.service_notus.conf" \
- ${PN}.service
- else
- systemd_install_serviced
"${FILESDIR}/ospd-openvas.service.conf" \
- ${PN}.service
- fi
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/ospd-openvas.logrotate" ospd-openvas
-
- # OSPD OpenVAS attempts to call openvas via sudo as network security
- # scanning often requires priviliged operations.
- insinto /etc/sudoers.d
- newins - openvas <<-EOF
- gvm ALL = NOPASSWD: /usr/bin/openvas
-EOF
- fperms 0750 /etc/sudoers.d
- fperms 0440 /etc/sudoers.d/openvas
-}
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.0.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.0.ebuild
deleted file mode 100644
index 99c6e7b40fe7..00
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 5cb91e7ba4336d3304afbd33ddda74e85a5cbcfe
Author: Sam James gentoo org>
AuthorDate: Tue Jul 23 03:54:37 2024 +
Commit: Sam James gentoo org>
CommitDate: Tue Jul 23 03:54:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb91e7b
net-analyzer/ospd-openvas: Stabilize 22.7.1 amd64, #936504
Signed-off-by: Sam James gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
index f44cbfea2e2c..11a57ec79a7b 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
@@ -13,7 +13,7 @@
SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}
LICENSE="AGPL-3+ GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc +notus"
DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 28172a5efca8afeec83cca250510acdac401c234
Author: Giuseppe Foti gmail com>
AuthorDate: Tue Jun 4 18:49:43 2024 +
Commit: Florian Schmaus gentoo org>
CommitDate: Fri Jun 7 07:35:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28172a5e
net-analyzer/ospd-openvas: add 22.7.1
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37027
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
.../ospd-openvas/ospd-openvas-22.7.1.ebuild| 88 ++
2 files changed, 89 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 0bcfc7d786d4..a4fa3875a5db 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1,3 @@
DIST ospd-openvas-22.6.2.tar.gz 246360 BLAKE2B
22c95cafdc6c223465805f30b522d357c28b9da3df74743cdee3cc608215d730da9101c37d2498e9680f506ed1301e12d9af3c8bab1c2a1847c034c7d6c10ca8
SHA512
a405779b9ea89b1300122c39553f8f9bf079b8610dc61ec6244affa9c9273725234a4a556df05e3013045681678646226cf12af66f051def8b042b84bb639ffe
DIST ospd-openvas-22.7.0.tar.gz 246142 BLAKE2B
bb5ea9bdc82929958466d2002ce28e63e5ff8c72561758f328c05f0d8c6431f7e305772707027f764fd881334d3c0b993d7f1727f8d7d16da83cc34b9a608895
SHA512
5a2c533589dc7a27a1be1b834243054eaf1bdb250fc41a98b0b35e6e60b8a2793e0e1d7dcd8bbf638bf23da1636efb5a80310df75727990768035743300ca8b1
+DIST ospd-openvas-22.7.1.tar.gz 250148 BLAKE2B
7840376790f451e9316ad33556bac49e9672c7911ac0e3813e4c3a182a06b2c603fa80fa6ac6d2822c87ca35df172d99a3b60d3e16649328387267080572a507
SHA512
ae7fe56a2b825efc33d9e29f2a51ab1034155ee70a5790d98f3b811a29f4b35830afabc27abd14593d74e1bcc5dac0ea1cd33ed46cc3ca459256a4b452e10552
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
new file mode 100644
index ..f44cbfea2e2c
--- /dev/null
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 systemd
+
+DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="AGPL-3+ GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +notus"
+
+DEPEND="
+ acct-user/gvm
+ >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
+ =dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
+ =dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
+ >=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
+ =dev-python/paho-mqtt-1.6[${PYTHON_USEDEP}]
+ =dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
+ net-libs/paho-mqtt-c
+ app-misc/mosquitto
+"
+RDEPEND="
+ ${DEPEND}
+ app-admin/sudo
+ >=net-analyzer/openvas-scanner-22.4
+ notus? ( >=net-analyzer/notus-scanner-22.4 )
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use doc; then
+ bash "${S}"/docs/generate || die
+ HTML_DOCS=( "${S}"/docs/. )
+ fi
+ distutils-r1_python_compile
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ insinto /etc/gvm
+ doins config/${PN}.conf
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
+
+ newinitd "${FILESDIR}/${PN}-22.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}-22.confd" "${PN}"
+
+ systemd_dounit config/${PN}.service
+
+ if use notus; then
+ systemd_install_serviced
"${FILESDIR}/ospd-openvas.service_notus.conf" \
+ ${PN}.service
+ else
+ systemd_install_serviced
"${FILESDIR}/ospd-openvas.service.conf" \
+ ${PN}.service
+ fi
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/ospd-openvas.logrotate" ospd-openvas
+
+ # OSPD OpenVAS attempts to call openvas via sudo as network security
+ # scanning often requires priviliged operations.
+ insinto /etc/sudoers.d
+ newins - openvas <<-EOF
+ gvm ALL = NOPASSWD: /usr/bin/openvas
+EOF
+ fperms 0750 /etc/sudoers.d
+ fperms 0440 /etc/sudoers.d/openvas
+}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: aecad166696b48975a32aee5a845a9fde7fbbb60
Author: Giuseppe Foti gmail com>
AuthorDate: Fri Mar 29 20:05:44 2024 +
Commit: Florian Schmaus gentoo org>
CommitDate: Wed Apr 3 17:34:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecad166
net-analyzer/ospd-openvas: add 22.7.0
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35992
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
.../ospd-openvas/ospd-openvas-22.7.0.ebuild| 87 ++
2 files changed, 88 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index bdac8e5c24e7..0bcfc7d786d4 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1 +1,2 @@
DIST ospd-openvas-22.6.2.tar.gz 246360 BLAKE2B
22c95cafdc6c223465805f30b522d357c28b9da3df74743cdee3cc608215d730da9101c37d2498e9680f506ed1301e12d9af3c8bab1c2a1847c034c7d6c10ca8
SHA512
a405779b9ea89b1300122c39553f8f9bf079b8610dc61ec6244affa9c9273725234a4a556df05e3013045681678646226cf12af66f051def8b042b84bb639ffe
+DIST ospd-openvas-22.7.0.tar.gz 246142 BLAKE2B
bb5ea9bdc82929958466d2002ce28e63e5ff8c72561758f328c05f0d8c6431f7e305772707027f764fd881334d3c0b993d7f1727f8d7d16da83cc34b9a608895
SHA512
5a2c533589dc7a27a1be1b834243054eaf1bdb250fc41a98b0b35e6e60b8a2793e0e1d7dcd8bbf638bf23da1636efb5a80310df75727990768035743300ca8b1
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.7.0.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.7.0.ebuild
new file mode 100644
index ..99c6e7b40fe7
--- /dev/null
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.7.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 systemd
+
+DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="AGPL-3+ GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +notus"
+
+DEPEND="
+ acct-user/gvm
+ >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
+ =dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
+ =dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
+ >=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
+ =dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
+ net-libs/paho-mqtt-c
+ app-misc/mosquitto
+"
+RDEPEND="
+ ${DEPEND}
+ app-admin/sudo
+ >=net-analyzer/openvas-scanner-22.4
+ notus? ( >=net-analyzer/notus-scanner-22.4 )
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+ if use doc; then
+ bash "${S}"/docs/generate || die
+ HTML_DOCS=( "${S}"/docs/. )
+ fi
+ distutils-r1_python_compile
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ insinto /etc/gvm
+ doins config/${PN}.conf
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
+
+ newinitd "${FILESDIR}/${PN}-22.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}-22.confd" "${PN}"
+
+ systemd_dounit config/${PN}.service
+
+ if use notus; then
+ systemd_install_serviced
"${FILESDIR}/ospd-openvas.service_notus.conf" \
+ ${PN}.service
+ else
+ systemd_install_serviced
"${FILESDIR}/ospd-openvas.service.conf" \
+ ${PN}.service
+ fi
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/ospd-openvas.logrotate" ospd-openvas
+
+ # OSPD OpenVAS attempts to call openvas via sudo as network security
+ # scanning often requires priviliged operations.
+ insinto /etc/sudoers.d
+ newins - openvas <<-EOF
+ gvm ALL = NOPASSWD: /usr/bin/openvas
+EOF
+ fperms 0750 /etc/sudoers.d
+ fperms 0440 /etc/sudoers.d/openvas
+}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 16a5cb94091c9b8063a6c34770a11c45e49b9f98
Author: Jakov Smolić gentoo org>
AuthorDate: Wed Feb 28 20:50:08 2024 +
Commit: Jakov Smolić gentoo org>
CommitDate: Wed Feb 28 20:50:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a5cb94
net-analyzer/ospd-openvas: Stabilize 22.6.2 amd64, #925668
Signed-off-by: Jakov Smolić gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
index 80d1b420e22e..d202b6f35bd0 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@
SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}
LICENSE="AGPL-3+ GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc +notus"
DEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 59edca00e8aff3097a4b21f1cb2f932269dc5c39
Author: Giuseppe Foti gmail com>
AuthorDate: Wed Nov 15 06:23:22 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Tue Nov 21 08:00:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59edca00
net-analyzer/ospd-openvas: add 22.6.2, drop 22.6.0-r1
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33831
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 2 +-
...{ospd-openvas-22.6.0-r1.ebuild => ospd-openvas-22.6.2.ebuild} | 9 ++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 5658746f717d..bdac8e5c24e7 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1 +1 @@
-DIST ospd-openvas-22.6.0.tar.gz 248449 BLAKE2B
83f4fc370e23249f62e358c9314341c17b39d618407c7f176b36981675707c749aacf07a1daf9e57ebd8a4673cb17b22bf2e63f7e1c3f55e2df57deab4986109
SHA512
f98e59d5898ae75bf6fbadfbcf57bb1c810143bba88bc4ffb5bc30d3780638577f73ffb265e80beaa9f3e67c6b7032264ca2c0375698c886a2f3ad101ac4310a
+DIST ospd-openvas-22.6.2.tar.gz 246360 BLAKE2B
22c95cafdc6c223465805f30b522d357c28b9da3df74743cdee3cc608215d730da9101c37d2498e9680f506ed1301e12d9af3c8bab1c2a1847c034c7d6c10ca8
SHA512
a405779b9ea89b1300122c39553f8f9bf079b8610dc61ec6244affa9c9273725234a4a556df05e3013045681678646226cf12af66f051def8b042b84bb639ffe
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
similarity index 88%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
index 5266d19a5344..80d1b420e22e 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.6.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
@@ -19,12 +19,15 @@ IUSE="doc +notus"
DEPEND="
acct-user/gvm
>=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
+ =dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ =dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
>=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/python-gnupg-0.5.0[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
+ =dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
>=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
net-libs/paho-mqtt-c
@@ -33,7 +36,7 @@ DEPEND="
RDEPEND="
${DEPEND}
app-admin/sudo
- >=net-analyzer/openvas-scanner-${PV}
+ >=net-analyzer/openvas-scanner-22.4
notus? ( >=net-analyzer/notus-scanner-22.4 )
"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: 2326b36d6c49702862bd407a6bcd979f02d793d5
Author: Giuseppe Foti gmail com>
AuthorDate: Mon Nov 13 20:15:05 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Tue Nov 14 07:52:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2326b36d
net-analyzer/ospd-openvas: drop 21.4.4-r4
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33802
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 -
net-analyzer/ospd-openvas/files/ospd-openvas.confd | 10 ---
net-analyzer/ospd-openvas/files/ospd-openvas.initd | 21 --
.../ospd-openvas/ospd-openvas-21.4.4-r4.ebuild | 76 --
4 files changed, 108 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index f851a459d30e..5658746f717d 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1 @@
-DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B
4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700
SHA512
3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9
DIST ospd-openvas-22.6.0.tar.gz 248449 BLAKE2B
83f4fc370e23249f62e358c9314341c17b39d618407c7f176b36981675707c749aacf07a1daf9e57ebd8a4673cb17b22bf2e63f7e1c3f55e2df57deab4986109
SHA512
f98e59d5898ae75bf6fbadfbcf57bb1c810143bba88bc4ffb5bc30d3780638577f73ffb265e80beaa9f3e67c6b7032264ca2c0375698c886a2f3ad101ac4310a
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.confd
b/net-analyzer/ospd-openvas/files/ospd-openvas.confd
deleted file mode 100644
index fc776ac49e32..
--- a/net-analyzer/ospd-openvas/files/ospd-openvas.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# OpenVAS Scanner command args
-
-# e.g --foreground
-OSPD_OPENVAS_OPTIONS=""
-
-# Scanner listen socket
-OSPD_OPENVAS_UNIX_SOCKET="--unix-socket=/tmp/ospd.sock"
-
-# Scanner listen mode
-OSPD_OPENVAS_SOCKET_MODE="--socket-mode=0o777"
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.initd
b/net-analyzer/ospd-openvas/files/ospd-openvas.initd
deleted file mode 100644
index f8887d8b3431..
--- a/net-analyzer/ospd-openvas/files/ospd-openvas.initd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="remotely control an OpenVAS Scanner"
-command=/usr/bin/ospd-openvas
-pidfile="/run/${RC_SVCNAME}.pid"
-command_args="${OSPD_OPENVAS_OPTIONS} \
- ${OSPD_OPENVAS_UNIX_SOCKET} \
- ${OSPD_OPENVAS_SOCKET_MODE} \
- --pid-file ${pidfile} \
- --config /etc/openvas/ospd.conf"
-
-depend() {
- after bootmisc
- need localmount redis
-}
-
-start_pre() {
-checkpath -d /var/run/ospd
-}
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild
deleted file mode 100644
index f97fa35c7a21..
--- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 systemd
-
-DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
-
-LICENSE="AGPL-3+ GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-DEPEND="
- acct-user/gvm
- dev-python/defusedxml[${PYTHON_USEDEP}]
- dev-python/deprecated[${PYTHON_USEDEP}]
- dev-python/lxml[${PYTHON_USEDEP}]
- >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
- dev-python/paramiko[${PYTHON_USEDEP}]
- >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}]
- >=dev-python/redis-3.5.3[${PYTHON_USEDEP}]
- !net-analyzer/ospd[${PYTHON_USEDEP}]
-"
-RDEPEND="
- ${DEPEND}
- app-admin/sudo
- >=net-analyzer/openvas-scanner-${PV}
-"
-
-distutils_enable_tests unittest
-
-src_prepare() {
- default
-
- # https://github.com/greenbone/ospd-openvas/pull/649
- sed -i '/^Group=gvm/d' config/ospd-openvas.service || die
-
- # https://github.com/greenbone/ospd-openvas/pull/653
- sed -i 's;/usr/local/bin/;/usr/bin/;' config/ospd-openvas.service || die
-}
-
-python_compile() {
- if use doc; then
- bash "${S}"/docs/generate || die
- HTML_DOCS=( "${S}"/docs/. )
- fi
- distutils-r1_python_compile
-}
-
-python_install() {
- distutils-r1_python_install
-
- insinto /etc/gvm
- doins config/${PN}.conf
- if ! use prefix; then
-
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 03b94843079289f9cd7536ff925b39ead3353def
Author: Giuseppe Foti gmail com>
AuthorDate: Sat Oct 14 14:19:50 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Sat Oct 14 15:05:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b94843
net-analyzer/ospd-openvas: fix /etc/sudoers.d/openvas permissions
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/0
Signed-off-by: Florian Schmaus gentoo.org>
.../{ospd-openvas-22.6.0.ebuild => ospd-openvas-22.6.0-r1.ebuild} | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
similarity index 97%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
index 799d7633ff7d..5266d19a5344 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.6.0-r1.ebuild
@@ -78,4 +78,6 @@ python_install() {
newins - openvas <<-EOF
gvm ALL = NOPASSWD: /usr/bin/openvas
EOF
+ fperms 0750 /etc/sudoers.d
+ fperms 0440 /etc/sudoers.d/openvas
}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: d223845b1350894931ea26ec716ceee534516344
Author: Giuseppe Foti gmail com>
AuthorDate: Sun Oct 8 06:56:12 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon Oct 9 10:54:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d223845b
net-analyzer/ospd-openvas: add 22.6.0, drop 22.5.3-r2
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33241
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 2 +-
net-analyzer/ospd-openvas/files/ospd-openvas-22.initd | 3 ++-
...-openvas-22.5.3-r2.ebuild => ospd-openvas-22.6.0.ebuild} | 13 +++--
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 1284938fa078..f851a459d30e 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1,2 @@
DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B
4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700
SHA512
3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9
-DIST ospd-openvas-22.5.3.tar.gz 250022 BLAKE2B
277180051216527ce5889257a362219bdf11e88670e5fcde1cd4f1e687fbe7d56301d28d9a95982443bb1ecf9bb2553b7fcd6784cedad0139ad34cbdde142c39
SHA512
12be93803d52b46ec24760f07b7ace47b6383e5d84bf8903ea07d0e55889d149564b37e5be15ae5a33f03449bf2499d4e5220220d5ebec99629ee64548bb00f8
+DIST ospd-openvas-22.6.0.tar.gz 248449 BLAKE2B
83f4fc370e23249f62e358c9314341c17b39d618407c7f176b36981675707c749aacf07a1daf9e57ebd8a4673cb17b22bf2e63f7e1c3f55e2df57deab4986109
SHA512
f98e59d5898ae75bf6fbadfbcf57bb1c810143bba88bc4ffb5bc30d3780638577f73ffb265e80beaa9f3e67c6b7032264ca2c0375698c886a2f3ad101ac4310a
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
b/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
index 7c79d85d8e1f..d8ef2f27c214 100644
--- a/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
@@ -11,10 +11,11 @@ command=/usr/bin/ospd-openvas
command_user="${GVM_USER}:${GVM_GROUP}"
command_args="${OSPD_OPENVAS_OPTIONS} \
--config /etc/gvm/ospd-openvas.conf"
+pidfile=/run/ospd/ospd-openvas.pid
retry="${OSPD_TIMEOUT}"
depend() {
- after bootmisc
+ after bootmisc redis-openvas
need localmount redis-openvas
}
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
similarity index 84%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r2.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
index f1be6523d1c9..799d7633ff7d 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r2.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.6.0.ebuild
@@ -18,14 +18,15 @@ IUSE="doc +notus"
DEPEND="
acct-user/gvm
- dev-python/defusedxml[${PYTHON_USEDEP}]
- dev-python/deprecated[${PYTHON_USEDEP}]
- dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/defusedxml-0.6[${PYTHON_USEDEP}]
+ >=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
- dev-python/paramiko[${PYTHON_USEDEP}]
- >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}]
- >=dev-python/redis-3.5.3[${PYTHON_USEDEP}]
+ >=dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
+ >=dev-python/redis-4.5.0[${PYTHON_USEDEP}]
>=dev-python/python-gnupg-0.5.0[${PYTHON_USEDEP}]
+ >=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
+ >=dev-python/python-gnupg-0.4.8[${PYTHON_USEDEP}]
net-libs/paho-mqtt-c
app-misc/mosquitto
"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: fba99b102660e610da2181ba71a4d79c518d74d0
Author: Giuseppe Foti gmail com>
AuthorDate: Wed Aug 9 12:35:00 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Fri Aug 11 09:07:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba99b10
net-analyzer/ospd-openvas: fix OpenRC script
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32231
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/files/ospd-openvas-22.confd| 4
net-analyzer/ospd-openvas/files/ospd-openvas-22.initd| 16 +---
...as-22.5.3-r1.ebuild => ospd-openvas-22.5.3-r2.ebuild} | 2 +-
3 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas-22.confd
b/net-analyzer/ospd-openvas/files/ospd-openvas-22.confd
new file mode 100644
index ..dbe9d762dae0
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas-22.confd
@@ -0,0 +1,4 @@
+# OpenVAS Scanner command args
+
+# e.g --foreground
+OSPD_OPENVAS_OPTIONS=""
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
b/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
index f43f75802729..7c79d85d8e1f 100644
--- a/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
@@ -1,15 +1,17 @@
#!/sbin/openrc-run
-# Copyright 2020 Gentoo Authors
+# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+: ${GVM_USER:=gvm}
+: ${GVM_GROUP:=$(id -ng ${GVM_USER})}
+: ${OSPD_TIMEOUT:=30}
+
name="remotely control an OpenVAS Scanner"
command=/usr/bin/ospd-openvas
-pidfile="/run/${RC_SVCNAME}.pid"
+command_user="${GVM_USER}:${GVM_GROUP}"
command_args="${OSPD_OPENVAS_OPTIONS} \
- ${OSPD_OPENVAS_UNIX_SOCKET} \
- ${OSPD_OPENVAS_SOCKET_MODE} \
- --pid-file ${pidfile} \
- --config /etc/openvas/ospd.conf"
+ --config /etc/gvm/ospd-openvas.conf"
+retry="${OSPD_TIMEOUT}"
depend() {
after bootmisc
@@ -17,5 +19,5 @@ depend() {
}
start_pre() {
-checkpath -d /var/run/ospd
+checkpath -d --owner ${GVM_USER} /var/run/ospd
}
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r2.ebuild
similarity index 97%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r2.ebuild
index f7a5adb87543..2dd5709b8761 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r2.ebuild
@@ -56,7 +56,7 @@ python_install() {
fi
newinitd "${FILESDIR}/${PN}-22.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ newconfd "${FILESDIR}/${PN}-22.confd" "${PN}"
systemd_dounit config/${PN}.service
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: 3ad9fc84678925ef3ba06623dfc34503d4276874
Author: Giuseppe Foti gmail com>
AuthorDate: Sun Jul 30 10:14:59 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon Jul 31 09:12:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad9fc84
net-analyzer/ospd-openvas: add ospd-opevas.log to logrotate
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32102
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/files/ospd-openvas.logrotate | 13 +
...-openvas-22.5.3.ebuild => ospd-openvas-22.5.3-r1.ebuild} | 3 +++
2 files changed, 16 insertions(+)
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.logrotate
b/net-analyzer/ospd-openvas/files/ospd-openvas.logrotate
new file mode 100644
index ..7fed1aa23437
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.logrotate
@@ -0,0 +1,13 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# Daemon ignore HUP so we use 'copytruncate' instead of 'create'
+# with safe file size to prevent losing log entries.
+
+/var/log/gvm/ospd-openvas.log {
+ compress
+ missingok
+ notifempty
+ sharedscripts
+ copytruncate
+ maxsize 10M
+}
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild
similarity index 95%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild
index 5aa80f75d415..f7a5adb87543 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3-r1.ebuild
@@ -68,6 +68,9 @@ python_install() {
${PN}.service
fi
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/ospd-openvas.logrotate" ospd-openvas
+
# OSPD OpenVAS attempts to call openvas via sudo as network security
# scanning often requires priviliged operations.
insinto /etc/sudoers.d
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 6b1f526d41c5024c883093d392dded799237cfec
Author: Giuseppe Foti gmail com>
AuthorDate: Thu Jul 20 20:17:57 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Thu Jul 20 20:29:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b1f526d
net-analyzer/ospd-openvas: add 22.5.3, drop 22.5.1
Signed-off-by: Giuseppe Foti gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31976
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 2 +-
.../{ospd-openvas-22.5.1.ebuild => ospd-openvas-22.5.3.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index b81230cc16a2..1284938fa078 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1,2 @@
DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B
4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700
SHA512
3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9
-DIST ospd-openvas-22.5.1.tar.gz 253605 BLAKE2B
6f4ecc31f1c47941154973bfca92818fdfe6942b5091d84234d81e287c0871f91deefc25f16790015ab1c57366b92ae42e236673c44848fdaab491caa042693f
SHA512
2f92a09b4b9abced9f122eb2ac2dedf652b8c673e3d4ce5676a356da573816cd0f20769540a94919b35d6612ffb8a86b75dc704eae75c1e63150255e564e3349
+DIST ospd-openvas-22.5.3.tar.gz 250022 BLAKE2B
277180051216527ce5889257a362219bdf11e88670e5fcde1cd4f1e687fbe7d56301d28d9a95982443bb1ecf9bb2553b7fcd6784cedad0139ad34cbdde142c39
SHA512
12be93803d52b46ec24760f07b7ace47b6383e5d84bf8903ea07d0e55889d149564b37e5be15ae5a33f03449bf2499d4e5220220d5ebec99629ee64548bb00f8
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.5.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild
similarity index 100%
rename from net-analyzer/ospd-openvas/ospd-openvas-22.5.1.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-22.5.3.ebuild
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: b3880f8eca49b733579f558fa8874fd7a6c0065b
Author: Giuseppe Foti gmail com>
AuthorDate: Sat May 20 17:31:02 2023 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon Jul 3 08:15:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3880f8e
net-analyzer/ospd-openvas: add 22.5.1
Signed-off-by: Giuseppe Foti gmail.com>
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
.../ospd-openvas/files/ospd-openvas-22.initd | 21 ++
.../ospd-openvas/files/ospd-openvas.service.conf | 7 ++
.../files/ospd-openvas.service_notus.conf | 9 +++
net-analyzer/ospd-openvas/metadata.xml | 10 +++
.../ospd-openvas/ospd-openvas-22.5.1.ebuild| 77 ++
6 files changed, 125 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 62b5a8d2c3cc..b81230cc16a2 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1 +1,2 @@
DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B
4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700
SHA512
3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9
+DIST ospd-openvas-22.5.1.tar.gz 253605 BLAKE2B
6f4ecc31f1c47941154973bfca92818fdfe6942b5091d84234d81e287c0871f91deefc25f16790015ab1c57366b92ae42e236673c44848fdaab491caa042693f
SHA512
2f92a09b4b9abced9f122eb2ac2dedf652b8c673e3d4ce5676a356da573816cd0f20769540a94919b35d6612ffb8a86b75dc704eae75c1e63150255e564e3349
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
b/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
new file mode 100644
index ..f43f75802729
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas-22.initd
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="remotely control an OpenVAS Scanner"
+command=/usr/bin/ospd-openvas
+pidfile="/run/${RC_SVCNAME}.pid"
+command_args="${OSPD_OPENVAS_OPTIONS} \
+ ${OSPD_OPENVAS_UNIX_SOCKET} \
+ ${OSPD_OPENVAS_SOCKET_MODE} \
+ --pid-file ${pidfile} \
+ --config /etc/openvas/ospd.conf"
+
+depend() {
+ after bootmisc
+ need localmount redis-openvas
+}
+
+start_pre() {
+checkpath -d /var/run/ospd
+}
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.service.conf
b/net-analyzer/ospd-openvas/files/ospd-openvas.service.conf
new file mode 100644
index ..976d81bc72bc
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.service.conf
@@ -0,0 +1,7 @@
+[Unit]
+After=network.target networking.service redis-openvas.service mosquitto.service
+Wants=redis-openvas.service
+PartOf=gvm.target
+
+[Service]
+ExecStartPre=+setfacl -m u:gvm:rw /run/redis-openvas/redis.sock
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.service_notus.conf
b/net-analyzer/ospd-openvas/files/ospd-openvas.service_notus.conf
new file mode 100644
index ..cd8b7d8d0e70
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.service_notus.conf
@@ -0,0 +1,9 @@
+[Unit]
+After=network.target networking.service redis-openvas.service mosquitto.service
+Wants=redis-openvas.service
+PartOf=gvm.target
+
+[Service]
+ExecStartPre=+setfacl -m u:gvm:rw /run/redis-openvas/redis.sock
+ExecStart=
+ExecStart=/usr/bin/ospd-openvas --config /etc/gvm/ospd-openvas.conf
--log-config /etc/gvm/ospd-logging.conf --lock-file-dir /var/lib/openvas
--socket-mode 0o770 --mqtt-broker-address localhost --mqtt-broker-port 1883
--notus-feed-dir /var/lib/notus/advisories
diff --git a/net-analyzer/ospd-openvas/metadata.xml
b/net-analyzer/ospd-openvas/metadata.xml
index 3f6d058084e3..18eb90f3e699 100644
--- a/net-analyzer/ospd-openvas/metadata.xml
+++ b/net-analyzer/ospd-openvas/metadata.xml
@@ -1,6 +1,10 @@
https://www.gentoo.org/dtd/metadata.dtd";>
+
+ [email protected]
+ Giuseppe Foti
+
[email protected]
Jonas Licht
@@ -13,4 +17,10 @@
This is an OSP server implementation to allow GVM to
remotely control OpenVAS.
Once running, you need to configure OpenVAS for the
Greenbone Vulnerability Manager, for example via the web interface Greenbone
Security Assistant. Then you can create scan tasks to use OpenVAS.
+
+ Set systemd service file to use
notus-scanner
+
+
+ greenbone/ospd-openvas
+
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-22.5.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-22.5.1.ebuild
new file mode 100644
index ..5aa80f75d415
--- /dev/null
+++ b/net-analyzer/ospd-openvas/ospd-openvas-22.5.1.e
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, dev-python/kombu/, profiles/updates/, ...
commit: 746be01ea417ababe2cfeeaa34e656aad8fa58f9
Author: Michał Górny gentoo org>
AuthorDate: Wed Feb 8 18:15:19 2023 +
Commit: Michał Górny gentoo org>
CommitDate: Wed Feb 8 18:15:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746be01e
Rename dev-python/{redis-py → redis}
Signed-off-by: Michał Górny gentoo.org>
app-admin/salt/salt-3004.2-r2.ebuild | 2 +-
app-admin/salt/salt-3005-r1.ebuild| 2 +-
app-admin/salt/salt-3005.1-r1.ebuild | 2 +-
app-admin/salt/salt-3005.1.ebuild | 2 +-
dev-python/cachelib/cachelib-0.10.1.ebuild| 2 +-
dev-python/cachelib/cachelib-0.10.2.ebuild| 2 +-
dev-python/cachelib/cachelib-0.9.0.ebuild | 2 +-
dev-python/django-cacheops/django-cacheops-6.1.ebuild | 2 +-
dev-python/django-redis/django-redis-5.2.0.ebuild | 2 +-
dev-python/fakeredis/fakeredis-2.4.0.ebuild | 4 ++--
dev-python/fakeredis/fakeredis-2.5.0.ebuild | 4 ++--
dev-python/fakeredis/fakeredis-2.6.0.ebuild | 4 ++--
dev-python/fakeredis/fakeredis-2.7.0.ebuild | 4 ++--
dev-python/fakeredis/fakeredis-2.7.1.ebuild | 4 ++--
dev-python/kombu/kombu-5.3.0_beta2.ebuild | 4 ++--
dev-python/logutils/logutils-0.3.5-r1.ebuild | 2 +-
dev-python/pyrate-limiter/pyrate-limiter-2.8.2.ebuild | 2 +-
dev-python/{redis-py => redis}/Manifest | 0
dev-python/{redis-py => redis}/metadata.xml | 0
.../{redis-py/redis-py-4.4.0.ebuild => redis/redis-4.4.0.ebuild} | 0
.../{redis-py/redis-py-4.4.1.ebuild => redis/redis-4.4.1.ebuild} | 0
.../{redis-py/redis-py-4.4.2.ebuild => redis/redis-4.4.2.ebuild} | 0
.../{redis-py/redis-py-4.5.0.ebuild => redis/redis-4.5.0.ebuild} | 0
.../{redis-py/redis-py-4.5.1.ebuild => redis/redis-4.5.1.ebuild} | 0
dev-python/requests-cache/requests-cache-0.9.7.ebuild | 2 +-
dev-python/requests-cache/requests-cache-0.9.8.ebuild | 2 +-
dev-python/rq/rq-1.11.1.ebuild| 2 +-
dev-python/rq/rq-1.12.0.ebuild| 2 +-
dev-python/spotipy/spotipy-2.22.1.ebuild | 2 +-
mail-filter/pyzor/metadata.xml| 2 +-
mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild| 4 ++--
mail-filter/pyzor/pyzor-1.0.0_p20211223.ebuild| 4 ++--
net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild | 2 +-
profiles/updates/1Q-2023 | 1 +
34 files changed, 35 insertions(+), 34 deletions(-)
diff --git a/app-admin/salt/salt-3004.2-r2.ebuild
b/app-admin/salt/salt-3004.2-r2.ebuild
index 9a0c3a5933f5..f2a1fbff233e 100644
--- a/app-admin/salt/salt-3004.2-r2.ebuild
+++ b/app-admin/salt/salt-3004.2-r2.ebuild
@@ -62,7 +62,7 @@ RDEPEND="
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
- redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
+ redis? ( dev-python/redis[${PYTHON_USEDEP}] )
selinux? ( sec-policy/selinux-salt )
nova? (
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
diff --git a/app-admin/salt/salt-3005-r1.ebuild
b/app-admin/salt/salt-3005-r1.ebuild
index 47d410c70d15..1ec597170af1 100644
--- a/app-admin/salt/salt-3005-r1.ebuild
+++ b/app-admin/salt/salt-3005-r1.ebuild
@@ -69,7 +69,7 @@ RDEPEND="
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
- redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
+ redis? ( dev-python/redis[${PYTHON_USEDEP}] )
selinux? ( sec-policy/selinux-salt )
nova? (
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
diff --git a/app-admin/salt/salt-3005.1-r1.ebuild
b/app-admin/salt/salt-3005.1-r1.ebuild
index 6484a7f127cd..c2ddf3dedc53 100644
--- a/app-admin/salt/salt-3005.1-r1.ebuild
+++ b/app-admin/salt/salt-3005.1-r1.ebuild
@@ -70,7 +70,7 @@ RDEPEND="
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
- redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
+ redis? ( dev-python/redis[${PYTHON_USEDEP}] )
selinux? ( sec-policy/selinux-salt )
nova? (
>=dev-pyt
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/files/, net-analyzer/ospd-openvas/
commit: aa231e6c7face6b62dc84a0392b46c9ef965b4d8 Author: Florian Schmaus gentoo org> AuthorDate: Mon May 9 13:59:47 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Tue May 10 19:53:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa231e6c net-analyzer/ospd-openvas: drop 1.0.1, 20.8.1 Closes: https://github.com/gentoo/gentoo/pull/25429 Signed-off-by: Florian Schmaus gentoo.org> net-analyzer/ospd-openvas/Manifest | 2 - .../ospd-openvas/files/ospd-openvas.service| 18 --- net-analyzer/ospd-openvas/files/ospd.conf | 10 net-analyzer/ospd-openvas/files/redis.conf.example | 57 -- .../ospd-openvas/ospd-openvas-1.0.1.ebuild | 46 - .../ospd-openvas/ospd-openvas-20.8.1.ebuild| 47 -- 6 files changed, 180 deletions(-) diff --git a/net-analyzer/ospd-openvas/Manifest b/net-analyzer/ospd-openvas/Manifest index 2f051799135a..62b5a8d2c3cc 100644 --- a/net-analyzer/ospd-openvas/Manifest +++ b/net-analyzer/ospd-openvas/Manifest @@ -1,3 +1 @@ -DIST ospd-openvas-1.0.1.tar.gz 50455 BLAKE2B 06a4cdcc2f51351215fffa5517cb2cae620b9b7ffded738d3c63bda11fa8572fe93e0b5fc1c8c9a1bd27cbea65641b0586c329d1d05a022e1fba79c8782d091c SHA512 bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87 -DIST ospd-openvas-20.8.1.tar.gz 86733 BLAKE2B 1f747d7409a9b2cef4ea320cdc3fb8714105498ac798c96bb4be243a000985b881e33b56458d1c97b7a0359d51c95a4f975efa97cd4405b359d5a1e7aeaba9e6 SHA512 fb4ceb0a2306255e59948fe2246f9c66adefb4e68e26d3a8f95366a9ef1cb5581a3b036f6982cdd4c8499a9fb1e6acbe72041144e9ff3a057fc253e0684c0c0f DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B 4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700 SHA512 3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9 diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.service b/net-analyzer/ospd-openvas/files/ospd-openvas.service deleted file mode 100644 index f496797d54ff.. --- a/net-analyzer/ospd-openvas/files/ospd-openvas.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=OSPD OpenVAS -After=network.target networking.service dnsmasq.service [email protected] systemd-tmpfiles.service -ConditionKernelCommandLine=!recovery - -[Service] -Type=forking -User=gvm -Group=gvm -ExecStart=/usr/bin/ospd-openvas --config /etc/openvas/ospd.conf --foreground -SuccessExitStatus=SIGKILL -# This works asynchronously, but does not take the daemon down during the reload so it's ok. -Restart=always -RestartSec=60 - -[Install] -WantedBy=multi-user.target -Alias=ospd-openvas.service diff --git a/net-analyzer/ospd-openvas/files/ospd.conf b/net-analyzer/ospd-openvas/files/ospd.conf deleted file mode 100644 index bac46565001c.. --- a/net-analyzer/ospd-openvas/files/ospd.conf +++ /dev/null @@ -1,10 +0,0 @@ -[OSPD - openvas] - -#required by gvmd -unix_socket = /tmp/ospd.sock - -#socket_mode = 0o770 -#unix_socket = /run/ospd/ospd-openvas.pid - -log_level = DEBUG -log_file = /var/log/gvm/ospd-openvas.log diff --git a/net-analyzer/ospd-openvas/files/redis.conf.example b/net-analyzer/ospd-openvas/files/redis.conf.example deleted file mode 100644 index 6a41211aaae8.. --- a/net-analyzer/ospd-openvas/files/redis.conf.example +++ /dev/null @@ -1,57 +0,0 @@ -bind 127.0.0.1 -protected-mode yes -port 0 -tcp-backlog 511 -unixsocket /tmp/redis.sock -unixsocketperm 700 -timeout 0 -tcp-keepalive 300 -daemonize no -supervised no -pidfile /run/redis/redis.pid -loglevel notice -logfile /var/log/redis/redis.log -databases 16 -always-show-logo yes -stop-writes-on-bgsave-error yes -rdbcompression yes -rdbchecksum yes -dbfilename dump.rdb -dir /var/lib/redis/ -slave-serve-stale-data yes -slave-read-only yes -repl-diskless-sync no -repl-diskless-sync-delay 5 -repl-disable-tcp-nodelay no -slave-priority 100 -lazyfree-lazy-eviction no -lazyfree-lazy-expire no -lazyfree-lazy-server-del no -slave-lazy-flush no -appendonly no -appendfilename "appendonly.aof" -appendfsync everysec -no-appendfsync-on-rewrite no -auto-aof-rewrite-percentage 100 -auto-aof-rewrite-min-size 64mb -aof-load-truncated yes -aof-use-rdb-preamble no -lua-time-limit 5000 -slowlog-log-slower-than 1 -slowlog-max-len 128 -latency-monitor-threshold 0 -notify-keyspace-events "" -hash-max-ziplist-entries 512 -hash-max-ziplist-value 64 -list-max-ziplist-size -2 -list-compress-depth 0 -set-max-intset-entries 512 -zset-max-ziplist-entries 128 -zset-max-ziplist-value 64 -hll-sparse-max-bytes 3000 -activerehashing yes -client-output-buffer-limit normal 0 0 0 -client-output-buffer-limit slave 256mb 64mb 60 -client-output-buffer-limit pubsub 32mb 8mb 60 -hz 10 -aof-rewrite-incremental-fsync yes diff --git a/net-analyz
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 6ffe958d31b462766074dc3418f06dc8dea5b253
Author: Florian Schmaus gentoo org>
AuthorDate: Mon May 9 13:47:05 2022 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon May 9 13:49:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffe958d
net-analyzer/ospd-openvas: LICENSE, DISTUTILS_USE_PEP517, sudoers
Signed-off-by: Florian Schmaus gentoo.org>
...as-21.4.4-r3.ebuild => ospd-openvas-21.4.4-r4.ebuild} | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r3.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild
similarity index 81%
rename from net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r3.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild
index e6e08ba90a4d..a7791ba4ba27 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r3.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild
@@ -4,14 +4,14 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 systemd
DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
-HOMEPAGE="https://github.com/greenbone/ospd-openvas";
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas";
SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="AGPL-3+ GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
@@ -29,6 +29,7 @@ DEPEND="
"
RDEPEND="
${DEPEND}
+ app-admin/sudo
>=net-analyzer/openvas-scanner-${PV}
"
@@ -55,8 +56,6 @@ python_compile() {
python_install() {
distutils-r1_python_install
- dodoc "${FILESDIR}"/redis.conf.example
-
insinto /etc/gvm
doins config/${PN}.conf
if ! use prefix; then
@@ -67,4 +66,11 @@ python_install() {
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
systemd_dounit config/${PN}.service
+
+ # OSPD OpenVAS attempts to call openvas via sudo as network security
+ # scanning often requires priviliged operations.
+ insinto /etc/sudoers.d
+ newins - openvas <<-EOF
+ gvm ALL = NOPASSWD: /usr/bin/openvas
+EOF
}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: b253f47698aeeeb58aa2fd3ccf00cdaa4e7bbd4b
Author: Florian Schmaus gentoo org>
AuthorDate: Mon May 9 09:33:15 2022 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon May 9 09:35:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b253f476
net-analyzer/ospd-openvas: fix systemd service and conf location
Signed-off-by: Florian Schmaus gentoo.org>
...pd-openvas-21.4.4-r2.ebuild => ospd-openvas-21.4.4-r3.ebuild} | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r3.ebuild
similarity index 87%
rename from net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r3.ebuild
index 83fcc3b84069..e6e08ba90a4d 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r3.ebuild
@@ -39,6 +39,9 @@ src_prepare() {
# https://github.com/greenbone/ospd-openvas/pull/649
sed -i '/^Group=gvm/d' config/ospd-openvas.service || die
+
+ # https://github.com/greenbone/ospd-openvas/pull/653
+ sed -i 's;/usr/local/bin/;/usr/bin/;' config/ospd-openvas.service || die
}
python_compile() {
@@ -54,9 +57,11 @@ python_install() {
dodoc "${FILESDIR}"/redis.conf.example
- insinto /etc/openvas
+ insinto /etc/gvm
doins config/${PN}.conf
- fowners -R gvm:gvm /etc/openvas
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 9ccb149cc7f7a87df6ceab715db8b3bfde38f25c
Author: Florian Schmaus gentoo org>
AuthorDate: Sun May 8 18:32:05 2022 +
Commit: Florian Schmaus gentoo org>
CommitDate: Sun May 8 18:32:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ccb149c
net-analyzer/ospd-openvas: use upstream config and systemd service
Signed-off-by: Florian Schmaus gentoo.org>
...envas-21.4.4-r1.ebuild => ospd-openvas-21.4.4-r2.ebuild} | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild
similarity index 86%
rename from net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild
index 7b1a313ff2e8..83fcc3b84069 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild
@@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="
- acct-group/gvm
acct-user/gvm
dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/deprecated[${PYTHON_USEDEP}]
@@ -35,6 +34,13 @@ RDEPEND="
distutils_enable_tests unittest
+src_prepare() {
+ default
+
+ # https://github.com/greenbone/ospd-openvas/pull/649
+ sed -i '/^Group=gvm/d' config/ospd-openvas.service || die
+}
+
python_compile() {
if use doc; then
bash "${S}"/docs/generate || die
@@ -49,12 +55,11 @@ python_install() {
dodoc "${FILESDIR}"/redis.conf.example
insinto /etc/openvas
- doins "${FILESDIR}"/ospd.conf
-
+ doins config/${PN}.conf
fowners -R gvm:gvm /etc/openvas
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
- systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_dounit config/${PN}.service
}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: b34dc4e847514694d45c07f52a7aa641bd0c7003
Author: Florian Schmaus gentoo org>
AuthorDate: Mon May 2 13:34:50 2022 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon May 2 13:43:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34dc4e8
net-analyzer/ospd-openvas: add 'doc' use flag and missing deps
Signed-off-by: Florian Schmaus gentoo.org>
Suggested-by: Jonas Licht fem.tu-ilmenau.de>
...openvas-21.4.4.ebuild => ospd-openvas-21.4.4-r1.ebuild} | 14 ++
1 file changed, 14 insertions(+)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild
similarity index 76%
rename from net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild
rename to net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild
index 37b9865771b0..7b1a313ff2e8 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild
@@ -14,13 +14,19 @@
SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="doc"
DEPEND="
acct-group/gvm
acct-user/gvm
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ dev-python/deprecated[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ dev-python/paramiko[${PYTHON_USEDEP}]
>=dev-python/psutil-5.7.0[${PYTHON_USEDEP}]
>=dev-python/redis-py-3.5.3[${PYTHON_USEDEP}]
+ !net-analyzer/ospd[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}
@@ -29,6 +35,14 @@ RDEPEND="
distutils_enable_tests unittest
+python_compile() {
+ if use doc; then
+ bash "${S}"/docs/generate || die
+ HTML_DOCS=( "${S}"/docs/. )
+ fi
+ distutils-r1_python_compile
+}
+
python_install() {
distutils-r1_python_install
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 998c5e6421a5c62f89f4c5a1fc1922a6980584c2
Author: Florian Schmaus gentoo org>
AuthorDate: Mon May 2 09:36:32 2022 +
Commit: Florian Schmaus gentoo org>
CommitDate: Mon May 2 11:16:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998c5e64
net-analyzer/ospd-openvas: add 21.4.4
Signed-off-by: Florian Schmaus gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25283
Signed-off-by: Florian Schmaus gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
.../ospd-openvas/ospd-openvas-21.4.4.ebuild| 46 ++
2 files changed, 47 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 00956885cf41..2f051799135a 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1,3 @@
DIST ospd-openvas-1.0.1.tar.gz 50455 BLAKE2B
06a4cdcc2f51351215fffa5517cb2cae620b9b7ffded738d3c63bda11fa8572fe93e0b5fc1c8c9a1bd27cbea65641b0586c329d1d05a022e1fba79c8782d091c
SHA512
bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87
DIST ospd-openvas-20.8.1.tar.gz 86733 BLAKE2B
1f747d7409a9b2cef4ea320cdc3fb8714105498ac798c96bb4be243a000985b881e33b56458d1c97b7a0359d51c95a4f975efa97cd4405b359d5a1e7aeaba9e6
SHA512
fb4ceb0a2306255e59948fe2246f9c66adefb4e68e26d3a8f95366a9ef1cb5581a3b036f6982cdd4c8499a9fb1e6acbe72041144e9ff3a057fc253e0684c0c0f
+DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B
4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700
SHA512
3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild
new file mode 100644
index ..37b9865771b0
--- /dev/null
+++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1 systemd
+
+DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
+HOMEPAGE="https://github.com/greenbone/ospd-openvas";
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ acct-group/gvm
+ acct-user/gvm
+ >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}]
+ >=dev-python/redis-py-3.5.3[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${DEPEND}
+ >=net-analyzer/openvas-scanner-${PV}
+"
+
+distutils_enable_tests unittest
+
+python_install() {
+ distutils-r1_python_install
+
+ dodoc "${FILESDIR}"/redis.conf.example
+
+ insinto /etc/openvas
+ doins "${FILESDIR}"/ospd.conf
+
+ fowners -R gvm:gvm /etc/openvas
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: d2d3d4002a9a4e2861668bf09cb467fb74cdc257
Author: Jonas Licht fem tu-ilmenau de>
AuthorDate: Mon Aug 10 13:41:27 2020 +
Commit: Joonas Niilola gentoo org>
CommitDate: Fri Aug 21 07:14:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d3d400
net-analyzer/ospd-openvas: update python targets
Closes: https://bugs.gentoo.org/736627
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jonas Licht fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
index 398e7aa14df..3e6e76f0659 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 systemd
@@ -20,8 +20,8 @@ DEPEND="
acct-user/gvm
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/redis-py[${PYTHON_USEDEP}]
- net-analyzer/ospd[${PYTHON_USEDEP}]
+ >=dev-python/redis-py-3.0.1[${PYTHON_USEDEP}]
+ >=net-analyzer/ospd-2.0.0[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: da034cfffc7373a38a7e9ca095e57af23822cbd6
Author: Jonas Licht fem tu-ilmenau de>
AuthorDate: Mon Jun 29 15:32:27 2020 +
Commit: Joonas Niilola gentoo org>
CommitDate: Tue Jul 14 12:57:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da034cff
net-analyzer/ospd-openvas: drop old
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 -
.../ospd-openvas/ospd-openvas-1.0.0.ebuild | 45 --
2 files changed, 46 deletions(-)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index adf747b4375..36b0ffc7344 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1,2 +1 @@
-DIST ospd-openvas-1.0.0.tar.gz 49725 BLAKE2B
230df2f572f345b9ed398e2af120a2fecee87f9f8d8d3c072ca314960f34f7329fe22b002ba0971ba6dc14cd3ca4543120653f89b3085a0f8a932fbeb6ef2682
SHA512
2b2e4f38843265a018a58b7fbd2fde0449d4f6cf3c5c1b7bec02d8390ab257020304f5be1bf2a77f7d28a04f4d1da611fc9b3066bef370dd686dfb8684fce534
DIST ospd-openvas-1.0.1.tar.gz 50455 BLAKE2B
06a4cdcc2f51351215fffa5517cb2cae620b9b7ffded738d3c63bda11fa8572fe93e0b5fc1c8c9a1bd27cbea65641b0586c329d1d05a022e1fba79c8782d091c
SHA512
bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
deleted file mode 100644
index f7eb63988b6..000
--- a/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1 systemd
-
-DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
-HOMEPAGE="https://github.com/greenbone/ospd-openvas";
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
- acct-user/gvm
- dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/redis-py[${PYTHON_USEDEP}]
- net-analyzer/ospd[${PYTHON_USEDEP}]
-"
-RDEPEND="
- ${DEPEND}
- >=net-analyzer/openvas-scanner-7.0.0"
-BDEPEND=""
-
-distutils_enable_tests unittest
-
-python_install() {
- distutils-r1_python_install
-
- insinto /etc/openvas
- doins "${FILESDIR}"/redis.conf.example
- doins "${FILESDIR}"/ospd.conf
-
- fowners -R gvm:gvm /etc/openvas
-
- newinitd "${FILESDIR}/${PN}.initd" "${PN}"
- newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-
- systemd_dounit "${FILESDIR}/${PN}.service"
-}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: 8c37d066f8c8f36ea3e762faf789034cb628f892
Author: Jonas Licht fem tu-ilmenau de>
AuthorDate: Mon Jun 29 15:31:59 2020 +
Commit: Joonas Niilola gentoo org>
CommitDate: Tue Jul 14 12:57:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c37d066
net-analyzer/ospd-openvas: Version bump to 1.0.1
Closes: https://bugs.gentoo.org/725896
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
net-analyzer/ospd-openvas/files/ospd-openvas.initd | 4 ++
.../ospd-openvas/ospd-openvas-1.0.1.ebuild | 46 ++
3 files changed, 51 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
index 00e7b1d401c..adf747b4375 100644
--- a/net-analyzer/ospd-openvas/Manifest
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -1 +1,2 @@
DIST ospd-openvas-1.0.0.tar.gz 49725 BLAKE2B
230df2f572f345b9ed398e2af120a2fecee87f9f8d8d3c072ca314960f34f7329fe22b002ba0971ba6dc14cd3ca4543120653f89b3085a0f8a932fbeb6ef2682
SHA512
2b2e4f38843265a018a58b7fbd2fde0449d4f6cf3c5c1b7bec02d8390ab257020304f5be1bf2a77f7d28a04f4d1da611fc9b3066bef370dd686dfb8684fce534
+DIST ospd-openvas-1.0.1.tar.gz 50455 BLAKE2B
06a4cdcc2f51351215fffa5517cb2cae620b9b7ffded738d3c63bda11fa8572fe93e0b5fc1c8c9a1bd27cbea65641b0586c329d1d05a022e1fba79c8782d091c
SHA512
bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.initd
b/net-analyzer/ospd-openvas/files/ospd-openvas.initd
index ced28d892dc..f8887d8b343 100644
--- a/net-analyzer/ospd-openvas/files/ospd-openvas.initd
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.initd
@@ -15,3 +15,7 @@ depend() {
after bootmisc
need localmount redis
}
+
+start_pre() {
+checkpath -d /var/run/ospd
+}
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
new file mode 100644
index 000..398e7aa14df
--- /dev/null
+++ b/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1 systemd
+
+DESCRIPTION="This is an OSP server implementation to allow GVM to remotely
control OpenVAS"
+HOMEPAGE="https://github.com/greenbone/ospd-openvas";
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ acct-user/gvm
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/redis-py[${PYTHON_USEDEP}]
+ net-analyzer/ospd[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${DEPEND}
+ >=net-analyzer/openvas-scanner-7.0.0"
+BDEPEND=""
+
+distutils_enable_tests unittest
+
+python_install() {
+ distutils-r1_python_install
+
+ insinto /etc/openvas
+ doins "${FILESDIR}"/redis.conf.example
+ doins "${FILESDIR}"/ospd.conf
+
+ fowners -R gvm:gvm /etc/openvas
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: 46514406a700c26db7915fceef49a81197d419da
Author: Jonas Licht fem tu-ilmenau de>
AuthorDate: Wed Mar 25 22:41:08 2020 +
Commit: Joonas Niilola gentoo org>
CommitDate: Thu Mar 26 14:00:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46514406
net-analyzer/ospd-openvas: add python targets 3.7 and 3.8
Closes: https://bugs.gentoo.org/714770
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jonas Licht fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/15122
Signed-off-by: Joonas Niilola gentoo.org>
net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
b/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
index 4b9108b1e25..f7eb63988b6 100644
--- a/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
+++ b/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1 systemd
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
commit: ebf7834649d147b6e545a782e55df4da1621f51b Author: Joonas Niilola gentoo org> AuthorDate: Wed Mar 25 13:43:10 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Mar 25 13:45:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf78346 net-analyzer/ospd-openvas: DISTUTILS_USE_SETUPTOOLS=rdepend Signed-off-by: Joonas Niilola gentoo.org> net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild index 8c2dfcfee26..4b9108b1e25 100644 --- a/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild +++ b/net-analyzer/ospd-openvas/ospd-openvas-1.0.0.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_6 ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 systemd DESCRIPTION="This is an OSP server implementation to allow GVM to remotely control OpenVAS"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/, net-analyzer/ospd-openvas/files/
commit: 34e2e746d9d0f2a1f84b57e0297416486b461ddc
Author: Jonas Licht fem tu-ilmenau de>
AuthorDate: Sat Mar 21 15:15:15 2020 +
Commit: Joonas Niilola gentoo org>
CommitDate: Wed Mar 25 13:45:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e2e746
net-analyzer/ospd-openvas: add new package
Bug: https://bugs.gentoo.org/713804
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jonas Licht fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/14922
Signed-off-by: Joonas Niilola gentoo.org>
net-analyzer/ospd-openvas/Manifest | 1 +
net-analyzer/ospd-openvas/files/ospd-openvas.confd | 10
net-analyzer/ospd-openvas/files/ospd-openvas.initd | 17 +++
.../ospd-openvas/files/ospd-openvas.service| 18 +++
net-analyzer/ospd-openvas/files/ospd.conf | 10
net-analyzer/ospd-openvas/files/redis.conf.example | 57 ++
net-analyzer/ospd-openvas/metadata.xml | 16 ++
.../ospd-openvas/ospd-openvas-1.0.0.ebuild | 44 +
8 files changed, 173 insertions(+)
diff --git a/net-analyzer/ospd-openvas/Manifest
b/net-analyzer/ospd-openvas/Manifest
new file mode 100644
index 000..00e7b1d401c
--- /dev/null
+++ b/net-analyzer/ospd-openvas/Manifest
@@ -0,0 +1 @@
+DIST ospd-openvas-1.0.0.tar.gz 49725 BLAKE2B
230df2f572f345b9ed398e2af120a2fecee87f9f8d8d3c072ca314960f34f7329fe22b002ba0971ba6dc14cd3ca4543120653f89b3085a0f8a932fbeb6ef2682
SHA512
2b2e4f38843265a018a58b7fbd2fde0449d4f6cf3c5c1b7bec02d8390ab257020304f5be1bf2a77f7d28a04f4d1da611fc9b3066bef370dd686dfb8684fce534
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.confd
b/net-analyzer/ospd-openvas/files/ospd-openvas.confd
new file mode 100644
index 000..fc776ac49e3
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.confd
@@ -0,0 +1,10 @@
+# OpenVAS Scanner command args
+
+# e.g --foreground
+OSPD_OPENVAS_OPTIONS=""
+
+# Scanner listen socket
+OSPD_OPENVAS_UNIX_SOCKET="--unix-socket=/tmp/ospd.sock"
+
+# Scanner listen mode
+OSPD_OPENVAS_SOCKET_MODE="--socket-mode=0o777"
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.initd
b/net-analyzer/ospd-openvas/files/ospd-openvas.initd
new file mode 100644
index 000..ced28d892dc
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="remotely control an OpenVAS Scanner"
+command=/usr/bin/ospd-openvas
+pidfile="/run/${RC_SVCNAME}.pid"
+command_args="${OSPD_OPENVAS_OPTIONS} \
+ ${OSPD_OPENVAS_UNIX_SOCKET} \
+ ${OSPD_OPENVAS_SOCKET_MODE} \
+ --pid-file ${pidfile} \
+ --config /etc/openvas/ospd.conf"
+
+depend() {
+ after bootmisc
+ need localmount redis
+}
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.service
b/net-analyzer/ospd-openvas/files/ospd-openvas.service
new file mode 100644
index 000..f496797d54f
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd-openvas.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=OSPD OpenVAS
+After=network.target networking.service dnsmasq.service
[email protected] systemd-tmpfiles.service
+ConditionKernelCommandLine=!recovery
+
+[Service]
+Type=forking
+User=gvm
+Group=gvm
+ExecStart=/usr/bin/ospd-openvas --config /etc/openvas/ospd.conf --foreground
+SuccessExitStatus=SIGKILL
+# This works asynchronously, but does not take the daemon down during the
reload so it's ok.
+Restart=always
+RestartSec=60
+
+[Install]
+WantedBy=multi-user.target
+Alias=ospd-openvas.service
diff --git a/net-analyzer/ospd-openvas/files/ospd.conf
b/net-analyzer/ospd-openvas/files/ospd.conf
new file mode 100644
index 000..bac46565001
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/ospd.conf
@@ -0,0 +1,10 @@
+[OSPD - openvas]
+
+#required by gvmd
+unix_socket = /tmp/ospd.sock
+
+#socket_mode = 0o770
+#unix_socket = /run/ospd/ospd-openvas.pid
+
+log_level = DEBUG
+log_file = /var/log/gvm/ospd-openvas.log
diff --git a/net-analyzer/ospd-openvas/files/redis.conf.example
b/net-analyzer/ospd-openvas/files/redis.conf.example
new file mode 100644
index 000..6a41211aaae
--- /dev/null
+++ b/net-analyzer/ospd-openvas/files/redis.conf.example
@@ -0,0 +1,57 @@
+bind 127.0.0.1
+protected-mode yes
+port 0
+tcp-backlog 511
+unixsocket /tmp/redis.sock
+unixsocketperm 700
+timeout 0
+tcp-keepalive 300
+daemonize no
+supervised no
+pidfile /run/redis/redis.pid
+loglevel notice
+logfile /var/log/redis/redis.log
+databases 16
+always-show-logo yes
+stop-writes-on-bgsave-error yes
+rdbcompression yes
+rdbchecksum yes
+dbfilename dump.rdb
+dir /var/lib/redis/
+slave-serve-stale-data yes
+slave-read-only yes
+repl-diskless-sync no
+repl-diskless-sync-delay 5
+repl-disable-tcp-nodelay no
+slave-priority 100
+lazyfree-lazy-eviction no
+lazyfree-lazy-expire no
+lazyf
