1 |
commit: 2d484f2e8283520712c22745c0bab47a946135c8 |
2 |
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com> |
3 |
AuthorDate: Sat Aug 10 13:24:21 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 04:54:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d484f2e |
7 |
|
8 |
net-analyzer/greenbone-security-assistant: drop old 6.0.9 |
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/greenbone-security-assistant/Manifest | 1 - |
15 |
.../greenbone-security-assistant-5.0.3-run.patch | 16 ------ |
16 |
.../greenbone-security-assistant/files/gsad | 22 -------- |
17 |
.../files/gsad-daemon.conf | 14 ----- |
18 |
.../greenbone-security-assistant/files/gsad.init | 13 ----- |
19 |
.../files/gsad.logrotate | 11 ---- |
20 |
.../files/gsad.service | 16 ------ |
21 |
.../files/gsad.tmpfiles.d | 1 - |
22 |
.../greenbone-security-assistant-6.0.9.ebuild | 63 ---------------------- |
23 |
9 files changed, 157 deletions(-) |
24 |
|
25 |
diff --git a/net-analyzer/greenbone-security-assistant/Manifest b/net-analyzer/greenbone-security-assistant/Manifest |
26 |
index 15ef6d5326c..db30d43db81 100644 |
27 |
--- a/net-analyzer/greenbone-security-assistant/Manifest |
28 |
+++ b/net-analyzer/greenbone-security-assistant/Manifest |
29 |
@@ -1,2 +1 @@ |
30 |
-DIST greenbone-security-assistant-6.0.9.tar.gz 1476238 BLAKE2B 3311056256885102518e3b0e3106c23965e5a69ad4cfe13a2b34c68079a916466915b3296c80984656ff8a9f9b0aa35f5256c225250ae549d9727ad61f3a6b2b SHA512 4afb50f044b6853181c3c3e6466e7329915356bbcccecf98b89d9dc39a193392f45850f9073ac055ec826753af78e8a6368e7f9ac52734a3b5e254d124180d68 |
31 |
DIST greenbone-security-assistant-7.0.3.tar.gz 2918954 BLAKE2B 4a6cd5d8378bcbb0a9df6cb5b8f6560060f15d0b0cb53d2c61692cb2bc2cd86af6e9cdeb5040c4d7020c3b016779a76ec517d54614388c62aaedd596f55fa3c4 SHA512 7e1c1ef939ba08dab3b78baf1aa9c110be2febfbed5d67eefe8110c60f5089a1af44bc26693657226f417c6bd516a4a656eb159dae2a78f878e1a1b6c222b117 |
32 |
|
33 |
diff --git a/net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-5.0.3-run.patch b/net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-5.0.3-run.patch |
34 |
deleted file mode 100644 |
35 |
index ec5ee92fd73..00000000000 |
36 |
--- a/net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-5.0.3-run.patch |
37 |
+++ /dev/null |
38 |
@@ -1,16 +0,0 @@ |
39 |
- CMakeLists.txt | 2 +- |
40 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
41 |
- |
42 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
43 |
-index 67cf344..c15f785 100644 |
44 |
---- a/CMakeLists.txt |
45 |
-+++ b/CMakeLists.txt |
46 |
-@@ -272,7 +272,7 @@ endif (NOT DATADIR) |
47 |
- |
48 |
- set (OPENVAS_STATE_DIR "${LOCALSTATEDIR}/lib/openvas") |
49 |
- set (OPENVAS_LOG_DIR "${LOCALSTATEDIR}/log/openvas") |
50 |
--set (GSAD_PID_DIR "${LOCALSTATEDIR}/run") |
51 |
-+set (GSAD_PID_DIR "/run") |
52 |
- set (GSA_DATA_DIR "${DATADIR}/openvas/gsa") |
53 |
- |
54 |
- # TODO: Eventually use own certificates |
55 |
|
56 |
diff --git a/net-analyzer/greenbone-security-assistant/files/gsad b/net-analyzer/greenbone-security-assistant/files/gsad |
57 |
deleted file mode 100644 |
58 |
index f5d76179a55..00000000000 |
59 |
--- a/net-analyzer/greenbone-security-assistant/files/gsad |
60 |
+++ /dev/null |
61 |
@@ -1,22 +0,0 @@ |
62 |
-#!/sbin/openrc-run |
63 |
-# Copyright 1999-2012 Gentoo Foundation |
64 |
-# Distributed under the terms of the GNU General Public License v2 |
65 |
- |
66 |
-depend() { |
67 |
- need net |
68 |
-} |
69 |
- |
70 |
-start() { |
71 |
- ebegin "Starting Greenbone Security Assistant Daemon" |
72 |
- start-stop-daemon --start --name gsad \ |
73 |
- --exec /usr/sbin/gsad \ |
74 |
- --pidfile /var/run/gsad.pid |
75 |
- eend $? |
76 |
-} |
77 |
- |
78 |
-stop() { |
79 |
- ebegin "Stop openvassd" |
80 |
- start-stop-daemon --stop --name gsad \ |
81 |
- --pidfile /var/run/gsad.pid |
82 |
- eend $? |
83 |
-} |
84 |
|
85 |
diff --git a/net-analyzer/greenbone-security-assistant/files/gsad-daemon.conf b/net-analyzer/greenbone-security-assistant/files/gsad-daemon.conf |
86 |
deleted file mode 100644 |
87 |
index 0de53063512..00000000000 |
88 |
--- a/net-analyzer/greenbone-security-assistant/files/gsad-daemon.conf |
89 |
+++ /dev/null |
90 |
@@ -1,14 +0,0 @@ |
91 |
-#Listen on given address - by default assistant listens on all addresses |
92 |
-# ASSISTANT_LISTEN=--listen=127.0.0.1 |
93 |
- |
94 |
-#Listen on given port - by default 9391 |
95 |
-#ASSISTANT_PORT=--port=9392 |
96 |
- |
97 |
-#Contact manager on given address |
98 |
-#MANAGER_LISTEN=--mlisten=127.0.0.1 |
99 |
- |
100 |
-#Manager listens on given port - by default 9390 |
101 |
-#MANAGER_PORT=--mport=9390 |
102 |
- |
103 |
-# Additional arguments |
104 |
-# ASSISTANT_EXTRA_ARGS="" |
105 |
|
106 |
diff --git a/net-analyzer/greenbone-security-assistant/files/gsad.init b/net-analyzer/greenbone-security-assistant/files/gsad.init |
107 |
deleted file mode 100644 |
108 |
index df69f2fb7f8..00000000000 |
109 |
--- a/net-analyzer/greenbone-security-assistant/files/gsad.init |
110 |
+++ /dev/null |
111 |
@@ -1,13 +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="Greenbone Security Assistant Daemon" |
117 |
-command="/usr/sbin/gsad" |
118 |
-command_args="${ASSISTANT_LISTEN} ${ASSISTANT_PORT} ${MANAGER_LISTEN} ${MANAGER_PORT} ${ASSISTANT_EXTRA_ARGS}" |
119 |
-pidfile="/run/gsad.pid" |
120 |
- |
121 |
-depend() { |
122 |
- after bootmisc |
123 |
- need localmount net openvasmd |
124 |
-} |
125 |
|
126 |
diff --git a/net-analyzer/greenbone-security-assistant/files/gsad.logrotate b/net-analyzer/greenbone-security-assistant/files/gsad.logrotate |
127 |
deleted file mode 100644 |
128 |
index f0948cbea1f..00000000000 |
129 |
--- a/net-analyzer/greenbone-security-assistant/files/gsad.logrotate |
130 |
+++ /dev/null |
131 |
@@ -1,11 +0,0 @@ |
132 |
-# logrotate for openvas |
133 |
-/var/log/openvas/gsad.log { |
134 |
- rotate 4 |
135 |
- weekly |
136 |
- compress |
137 |
- delaycompress |
138 |
- missingok |
139 |
- postrotate |
140 |
- /bin/kill -HUP `pidof gsad` |
141 |
- endscript |
142 |
-} |
143 |
|
144 |
diff --git a/net-analyzer/greenbone-security-assistant/files/gsad.service b/net-analyzer/greenbone-security-assistant/files/gsad.service |
145 |
deleted file mode 100644 |
146 |
index 8825f52f094..00000000000 |
147 |
--- a/net-analyzer/greenbone-security-assistant/files/gsad.service |
148 |
+++ /dev/null |
149 |
@@ -1,16 +0,0 @@ |
150 |
-[Unit] |
151 |
-Description=Greenbone Security Assistant Daemon |
152 |
-After=network.target |
153 |
-Before=openvasmd.service |
154 |
- |
155 |
-[Service] |
156 |
-EnvironmentFile=-/etc/openvas/gsad-daemon.conf |
157 |
-ExecStart=/usr/sbin/gsad -f ${ASSISTANT_LISTEN} ${ASSISTANT_PORT} ${MANAGER_LISTEN} ${MANAGER_PORT} ${ASSISTANT_EXTRA_ARGS} |
158 |
-Restart=always |
159 |
-RestartSec=1 |
160 |
-User=root |
161 |
-Group=root |
162 |
-TimeoutSec=1200 |
163 |
- |
164 |
-[Install] |
165 |
-WantedBy=multi-user.target |
166 |
|
167 |
diff --git a/net-analyzer/greenbone-security-assistant/files/gsad.tmpfiles.d b/net-analyzer/greenbone-security-assistant/files/gsad.tmpfiles.d |
168 |
deleted file mode 100644 |
169 |
index 18e820caec1..00000000000 |
170 |
--- a/net-analyzer/greenbone-security-assistant/files/gsad.tmpfiles.d |
171 |
+++ /dev/null |
172 |
@@ -1 +0,0 @@ |
173 |
-d /var/cache/openvassd 0775 |
174 |
|
175 |
diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.9.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.9.ebuild |
176 |
deleted file mode 100644 |
177 |
index e65316ebf6f..00000000000 |
178 |
--- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.9.ebuild |
179 |
+++ /dev/null |
180 |
@@ -1,63 +0,0 @@ |
181 |
-# Copyright 1999-2016 Gentoo Foundation |
182 |
-# Distributed under the terms of the GNU General Public License v2 |
183 |
- |
184 |
-EAPI=5 |
185 |
- |
186 |
-inherit cmake-utils systemd |
187 |
- |
188 |
-MY_PN=gsad |
189 |
- |
190 |
-DL_ID=2287 |
191 |
- |
192 |
-DESCRIPTION="Greenbone Security Assistant for openvas" |
193 |
-HOMEPAGE="http://www.openvas.org/" |
194 |
-SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz" |
195 |
- |
196 |
-SLOT="0" |
197 |
-LICENSE="GPL-2+ BSD MIT" |
198 |
-KEYWORDS=" ~amd64 ~arm ~ppc ~x86" |
199 |
-IUSE="" |
200 |
- |
201 |
-RDEPEND=" |
202 |
- dev-libs/libgcrypt:0 |
203 |
- dev-libs/libxslt |
204 |
- >=net-analyzer/openvas-libraries-8.0.3 |
205 |
- net-libs/libmicrohttpd[messages]" |
206 |
-DEPEND="${RDEPEND} |
207 |
- virtual/pkgconfig" |
208 |
- |
209 |
-PATCHES=( |
210 |
- "${FILESDIR}"/${PN}-5.0.3-run.patch |
211 |
- ) |
212 |
- |
213 |
-S="${WORKDIR}"/${P} |
214 |
- |
215 |
-src_prepare() { |
216 |
- sed \ |
217 |
- -e '/^install.*OPENVAS_CACHE_DIR.*/d' \ |
218 |
- -i CMakeLists.txt || die |
219 |
- cmake-utils_src_prepare |
220 |
-} |
221 |
- |
222 |
-src_configure() { |
223 |
- local mycmakeargs=( |
224 |
- -DLOCALSTATEDIR="${EPREFIX}/var" |
225 |
- -DSYSCONFDIR="${EPREFIX}/etc" |
226 |
- ) |
227 |
- cmake-utils_src_configure |
228 |
-} |
229 |
- |
230 |
-src_install() { |
231 |
- cmake-utils_src_install |
232 |
- newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} |
233 |
- |
234 |
- insinto /etc/openvas |
235 |
- doins "${FILESDIR}"/${MY_PN}-daemon.conf |
236 |
- dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${MY_PN} |
237 |
- |
238 |
- insinto /etc/logrotate.d |
239 |
- doins "${FILESDIR}"/${MY_PN}.logrotate |
240 |
- |
241 |
- systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf |
242 |
- systemd_dounit "${FILESDIR}"/${MY_PN}.service |
243 |
-} |