Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-tools/, net-analyzer/openvas-cli/, net-analyzer/openvas/, ...
Date: Fri, 29 Nov 2019 22:33:54
Message-Id: 1575066823.78d4c66d2bd5af45bea655c85d43ec21c09244c8.bman@gentoo
1 commit: 78d4c66d2bd5af45bea655c85d43ec21c09244c8
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 22:33:13 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 22:33:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d4c66d
7
8 net-analyzer/*: drop last-rited pkgs
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 dev-ruby/openvas-omp/Manifest | 1 -
13 dev-ruby/openvas-omp/metadata.xml | 12 ---
14 dev-ruby/openvas-omp/openvas-omp-0.0.4.ebuild | 26 -----
15 net-analyzer/openvas-cli/Manifest | 1 -
16 net-analyzer/openvas-cli/metadata.xml | 5 -
17 net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild | 33 -------
18 net-analyzer/openvas-libraries/Manifest | 1 -
19 .../openvas-libraries/files/OPENVAS.gentoo | 106 ---------------------
20 .../files/openvas-libraries-9.0.3-cachedir.patch | 18 ----
21 .../files/openvas-libraries-9.0.3-gcc8.patch | 73 --------------
22 .../files/openvas-libraries-9.0.3-netsnmp.patch | 11 ---
23 .../files/openvas-libraries-9.0.3-rpath.patch | 11 ---
24 .../files/openvas-libraries-9.0.3-rundir.patch | 45 ---------
25 .../openvas-libraries-9.0.3-underlinking.patch | 47 ---------
26 net-analyzer/openvas-libraries/metadata.xml | 17 ----
27 .../openvas-libraries-9.0.3-r1.ebuild | 94 ------------------
28 net-analyzer/openvas-tools/Manifest | 1 -
29 net-analyzer/openvas-tools/metadata.xml | 5 -
30 .../openvas-tools/openvas-tools-0_pre20512.ebuild | 27 ------
31 net-analyzer/openvas/metadata.xml | 20 ----
32 net-analyzer/openvas/openvas-9.0.0.ebuild | 38 --------
33 profiles/package.mask | 11 ---
34 22 files changed, 603 deletions(-)
35
36 diff --git a/dev-ruby/openvas-omp/Manifest b/dev-ruby/openvas-omp/Manifest
37 deleted file mode 100644
38 index d25a3b2ec72..00000000000
39 --- a/dev-ruby/openvas-omp/Manifest
40 +++ /dev/null
41 @@ -1 +0,0 @@
42 -DIST openvas-omp-0.0.4.gem 10752 BLAKE2B 866f04895551ecace2183b1125deb727083d1427e4326ad5123e660586e26af40632a8e68b0390720fc39449ff8c3143a25edf22d2e015c31697ce6c24464030 SHA512 cb62ec9e480ad009eb9f47cd4ac77d385b8d5855748509466e5227e9d729067b279c277d3d53f2de1a89cccba75bccdd1e23b7ae858adeb35e0958fdb004c0e1
43
44 diff --git a/dev-ruby/openvas-omp/metadata.xml b/dev-ruby/openvas-omp/metadata.xml
45 deleted file mode 100644
46 index d29753faaa0..00000000000
47 --- a/dev-ruby/openvas-omp/metadata.xml
48 +++ /dev/null
49 @@ -1,12 +0,0 @@
50 -<?xml version='1.0' encoding='UTF-8'?>
51 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
52 -<pkgmetadata>
53 - <maintainer type="person">
54 - <email>zerochaos@g.o</email>
55 - <name>Rick Farina</name>
56 - </maintainer>
57 - <upstream>
58 - <remote-id type="github">kost/openvas-omp-ruby</remote-id>
59 - <remote-id type="rubygems">openvas-omp</remote-id>
60 - </upstream>
61 -</pkgmetadata>
62
63 diff --git a/dev-ruby/openvas-omp/openvas-omp-0.0.4.ebuild b/dev-ruby/openvas-omp/openvas-omp-0.0.4.ebuild
64 deleted file mode 100644
65 index 4de270ec845..00000000000
66 --- a/dev-ruby/openvas-omp/openvas-omp-0.0.4.ebuild
67 +++ /dev/null
68 @@ -1,26 +0,0 @@
69 -# Copyright 1999-2019 Gentoo Authors
70 -# Distributed under the terms of the GNU General Public License v2
71 -
72 -EAPI=6
73 -
74 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
75 -RUBY_FAKEGEM_TASK_DOC=""
76 -RUBY_FAKEGEM_BINWRAP=""
77 -
78 -inherit ruby-fakegem
79 -
80 -DESCRIPTION="Communicate with OpenVAS manager through OMP"
81 -HOMEPAGE="https://rubygems.org/gems/openvas-omp"
82 -
83 -LICENSE="BSD"
84 -
85 -SLOT="0"
86 -KEYWORDS="~amd64 ~x86"
87 -IUSE=""
88 -RESTRICT="test"
89 -
90 -PDEPEND="net-analyzer/openvas"
91 -
92 -all_ruby_prepare() {
93 - sed -i '/bundler/d' Rakefile
94 -}
95
96 diff --git a/net-analyzer/openvas-cli/Manifest b/net-analyzer/openvas-cli/Manifest
97 deleted file mode 100644
98 index ec9e62719bb..00000000000
99 --- a/net-analyzer/openvas-cli/Manifest
100 +++ /dev/null
101 @@ -1 +0,0 @@
102 -DIST openvas-cli-1.4.3.tar.gz 108228 BLAKE2B d8f657fde8d1cac257dac8e87fdea23401ce1f89ccb08a63c8c63f5aae9c83ff663193425eabb86481ee697ecf6bf1f893325ba472a794c83586464d24e7ecbc SHA512 a85c754612b8f8102aa1ccf0af72f3266758c4873f7c346004b4f6794bfa8e562dbe14009ae04a2792978354454fa75f8a912bc13a83bce3604ff00019c363e3
103
104 diff --git a/net-analyzer/openvas-cli/metadata.xml b/net-analyzer/openvas-cli/metadata.xml
105 deleted file mode 100644
106 index 6f49eba8f49..00000000000
107 --- a/net-analyzer/openvas-cli/metadata.xml
108 +++ /dev/null
109 @@ -1,5 +0,0 @@
110 -<?xml version="1.0" encoding="UTF-8"?>
111 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
112 -<pkgmetadata>
113 -<!-- maintainer-needed -->
114 -</pkgmetadata>
115
116 diff --git a/net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild b/net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild
117 deleted file mode 100644
118 index 8a46aad30c2..00000000000
119 --- a/net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild
120 +++ /dev/null
121 @@ -1,33 +0,0 @@
122 -# Copyright 1999-2019 Gentoo Authors
123 -# Distributed under the terms of the GNU General Public License v2
124 -
125 -EAPI=7
126 -
127 -DL_ID=2209
128 -inherit cmake-utils
129 -
130 -DESCRIPTION="A remote security scanner for Linux (OpenVAS-cli)"
131 -HOMEPAGE="http://www.openvas.org/"
132 -SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz"
133 -SLOT="0"
134 -LICENSE="GPL-2"
135 -KEYWORDS="~amd64 ~x86"
136 -IUSE=""
137 -
138 -DEPEND="
139 - >=net-analyzer/openvas-libraries-8.0.4
140 -"
141 -RDEPEND="${DEPEND}
142 - !net-analyzer/openvas-client
143 -"
144 -BDEPEND="virtual/pkgconfig"
145 -
146 -S="${WORKDIR}"/${P/_beta/+beta}
147 -
148 -src_configure() {
149 - local mycmakeargs=(
150 - -DLOCALSTATEDIR="${EPREFIX}"/var
151 - -DSYSCONFDIR="${EPREFIX}"/etc
152 - )
153 - cmake-utils_src_configure
154 -}
155
156 diff --git a/net-analyzer/openvas-libraries/Manifest b/net-analyzer/openvas-libraries/Manifest
157 deleted file mode 100644
158 index 042bb42a270..00000000000
159 --- a/net-analyzer/openvas-libraries/Manifest
160 +++ /dev/null
161 @@ -1 +0,0 @@
162 -DIST openvas-libraries-9.0.3.tar.gz 643948 BLAKE2B c05fbcd2a1b9c2292ac2d7ea3c7f4fe2ff4c5a41b0dd5610283712ce136fe4184d46b9fdcfb74bf2a4a6d7c016497df31caff121d9c7b013280164b49f874f4f SHA512 bca213309e06a39d2dcd790cacb01f2a71471622887424e41cc025a2bc25feb6a9b2c1d904f739df6fd87d8ec7af5171b31d1f5d08411c5143e4be1e6723397a
163
164 diff --git a/net-analyzer/openvas-libraries/files/OPENVAS.gentoo b/net-analyzer/openvas-libraries/files/OPENVAS.gentoo
165 deleted file mode 100644
166 index ab3f4c8918c..00000000000
167 --- a/net-analyzer/openvas-libraries/files/OPENVAS.gentoo
168 +++ /dev/null
169 @@ -1,106 +0,0 @@
170 ------------------------------------------------------------------
171 ---------------------------IMPORTANT------------------------------
172 ------------------------------------------------------------------
173 -You will need to set up your /etc/redis.conf file properly before
174 -running openvas-scanner for the first time.
175 -For details, please see the example config file installed to:
176 ---> /etc/openvas/redis.conf.example
177 -Please configure /etc/openvas/openvassd.conf properly
178 -according to redis listening unix socket.
179 -e.g. /etc/openvas/openvassd.conf --> kb_location = /tmp/redis.sock
180 -If you use first-start script it will check various issues and
181 -automatically setup OpenVAS for first time use.
182 -GSA(Greenbone Security Agent) WebUI listens port
183 -9392(local) default. If you want to use nginx reverse proxy
184 -to reach WebUI please see the example config file
185 ---> /etc/openvas/gsa.nginx.reverse.proxy.example
186 -otherwise you can change port to 443 or 80.
187 -
188 ------------------------------------------------------------------
189 ----------------------------SCRIPTS-------------------------------
190 ------------------------------------------------------------------
191 -'first-start'
192 ---> Automatically setup OpenVAS for first time use
193 ---> Installed in /etc/openvas/scripts
194 -
195 -'openvas-feed-sync'
196 ---> Updates Feeds | You can add this to cron
197 ---> Installed in /etc/openvas/scripts
198 -
199 ------------------------------------------------------------------
200 -----------ENVIRONMENT SETTINGS FOR SYSTEMD & OPEN-RC-------------
201 ------------------------------------------------------------------
202 -'openvas-scanner-daemon.conf'
203 ---> OpenVAS Scanner systemd daemon settings
204 ---> Installed in /etc/openvas/sysconfig
205 -
206 -'gvmd-daemon.conf'
207 ---> OpenVAS Manager systemd daemon settings
208 ---> Installed in /etc/openvas/sysconfig
209 -
210 -'gsa-daemon.conf
211 ---> Greenbone Security Agent systemd daemon settings
212 ---> Installed in /etc/openvas/sysconfig
213 -
214 -'openvas-scanner'
215 ---> OpenVAS Scanner open-rc daemon settings
216 ---> Installed in /etc/config.d
217 -
218 -'gvmd'
219 ---> OpenVAS Manager open-rc daemon settings
220 ---> Installed in /etc/config.d
221 -
222 -'gsa'
223 ---> Greenbone Security Agent systemd daemon settings
224 ---> Installed in /etc/config.d
225 -
226 ------------------------------------------------------------------
227 ---------QUICK START COMMANDS (IF YOU DON'T USE SCRIPTS)----------
228 ------------------------------------------------------------------
229 -'env-update && source /etc/profile'
230 ---> Update PATHS
231 -
232 -'openvas-manage-certs -a'
233 ---> Create certificates automatically first time
234 -
235 -'greenbone-nvt-sync'
236 ---> Update NVT Feed
237 -
238 -'greenbone-scapdata-sync'
239 ---> Update scapdata Feed
240 -
241 -'greenbone-certdata-sync'
242 ---> Update certdata Feed
243 -
244 -'openvassd --foreground --only-cache'
245 ---> Generate initial NVT cache and quit
246 -
247 -'rc-service openvas-scanner start or systemctl start openvas-scanner'
248 ---> Start OpenVAS-Scanner
249 -
250 -'openvasmd --rebuild --progress'
251 ---> Initialize the Database
252 -
253 -'openvasmd --create-user=admin --role=Admin'
254 ---> Create User for WEBUI.Save your password
255 -
256 -'rc-service gvmd start or systemctl start gvmd'
257 ---> Start OpenVAS-Manager
258 -
259 -'rc-service gsa start or systemctl start gsa'
260 ---> Start the Greenbone Security Assistant
261 -
262 ------------------------------------------------------------------
263 ----------------------PLUGIN KEY AND SIGNING----------------------
264 ------------------------------------------------------------------
265 -'gpg --homedir=/etc/openvas/gnupg --gen-key'
266 ---> Generate Key
267 -
268 -'wget https://www.greenbone.net/GBCommunitySigningKey.asc'
269 ---> Official OpenVAS Transfer Key
270 -
271 -'gpg --homedir=/etc/openvas/gnupg --import GBCommunitySigningKey.asc'
272 ---> Import OpenVAS Transfer Key
273 -
274 -'gpg --homedir=/etc/openvas/gnupg --lsign-key 0ED1E580'
275 ---> Sign
276
277 diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-cachedir.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-cachedir.patch
278 deleted file mode 100644
279 index 34fc9f68f43..00000000000
280 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-cachedir.patch
281 +++ /dev/null
282 @@ -1,18 +0,0 @@
283 ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 01:40:41.981031382 +0300
284 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 01:44:08.867074208 +0300
285 -@@ -173,7 +173,6 @@
286 - set (OPENVAS_DATA_DIR "${DATADIR}/openvas")
287 - set (OPENVAS_STATE_DIR "${LOCALSTATEDIR}/lib/openvas")
288 - set (OPENVAS_LOG_DIR "${LOCALSTATEDIR}/log/openvas")
289 --set (OPENVAS_CACHE_DIR "${LOCALSTATEDIR}/cache/openvas")
290 - set (OPENVAS_SYSCONF_DIR "${SYSCONFDIR}/openvas")
291 -
292 - set (OPENVAS_LIB_INSTALL_DIR "${LIBDIR}")
293 -@@ -330,7 +329,6 @@
294 -
295 - install (DIRECTORY DESTINATION ${OPENVAS_LOG_DIR})
296 - install (DIRECTORY DESTINATION ${OPENVAS_DATA_DIR})
297 --install (DIRECTORY DESTINATION ${OPENVAS_CACHE_DIR})
298 - install (DIRECTORY DESTINATION ${OPENVAS_PID_DIR})
299 - install (DIRECTORY DESTINATION ${OPENVAS_SYSCONF_DIR})
300 - install (DIRECTORY
301
302 diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-gcc8.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-gcc8.patch
303 deleted file mode 100644
304 index a2809087f82..00000000000
305 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-gcc8.patch
306 +++ /dev/null
307 @@ -1,73 +0,0 @@
308 ---- gvm-libs-9.0.3/nasl/nasl_isotime.c 2018-08-29 19:01:12.000000000 +0300
309 -+++ gvm-libs-9.0.3/nasl/nasl_isotime.c 2019-02-01 21:11:40.460358131 +0300
310 -@@ -102,9 +102,13 @@
311 - struct tm *tp;
312 -
313 - tp = gmtime (&atime);
314 -- snprintf (timebuf, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
315 -+ if (snprintf (timebuf, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
316 - 1900 + tp->tm_year, tp->tm_mon+1, tp->tm_mday,
317 -- tp->tm_hour, tp->tm_min, tp->tm_sec);
318 -+ tp->tm_hour, tp->tm_min, tp->tm_sec) < 0)
319 -+ {
320 -+ *timebuf = '\0';
321 -+ return;
322 -+ }
323 - }
324 - }
325 -
326 -@@ -480,8 +484,9 @@
327 - || year < 0 || month < 1 || day < 1)
328 - return 1;
329 -
330 -- snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
331 -- year, month, day, hour, minute, sec);
332 -+ if (snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
333 -+ year, month, day, hour, minute, sec) < 0)
334 -+ return 1;
335 - return 0;
336 - }
337 -
338 -@@ -519,8 +524,9 @@
339 - || year < 0 || month < 1 || day < 1)
340 - return 1;
341 -
342 -- snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
343 -- year, month, day, hour, minute, sec);
344 -+ if (snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
345 -+ year, month, day, hour, minute, sec) < 0)
346 -+ return 1;
347 - return 0;
348 - }
349 -
350 -@@ -558,13 +564,14 @@
351 - || year < 0 || month < 1 || day < 1)
352 - return 1;
353 -
354 -- snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
355 -- year, month, day, hour, minute, sec);
356 -+ if (snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d",
357 -+ year, month, day, hour, minute, sec) < 0)
358 -+ return 1;
359 - return 0;
360 - }
361 -
362 -
363 --
364 -+
365 - /**
366 - * @brief Return the current time in ISO format
367 - * @naslfn{isotime_now}
368 -@@ -784,9 +791,9 @@
369 - memcpy (timebuf, string, ISOTIME_SIZE -1);
370 - timebuf[ISOTIME_SIZE - 1] = 0;
371 -
372 -- nyears = get_int_local_var_by_name (lexic, "years", 0);
373 -- ndays = get_int_local_var_by_name (lexic, "days", 0);
374 -- nseconds = get_int_local_var_by_name (lexic, "seconds", 0);
375 -+ nyears = get_int_var_by_name (lexic, "years", 0);
376 -+ ndays = get_int_var_by_name (lexic, "days", 0);
377 -+ nseconds = get_int_var_by_name (lexic, "seconds", 0);
378 -
379 - if (nyears && add_years_to_isotime (timebuf, nyears))
380 - return NULL;
381
382 diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-netsnmp.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-netsnmp.patch
383 deleted file mode 100644
384 index 69305576d0d..00000000000
385 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-netsnmp.patch
386 +++ /dev/null
387 @@ -1,11 +0,0 @@
388 ---- gvm-libs-9.0.3/CMakeLists.txt 2018-08-29 19:01:12.000000000 +0300
389 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-01 20:58:45.946113012 +0300
390 -@@ -238,7 +238,7 @@
391 - OUTPUT_STRIP_TRAILING_WHITESPACE)
392 -
393 - message (STATUS "Looking for netsnmp...")
394 -- find_library (SNMP snmp)
395 -+ find_library (SNMP netsnmp)
396 - message (STATUS "Looking for netsnmp... ${SNMP}")
397 - if (SNMP)
398 - execute_process (COMMAND net-snmp-config --libs
399
400 diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rpath.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rpath.patch
401 deleted file mode 100644
402 index e14e2965e9f..00000000000
403 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rpath.patch
404 +++ /dev/null
405 @@ -1,11 +0,0 @@
406 ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 21:42:27.367627369 +0300
407 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 21:45:48.961135211 +0300
408 -@@ -80,7 +80,7 @@
409 - # TODO: Check pkg-config (maybe with code like in gsa/CMakeLists.txt).
410 -
411 - ## CPack configuration
412 --
413 -+set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
414 - set (CPACK_CMAKE_GENERATOR "Unix Makefiles")
415 - set (CPACK_GENERATOR "TGZ")
416 - set (CPACK_INSTALL_CMAKE_PROJECTS ".;openvas-libraries;ALL;/")
417
418 diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rundir.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rundir.patch
419 deleted file mode 100644
420 index 6ecdc8a6421..00000000000
421 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rundir.patch
422 +++ /dev/null
423 @@ -1,45 +0,0 @@
424 ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 14:50:41.230530261 +0300
425 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 14:55:08.649433070 +0300
426 -@@ -162,9 +162,9 @@
427 - set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
428 - endif (NOT DATADIR)
429 -
430 --if (NOT OPENVAS_PID_DIR)
431 -- set (OPENVAS_PID_DIR "${LOCALSTATEDIR}/run")
432 --endif (NOT OPENVAS_PID_DIR)
433 -+#if (NOT OPENVAS_PID_DIR)
434 -+# set (OPENVAS_PID_DIR "${LOCALSTATEDIR}/run")
435 -+#endif (NOT OPENVAS_PID_DIR)
436 -
437 - #if (NOT SYSCONFDIR)
438 - # set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc")
439 ---- gvm-libs-9.0.3/base/pidfile.c 2018-08-29 19:01:12.000000000 +0300
440 -+++ gvm-libs-9.0.3/base/pidfile.c 2019-02-04 15:08:04.600958560 +0300
441 -@@ -59,7 +59,7 @@
442 - pidfile_create (gchar * daemon_name)
443 - {
444 - gchar *name_pid = g_strconcat (daemon_name, ".pid", NULL);
445 -- gchar *pidfile_name = g_build_filename (OPENVAS_PID_DIR, name_pid, NULL);
446 -+ gchar *pidfile_name = g_build_filename (name_pid, NULL);
447 - FILE *pidfile = g_fopen (pidfile_name, "w");
448 -
449 - g_free (name_pid);
450 -@@ -88,7 +88,7 @@
451 - pidfile_remove (gchar * daemon_name)
452 - {
453 - gchar *name_pid = g_strconcat (daemon_name, ".pid", NULL);
454 -- gchar *pidfile_name = g_build_filename (OPENVAS_PID_DIR, name_pid, NULL);
455 -+ gchar *pidfile_name = g_build_filename (name_pid, NULL);
456 - gchar *pidfile_contents;
457 -
458 - g_free (name_pid);
459 ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 17:39:39.776282496 +0300
460 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 17:39:23.160269081 +0300
461 -@@ -329,7 +329,6 @@
462 -
463 - install (DIRECTORY DESTINATION ${OPENVAS_LOG_DIR})
464 - install (DIRECTORY DESTINATION ${OPENVAS_DATA_DIR})
465 --install (DIRECTORY DESTINATION ${OPENVAS_PID_DIR})
466 - install (DIRECTORY DESTINATION ${OPENVAS_SYSCONF_DIR})
467 - install (DIRECTORY
468 - DESTINATION ${OPENVAS_SYSCONF_DIR}/gnupg
469
470 diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-underlinking.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-underlinking.patch
471 deleted file mode 100644
472 index e3c25f9b9c4..00000000000
473 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-underlinking.patch
474 +++ /dev/null
475 @@ -1,47 +0,0 @@
476 ---- gvm-libs-9.0.3/base/CMakeLists.txt 2019-02-04 15:11:20.848707365 +0300
477 -+++ gvm-libs-9.0.3/base/CMakeLists.txt 2019-02-04 15:40:27.745955904 +0300
478 -@@ -88,7 +88,7 @@
479 - assuan libgpg-error ole32 ws2_32 ffi z shlwapi dnsapi winmm)
480 - target_link_libraries (openvas_base_shared ${W32LIBS})
481 - else (MINGW)
482 -- target_link_libraries (openvas_base_shared LINK_PRIVATE ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${ZLIB_LDFLAGS} ${GPGME_LDFLAGS} ${REDIS_LDFLAGS} ${LINKER_HARDENING_FLAGS})
483 -+ target_link_libraries (openvas_base_shared LINK_PRIVATE ${LIBSSH_LDFLAGS} ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${ZLIB_LDFLAGS} ${GPGME_LDFLAGS} ${REDIS_LDFLAGS} ${LINKER_HARDENING_FLAGS})
484 - endif (MINGW)
485 - endif (BUILD_SHARED)
486 -
487 -@@ -102,10 +102,10 @@
488 -
489 - # Link the test-hosts executable
490 - # TODO: This is currently only built for BUILD_SHARED
491 --if (BUILD_SHARED)
492 -- add_executable (test-hosts test-hosts.c)
493 -- target_link_libraries (test-hosts openvas_base_shared ${GLIB_LDFLAGS} ${REDIS_LDFLAGS})
494 --endif (BUILD_SHARED)
495 -+#if (BUILD_SHARED)
496 -+# add_executable (test-hosts test-hosts.c)
497 -+# target_link_libraries (test-hosts openvas_base_shared ${GLIB_LDFLAGS} ${REDIS_LDFLAGS})
498 -+#endif (BUILD_SHARED)
499 -
500 - ## Install
501 - if (BUILD_STATIC)
502 -@@ -123,3 +123,4 @@
503 - endif (BUILD_SHARED)
504 -
505 - ## End
506 -+
507 ---- gvm-libs-9.0.3/misc/CMakeLists.txt 2019-02-04 15:11:20.847707368 +0300
508 -+++ gvm-libs-9.0.3/misc/CMakeLists.txt 2019-02-04 15:49:34.035071570 +0300
509 -@@ -146,7 +146,7 @@
510 - else (MINGW)
511 - target_link_libraries (openvas_misc_shared LINK_PRIVATE ${GNUTLS_LDFLAGS} openvas_base_shared ${UUID_LDFLAGS}
512 - ${GLIB_LDFLAGS} ${PCAP_LDFLAGS} ${LIBSSH_LDFLAGS} ${LDAP_LDFLAGS}
513 -- ${GCRYPT_LDFLAGS} ${RADIUS_LDFLAGS}
514 -+ ${REDIS_LDFLAGS} ${GCRYPT_LDFLAGS} ${RADIUS_LDFLAGS}
515 - ${LINKER_HARDENING_FLAGS})
516 - endif (MINGW)
517 - endif (BUILD_SHARED)
518 -@@ -198,3 +198,4 @@
519 - ARCHIVE DESTINATION ${LIBDIR}
520 - PUBLIC_HEADER DESTINATION "${INCLUDEDIR}/openvas/misc")
521 - endif (BUILD_SHARED)
522 -+
523
524 diff --git a/net-analyzer/openvas-libraries/metadata.xml b/net-analyzer/openvas-libraries/metadata.xml
525 deleted file mode 100644
526 index c71bb473eca..00000000000
527 --- a/net-analyzer/openvas-libraries/metadata.xml
528 +++ /dev/null
529 @@ -1,17 +0,0 @@
530 -<?xml version="1.0" encoding="UTF-8"?>
531 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
532 -<pkgmetadata>
533 - <maintainer type="person">
534 - <email>hasan.calisir@×××××××.com</email>
535 - <name>Hasan ÇALIŞIR</name>
536 - </maintainer>
537 - <maintainer type="project">
538 - <email>proxy-maint@g.o</email>
539 - <name>Proxy Maintainers</name>
540 - </maintainer>
541 - <use>
542 - <flag name="extras">Html docs support</flag>
543 - <flag name="ldap">Enable support for ldap</flag>
544 - <flag name="radius">Enable support for radius</flag>
545 - </use>
546 -</pkgmetadata>
547
548 diff --git a/net-analyzer/openvas-libraries/openvas-libraries-9.0.3-r1.ebuild b/net-analyzer/openvas-libraries/openvas-libraries-9.0.3-r1.ebuild
549 deleted file mode 100644
550 index 8f1d7043fc1..00000000000
551 --- a/net-analyzer/openvas-libraries/openvas-libraries-9.0.3-r1.ebuild
552 +++ /dev/null
553 @@ -1,94 +0,0 @@
554 -# Copyright 1999-2019 Gentoo Authors
555 -# Distributed under the terms of the GNU General Public License v2
556 -
557 -EAPI=7
558 -
559 -CMAKE_MAKEFILE_GENERATOR="emake"
560 -inherit cmake-utils
561 -MY_PN="gvm-libs"
562 -
563 -DESCRIPTION="A remote security scanner for Linux (openvas-libraries)"
564 -HOMEPAGE="http://www.openvas.org/"
565 -SRC_URI="https://github.com/greenbone/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
566 -
567 -SLOT="0"
568 -LICENSE="GPL-2"
569 -KEYWORDS="~amd64 ~x86"
570 -IUSE="extras ldap radius"
571 -
572 -DEPEND="
573 - app-crypt/gpgme:=
574 - dev-libs/hiredis
575 - dev-libs/libgcrypt:0=
576 - dev-libs/libksba
577 - dev-perl/UUID
578 - net-analyzer/net-snmp
579 - net-libs/gnutls:=[tools]
580 - net-libs/libpcap
581 - net-libs/libssh:=
582 - sys-libs/zlib
583 - extras? ( dev-perl/CGI )
584 - ldap? ( net-nds/openldap )
585 - radius? ( net-dialup/freeradius-client )"
586 -
587 -RDEPEND="
588 - ${DEPEND}"
589 -
590 -BDEPEND="
591 - sys-devel/bison
592 - sys-devel/flex
593 - virtual/pkgconfig
594 - extras? ( app-doc/doxygen[dot]
595 - app-doc/xmltoman
596 - app-text/htmldoc
597 - dev-perl/SQL-Translator
598 - )"
599 -
600 -PATCHES=(
601 - "${FILESDIR}/${P}-gcc8.patch"
602 - "${FILESDIR}/${P}-netsnmp.patch"
603 - "${FILESDIR}/${P}-cachedir.patch"
604 - "${FILESDIR}/${P}-rundir.patch"
605 - "${FILESDIR}/${P}-underlinking.patch"
606 - "${FILESDIR}/${P}-rpath.patch"
607 -)
608 -
609 -BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build"
610 -S="${WORKDIR}/${MY_PN}-${PV}"
611 -
612 -src_prepare() {
613 - cmake-utils_src_prepare
614 - if use extras; then
615 - doxygen -u "$S"/doc/Doxyfile_full.in || die
616 - fi
617 -}
618 -
619 -src_configure() {
620 - local mycmakeargs=(
621 - "-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
622 - "-DLOCALSTATEDIR=${EPREFIX}/var"
623 - "-DSYSCONFDIR=${EPREFIX}/etc"
624 - $(usex ldap -DBUILD_WITHOUT_LDAP=0 -DBUILD_WITHOUT_LDAP=1)
625 - $(usex radius -DBUILD_WITHOUT_RADIUS=0 -DBUILD_WITHOUT_RADIUS=1)
626 - )
627 - cmake-utils_src_configure
628 -}
629 -
630 -src_compile() {
631 - cmake-utils_src_compile
632 - if use extras; then
633 - cmake-utils_src_make -C "${BUILD_DIR}" doc
634 - cmake-utils_src_make doc-full -C "${BUILD_DIR}" doc
635 - HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
636 - fi
637 -}
638 -
639 -src_install() {
640 - cmake-utils_src_install
641 -
642 - insinto /usr/share/openvas
643 - doins "${FILESDIR}"/OPENVAS.gentoo
644 -
645 - keepdir /var/lib/openvas/gnupg
646 - keepdir /var/log/openvas
647 -}
648
649 diff --git a/net-analyzer/openvas-tools/Manifest b/net-analyzer/openvas-tools/Manifest
650 deleted file mode 100644
651 index dcafeba511e..00000000000
652 --- a/net-analyzer/openvas-tools/Manifest
653 +++ /dev/null
654 @@ -1 +0,0 @@
655 -DIST openvas-tools-0_pre20512.tar.xz 46100 BLAKE2B 4d497ef59620818c872756b9b251fa813b255d172e0e9968a130700f7851342b7a238790637e3fe93d93b664e2cc01af28d55c006ae38a64480be26fd4f824eb SHA512 ab524c18a9c9cbfbc742d19c55c7eacc99c39d9209d3f915a6e0070c662f9761cc55b1166dfb48cdaab2607a07ea0640ff9f0a3d48a364409e516a3142f96cbb
656
657 diff --git a/net-analyzer/openvas-tools/metadata.xml b/net-analyzer/openvas-tools/metadata.xml
658 deleted file mode 100644
659 index 6f49eba8f49..00000000000
660 --- a/net-analyzer/openvas-tools/metadata.xml
661 +++ /dev/null
662 @@ -1,5 +0,0 @@
663 -<?xml version="1.0" encoding="UTF-8"?>
664 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
665 -<pkgmetadata>
666 -<!-- maintainer-needed -->
667 -</pkgmetadata>
668
669 diff --git a/net-analyzer/openvas-tools/openvas-tools-0_pre20512.ebuild b/net-analyzer/openvas-tools/openvas-tools-0_pre20512.ebuild
670 deleted file mode 100644
671 index 48c6d833eac..00000000000
672 --- a/net-analyzer/openvas-tools/openvas-tools-0_pre20512.ebuild
673 +++ /dev/null
674 @@ -1,27 +0,0 @@
675 -# Copyright 1999-2014 Gentoo Foundation
676 -# Distributed under the terms of the GNU General Public License v2
677 -
678 -EAPI=5
679 -
680 -inherit multilib
681 -
682 -DESCRIPTION="A remote security scanner for Linux (extra tools)"
683 -HOMEPAGE="http://www.openvas.org/"
684 -SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
685 -
686 -SLOT="0"
687 -LICENSE="GPL-2"
688 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
689 -IUSE=""
690 -
691 -S="${WORKDIR}"/tools
692 -
693 -src_install() {
694 - insinto /usr/$(get_libdir)/nagios/plugins/
695 - doins nagios/*
696 -
697 - dosbin openvas-check-setup
698 -
699 - insinto /usr/share/vim/vimfiles/syntax
700 - doins nasl.vim
701 -}
702
703 diff --git a/net-analyzer/openvas/metadata.xml b/net-analyzer/openvas/metadata.xml
704 deleted file mode 100644
705 index a2806dd34dc..00000000000
706 --- a/net-analyzer/openvas/metadata.xml
707 +++ /dev/null
708 @@ -1,20 +0,0 @@
709 -<?xml version="1.0" encoding="UTF-8"?>
710 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
711 -<pkgmetadata>
712 - <maintainer type="person">
713 - <email>hasan.calisir@×××××××.com</email>
714 - <name>Hasan ÇALIŞIR</name>
715 - </maintainer>
716 - <maintainer type="project">
717 - <email>proxy-maint@g.o</email>
718 - <name>Proxy Maintainers</name>
719 - </maintainer>
720 - <use>
721 - <flag name="extras">Extra fonts, pdf results and html docs support</flag>
722 - <flag name="cli">Command Line Interface for OpenVAS Scanner throught <pkg>net-analyzer/gvm-tools</pkg></flag>
723 - <flag name="gsa">Greenbone Security Assistant (WebUI) through <pkg>net-analyzer/greenbone-security-assistant</pkg></flag>
724 - <flag name="ospd">Enable support for scanner wrappers through <pkg>net-analyzer/ospd</pkg></flag>
725 - <flag name="ldap">Enable support for ldap through <pkg>net-nds/openldap</pkg></flag>
726 - <flag name="radius">Enable support for radius through <pkg>net-dialup/freeradius-client</pkg></flag>
727 - </use>
728 -</pkgmetadata>
729
730 diff --git a/net-analyzer/openvas/openvas-9.0.0.ebuild b/net-analyzer/openvas/openvas-9.0.0.ebuild
731 deleted file mode 100644
732 index b9d86a8e6da..00000000000
733 --- a/net-analyzer/openvas/openvas-9.0.0.ebuild
734 +++ /dev/null
735 @@ -1,38 +0,0 @@
736 -# Copyright 1999-2019 Gentoo Authors
737 -# Distributed under the terms of the GNU General Public License v2
738 -
739 -EAPI=7
740 -
741 -inherit eutils
742 -
743 -DESCRIPTION="A remote security scanner"
744 -HOMEPAGE="http://www.openvas.org/"
745 -
746 -SLOT="0"
747 -LICENSE="GPL-2"
748 -KEYWORDS="~amd64 ~x86"
749 -IUSE="+cli +extras +gsa ldap +ospd radius"
750 -
751 -RDEPEND="
752 - >=net-analyzer/openvas-libraries-9.0.3[extras?]
753 - >=net-analyzer/openvas-manager-7.0.3[extras?]
754 - ~net-analyzer/openvas-scanner-5.1.3[extras?]
755 - cli? ( >=net-analyzer/gvm-tools-1.4.1 )
756 - gsa? ( ~net-analyzer/greenbone-security-assistant-7.0.3[extras?] )
757 - ldap? ( >=net-analyzer/openvas-libraries-9.0.3[ldap] )
758 - ospd? ( >=net-analyzer/ospd-1.3.2[extras?] )
759 - radius? ( >=net-analyzer/openvas-libraries-9.0.3[radius] )"
760 -
761 -pkg_postinst() {
762 - elog "----------------------------IMPORTANT----------------------------"
763 - elog " Please read important notes > /usr/share/openvas/OPENVAS.gentoo "
764 - elog "-----------------------------------------------------------------"
765 - elog "Additional support for extra checks can be get from"
766 - optfeature "Web server scanning and testing tool" net-analyzer/nikto
767 - optfeature "Portscanner" net-analyzer/nmap
768 - optfeature "IPsec VPN scanning, fingerprinting and testing tool" net-analyzer/ike-scan
769 - optfeature "Application protocol detection tool" net-analyzer/amap
770 - optfeature "ovaldi (OVAL) — an OVAL Interpreter" app-forensics/ovaldi
771 - optfeature "Linux-kernel-based portscanner" net-analyzer/portbunny
772 - optfeature "Web application attack and audit framework" net-analyzer/w3af
773 -}
774
775 diff --git a/profiles/package.mask b/profiles/package.mask
776 index 08062ea120e..11ba4e05cd1 100644
777 --- a/profiles/package.mask
778 +++ b/profiles/package.mask
779 @@ -365,17 +365,6 @@ dev-ada/gps-bin
780 dev-embedded/gnap-dev
781 dev-embedded/gnap-ext
782
783 -# Hasan ÇALIŞIR <hasan.calisir@×××××××.com> (2019-10-28)
784 -# OpenVAS project name has been renamed in
785 -# Greenbone Vulnerability Management (GVM).
786 -# New loader package is net-analyzer/gvm.
787 -# Masked for removal in 30 days. Bugs #692004 #692076
788 -net-analyzer/openvas
789 -<=net-analyzer/openvas-libraries-8.0.0
790 -net-analyzer/openvas-cli
791 -net-analyzer/openvas-tools
792 -dev-ruby/openvas-omp
793 -
794 # Hans de Graaff <graaff@g.o> (2019-10-25)
795 # ruby24-only, no longer supported by upstream.
796 # Migrate to Rails 5.2 instead. Masked for removal in 30 days.