1 |
commit: 8e5c94824fa60c35210047f4ec091ff6bb595a10 |
2 |
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com> |
3 |
AuthorDate: Sat Aug 10 13:54:19 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 04:54:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5c9482 |
7 |
|
8 |
net-analyzer/openvas-manager: drop old 6.0.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/openvas-manager/Manifest | 1 - |
15 |
.../files/openvas-manager-6.0.1-bsdsource.patch | 16 ------ |
16 |
net-analyzer/openvas-manager/files/openvasmd | 22 -------- |
17 |
.../openvas-manager/files/openvasmd-daemon.conf | 15 ----- |
18 |
net-analyzer/openvas-manager/files/openvasmd.init | 17 ------ |
19 |
.../openvas-manager/files/openvasmd.logrotate | 11 ---- |
20 |
.../openvas-manager/files/openvasmd.service | 16 ------ |
21 |
.../openvas-manager-6.0.6-r2.ebuild | 64 ---------------------- |
22 |
8 files changed, 162 deletions(-) |
23 |
|
24 |
diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest |
25 |
index c43ad507461..879c7dcd3c6 100644 |
26 |
--- a/net-analyzer/openvas-manager/Manifest |
27 |
+++ b/net-analyzer/openvas-manager/Manifest |
28 |
@@ -1,2 +1 @@ |
29 |
-DIST openvas-manager-6.0.6.tar.gz 1928570 BLAKE2B 6a94dfcfb99404f6b274faf0ac3c8ca1a3d65c9feb9bc8d11818e2c23e6d73a74d619519ed30eb42e74a686ffe43eeb6016ab1065cdecbc8f83ccd34257b5185 SHA512 4c4ae0ac35d6fc6820b47da6e5e6aae1b4d14c771791b7ae2e35123d8117319f05c7619de665b96de9d92fb59e417311656d3460dff992d3ce4db217731c5900 |
30 |
DIST openvas-manager-7.0.3.tar.gz 1796830 BLAKE2B b1e8bf8eb4cc0e2d3e5d67d7c17df3c79c7d65e798fc28f75ee55c2165a5e957ac950ccac14a20a5b332c15b64775f63805db00810271bce77d13b16db60a3ab SHA512 75e519e5f63fad043efe55ad5843934f9ffaefa052609e8d110b2084504a7658b5ee5797f7ffaa71592caed64b7fd4fac623bc7797bec72a51e8225d65f7fc28 |
31 |
|
32 |
diff --git a/net-analyzer/openvas-manager/files/openvas-manager-6.0.1-bsdsource.patch b/net-analyzer/openvas-manager/files/openvas-manager-6.0.1-bsdsource.patch |
33 |
deleted file mode 100644 |
34 |
index 01188097914..00000000000 |
35 |
--- a/net-analyzer/openvas-manager/files/openvas-manager-6.0.1-bsdsource.patch |
36 |
+++ /dev/null |
37 |
@@ -1,16 +0,0 @@ |
38 |
- CMakeLists.txt | 2 +- |
39 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
40 |
- |
41 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
42 |
-index 4eb89a0..7ccfc5a 100644 |
43 |
---- a/CMakeLists.txt |
44 |
-+++ b/CMakeLists.txt |
45 |
-@@ -338,7 +338,7 @@ configure_file (tools/openvas-migrate-to-postgres.in tools/openvas-migrate-to-po |
46 |
- set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") |
47 |
- |
48 |
- set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror") |
49 |
--set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64") |
50 |
-+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_DEFAULT_SOURCE -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64") |
51 |
- |
52 |
- add_subdirectory (src) |
53 |
- |
54 |
|
55 |
diff --git a/net-analyzer/openvas-manager/files/openvasmd b/net-analyzer/openvas-manager/files/openvasmd |
56 |
deleted file mode 100644 |
57 |
index 4dce1ce4922..00000000000 |
58 |
--- a/net-analyzer/openvas-manager/files/openvasmd |
59 |
+++ /dev/null |
60 |
@@ -1,22 +0,0 @@ |
61 |
-#!/sbin/openrc-run |
62 |
-# Copyright 1999-2011 Gentoo Foundation |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
- |
65 |
-depend() { |
66 |
- need net openvassd |
67 |
-} |
68 |
- |
69 |
-start() { |
70 |
- ebegin "Starting openvasmd (manager)" |
71 |
- start-stop-daemon --start --name openvasmd \ |
72 |
- --exec /usr/sbin/openvasmd \ |
73 |
- --pidfile /var/run/openvasmd.pid |
74 |
- eend $? |
75 |
-} |
76 |
- |
77 |
-stop() { |
78 |
- ebegin "Stop openvasmd" |
79 |
- start-stop-daemon --stop --name openvasmd \ |
80 |
- --pidfile /var/run/openvasmd.pid |
81 |
- eend $? |
82 |
-} |
83 |
|
84 |
diff --git a/net-analyzer/openvas-manager/files/openvasmd-daemon.conf b/net-analyzer/openvas-manager/files/openvasmd-daemon.conf |
85 |
deleted file mode 100644 |
86 |
index 2393c83f04b..00000000000 |
87 |
--- a/net-analyzer/openvas-manager/files/openvasmd-daemon.conf |
88 |
+++ /dev/null |
89 |
@@ -1,15 +0,0 @@ |
90 |
-#Manager listens on given address - by default manager listens on all addresses |
91 |
-#MANAGER_LISTEN=--listen=127.0.0.1 |
92 |
- |
93 |
-#Manager listens on given port - by default 9390 |
94 |
-MANAGER_PORT=--port=9390 |
95 |
- |
96 |
-MANAGER_EXTRA_ARGS="" |
97 |
- |
98 |
-#Contact scanner on given address |
99 |
-SCANNER_LISTEN="--scanner-host=127.0.0.1" |
100 |
- |
101 |
-#Scanner listens on given port - by default 9391 |
102 |
-SCANNER_PORT="--scanner-port=9391" |
103 |
- |
104 |
- |
105 |
|
106 |
diff --git a/net-analyzer/openvas-manager/files/openvasmd.init b/net-analyzer/openvas-manager/files/openvasmd.init |
107 |
deleted file mode 100644 |
108 |
index d30b8befdd0..00000000000 |
109 |
--- a/net-analyzer/openvas-manager/files/openvasmd.init |
110 |
+++ /dev/null |
111 |
@@ -1,17 +0,0 @@ |
112 |
-#!/sbin/openrc-run |
113 |
-# Copyright 1999-2014 Gentoo Foundation |
114 |
-# Distributed under the terms of the GNU General Public License v2 |
115 |
- |
116 |
-name="OpenVAS Manager" |
117 |
-command=/usr/sbin/openvasmd |
118 |
-command_args="${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS}" |
119 |
-pidfile="/run/openvasmd.pid" |
120 |
- |
121 |
-depend() { |
122 |
- after bootmisc |
123 |
- need localmount net openvassd |
124 |
-} |
125 |
- |
126 |
-start_pre() { |
127 |
- checkpath --directory --mode 0775 --quiet /var/cache/openvas |
128 |
-} |
129 |
|
130 |
diff --git a/net-analyzer/openvas-manager/files/openvasmd.logrotate b/net-analyzer/openvas-manager/files/openvasmd.logrotate |
131 |
deleted file mode 100644 |
132 |
index c302b5f34ea..00000000000 |
133 |
--- a/net-analyzer/openvas-manager/files/openvasmd.logrotate |
134 |
+++ /dev/null |
135 |
@@ -1,11 +0,0 @@ |
136 |
-# logrotate for openvas-manager |
137 |
-/var/log/openvas/openvasmd.log { |
138 |
- rotate 4 |
139 |
- weekly |
140 |
- compress |
141 |
- delaycompress |
142 |
- missingok |
143 |
- postrotate |
144 |
- /bin/kill -HUP `pidof openvasmd` |
145 |
- endscript |
146 |
-} |
147 |
|
148 |
diff --git a/net-analyzer/openvas-manager/files/openvasmd.service b/net-analyzer/openvas-manager/files/openvasmd.service |
149 |
deleted file mode 100644 |
150 |
index 91edb0087bc..00000000000 |
151 |
--- a/net-analyzer/openvas-manager/files/openvasmd.service |
152 |
+++ /dev/null |
153 |
@@ -1,16 +0,0 @@ |
154 |
-[Unit] |
155 |
-Description=OpenVAS Manager |
156 |
-After=network.target |
157 |
-After=openvassd.service |
158 |
- |
159 |
-[Service] |
160 |
-EnvironmentFile=-/etc/openvas/openvasmd.conf |
161 |
-ExecStart=/usr/sbin/openvasmd -f ${MANAGER_LISTEN} ${MANAGER_PORT} ${SCANNER_LISTEN} ${SCANNER_PORT} ${MANAGER_EXTRA_ARGS} |
162 |
-Restart=always |
163 |
-RestartSec=1 |
164 |
-User=root |
165 |
-Group=root |
166 |
-TimeoutSec=1200 |
167 |
- |
168 |
-[Install] |
169 |
-WantedBy=multi-user.target |
170 |
|
171 |
diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild |
172 |
deleted file mode 100644 |
173 |
index 64a15155311..00000000000 |
174 |
--- a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild |
175 |
+++ /dev/null |
176 |
@@ -1,64 +0,0 @@ |
177 |
-# Copyright 1999-2018 Gentoo Authors |
178 |
-# Distributed under the terms of the GNU General Public License v2 |
179 |
- |
180 |
-EAPI=7 |
181 |
- |
182 |
-DL_ID=2195 |
183 |
-MY_PN=openvasmd |
184 |
-inherit cmake-utils systemd |
185 |
- |
186 |
-DESCRIPTION="A remote security scanner for Linux (openvas-manager)" |
187 |
-HOMEPAGE="http://www.openvas.org/" |
188 |
-SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz" |
189 |
- |
190 |
-SLOT="0" |
191 |
-LICENSE="GPL-2" |
192 |
-KEYWORDS="~amd64 ~arm ~ppc ~x86" |
193 |
-IUSE="" |
194 |
- |
195 |
-DEPEND=" |
196 |
- dev-db/redis |
197 |
- >=dev-db/sqlite-3 |
198 |
- >=net-analyzer/openvas-libraries-8.0.5 |
199 |
-" |
200 |
-RDEPEND="${DEPEND} |
201 |
- !net-analyzer/openvas-administrator |
202 |
-" |
203 |
-BDEPEND=" |
204 |
- virtual/pkgconfig |
205 |
-" |
206 |
- |
207 |
-S="${WORKDIR}"/${P} |
208 |
- |
209 |
-PATCHES=( |
210 |
- "${FILESDIR}"/${PN}-6.0.1-bsdsource.patch |
211 |
-) |
212 |
- |
213 |
-src_prepare() { |
214 |
- cmake-utils_src_prepare |
215 |
- sed \ |
216 |
- -e '/^install.*OPENVAS_CACHE_DIR.*/d' \ |
217 |
- -i CMakeLists.txt || die |
218 |
-} |
219 |
- |
220 |
-src_configure() { |
221 |
- local mycmakeargs=( |
222 |
- -DLOCALSTATEDIR="${EPREFIX}/var" |
223 |
- -DSYSCONFDIR="${EPREFIX}/etc" |
224 |
- ) |
225 |
- cmake-utils_src_configure |
226 |
-} |
227 |
- |
228 |
-src_install() { |
229 |
- cmake-utils_src_install |
230 |
- |
231 |
- insinto /etc/openvas/ |
232 |
- doins "${FILESDIR}"/${MY_PN}-daemon.conf |
233 |
- dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${MY_PN} |
234 |
- |
235 |
- insinto /etc/logrotate.d |
236 |
- newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN} |
237 |
- |
238 |
- newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} |
239 |
- systemd_dounit "${FILESDIR}"/${MY_PN}.service |
240 |
-} |