Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/graylog/
Date: Thu, 06 Aug 2020 16:09:26
Message-Id: 1596730153.f22752d5c89481ddb1eda81cef7632ab4bcb217d.whissi@gentoo
1 commit: f22752d5c89481ddb1eda81cef7632ab4bcb217d
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 5 09:02:55 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 6 16:09:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22752d5
7
8 app-admin/graylog: drop vulnerable
9
10 Bug: https://bugs.gentoo.org/733114
11 Package-Manager: Portage-3.0.1, Repoman-2.3.23
12 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/17010
14 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
15
16 app-admin/graylog/Manifest | 2 -
17 app-admin/graylog/graylog-3.3.1.ebuild | 83 ----------------------------------
18 app-admin/graylog/graylog-3.3.2.ebuild | 83 ----------------------------------
19 3 files changed, 168 deletions(-)
20
21 diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest
22 index d59d159b6dd..2bf48f496f5 100644
23 --- a/app-admin/graylog/Manifest
24 +++ b/app-admin/graylog/Manifest
25 @@ -1,3 +1 @@
26 -DIST graylog-3.3.1.tgz 129279195 BLAKE2B b3894a453d369f200951d260c0229cec7dbbeb01fcd5df1d8be354c0669c32c1ae3f435a7bad2fc92823f2408fd6e06eded19a56442d6eaa636bd8401f8573a9 SHA512 9e99784e4c349965aafae8c153bd843007dadf664febe7088cfa7561568841d6acb73592d5f57feaece683ea667a535124cdd49e6ed3a05bab13d07239c8b3dd
27 -DIST graylog-3.3.2.tgz 129297286 BLAKE2B a09e8211f39cf5ea57bd05c49ccd2efba4d166e20bbd2bfa9f52d2de0768d54821a002453497545bc8022ee161c8a69080cf8f99d6988eb1a6e56f7ee13fdb9f SHA512 6422f15d75067f5639d1d3c181c29429bf10f2f499179df304441ff1b01a7cc0b29a27361837c7b2ef8b6d33fbd3448fc759e123f59843391838daf3ee353824
28 DIST graylog-3.3.3.tgz 129284019 BLAKE2B 35c8dec3becd0cd513e435fec38c296e40a0c330304effb40e40f656702cd791c68ca9c814baf45671d7494d16d4478f9a0b3e44812c4814bea8dc1213f06793 SHA512 6e7445d1bac5addfe4e09f22ba2425859b44720105ba61ec2d819d12a8d693789f717d6fc1bdacb0ef1fe2e4583c405689a60ddd250e4fa17d1d10e70020f75c
29
30 diff --git a/app-admin/graylog/graylog-3.3.1.ebuild b/app-admin/graylog/graylog-3.3.1.ebuild
31 deleted file mode 100644
32 index cda5c7e5b52..00000000000
33 --- a/app-admin/graylog/graylog-3.3.1.ebuild
34 +++ /dev/null
35 @@ -1,83 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -DESCRIPTION="Free and open source log management"
42 -HOMEPAGE="https://www.graylog.org"
43 -SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
44 -
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~ppc64 ~x86"
48 -RESTRICT="strip"
49 -
50 -RDEPEND="!app-admin/graylog2
51 - acct-group/graylog
52 - acct-user/graylog
53 - >=virtual/jdk-1.8:*"
54 -
55 -DOCS=(
56 - COPYING README.markdown UPGRADING.rst
57 -)
58 -
59 -GRAYLOG_DATA_DIR="/var/lib/graylog"
60 -GRAYLOG_INSTALL_DIR="/usr/share/graylog"
61 -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
62 -
63 -src_prepare() {
64 - default
65 -
66 - # Stick to architecture of build host
67 - if ! use amd64; then
68 - rm -r lib/sigar/libsigar-amd64-*.so || die "Failed in removing AMD64 support libraries"
69 - fi
70 - if ! use ppc64; then
71 - rm -r lib/sigar/libsigar-ppc64-*.so || die "Failed in removing PPC64 support libraries"
72 - fi
73 - if ! use x86; then
74 - rm -r lib/sigar/libsigar-x86-*.so || die "Failed in removing X86 support libraries"
75 - fi
76 - # Currently unsupported platforms
77 - # QA warning galore but testing/patches welcome
78 - rm lib/sigar/libsigar-*freebsd*so \
79 - lib/sigar/libsigar-*solaris*so \
80 - lib/sigar/libsigar-*hpux*.sl \
81 - lib/sigar/libsigar-*macosx*.dylib \
82 - lib/sigar/libsigar-ia64-*.so \
83 - lib/sigar/libsigar-ppc-*.so \
84 - lib/sigar/libsigar-s390x*.so \
85 - lib/sigar/*winnt* || die "Failed in removing unsupported platform libraries"
86 -
87 - # gentoo specific paths
88 - sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
89 - s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
90 - graylog.conf.example || die
91 -}
92 -
93 -src_install() {
94 - default
95 -
96 - insinto /etc/graylog
97 - doins graylog.conf.example
98 -
99 - insinto "${GRAYLOG_INSTALL_DIR}"
100 - doins graylog.jar
101 - doins -r lib plugin
102 -
103 - keepdir "${GRAYLOG_DATA_DIR}"
104 -
105 - newconfd "${FILESDIR}/graylog.confd" graylog
106 - newinitd "${FILESDIR}/graylog.initd" graylog
107 -}
108 -
109 -pkg_postinst() {
110 - ewarn "Graylog does not depend on need.net any more (#439092)."
111 - ewarn
112 - ewarn "Please configure rc_need according to your binding address in:"
113 - ewarn "/etc/conf.d/graylog"
114 - ewarn
115 - ewarn "Graylog requires Java >= 8"
116 - ewarn "Elasticsearch 5.x or 6.x (does NOT work with 7.x)"
117 - ewarn "and MongoDB 3.6 or 4.0 (does NOT work with 4.2)"
118 -}
119
120 diff --git a/app-admin/graylog/graylog-3.3.2.ebuild b/app-admin/graylog/graylog-3.3.2.ebuild
121 deleted file mode 100644
122 index cda5c7e5b52..00000000000
123 --- a/app-admin/graylog/graylog-3.3.2.ebuild
124 +++ /dev/null
125 @@ -1,83 +0,0 @@
126 -# Copyright 1999-2020 Gentoo Authors
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=7
130 -
131 -DESCRIPTION="Free and open source log management"
132 -HOMEPAGE="https://www.graylog.org"
133 -SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
134 -
135 -LICENSE="GPL-3"
136 -SLOT="0"
137 -KEYWORDS="~amd64 ~ppc64 ~x86"
138 -RESTRICT="strip"
139 -
140 -RDEPEND="!app-admin/graylog2
141 - acct-group/graylog
142 - acct-user/graylog
143 - >=virtual/jdk-1.8:*"
144 -
145 -DOCS=(
146 - COPYING README.markdown UPGRADING.rst
147 -)
148 -
149 -GRAYLOG_DATA_DIR="/var/lib/graylog"
150 -GRAYLOG_INSTALL_DIR="/usr/share/graylog"
151 -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
152 -
153 -src_prepare() {
154 - default
155 -
156 - # Stick to architecture of build host
157 - if ! use amd64; then
158 - rm -r lib/sigar/libsigar-amd64-*.so || die "Failed in removing AMD64 support libraries"
159 - fi
160 - if ! use ppc64; then
161 - rm -r lib/sigar/libsigar-ppc64-*.so || die "Failed in removing PPC64 support libraries"
162 - fi
163 - if ! use x86; then
164 - rm -r lib/sigar/libsigar-x86-*.so || die "Failed in removing X86 support libraries"
165 - fi
166 - # Currently unsupported platforms
167 - # QA warning galore but testing/patches welcome
168 - rm lib/sigar/libsigar-*freebsd*so \
169 - lib/sigar/libsigar-*solaris*so \
170 - lib/sigar/libsigar-*hpux*.sl \
171 - lib/sigar/libsigar-*macosx*.dylib \
172 - lib/sigar/libsigar-ia64-*.so \
173 - lib/sigar/libsigar-ppc-*.so \
174 - lib/sigar/libsigar-s390x*.so \
175 - lib/sigar/*winnt* || die "Failed in removing unsupported platform libraries"
176 -
177 - # gentoo specific paths
178 - sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
179 - s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
180 - graylog.conf.example || die
181 -}
182 -
183 -src_install() {
184 - default
185 -
186 - insinto /etc/graylog
187 - doins graylog.conf.example
188 -
189 - insinto "${GRAYLOG_INSTALL_DIR}"
190 - doins graylog.jar
191 - doins -r lib plugin
192 -
193 - keepdir "${GRAYLOG_DATA_DIR}"
194 -
195 - newconfd "${FILESDIR}/graylog.confd" graylog
196 - newinitd "${FILESDIR}/graylog.initd" graylog
197 -}
198 -
199 -pkg_postinst() {
200 - ewarn "Graylog does not depend on need.net any more (#439092)."
201 - ewarn
202 - ewarn "Please configure rc_need according to your binding address in:"
203 - ewarn "/etc/conf.d/graylog"
204 - ewarn
205 - ewarn "Graylog requires Java >= 8"
206 - ewarn "Elasticsearch 5.x or 6.x (does NOT work with 7.x)"
207 - ewarn "and MongoDB 3.6 or 4.0 (does NOT work with 4.2)"
208 -}