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