summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2022-01-08 15:28:17 +0000
committerJoonas Niilola <juippis@gentoo.org>2022-01-08 19:50:39 +0200
commit22c4370cb0839d8237c407a60445e25c37d24416 (patch)
treeea95170d58a549847b7f0890e0e2c444d8d48061 /app-admin/graylog
parentapp-admin/eselect: Version bump to 1.4.19 (diff)
downloadgentoo-22c4370cb0839d8237c407a60445e25c37d24416.tar.gz
gentoo-22c4370cb0839d8237c407a60445e25c37d24416.tar.bz2
gentoo-22c4370cb0839d8237c407a60445e25c37d24416.zip
app-admin/graylog: bump to 4.1.11
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/graylog')
-rw-r--r--app-admin/graylog/Manifest1
-rw-r--r--app-admin/graylog/graylog-4.1.11.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest
index 44046ae4af55..009ab18ccb78 100644
--- a/app-admin/graylog/Manifest
+++ b/app-admin/graylog/Manifest
@@ -1,3 +1,4 @@
DIST graylog-3.3.16.tgz 129430640 BLAKE2B aa50a101c9aec9d0e32fe7dfbc0a1c29a7473658ca881f4977e6cc18c4764dde44991af35c19451e5452c0fd832b098743c01eb460d733ba2b1da7d2c5c42865 SHA512 bd6fcc71ad437293500359563662253ef7a38f5961a4dd8f5bfac67ef38ae7025593a69dd160bd8fe5efb48648125c0d441b2c7533e7432927069d6d68e0a239
DIST graylog-4.0.15.tgz 190661423 BLAKE2B 2c651ba3aa539090cad2c9110b45f1f0faaec30571afa7e225d1c3b3dd3a5379d2cb5176ae708b9d2fb8e1704577966622f0e6fadc5463a152fb93873be31f29 SHA512 a25c1648b7b6237a9cb15801d4ca18a0a2e17c3140684550ffa11bb15e5ab34792a3dbea7241023fcef9aa436670ca9a582f05d1c145ab320006f8686ed6fc1c
DIST graylog-4.1.10.tgz 197206255 BLAKE2B d92891a9d746b39f607ac736e60e8369a5dca59144b096ee12421f5d05d350e8e05cc3d73d90bf4dc045b2b76273d8ad67c85cb8f5436b1e1c4ae1af3907525d SHA512 2a7e0c7ffaa2f2508f087c807d9b248346ecb399b824410090ea7c59a6341e02a7bfedf6b4956e1def721535857de18e379673202f722384451653dd12e7bf3e
+DIST graylog-4.1.11.tgz 197190151 BLAKE2B 10e8006c967861aec826768ada2c965729e992eba3701e1475ad68aec5c31ce35c0bbb41ffa8f4a0735cdeb85c8502d462f9925918d568ccbc669e935bc31de4 SHA512 4f903ec470d60836be720f59c24b8454d0689b961af84623eaeb061d4e719cfc4fc0bcfde7074de8e6a3c6d1e3f608cdc6713b50f2d9031d298660c08cf4e219
diff --git a/app-admin/graylog/graylog-4.1.11.ebuild b/app-admin/graylog/graylog-4.1.11.ebuild
new file mode 100644
index 000000000000..9acb16a593fa
--- /dev/null
+++ b/app-admin/graylog/graylog-4.1.11.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Free and open source log management"
+HOMEPAGE="https://www.graylog.org"
+SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+RESTRICT="strip"
+
+RDEPEND="!app-admin/graylog2
+ acct-group/graylog
+ acct-user/graylog
+ >=virtual/jdk-1.8:*"
+
+DOCS=(
+ README.markdown UPGRADING.rst
+)
+
+GRAYLOG_DATA_DIR="/var/lib/graylog"
+GRAYLOG_INSTALL_DIR="/usr/share/graylog"
+QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*"
+
+src_prepare() {
+ default
+
+ # gentoo specific paths
+ sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \
+ s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \
+ graylog.conf.example || die
+}
+
+src_install() {
+ default
+
+ insinto /etc/graylog
+ doins graylog.conf.example
+
+ insinto "${GRAYLOG_INSTALL_DIR}"
+ doins graylog.jar
+ doins -r plugin
+
+ keepdir "${GRAYLOG_DATA_DIR}"
+
+ newconfd "${FILESDIR}/graylog.confd" graylog
+ newinitd "${FILESDIR}/graylog.initd" graylog
+}
+
+pkg_postinst() {
+ ewarn "Graylog does not depend on need.net any more (#439092)."
+ ewarn
+ ewarn "Please configure rc_need according to your binding address in:"
+ ewarn "/etc/conf.d/graylog"
+}