1 |
commit: aa231e6c7face6b62dc84a0392b46c9ef965b4d8 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 13:59:47 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 19:53:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa231e6c |
7 |
|
8 |
net-analyzer/ospd-openvas: drop 1.0.1, 20.8.1 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/25429 |
11 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/ospd-openvas/Manifest | 2 - |
14 |
.../ospd-openvas/files/ospd-openvas.service | 18 ------- |
15 |
net-analyzer/ospd-openvas/files/ospd.conf | 10 ---- |
16 |
net-analyzer/ospd-openvas/files/redis.conf.example | 57 ---------------------- |
17 |
.../ospd-openvas/ospd-openvas-1.0.1.ebuild | 46 ----------------- |
18 |
.../ospd-openvas/ospd-openvas-20.8.1.ebuild | 47 ------------------ |
19 |
6 files changed, 180 deletions(-) |
20 |
|
21 |
diff --git a/net-analyzer/ospd-openvas/Manifest b/net-analyzer/ospd-openvas/Manifest |
22 |
index 2f051799135a..62b5a8d2c3cc 100644 |
23 |
--- a/net-analyzer/ospd-openvas/Manifest |
24 |
+++ b/net-analyzer/ospd-openvas/Manifest |
25 |
@@ -1,3 +1 @@ |
26 |
-DIST ospd-openvas-1.0.1.tar.gz 50455 BLAKE2B 06a4cdcc2f51351215fffa5517cb2cae620b9b7ffded738d3c63bda11fa8572fe93e0b5fc1c8c9a1bd27cbea65641b0586c329d1d05a022e1fba79c8782d091c SHA512 bdcdb1a8bc08fc27f1a85846ad944b3764a67c153cd75ffa607f69e0c07f223aa0e0965ee081e2398d4d47fc6faf1fd6fad90e6bc724952a0679de783dd2cc87 |
27 |
-DIST ospd-openvas-20.8.1.tar.gz 86733 BLAKE2B 1f747d7409a9b2cef4ea320cdc3fb8714105498ac798c96bb4be243a000985b881e33b56458d1c97b7a0359d51c95a4f975efa97cd4405b359d5a1e7aeaba9e6 SHA512 fb4ceb0a2306255e59948fe2246f9c66adefb4e68e26d3a8f95366a9ef1cb5581a3b036f6982cdd4c8499a9fb1e6acbe72041144e9ff3a057fc253e0684c0c0f |
28 |
DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B 4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700 SHA512 3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9 |
29 |
|
30 |
diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.service b/net-analyzer/ospd-openvas/files/ospd-openvas.service |
31 |
deleted file mode 100644 |
32 |
index f496797d54ff..000000000000 |
33 |
--- a/net-analyzer/ospd-openvas/files/ospd-openvas.service |
34 |
+++ /dev/null |
35 |
@@ -1,18 +0,0 @@ |
36 |
-[Unit] |
37 |
-Description=OSPD OpenVAS |
38 |
-After=network.target networking.service dnsmasq.service redis-server@×××××××.service systemd-tmpfiles.service |
39 |
-ConditionKernelCommandLine=!recovery |
40 |
- |
41 |
-[Service] |
42 |
-Type=forking |
43 |
-User=gvm |
44 |
-Group=gvm |
45 |
-ExecStart=/usr/bin/ospd-openvas --config /etc/openvas/ospd.conf --foreground |
46 |
-SuccessExitStatus=SIGKILL |
47 |
-# This works asynchronously, but does not take the daemon down during the reload so it's ok. |
48 |
-Restart=always |
49 |
-RestartSec=60 |
50 |
- |
51 |
-[Install] |
52 |
-WantedBy=multi-user.target |
53 |
-Alias=ospd-openvas.service |
54 |
|
55 |
diff --git a/net-analyzer/ospd-openvas/files/ospd.conf b/net-analyzer/ospd-openvas/files/ospd.conf |
56 |
deleted file mode 100644 |
57 |
index bac46565001c..000000000000 |
58 |
--- a/net-analyzer/ospd-openvas/files/ospd.conf |
59 |
+++ /dev/null |
60 |
@@ -1,10 +0,0 @@ |
61 |
-[OSPD - openvas] |
62 |
- |
63 |
-#required by gvmd |
64 |
-unix_socket = /tmp/ospd.sock |
65 |
- |
66 |
-#socket_mode = 0o770 |
67 |
-#unix_socket = /run/ospd/ospd-openvas.pid |
68 |
- |
69 |
-log_level = DEBUG |
70 |
-log_file = /var/log/gvm/ospd-openvas.log |
71 |
|
72 |
diff --git a/net-analyzer/ospd-openvas/files/redis.conf.example b/net-analyzer/ospd-openvas/files/redis.conf.example |
73 |
deleted file mode 100644 |
74 |
index 6a41211aaae8..000000000000 |
75 |
--- a/net-analyzer/ospd-openvas/files/redis.conf.example |
76 |
+++ /dev/null |
77 |
@@ -1,57 +0,0 @@ |
78 |
-bind 127.0.0.1 |
79 |
-protected-mode yes |
80 |
-port 0 |
81 |
-tcp-backlog 511 |
82 |
-unixsocket /tmp/redis.sock |
83 |
-unixsocketperm 700 |
84 |
-timeout 0 |
85 |
-tcp-keepalive 300 |
86 |
-daemonize no |
87 |
-supervised no |
88 |
-pidfile /run/redis/redis.pid |
89 |
-loglevel notice |
90 |
-logfile /var/log/redis/redis.log |
91 |
-databases 16 |
92 |
-always-show-logo yes |
93 |
-stop-writes-on-bgsave-error yes |
94 |
-rdbcompression yes |
95 |
-rdbchecksum yes |
96 |
-dbfilename dump.rdb |
97 |
-dir /var/lib/redis/ |
98 |
-slave-serve-stale-data yes |
99 |
-slave-read-only yes |
100 |
-repl-diskless-sync no |
101 |
-repl-diskless-sync-delay 5 |
102 |
-repl-disable-tcp-nodelay no |
103 |
-slave-priority 100 |
104 |
-lazyfree-lazy-eviction no |
105 |
-lazyfree-lazy-expire no |
106 |
-lazyfree-lazy-server-del no |
107 |
-slave-lazy-flush no |
108 |
-appendonly no |
109 |
-appendfilename "appendonly.aof" |
110 |
-appendfsync everysec |
111 |
-no-appendfsync-on-rewrite no |
112 |
-auto-aof-rewrite-percentage 100 |
113 |
-auto-aof-rewrite-min-size 64mb |
114 |
-aof-load-truncated yes |
115 |
-aof-use-rdb-preamble no |
116 |
-lua-time-limit 5000 |
117 |
-slowlog-log-slower-than 10000 |
118 |
-slowlog-max-len 128 |
119 |
-latency-monitor-threshold 0 |
120 |
-notify-keyspace-events "" |
121 |
-hash-max-ziplist-entries 512 |
122 |
-hash-max-ziplist-value 64 |
123 |
-list-max-ziplist-size -2 |
124 |
-list-compress-depth 0 |
125 |
-set-max-intset-entries 512 |
126 |
-zset-max-ziplist-entries 128 |
127 |
-zset-max-ziplist-value 64 |
128 |
-hll-sparse-max-bytes 3000 |
129 |
-activerehashing yes |
130 |
-client-output-buffer-limit normal 0 0 0 |
131 |
-client-output-buffer-limit slave 256mb 64mb 60 |
132 |
-client-output-buffer-limit pubsub 32mb 8mb 60 |
133 |
-hz 10 |
134 |
-aof-rewrite-incremental-fsync yes |
135 |
|
136 |
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild |
137 |
deleted file mode 100644 |
138 |
index 3e6e76f0659a..000000000000 |
139 |
--- a/net-analyzer/ospd-openvas/ospd-openvas-1.0.1.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,46 +0,0 @@ |
142 |
-# Copyright 2020 Gentoo Authors |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
- |
145 |
-EAPI=7 |
146 |
- |
147 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
148 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
149 |
-inherit distutils-r1 systemd |
150 |
- |
151 |
-DESCRIPTION="This is an OSP server implementation to allow GVM to remotely control OpenVAS" |
152 |
-HOMEPAGE="https://github.com/greenbone/ospd-openvas" |
153 |
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
154 |
- |
155 |
-LICENSE="GPL-2" |
156 |
-SLOT="0" |
157 |
-KEYWORDS="~amd64 ~x86" |
158 |
-IUSE="" |
159 |
- |
160 |
-DEPEND=" |
161 |
- acct-user/gvm |
162 |
- dev-python/packaging[${PYTHON_USEDEP}] |
163 |
- dev-python/psutil[${PYTHON_USEDEP}] |
164 |
- >=dev-python/redis-py-3.0.1[${PYTHON_USEDEP}] |
165 |
- >=net-analyzer/ospd-2.0.0[${PYTHON_USEDEP}] |
166 |
-" |
167 |
-RDEPEND=" |
168 |
- ${DEPEND} |
169 |
- >=net-analyzer/openvas-scanner-7.0.0" |
170 |
-BDEPEND="" |
171 |
- |
172 |
-distutils_enable_tests unittest |
173 |
- |
174 |
-python_install() { |
175 |
- distutils-r1_python_install |
176 |
- |
177 |
- insinto /etc/openvas |
178 |
- doins "${FILESDIR}"/redis.conf.example |
179 |
- doins "${FILESDIR}"/ospd.conf |
180 |
- |
181 |
- fowners -R gvm:gvm /etc/openvas |
182 |
- |
183 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
184 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
185 |
- |
186 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
187 |
-} |
188 |
|
189 |
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-20.8.1.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-20.8.1.ebuild |
190 |
deleted file mode 100644 |
191 |
index 18cbd96b1442..000000000000 |
192 |
--- a/net-analyzer/ospd-openvas/ospd-openvas-20.8.1.ebuild |
193 |
+++ /dev/null |
194 |
@@ -1,47 +0,0 @@ |
195 |
-# Copyright 2020-2021 Gentoo Authors |
196 |
-# Distributed under the terms of the GNU General Public License v2 |
197 |
- |
198 |
-EAPI=7 |
199 |
- |
200 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
201 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
202 |
-inherit distutils-r1 systemd |
203 |
- |
204 |
-DESCRIPTION="This is an OSP server implementation to allow GVM to remotely control OpenVAS" |
205 |
-HOMEPAGE="https://github.com/greenbone/ospd-openvas" |
206 |
-SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
207 |
- |
208 |
-LICENSE="GPL-2" |
209 |
-SLOT="0" |
210 |
-KEYWORDS="~amd64 ~x86" |
211 |
-IUSE="" |
212 |
- |
213 |
-DEPEND=" |
214 |
- acct-group/gvm |
215 |
- acct-user/gvm |
216 |
- >=dev-python/packaging-20.4[${PYTHON_USEDEP}] |
217 |
- >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] |
218 |
- >=dev-python/redis-py-3.5.3[${PYTHON_USEDEP}] |
219 |
- >=net-analyzer/ospd-20.8.0[${PYTHON_USEDEP}] |
220 |
-" |
221 |
-RDEPEND=" |
222 |
- ${DEPEND} |
223 |
- >=net-analyzer/openvas-scanner-20.8.0" |
224 |
-BDEPEND="" |
225 |
- |
226 |
-distutils_enable_tests unittest |
227 |
- |
228 |
-python_install() { |
229 |
- distutils-r1_python_install |
230 |
- |
231 |
- insinto /etc/openvas |
232 |
- doins "${FILESDIR}"/redis.conf.example |
233 |
- doins "${FILESDIR}"/ospd.conf |
234 |
- |
235 |
- fowners -R gvm:gvm /etc/openvas |
236 |
- |
237 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
238 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
239 |
- |
240 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
241 |
-} |