summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorserg-sg <serg_eronov@live.ru>2022-03-13 14:34:24 +0400
committerJoonas Niilola <juippis@gentoo.org>2022-03-16 17:54:29 +0200
commitce5df8caf84f22484a168e8d8a3035d82487a54a (patch)
tree97ef0075e5deb627a75169c1cfed966e6f5c74d8 /app-admin/graylog
parentmedia-gfx/alembic: drop 1.8.2, 1.8.3-r1 (diff)
downloadgentoo-ce5df8caf84f22484a168e8d8a3035d82487a54a.tar.gz
gentoo-ce5df8caf84f22484a168e8d8a3035d82487a54a.tar.bz2
gentoo-ce5df8caf84f22484a168e8d8a3035d82487a54a.zip
app-admin/graylog: add versions 4.1.13, 4.2.7
Closes: https://github.com/gentoo/gentoo/pull/24535 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/graylog')
-rw-r--r--app-admin/graylog/Manifest2
-rw-r--r--app-admin/graylog/graylog-4.1.13.ebuild60
-rw-r--r--app-admin/graylog/graylog-4.2.7.ebuild60
3 files changed, 122 insertions, 0 deletions
diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest
index b433bb45621b..9473d9739bc2 100644
--- a/app-admin/graylog/Manifest
+++ b/app-admin/graylog/Manifest
@@ -1,3 +1,5 @@
DIST graylog-4.1.11.tgz 197190151 BLAKE2B 10e8006c967861aec826768ada2c965729e992eba3701e1475ad68aec5c31ce35c0bbb41ffa8f4a0735cdeb85c8502d462f9925918d568ccbc669e935bc31de4 SHA512 4f903ec470d60836be720f59c24b8454d0689b961af84623eaeb061d4e719cfc4fc0bcfde7074de8e6a3c6d1e3f608cdc6713b50f2d9031d298660c08cf4e219
DIST graylog-4.1.12.tgz 197206216 BLAKE2B 844c305bf8aad7289f7e8b5e9d6b25b2a0c360182be30e5f9c72d7dfce782f4bcac703a543fcca92e4d5fe281dbf6d717f0c12ea67cbed193d8e1fc93405c896 SHA512 dc27e82200f1e9dd828b99dd5947f198a575fb819a490f450badad47449b9a38f2ee6977511397eb84f2430a44a6f598fd426ec42f5e1ad00291314dbc963377
+DIST graylog-4.1.13.tgz 197209394 BLAKE2B 22e68bf723e9703a8c27e525a1634bcff347a9b99daa210e832a9a410b87f7040de28e0ebd083de3b72d00ae5b67351c955ad6770bbdf74e6bbf039c6d443adf SHA512 eb7b81899e111fc37eaba4232b1b56914c3b374c352d183b19e29ea1a67eebc679c7914e3889807e674b89411036d3c6f785bf063821bdbe6df743c0e294a0ea
DIST graylog-4.2.6.tgz 197322595 BLAKE2B daa5466e9ab06b0af92f17abdaf77d604212c25bef3e6ea7b45e073ff54a27be0177b65956a8ec2b48814d490f5fbfa116ec278aad88ec727cd0d3aa89732073 SHA512 63ce15d556fcf38c501c1676b68e2e7f06442f57c0c5993a3ed5918deebac40cb47d7b4aaeb697f95257774eecedce2b5f7344e3799ba333a46a1bf1d5b48412
+DIST graylog-4.2.7.tgz 197298955 BLAKE2B eea69212ebe6a9e81b8ffe5f9b7f0fac33dbf45d1f337f8540d09e316798cfcda26bc8793db3fb33b039e3677d4bc5434393f90095ece3347b91d8e2395dae6d SHA512 137d2763e65d192750a9d6f02f536f51804c519e36b5c5bc2deadabcd9455a2711a901c396ed30c09c6d95aa34e2936b7c6614c60d30ee0969485fe5d23f1b6e
diff --git a/app-admin/graylog/graylog-4.1.13.ebuild b/app-admin/graylog/graylog-4.1.13.ebuild
new file mode 100644
index 000000000000..766a2362711f
--- /dev/null
+++ b/app-admin/graylog/graylog-4.1.13.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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="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() {
+ elog "Please visit the website for product changes:"
+ elog "https://docs.graylog.org/docs/changelog"
+ elog
+ 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"
+}
diff --git a/app-admin/graylog/graylog-4.2.7.ebuild b/app-admin/graylog/graylog-4.2.7.ebuild
new file mode 100644
index 000000000000..766a2362711f
--- /dev/null
+++ b/app-admin/graylog/graylog-4.2.7.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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="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() {
+ elog "Please visit the website for product changes:"
+ elog "https://docs.graylog.org/docs/changelog"
+ elog
+ 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"
+}