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:50:59
Message-Id: 1641664239.22c4370cb0839d8237c407a60445e25c37d24416.juippis@gentoo
1 commit: 22c4370cb0839d8237c407a60445e25c37d24416
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 8 15:28:17 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=22c4370c
7
8 app-admin/graylog: bump to 4.1.11
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 | 1 +
14 app-admin/graylog/graylog-4.1.11.ebuild | 58 +++++++++++++++++++++++++++++++++
15 2 files changed, 59 insertions(+)
16
17 diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest
18 index 44046ae4af55..009ab18ccb78 100644
19 --- a/app-admin/graylog/Manifest
20 +++ b/app-admin/graylog/Manifest
21 @@ -1,3 +1,4 @@
22 DIST graylog-3.3.16.tgz 129430640 BLAKE2B aa50a101c9aec9d0e32fe7dfbc0a1c29a7473658ca881f4977e6cc18c4764dde44991af35c19451e5452c0fd832b098743c01eb460d733ba2b1da7d2c5c42865 SHA512 bd6fcc71ad437293500359563662253ef7a38f5961a4dd8f5bfac67ef38ae7025593a69dd160bd8fe5efb48648125c0d441b2c7533e7432927069d6d68e0a239
23 DIST graylog-4.0.15.tgz 190661423 BLAKE2B 2c651ba3aa539090cad2c9110b45f1f0faaec30571afa7e225d1c3b3dd3a5379d2cb5176ae708b9d2fb8e1704577966622f0e6fadc5463a152fb93873be31f29 SHA512 a25c1648b7b6237a9cb15801d4ca18a0a2e17c3140684550ffa11bb15e5ab34792a3dbea7241023fcef9aa436670ca9a582f05d1c145ab320006f8686ed6fc1c
24 DIST graylog-4.1.10.tgz 197206255 BLAKE2B d92891a9d746b39f607ac736e60e8369a5dca59144b096ee12421f5d05d350e8e05cc3d73d90bf4dc045b2b76273d8ad67c85cb8f5436b1e1c4ae1af3907525d SHA512 2a7e0c7ffaa2f2508f087c807d9b248346ecb399b824410090ea7c59a6341e02a7bfedf6b4956e1def721535857de18e379673202f722384451653dd12e7bf3e
25 +DIST graylog-4.1.11.tgz 197190151 BLAKE2B 10e8006c967861aec826768ada2c965729e992eba3701e1475ad68aec5c31ce35c0bbb41ffa8f4a0735cdeb85c8502d462f9925918d568ccbc669e935bc31de4 SHA512 4f903ec470d60836be720f59c24b8454d0689b961af84623eaeb061d4e719cfc4fc0bcfde7074de8e6a3c6d1e3f608cdc6713b50f2d9031d298660c08cf4e219
26
27 diff --git a/app-admin/graylog/graylog-4.1.11.ebuild b/app-admin/graylog/graylog-4.1.11.ebuild
28 new file mode 100644
29 index 000000000000..9acb16a593fa
30 --- /dev/null
31 +++ b/app-admin/graylog/graylog-4.1.11.ebuild
32 @@ -0,0 +1,58 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DESCRIPTION="Free and open source log management"
39 +HOMEPAGE="https://www.graylog.org"
40 +SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc64 ~x86"
45 +RESTRICT="strip"
46 +
47 +RDEPEND="!app-admin/graylog2
48 + acct-group/graylog
49 + acct-user/graylog
50 + >=virtual/jdk-1.8:*"
51 +
52 +DOCS=(
53 + README.markdown UPGRADING.rst
54 +)
55 +
56 +GRAYLOG_DATA_DIR="/var/lib/graylog"
57 +GRAYLOG_INSTALL_DIR="/usr/share/graylog"
58 +QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
59 +
60 +src_prepare() {
61 + default
62 +
63 + # gentoo specific paths
64 + sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
65 + s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
66 + graylog.conf.example || die
67 +}
68 +
69 +src_install() {
70 + default
71 +
72 + insinto /etc/graylog
73 + doins graylog.conf.example
74 +
75 + insinto "${GRAYLOG_INSTALL_DIR}"
76 + doins graylog.jar
77 + doins -r plugin
78 +
79 + keepdir "${GRAYLOG_DATA_DIR}"
80 +
81 + newconfd "${FILESDIR}/graylog.confd" graylog
82 + newinitd "${FILESDIR}/graylog.initd" graylog
83 +}
84 +
85 +pkg_postinst() {
86 + ewarn "Graylog does not depend on need.net any more (#439092)."
87 + ewarn
88 + ewarn "Please configure rc_need according to your binding address in:"
89 + ewarn "/etc/conf.d/graylog"
90 +}