* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2020-03-25 13:46 Joonas Niilola
0 siblings, 0 replies; 16+ messages in thread
From: Joonas Niilola @ 2020-03-25 13:46 UTC (permalink / raw
To: gentoo-commits
commit: ebf7834649d147b6e545a782e55df4da1621f51b
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 25 13:43:10 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 13:45:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf78346
net-analyzer/ospd-openvas: DISTUTILS_USE_SETUPTOOLS=rdepend
Signed-off-by: Joonas Niilola <juippis <AT> 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"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2020-03-26 14:01 Joonas Niilola
0 siblings, 0 replies; 16+ messages in thread
From: Joonas Niilola @ 2020-03-26 14:01 UTC (permalink / raw
To: gentoo-commits
commit: 46514406a700c26db7915fceef49a81197d419da
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Wed Mar 25 22:41:08 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 14:00:47 2020 +0000
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 <jonas.licht <AT> fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/15122
Signed-off-by: Joonas Niilola <juippis <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2020-07-14 12:57 Joonas Niilola
0 siblings, 0 replies; 16+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
To: gentoo-commits
commit: da034cfffc7373a38a7e9ca095e57af23822cbd6
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 15:32:27 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul 14 12:57:06 2020 +0000
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 <jonas.licht <AT> fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis <AT> 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..00000000000
--- 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"
-}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2020-08-21 7:15 Joonas Niilola
0 siblings, 0 replies; 16+ messages in thread
From: Joonas Niilola @ 2020-08-21 7:15 UTC (permalink / raw
To: gentoo-commits
commit: d2d3d4002a9a4e2861668bf09cb467fb74cdc257
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Aug 10 13:41:27 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 07:14:43 2020 +0000
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 <jonas.licht <AT> fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis <AT> 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}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2022-05-02 11:16 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2022-05-02 11:16 UTC (permalink / raw
To: gentoo-commits
commit: 998c5e6421a5c62f89f4c5a1fc1922a6980584c2
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 09:36:32 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 2 11:16:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998c5e64
net-analyzer/ospd-openvas: add 21.4.4
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25283
Signed-off-by: Florian Schmaus <flow <AT> 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 000000000000..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"
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2022-05-02 13:43 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2022-05-02 13:43 UTC (permalink / raw
To: gentoo-commits
commit: b34dc4e847514694d45c07f52a7aa641bd0c7003
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 13:34:50 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 2 13:43:24 2022 +0000
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 <flow <AT> gentoo.org>
Suggested-by: Jonas Licht <jonas.licht <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2022-05-08 18:32 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2022-05-08 18:32 UTC (permalink / raw
To: gentoo-commits
commit: 9ccb149cc7f7a87df6ceab715db8b3bfde38f25c
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun May 8 18:32:05 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 8 18:32:40 2022 +0000
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 <flow <AT> 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
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2022-05-09 9:36 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2022-05-09 9:36 UTC (permalink / raw
To: gentoo-commits
commit: b253f47698aeeeb58aa2fd3ccf00cdaa4e7bbd4b
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 09:33:15 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 9 09:35:59 2022 +0000
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 <flow <AT> 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}"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2022-05-09 13:50 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2022-05-09 13:50 UTC (permalink / raw
To: gentoo-commits
commit: 6ffe958d31b462766074dc3418f06dc8dea5b253
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 13:47:05 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 9 13:49:18 2022 +0000
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 <flow <AT> 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
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2023-07-20 20:30 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2023-07-20 20:30 UTC (permalink / raw
To: gentoo-commits
commit: 6b1f526d41c5024c883093d392dded799237cfec
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Jul 20 20:17:57 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 20:29:16 2023 +0000
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 <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31976
Signed-off-by: Florian Schmaus <flow <AT> 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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2023-10-14 15:05 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2023-10-14 15:05 UTC (permalink / raw
To: gentoo-commits
commit: 03b94843079289f9cd7536ff925b39ead3353def
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Oct 14 14:19:50 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 15:05:14 2023 +0000
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 <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33330
Signed-off-by: Florian Schmaus <flow <AT> 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
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2023-11-21 8:01 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2023-11-21 8:01 UTC (permalink / raw
To: gentoo-commits
commit: 59edca00e8aff3097a4b21f1cb2f932269dc5c39
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Nov 15 06:23:22 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 08:00:27 2023 +0000
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 <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33831
Signed-off-by: Florian Schmaus <flow <AT> 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/defusedxml-0.8[${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/packaging-24.0[${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/python-gnupg-0.6.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
@@ -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 )
"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2024-02-28 20:50 Jakov Smolić
0 siblings, 0 replies; 16+ messages in thread
From: Jakov Smolić @ 2024-02-28 20:50 UTC (permalink / raw
To: gentoo-commits
commit: 16a5cb94091c9b8063a6c34770a11c45e49b9f98
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:50:08 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 20:50:08 2024 +0000
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ć <jsmolic <AT> 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="
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2024-04-03 17:38 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2024-04-03 17:38 UTC (permalink / raw
To: gentoo-commits
commit: aecad166696b48975a32aee5a845a9fde7fbbb60
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 20:05:44 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 17:34:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecad166
net-analyzer/ospd-openvas: add 22.7.0
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35992
Signed-off-by: Florian Schmaus <flow <AT> 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 000000000000..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/defusedxml-0.8[${PYTHON_USEDEP}]
+ >=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
+ <dev-python/lxml-6.0.0[${PYTHON_USEDEP}]
+ >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ <dev-python/packaging-25.0[${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/python-gnupg-0.6.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
+"
+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
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2024-06-07 7:36 Florian Schmaus
0 siblings, 0 replies; 16+ messages in thread
From: Florian Schmaus @ 2024-06-07 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 28172a5efca8afeec83cca250510acdac401c234
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Tue Jun 4 18:49:43 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 7 07:35:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28172a5e
net-analyzer/ospd-openvas: add 22.7.1
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37027
Signed-off-by: Florian Schmaus <flow <AT> 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 000000000000..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/defusedxml-0.8[${PYTHON_USEDEP}]
+ >=dev-python/deprecated-1.2.10[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
+ <dev-python/lxml-6.0.0[${PYTHON_USEDEP}]
+ >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+ <dev-python/packaging-25.0[${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/python-gnupg-0.6.0[${PYTHON_USEDEP}]
+ >=dev-python/paho-mqtt-1.6[${PYTHON_USEDEP}]
+ <dev-python/paho-mqtt-3[${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
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/
@ 2024-07-23 3:55 Sam James
0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2024-07-23 3:55 UTC (permalink / raw
To: gentoo-commits
commit: 5cb91e7ba4336d3304afbd33ddda74e85a5cbcfe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 03:54:37 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 03:54:37 2024 +0000
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 <sam <AT> 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="
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2024-07-23 3:55 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23 3:55 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ospd-openvas/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-06-07 7:36 Florian Schmaus
2024-04-03 17:38 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2023-11-21 8:01 Florian Schmaus
2023-10-14 15:05 Florian Schmaus
2023-07-20 20:30 Florian Schmaus
2022-05-09 13:50 Florian Schmaus
2022-05-09 9:36 Florian Schmaus
2022-05-08 18:32 Florian Schmaus
2022-05-02 13:43 Florian Schmaus
2022-05-02 11:16 Florian Schmaus
2020-08-21 7:15 Joonas Niilola
2020-07-14 12:57 Joonas Niilola
2020-03-26 14:01 Joonas Niilola
2020-03-25 13:46 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox