From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/graylog2/
Date: Sun, 30 Jul 2017 15:30:06 +0000 (UTC) [thread overview]
Message-ID: <1501428591.ef1f58b7d76cffa7ec85ebf82616a46b96fcdc6b.soap@gentoo> (raw)
commit: ef1f58b7d76cffa7ec85ebf82616a46b96fcdc6b
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Wed Jul 12 13:46:39 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 15:29:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1f58b7
app-admin/graylog2: bump to 2.2.3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5096
app-admin/graylog2/Manifest | 1 +
app-admin/graylog2/graylog2-2.2.3.ebuild | 87 ++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-admin/graylog2/Manifest b/app-admin/graylog2/Manifest
index eafd58d4475..f09e80d0315 100644
--- a/app-admin/graylog2/Manifest
+++ b/app-admin/graylog2/Manifest
@@ -1,2 +1,3 @@
DIST graylog-2.1.2.tgz 94284738 SHA256 5d653467fb18fdd58b261598dc820f90d48e2018e7cd8d9f103003a0070d954b SHA512 df636143ff90b0aedcb6db78e20125c10da2428b6e474e925d6fc011fdc3a0b88414ec914981a71a0e08c4916cb5cd18a8eeda28e01d9edf3b3ae4a8fb0a90dc WHIRLPOOL 1ecdb53b0ea0ad55c76604417366f21e6e2c4fb76e1cd38b93d332e08976380096b340bee6120ed2a40949ac31620e37f4ac46f3794805d0313d74211b48c512
DIST graylog-2.2.2.tgz 99956086 SHA256 46f419d422f6e5816b29333c8510524f1bbc910d6bf00136adb3899a985fceb4 SHA512 341548b5d48e3a2008a1264128a604320b566b8f0e8da4d2fca54a69e1412a69839d09698e13d97dd399652611a3e24dd54dc81f56bc4ca00278afbd61ba9c2c WHIRLPOOL aae06b70f4f12df0bb76bd6e23228d64ea19c4a6a619f5e7f4bde2fd52039959d2c949b74240ef2d229e51db25ff47465ae2786fe47e18eb0fb1fa76b8739e1f
+DIST graylog-2.2.3.tgz 99971278 SHA256 3de01e7cb8ebc02a7f06cec1c88eded3b717762447bf1b56bff8744f7f5ea80b SHA512 19ad14bdee733b4ceed526af7f446fc74a4ac5bc6a0b4784618edd84a84aa00378c203d4051a3232c17caaf47f3ffe684cb8b17ce88c8d98e7b29bc22c0058e8 WHIRLPOOL 60655b7f70cf7093114194239f1260d97887be344424a064b236fb152e17864110848b2143608c5908d95823fd7363cca5c73b6f2f1bffa790c269c4af9b05d5
diff --git a/app-admin/graylog2/graylog2-2.2.3.ebuild b/app-admin/graylog2/graylog2-2.2.3.ebuild
new file mode 100644
index 00000000000..a7b8cd7ab67
--- /dev/null
+++ b/app-admin/graylog2/graylog2-2.2.3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user
+
+DESCRIPTION="Free and open source log management"
+HOMEPAGE="https://graylog.org"
+SRC_URI="https://packages.graylog2.org/releases/graylog/graylog-${PV}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+MY_PN="graylog"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+INSTALL_DIR="/usr/share/graylog2"
+DATA_DIR="/var/lib/graylog2"
+
+QA_PREBUILT="${INSTALL_DIR}/lib/sigar/libsigar*"
+RESTRICT="strip"
+
+RDEPEND="virtual/jdk:1.8"
+
+pkg_setup() {
+ enewgroup graylog
+ enewuser graylog -1 -1 -1 graylog
+}
+
+src_prepare() {
+ default
+
+ # graylogctl is replaced by our own initd
+ rm -r bin || die
+
+ # 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"
+
+ # remove plugins
+ rm plugin/graylog-plugin-anonymous-usage-statistics-${PV}.jar || die
+
+ # gentoo specific paths
+ sed -i "s@\(node_id_file = \).*@\1${DATA_DIR}/node-id@g; \
+ s@\(message_journal_dir = \).*@\1${DATA_DIR}/data/journal@g; \
+ s@#\(content_packs_dir = \).*@\1/${DATA_DIR}/data/contentpacks@g" \
+ graylog.conf.example || die
+}
+
+src_compile() {
+ einfo "Nothing to compile; upstream supplies JAR only"
+}
+
+src_install() {
+ insinto /etc/graylog2
+ doins graylog.conf.example
+
+ insinto ${DATA_DIR}/data/contentpacks
+ doins data/contentpacks/grok-patterns.json
+
+ insinto "${INSTALL_DIR}"
+ doins *
+
+ doins -r lib plugin
+
+ newinitd "${FILESDIR}/initd-r1" graylog2
+ newconfd "${FILESDIR}/confd-r1" graylog2
+}
next reply other threads:[~2017-07-30 15:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-30 15:30 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-12-02 8:39 [gentoo-commits] repo/gentoo:master commit in: app-admin/graylog2/ Michał Górny
2019-01-19 3:22 Thomas Deutschmann
2018-07-23 16:04 Tony Vroon
2018-07-11 10:26 Tony Vroon
2018-06-08 13:11 Tony Vroon
2016-11-14 14:29 Tony Vroon
2016-11-14 14:22 Tony Vroon
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=1501428591.ef1f58b7d76cffa7ec85ebf82616a46b96fcdc6b.soap@gentoo \
--to=soap@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