1 |
commit: 998c5e6421a5c62f89f4c5a1fc1922a6980584c2 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 09:36:32 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 11:16:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998c5e64 |
7 |
|
8 |
net-analyzer/ospd-openvas: add 21.4.4 |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25283 |
12 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/ospd-openvas/Manifest | 1 + |
15 |
.../ospd-openvas/ospd-openvas-21.4.4.ebuild | 46 ++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/net-analyzer/ospd-openvas/Manifest b/net-analyzer/ospd-openvas/Manifest |
19 |
index 00956885cf41..2f051799135a 100644 |
20 |
--- a/net-analyzer/ospd-openvas/Manifest |
21 |
+++ b/net-analyzer/ospd-openvas/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST ospd-openvas-1.0.1.tar.gz 50455 BLAKE2B 06a4cdcc2f51351215fffa5517cb2cae620b9b7ffded738d3c63bda11fa8572fe93e0b5fc1c8c9a1bd27cbea65641b0586c329d1d05a022e1fba79c8782d091c SHA512 bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87 |
24 |
DIST ospd-openvas-20.8.1.tar.gz 86733 BLAKE2B 1f747d7409a9b2cef4ea320cdc3fb8714105498ac798c96bb4be243a000985b881e33b56458d1c97b7a0359d51c95a4f975efa97cd4405b359d5a1e7aeaba9e6 SHA512 fb4ceb0a2306255e59948fe2246f9c66adefb4e68e26d3a8f95366a9ef1cb5581a3b036f6982cdd4c8499a9fb1e6acbe72041144e9ff3a057fc253e0684c0c0f |
25 |
+DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B 4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700 SHA512 3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9 |
26 |
|
27 |
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..37b9865771b0 |
30 |
--- /dev/null |
31 |
+++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4.ebuild |
32 |
@@ -0,0 +1,46 @@ |
33 |
+# Copyright 2020-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
40 |
+inherit distutils-r1 systemd |
41 |
+ |
42 |
+DESCRIPTION="This is an OSP server implementation to allow GVM to remotely control OpenVAS" |
43 |
+HOMEPAGE="https://github.com/greenbone/ospd-openvas" |
44 |
+SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ acct-group/gvm |
52 |
+ acct-user/gvm |
53 |
+ >=dev-python/packaging-20.4[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/redis-py-3.5.3[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+RDEPEND=" |
58 |
+ ${DEPEND} |
59 |
+ >=net-analyzer/openvas-scanner-${PV} |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests unittest |
63 |
+ |
64 |
+python_install() { |
65 |
+ distutils-r1_python_install |
66 |
+ |
67 |
+ dodoc "${FILESDIR}"/redis.conf.example |
68 |
+ |
69 |
+ insinto /etc/openvas |
70 |
+ doins "${FILESDIR}"/ospd.conf |
71 |
+ |
72 |
+ fowners -R gvm:gvm /etc/openvas |
73 |
+ |
74 |
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
75 |
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
76 |
+ |
77 |
+ systemd_dounit "${FILESDIR}/${PN}.service" |
78 |
+} |