summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2020-03-26 13:33:09 +0000
committerJoonas Niilola <juippis@gentoo.org>2020-03-26 16:00:48 +0200
commitb8f0f189e709d3aa12004a0efdfc7649c924fb86 (patch)
tree2ae43db894d5b1925126d8ae513a36f46cce9f80 /app-admin/graylog/graylog-3.2.2.ebuild
parentapp-admin/graylog: bump to 3.2.4 (diff)
downloadgentoo-b8f0f189e709d3aa12004a0efdfc7649c924fb86.tar.gz
gentoo-b8f0f189e709d3aa12004a0efdfc7649c924fb86.tar.bz2
gentoo-b8f0f189e709d3aa12004a0efdfc7649c924fb86.zip
app-admin/graylog: drop old
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15107 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/graylog/graylog-3.2.2.ebuild')
-rw-r--r--app-admin/graylog/graylog-3.2.2.ebuild83
1 files changed, 0 insertions, 83 deletions
diff --git a/app-admin/graylog/graylog-3.2.2.ebuild b/app-admin/graylog/graylog-3.2.2.ebuild
deleted file mode 100644
index cda5c7e5b52d..000000000000
--- a/app-admin/graylog/graylog-3.2.2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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)"
-}