Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/graylog/
Date: Sat, 08 Jan 2022 17:51:02
Message-Id: 1641664239.ffe1ef6194d1e7e9c23812968034a2111de032d5.juippis@gentoo
1 commit: ffe1ef6194d1e7e9c23812968034a2111de032d5
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 8 15:30:08 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 8 17:50:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe1ef61
7
8 app-admin/graylog: drop EOL/vulnerable
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-admin/graylog/Manifest | 3 --
14 app-admin/graylog/graylog-3.3.16.ebuild | 83 ---------------------------------
15 app-admin/graylog/graylog-4.0.15.ebuild | 79 -------------------------------
16 app-admin/graylog/graylog-4.1.10.ebuild | 58 -----------------------
17 4 files changed, 223 deletions(-)
18
19 diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest
20 index 009ab18ccb78..fd5fed840e9b 100644
21 --- a/app-admin/graylog/Manifest
22 +++ b/app-admin/graylog/Manifest
23 @@ -1,4 +1 @@
24 -DIST graylog-3.3.16.tgz 129430640 BLAKE2B aa50a101c9aec9d0e32fe7dfbc0a1c29a7473658ca881f4977e6cc18c4764dde44991af35c19451e5452c0fd832b098743c01eb460d733ba2b1da7d2c5c42865 SHA512 bd6fcc71ad437293500359563662253ef7a38f5961a4dd8f5bfac67ef38ae7025593a69dd160bd8fe5efb48648125c0d441b2c7533e7432927069d6d68e0a239
25 -DIST graylog-4.0.15.tgz 190661423 BLAKE2B 2c651ba3aa539090cad2c9110b45f1f0faaec30571afa7e225d1c3b3dd3a5379d2cb5176ae708b9d2fb8e1704577966622f0e6fadc5463a152fb93873be31f29 SHA512 a25c1648b7b6237a9cb15801d4ca18a0a2e17c3140684550ffa11bb15e5ab34792a3dbea7241023fcef9aa436670ca9a582f05d1c145ab320006f8686ed6fc1c
26 -DIST graylog-4.1.10.tgz 197206255 BLAKE2B d92891a9d746b39f607ac736e60e8369a5dca59144b096ee12421f5d05d350e8e05cc3d73d90bf4dc045b2b76273d8ad67c85cb8f5436b1e1c4ae1af3907525d SHA512 2a7e0c7ffaa2f2508f087c807d9b248346ecb399b824410090ea7c59a6341e02a7bfedf6b4956e1def721535857de18e379673202f722384451653dd12e7bf3e
27 DIST graylog-4.1.11.tgz 197190151 BLAKE2B 10e8006c967861aec826768ada2c965729e992eba3701e1475ad68aec5c31ce35c0bbb41ffa8f4a0735cdeb85c8502d462f9925918d568ccbc669e935bc31de4 SHA512 4f903ec470d60836be720f59c24b8454d0689b961af84623eaeb061d4e719cfc4fc0bcfde7074de8e6a3c6d1e3f608cdc6713b50f2d9031d298660c08cf4e219
28
29 diff --git a/app-admin/graylog/graylog-3.3.16.ebuild b/app-admin/graylog/graylog-3.3.16.ebuild
30 deleted file mode 100644
31 index bf3420b1de92..000000000000
32 --- a/app-admin/graylog/graylog-3.3.16.ebuild
33 +++ /dev/null
34 @@ -1,83 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -DESCRIPTION="Free and open source log management"
41 -HOMEPAGE="https://www.graylog.org"
42 -SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
43 -
44 -LICENSE="GPL-3"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~ppc64 ~x86"
47 -RESTRICT="strip"
48 -
49 -RDEPEND="!app-admin/graylog2
50 - acct-group/graylog
51 - acct-user/graylog
52 - >=virtual/jdk-1.8:*"
53 -
54 -DOCS=(
55 - COPYING README.markdown UPGRADING.rst
56 -)
57 -
58 -GRAYLOG_DATA_DIR="/var/lib/graylog"
59 -GRAYLOG_INSTALL_DIR="/usr/share/graylog"
60 -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
61 -
62 -src_prepare() {
63 - default
64 -
65 - # Stick to architecture of build host
66 - if ! use amd64; then
67 - rm -r lib/sigar/libsigar-amd64-*.so || die "Failed in removing AMD64 support libraries"
68 - fi
69 - if ! use ppc64; then
70 - rm -r lib/sigar/libsigar-ppc64-*.so || die "Failed in removing PPC64 support libraries"
71 - fi
72 - if ! use x86; then
73 - rm -r lib/sigar/libsigar-x86-*.so || die "Failed in removing X86 support libraries"
74 - fi
75 - # Currently unsupported platforms
76 - # QA warning galore but testing/patches welcome
77 - rm lib/sigar/libsigar-*freebsd*so \
78 - lib/sigar/libsigar-*solaris*so \
79 - lib/sigar/libsigar-*hpux*.sl \
80 - lib/sigar/libsigar-*macosx*.dylib \
81 - lib/sigar/libsigar-ia64-*.so \
82 - lib/sigar/libsigar-ppc-*.so \
83 - lib/sigar/libsigar-s390x*.so \
84 - lib/sigar/*winnt* || die "Failed in removing unsupported platform libraries"
85 -
86 - # gentoo specific paths
87 - sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
88 - s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
89 - graylog.conf.example || die
90 -}
91 -
92 -src_install() {
93 - default
94 -
95 - insinto /etc/graylog
96 - doins graylog.conf.example
97 -
98 - insinto "${GRAYLOG_INSTALL_DIR}"
99 - doins graylog.jar
100 - doins -r lib plugin
101 -
102 - keepdir "${GRAYLOG_DATA_DIR}"
103 -
104 - newconfd "${FILESDIR}/graylog.confd" graylog
105 - newinitd "${FILESDIR}/graylog.initd" graylog
106 -}
107 -
108 -pkg_postinst() {
109 - ewarn "Graylog does not depend on need.net any more (#439092)."
110 - ewarn
111 - ewarn "Please configure rc_need according to your binding address in:"
112 - ewarn "/etc/conf.d/graylog"
113 - ewarn
114 - ewarn "Graylog requires Java >= 8"
115 - ewarn "Elasticsearch 5.x or 6.x (does NOT work with 7.x)"
116 - ewarn "and MongoDB 3.6, 4.0 or 4.2"
117 -}
118
119 diff --git a/app-admin/graylog/graylog-4.0.15.ebuild b/app-admin/graylog/graylog-4.0.15.ebuild
120 deleted file mode 100644
121 index e0b3f8d98a4d..000000000000
122 --- a/app-admin/graylog/graylog-4.0.15.ebuild
123 +++ /dev/null
124 @@ -1,79 +0,0 @@
125 -# Copyright 1999-2021 Gentoo Authors
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=7
129 -
130 -DESCRIPTION="Free and open source log management"
131 -HOMEPAGE="https://www.graylog.org"
132 -SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
133 -
134 -LICENSE="GPL-3"
135 -SLOT="0"
136 -KEYWORDS="~amd64 ~ppc64 ~x86"
137 -RESTRICT="strip"
138 -
139 -RDEPEND="!app-admin/graylog2
140 - acct-group/graylog
141 - acct-user/graylog
142 - >=virtual/jdk-1.8:*"
143 -
144 -DOCS=(
145 - README.markdown UPGRADING.rst
146 -)
147 -
148 -GRAYLOG_DATA_DIR="/var/lib/graylog"
149 -GRAYLOG_INSTALL_DIR="/usr/share/graylog"
150 -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
151 -
152 -src_prepare() {
153 - default
154 -
155 - # Stick to architecture of build host
156 - if ! use amd64; then
157 - rm -r lib/sigar/libsigar-amd64-*.so || die "Failed in removing AMD64 support libraries"
158 - fi
159 - if ! use ppc64; then
160 - rm -r lib/sigar/libsigar-ppc64-*.so || die "Failed in removing PPC64 support libraries"
161 - fi
162 - if ! use x86; then
163 - rm -r lib/sigar/libsigar-x86-*.so || die "Failed in removing X86 support libraries"
164 - fi
165 - # Currently unsupported platforms
166 - # QA warning galore but testing/patches welcome
167 - rm lib/sigar/libsigar-*freebsd*so \
168 - lib/sigar/libsigar-*solaris*so \
169 - lib/sigar/libsigar-*hpux*.sl \
170 - lib/sigar/libsigar-*macosx*.dylib \
171 - lib/sigar/libsigar-ia64-*.so \
172 - lib/sigar/libsigar-ppc-*.so \
173 - lib/sigar/libsigar-s390x*.so \
174 - lib/sigar/*winnt* || die "Failed in removing unsupported platform libraries"
175 -
176 - # gentoo specific paths
177 - sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
178 - s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
179 - graylog.conf.example || die
180 -}
181 -
182 -src_install() {
183 - default
184 -
185 - insinto /etc/graylog
186 - doins graylog.conf.example
187 -
188 - insinto "${GRAYLOG_INSTALL_DIR}"
189 - doins graylog.jar
190 - doins -r lib plugin
191 -
192 - keepdir "${GRAYLOG_DATA_DIR}"
193 -
194 - newconfd "${FILESDIR}/graylog.confd" graylog
195 - newinitd "${FILESDIR}/graylog.initd" graylog
196 -}
197 -
198 -pkg_postinst() {
199 - ewarn "Graylog does not depend on need.net any more (#439092)."
200 - ewarn
201 - ewarn "Please configure rc_need according to your binding address in:"
202 - ewarn "/etc/conf.d/graylog"
203 -}
204
205 diff --git a/app-admin/graylog/graylog-4.1.10.ebuild b/app-admin/graylog/graylog-4.1.10.ebuild
206 deleted file mode 100644
207 index 9acb16a593fa..000000000000
208 --- a/app-admin/graylog/graylog-4.1.10.ebuild
209 +++ /dev/null
210 @@ -1,58 +0,0 @@
211 -# Copyright 1999-2021 Gentoo Authors
212 -# Distributed under the terms of the GNU General Public License v2
213 -
214 -EAPI=7
215 -
216 -DESCRIPTION="Free and open source log management"
217 -HOMEPAGE="https://www.graylog.org"
218 -SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
219 -
220 -LICENSE="GPL-3"
221 -SLOT="0"
222 -KEYWORDS="~amd64 ~ppc64 ~x86"
223 -RESTRICT="strip"
224 -
225 -RDEPEND="!app-admin/graylog2
226 - acct-group/graylog
227 - acct-user/graylog
228 - >=virtual/jdk-1.8:*"
229 -
230 -DOCS=(
231 - README.markdown UPGRADING.rst
232 -)
233 -
234 -GRAYLOG_DATA_DIR="/var/lib/graylog"
235 -GRAYLOG_INSTALL_DIR="/usr/share/graylog"
236 -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
237 -
238 -src_prepare() {
239 - default
240 -
241 - # gentoo specific paths
242 - sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
243 - s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
244 - graylog.conf.example || die
245 -}
246 -
247 -src_install() {
248 - default
249 -
250 - insinto /etc/graylog
251 - doins graylog.conf.example
252 -
253 - insinto "${GRAYLOG_INSTALL_DIR}"
254 - doins graylog.jar
255 - doins -r plugin
256 -
257 - keepdir "${GRAYLOG_DATA_DIR}"
258 -
259 - newconfd "${FILESDIR}/graylog.confd" graylog
260 - newinitd "${FILESDIR}/graylog.initd" graylog
261 -}
262 -
263 -pkg_postinst() {
264 - ewarn "Graylog does not depend on need.net any more (#439092)."
265 - ewarn
266 - ewarn "Please configure rc_need according to your binding address in:"
267 - ewarn "/etc/conf.d/graylog"
268 -}