public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/graylog/
Date: Wed, 26 Feb 2020 16:17:47 +0000 (UTC)	[thread overview]
Message-ID: <1582733846.3f0b00147503f92666665d1535815b460a67e11b.juippis@gentoo> (raw)

commit:     3f0b00147503f92666665d1535815b460a67e11b
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Feb 21 08:57:27 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 16:17:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0b0014

app-admin/graylog: bump to 3.2.2

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14727
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-admin/graylog/Manifest             |  1 +
 app-admin/graylog/graylog-3.2.2.ebuild | 83 ++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest
index b1ce2538044..77bcce7132d 100644
--- a/app-admin/graylog/Manifest
+++ b/app-admin/graylog/Manifest
@@ -1,2 +1,3 @@
 DIST graylog-2.5.1.tgz 123878927 BLAKE2B d168579be4d20e3a8081d608247e7101fc5d99ddd2b5f063f94d7e91d4095c6bd016a4bc1be0f0e08b5043b771070312286404ece5eacc51e4a8730dfc13dab1 SHA512 44e2ca00e47a34708cea94b74fdc0f56f3a381f161d25633bdf7685fbcd989937163508f8b47b0869c7daacec6c8bd2c874f9381e196ffb3194eb6e3f96b3ce9
 DIST graylog-3.1.3.tgz 120983897 BLAKE2B 68e1dd7b8de7ab9fb12fd2035bcf6f0901d8d9f5083ff8efef09736819ccd70ae4dd6f466cf2fa1eaebb24b4098a26d72524f9b9a47e8dd62d0224bad189bb62 SHA512 8eec2339db474b89fc717e693ec23ca32d9a018f9bb924aab895d1a1f4e90afa9fe9547e432d13b9d0bf5831f8772763f19de41ac66f3e09ebf7e96ebd6cbccf
+DIST graylog-3.2.2.tgz 125510385 BLAKE2B 87895af9c495361c03b0a6cea6299fb206152a05a69be63600cb15e57ed1c6bb90dcf58539c136361dc95bd7d138b9e6c5bc33c3ccc409e392e4b5857d175951 SHA512 c13c3daee81cd553f40156fc5add46e4af9a3436b04f2216a1460a9af7b5fe07e866451243cc04b756247d513ef76ab43ee52dc7cb67fd1b593a22e490227db7

diff --git a/app-admin/graylog/graylog-3.2.2.ebuild b/app-admin/graylog/graylog-3.2.2.ebuild
new file mode 100644
index 00000000000..cda5c7e5b52
--- /dev/null
+++ b/app-admin/graylog/graylog-3.2.2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2020 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=(
+	COPYING 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
+
+	# Stick to architecture of build host
+	if ! use amd64; then
+		rm -r lib/sigar/libsigar-amd64-*.so || die "Failed in removing AMD64 support libraries"
+	fi
+	if ! use ppc64; then
+		rm -r lib/sigar/libsigar-ppc64-*.so || die "Failed in removing PPC64 support libraries"
+	fi
+	if ! use x86; then
+		rm -r lib/sigar/libsigar-x86-*.so || die "Failed in removing X86 support libraries"
+	fi
+	# Currently unsupported platforms
+	# QA warning galore but testing/patches welcome
+	rm lib/sigar/libsigar-*freebsd*so \
+		lib/sigar/libsigar-*solaris*so \
+		lib/sigar/libsigar-*hpux*.sl \
+		lib/sigar/libsigar-*macosx*.dylib \
+		lib/sigar/libsigar-ia64-*.so \
+		lib/sigar/libsigar-ppc-*.so \
+		lib/sigar/libsigar-s390x*.so \
+		lib/sigar/*winnt* || die "Failed in removing unsupported platform libraries"
+
+	# 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 lib 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"
+	ewarn
+	ewarn "Graylog requires Java >= 8"
+	ewarn "Elasticsearch 5.x or 6.x (does NOT work with 7.x)"
+	ewarn "and MongoDB 3.6 or 4.0 (does NOT work with 4.2)"
+}


             reply	other threads:[~2020-02-26 16:18 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26 16:17 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-26 14:01 [gentoo-commits] repo/gentoo:master commit in: app-admin/graylog/ Joonas Niilola
2020-03-26 14:01 Joonas Niilola
2020-06-12 14:33 Thomas Deutschmann
2020-07-30 18:17 Thomas Deutschmann
2020-08-06 16:09 Thomas Deutschmann
2020-08-06 16:09 Thomas Deutschmann
2020-11-10 15:29 Thomas Deutschmann
2020-11-18 17:34 Thomas Deutschmann
2020-11-22 17:17 Thomas Deutschmann
2020-11-27 16:55 Thomas Deutschmann
2020-12-20 19:21 Thomas Deutschmann
2021-02-04 22:27 Thomas Deutschmann
2021-03-22 14:23 Joonas Niilola
2021-05-28 19:23 Thomas Deutschmann
2021-05-28 19:23 Thomas Deutschmann
2021-05-28 19:23 Thomas Deutschmann
2021-08-07 12:50 Ionen Wolkens
2021-08-07 12:50 Ionen Wolkens
2021-08-07 12:50 Ionen Wolkens
2021-08-07 12:50 Ionen Wolkens
2021-12-13  5:07 Sam James
2021-12-17  3:37 Sam James
2022-01-08 17:50 Joonas Niilola
2022-01-08 17:50 Joonas Niilola
2022-01-08 17:50 Joonas Niilola
2022-01-08 17:50 Joonas Niilola
2022-02-13 16:10 Matthew Smith
2022-03-04 13:53 Joonas Niilola
2022-03-16 15:54 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582733846.3f0b00147503f92666665d1535815b460a67e11b.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox