diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /app-admin/graylog2 | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'app-admin/graylog2')
-rw-r--r-- | app-admin/graylog2/Manifest | 7 | ||||
-rw-r--r-- | app-admin/graylog2/files/confd-r2 | 12 | ||||
-rw-r--r-- | app-admin/graylog2/files/initd-r2 | 31 | ||||
-rw-r--r-- | app-admin/graylog2/graylog2-2.4.6.ebuild | 87 | ||||
-rw-r--r-- | app-admin/graylog2/graylog2-2.5.1.ebuild | 87 | ||||
-rw-r--r-- | app-admin/graylog2/metadata.xml | 8 |
6 files changed, 0 insertions, 232 deletions
diff --git a/app-admin/graylog2/Manifest b/app-admin/graylog2/Manifest deleted file mode 100644 index 407c4e40ba4e..000000000000 --- a/app-admin/graylog2/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX confd-r2 542 BLAKE2B 83a8b2a3bf1fc60a2a9475d823efe39febb961d0aaee12b7b18f1d2752427e401fe2f68c83f777fba1d2f585540f4d9b422befcc959aa082a26eeef2be093b2b SHA512 fde38b6813f40633db5d5cbcb3d93fd17e8705d6f2c5805fdc900858fe2b0cf0c0c219345dc741cc2573b1f80b42fdf5714e71fa31938329355556503492bbb8 -AUX initd-r2 872 BLAKE2B 500a428a0f479dc79b1d8b7d6a1acfafe9a205a65adfacd10aa6f5e89c105c30e095e69799acd8739d9ed2b7dee0ed6d053497a74495a986b6d9b24122c29a75 SHA512 43632bd345bb3772018ce1fe32a97c85a1ad812dca2ae229dccb65302e686597dad4b62ecbc0cc5358c34761f354d51de2c9fe81bd3db71af5fdc0a6cbc0e95e -DIST graylog-2.4.6.tgz 122985232 BLAKE2B 3a409a08f27c3abf1eadca57c4e8c9afc334655e050c0db9bad9d16e03acab6d92bfced708486ad8383987842d9b0a5ddc54e28d29fc426761fcb0ab8c65844c SHA512 e1941f4740f43c5b92b5faa7cde06fb15294acfed5f0f56cb21a7ceffb8616382b68b67d049a2982c68833d706e57b77f365665f12193d053a2ac0996801bcbe -DIST graylog-2.5.1.tgz 123878927 BLAKE2B d168579be4d20e3a8081d608247e7101fc5d99ddd2b5f063f94d7e91d4095c6bd016a4bc1be0f0e08b5043b771070312286404ece5eacc51e4a8730dfc13dab1 SHA512 44e2ca00e47a34708cea94b74fdc0f56f3a381f161d25633bdf7685fbcd989937163508f8b47b0869c7daacec6c8bd2c874f9381e196ffb3194eb6e3f96b3ce9 -EBUILD graylog2-2.4.6.ebuild 2290 BLAKE2B 2db2192e136749e213b1c5d2a90851bd6e325d9506279d55425586f73acb3c2a241e78692c2aa1528c0f80efc8e3bf080e53a2b6e031ed6091df96b98255359b SHA512 25c1f3f56c61631177f928907d251f0bdcee65651645d49cf22e06c99dcc3976d2025e71113251aa6891bde963cc38b7927a71af284130faa97d6de0fe1843a4 -EBUILD graylog2-2.5.1.ebuild 2292 BLAKE2B 6445d3b665015da099c6eb2bae405159fbb6e176307115553d84bbecf52ab56a466fc16a53ea95d10d3588b2eaddb6f8f5dd7ffe8f60276a9fa14a2de2042f38 SHA512 040ff5ccccd24be6cb2d9c13caaa8d72fbbbd4582d079cf04d9e174b6bbbb2f770076ebaeb0bf20b72c3d8c9645eba878752892dd5cdb2614be2bee1b09c6114 -MISC metadata.xml 251 BLAKE2B d6cd51cc02ac1322483c5ab4655173de8b1c64bac285b55a47fa3a35d3995eef653829b7cb110488c156247cff12381888fcd3b1fe248c8f5e3feb059c490b9f SHA512 7ea734b9e52a4e36b11e004da4a8178aa529574adee2129ba57b1ce75fd5017431fdfffe7a4a536c798ae645497a44b07c748d77308325cf4d6af070ff167edd diff --git a/app-admin/graylog2/files/confd-r2 b/app-admin/graylog2/files/confd-r2 deleted file mode 100644 index 97eac6ac77fa..000000000000 --- a/app-admin/graylog2/files/confd-r2 +++ /dev/null @@ -1,12 +0,0 @@ -GRAYLOG_CONFIG_FILE="/etc/graylog2/graylog.conf" -GRAYLOG_DATA_DIR="/var/lib/graylog2" -GRAYLOG_GROUP="graylog" -GRAYLOG_INSTALL_DIR="/usr/share/graylog2" -GRAYLOG_LOG_DIR="/var/log/graylog2" -GRAYLOG_OPTIONS="" -GRAYLOG_USER="graylog" - -JAVA_OPTS="-Djava.library.path=$GRAYLOG_INSTALL_DIR/lib/sigar -Xms1g -Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow" - -# Please adjust according to your bind address -rc_need="net.lo" diff --git a/app-admin/graylog2/files/initd-r2 b/app-admin/graylog2/files/initd-r2 deleted file mode 100644 index c6177eef41d0..000000000000 --- a/app-admin/graylog2/files/initd-r2 +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/java" -command_args="${JAVA_OPTS} -jar ${GRAYLOG_INSTALL_DIR}/graylog.jar server -f ${GRAYLOG_CONFIG_FILE} --no-pid-file ${GRAYLOG_OPTIONS}" -command_background="true" -command_user="${GRAYLOG_USER}:${GRAYLOG_GROUP}" -pidfile="/run/${RC_SVCNAME}.pid" - -output_log="${GRAYLOG_LOG_DIR}/graylog.stdout.log" -error_log="${GRAYLOG_LOG_DIR}/graylog.stderr.log" -directory="${GRAYLOG_INSTALL_DIR}" -required_files="${GRAYLOG_CONFIG_FILE}" - -depend() { - use dns -} - -start_pre() { - local d - for d in \ - "${GRAYLOG_DATA_DIR}" \ - "${GRAYLOG_DATA_DIR}/data" \ - "${GRAYLOG_DATA_DIR}/data/contentpacks" \ - "${GRAYLOG_DATA_DIR}/data/journal" \ - "${GRAYLOG_LOG_DIR}"; do - - checkpath -d -o "${GRAYLOG_USER}":"${GRAYLOG_GROUP}" -m750 "${d}" - done -} diff --git a/app-admin/graylog2/graylog2-2.4.6.ebuild b/app-admin/graylog2/graylog2-2.4.6.ebuild deleted file mode 100644 index 2e0a76b5fd9d..000000000000 --- a/app-admin/graylog2/graylog2-2.4.6.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit user - -DESCRIPTION="Free and open source log management" -HOMEPAGE="https://www.graylog.org" -SRC_URI="https://packages.graylog2.org/releases/graylog/graylog-${PV}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -RESTRICT="strip" - -RDEPEND="virtual/jdk:1.8" - -DOCS=( - COPYING README.markdown UPGRADING.rst -) - -GRAYLOG_DATA_DIR="/var/lib/graylog2" -GRAYLOG_INSTALL_DIR="/usr/share/graylog2" -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*" - -S="${WORKDIR}/graylog-${PV}" - -pkg_setup() { - enewgroup graylog - enewuser graylog -1 -1 -1 graylog -} - -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; \ - s@#\(content_packs_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/contentpacks@g" \ - graylog.conf.example || die -} - -src_install() { - default - - insinto /etc/graylog2 - doins graylog.conf.example - - insinto "${GRAYLOG_DATA_DIR}/data/contentpacks" - doins data/contentpacks/grok-patterns.json - - insinto "${GRAYLOG_INSTALL_DIR}" - doins graylog.jar - doins -r lib plugin - - newconfd "${FILESDIR}/confd-r2" graylog2 - newinitd "${FILESDIR}/initd-r2" graylog2 -} - -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/graylog2" -} diff --git a/app-admin/graylog2/graylog2-2.5.1.ebuild b/app-admin/graylog2/graylog2-2.5.1.ebuild deleted file mode 100644 index b045b60179ec..000000000000 --- a/app-admin/graylog2/graylog2-2.5.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit user - -DESCRIPTION="Free and open source log management" -HOMEPAGE="https://www.graylog.org" -SRC_URI="https://packages.graylog2.org/releases/graylog/graylog-${PV}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -RESTRICT="strip" - -RDEPEND="virtual/jdk:1.8" - -DOCS=( - COPYING README.markdown UPGRADING.rst -) - -GRAYLOG_DATA_DIR="/var/lib/graylog2" -GRAYLOG_INSTALL_DIR="/usr/share/graylog2" -QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*" - -S="${WORKDIR}/graylog-${PV}" - -pkg_setup() { - enewgroup graylog - enewuser graylog -1 -1 -1 graylog -} - -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; \ - s@#\(content_packs_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/contentpacks@g" \ - graylog.conf.example || die -} - -src_install() { - default - - insinto /etc/graylog2 - doins graylog.conf.example - - insinto "${GRAYLOG_DATA_DIR}/data/contentpacks" - doins data/contentpacks/grok-patterns.json - - insinto "${GRAYLOG_INSTALL_DIR}" - doins graylog.jar - doins -r lib plugin - - newconfd "${FILESDIR}/confd-r2" graylog2 - newinitd "${FILESDIR}/initd-r2" graylog2 -} - -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/graylog2" -} diff --git a/app-admin/graylog2/metadata.xml b/app-admin/graylog2/metadata.xml deleted file mode 100644 index 5087760546f6..000000000000 --- a/app-admin/graylog2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chainsaw@gentoo.org</email> - <name>Tony Vroon</name> - </maintainer> -</pkgmetadata> |