From 068424b26532f3551a81421a9be67ed206e5c11a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Aug 2021 07:02:28 +0100 Subject: gentoo resync : 11.08.2021 --- app-admin/graylog/Manifest | 14 +++--- app-admin/graylog/graylog-3.3.11.ebuild | 83 --------------------------------- app-admin/graylog/graylog-3.3.13.ebuild | 83 --------------------------------- app-admin/graylog/graylog-3.3.14.ebuild | 83 +++++++++++++++++++++++++++++++++ app-admin/graylog/graylog-4.0.10.ebuild | 79 +++++++++++++++++++++++++++++++ app-admin/graylog/graylog-4.0.5.ebuild | 79 ------------------------------- app-admin/graylog/graylog-4.0.7.ebuild | 79 ------------------------------- app-admin/graylog/graylog-4.1.2.ebuild | 58 +++++++++++++++++++++++ 8 files changed, 226 insertions(+), 332 deletions(-) delete mode 100644 app-admin/graylog/graylog-3.3.11.ebuild delete mode 100644 app-admin/graylog/graylog-3.3.13.ebuild create mode 100644 app-admin/graylog/graylog-3.3.14.ebuild create mode 100644 app-admin/graylog/graylog-4.0.10.ebuild delete mode 100644 app-admin/graylog/graylog-4.0.5.ebuild delete mode 100644 app-admin/graylog/graylog-4.0.7.ebuild create mode 100644 app-admin/graylog/graylog-4.1.2.ebuild (limited to 'app-admin/graylog') diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest index d90b60b49679..f62ee3992048 100644 --- a/app-admin/graylog/Manifest +++ b/app-admin/graylog/Manifest @@ -1,11 +1,9 @@ AUX graylog.confd 521 BLAKE2B b776c8c834358a426aab6e67b894ab3fc8e07b5d6d24f506312f41e76ea36bd39398d1eb424cf9f3fff633a26acb8af54dccd4a19642b55bf18d91fe92aff31c SHA512 3d8c3b6128f839809f14c7a1f2683ed5ac273efbabb1e0f50a2e9e90ef6c7cdc481bd84ef3372bf10f288b08f2b850a80d917838e057545851d3113c8f877512 AUX graylog.initd 836 BLAKE2B 936e5e3c811fb01bc80dde2bf8bf67dd75b6a4a20fdc7fabd53789fca977dccd7aa2664225d848e4b63819d15666e6913058ce0a769413c58784e891366bdc36 SHA512 a6d63077aac5d35621f355811bd6380b34eee952f34446faa26250c0e83a6649673550e51169103a6735fb0002f808fed0e8764459e129027700c3849b3cb0e5 -DIST graylog-3.3.11.tgz 129320028 BLAKE2B c90641ba1f5abaaeeba452dc623e6b6dd65ff5b3e53f111e72ebbbde1a96a9b7e82d6874d055c0fcec2e48842368fcd45510d4d4ebcfdd70a7bbcb967b5b1501 SHA512 2bcb84060254b3cd11aafd54f90debe9148cccdaec50cda53a50d302e7a152fb2622e9dd555420d25fa3ed6a8b8da5105ef322a152c3fcdabc9dec9c47338c6d -DIST graylog-3.3.13.tgz 129316329 BLAKE2B ea90edfbffaeba5a022a012ddd87b83d9d5cbd9a2d348c78dd44c22cd95fe5f2f5d5eccc067066b2fd52e0ea944827c02f89233396ee70ef4a440c52e2a8da0c SHA512 7360408db9abbba472f44a01898edb55d9a07306b03dc9ee1b1ac84df2835dd5afccc5c29fbc07137da3cce2f1c59dd26974ad6f6a2ee6e69e1679916227e115 -DIST graylog-4.0.5.tgz 163294449 BLAKE2B 3b3c7e74bdfbc37bb4a416733b70d153b399b66cf97215a476aa3304dead0143a60253514c804e6cbeb5b4e2935e79a9e8ff16b88d2067c8820dcc5aaf7331aa SHA512 d9df101560fa0dcf63043c1dd41342caea58d77d24e81da0912270b6b627c1ec1c30900902a8456bcd3dd1281d4d57b499defc4e0da0a58bbc61ad53f1843448 -DIST graylog-4.0.7.tgz 190560623 BLAKE2B 329a61bb6e8f08fc670a7f9673c5e67fb197febf8ab85737c651e1f8c3a078e3528d9058f0d707bd1e3ed94fa3dc60c2a70a7f931a8cea79d31c96099a86117c SHA512 991e2eec505cfde6a7254d4fa332c564e81142afec7a3b879a60ca10b7366cba46823c078f043cc5e700e462d2ba7d23fa6774ab3e58903bed91b8b5494c9d5e -EBUILD graylog-3.3.11.ebuild 2235 BLAKE2B a78ff8840cd9421ac47198c4c718352df4ada68078d279a8c693990306e69ab8f73ac744207772a5d46f6620e775842be7e99515e5f32b353d00b1790288782f SHA512 aff0a2f59f9b1f93f4297470a14fe8b633aa771039cae539baedc17d1e5d8150bc4b8bb0c1abb6547b3709fb6d270bc263302de1e90641e7f9d3610ac2cbb587 -EBUILD graylog-3.3.13.ebuild 2235 BLAKE2B a78ff8840cd9421ac47198c4c718352df4ada68078d279a8c693990306e69ab8f73ac744207772a5d46f6620e775842be7e99515e5f32b353d00b1790288782f SHA512 aff0a2f59f9b1f93f4297470a14fe8b633aa771039cae539baedc17d1e5d8150bc4b8bb0c1abb6547b3709fb6d270bc263302de1e90641e7f9d3610ac2cbb587 -EBUILD graylog-4.0.5.ebuild 2088 BLAKE2B f52ff49d0c44c68690e432433319b71359524a073a64a031fa726509b2e42f799f00d2d51d7b22b257432c1a536858f0dfa9a5b70f0aad8e32e9ebc980284242 SHA512 4fcd6a8fdbe29243ed029ef9919c0331dfd95e7544fab5033ea4309d32a0b6faabbefc12e71643782701b0c8590523c99edcfa94638614ee3ab286b6aae4a72b -EBUILD graylog-4.0.7.ebuild 2088 BLAKE2B f52ff49d0c44c68690e432433319b71359524a073a64a031fa726509b2e42f799f00d2d51d7b22b257432c1a536858f0dfa9a5b70f0aad8e32e9ebc980284242 SHA512 4fcd6a8fdbe29243ed029ef9919c0331dfd95e7544fab5033ea4309d32a0b6faabbefc12e71643782701b0c8590523c99edcfa94638614ee3ab286b6aae4a72b +DIST graylog-3.3.14.tgz 129341489 BLAKE2B 33c6c0ef84785a325a5d7cc484fa7cbcbf1bb09003f35266476d37bcc9eda5cde54ae044414461d40110e59bfae24ecad48cee8e3dbbfa1a6b3bd50a1a0c0e97 SHA512 8257b134e0922ba40d3cf28cbd4418117f6478f021ed872cdbdcd605f1d179d1b6ee8f44258022a358abf8dc9e510ef55e5e6ac5e004186b41d6b23b55dc7d57 +DIST graylog-4.0.10.tgz 190578964 BLAKE2B abc9be077acb7da76fe446a8a580e857abb852b6c811fe34a237527538421777ad12e779b79a85db6c54f477c547451f3c8a9aed6054d1df209626fc4ff95dac SHA512 62b97eb1a8ed49a659fdfeaa48b685e06ecda7c7a556caf29db86a2c149dd3f00c9b51ba48e3f81e3f8b9ed00cb567e86d617553028b41c1e723b373d67ec466 +DIST graylog-4.1.2.tgz 197078255 BLAKE2B 1a64529e1000c850fffd5e7566a7b3f87a495e5bf81921e92b464db5ff01046d13cc5d5d172d49b33063a89caf7f4360baff13ce1c6478dd90c50a7c5b1bed88 SHA512 86f2f80c14eb9fc45cc4b1c49a9ae4cd67054199200b87056721e59edd713b0b9a22f184b16f330998a85e0bd36901edf1f816e8ac21497d41a99c52525076fc +EBUILD graylog-3.3.14.ebuild 2235 BLAKE2B a78ff8840cd9421ac47198c4c718352df4ada68078d279a8c693990306e69ab8f73ac744207772a5d46f6620e775842be7e99515e5f32b353d00b1790288782f SHA512 aff0a2f59f9b1f93f4297470a14fe8b633aa771039cae539baedc17d1e5d8150bc4b8bb0c1abb6547b3709fb6d270bc263302de1e90641e7f9d3610ac2cbb587 +EBUILD graylog-4.0.10.ebuild 2088 BLAKE2B f52ff49d0c44c68690e432433319b71359524a073a64a031fa726509b2e42f799f00d2d51d7b22b257432c1a536858f0dfa9a5b70f0aad8e32e9ebc980284242 SHA512 4fcd6a8fdbe29243ed029ef9919c0331dfd95e7544fab5033ea4309d32a0b6faabbefc12e71643782701b0c8590523c99edcfa94638614ee3ab286b6aae4a72b +EBUILD graylog-4.1.2.ebuild 1298 BLAKE2B 9110b8f0bb1bc12952e80ba0c033b6ab303014056a1f5e513e1756d03048806bec85fc123758e5bbb5d9860c8e16079e9668e1821460d08cd0e75d1aaaca6dac SHA512 f9e2321002a4c903b0825b0b75dcf56b54906eef2fba91144bb8b93f325467bd01fe37173584f7fbf8785d357c0650e8c61f9d1497df5f834cc2e844c4f282bb MISC metadata.xml 614 BLAKE2B b9324a8c6eaef41df27e5194c9fba2ad209a28278bbf46877be4b1660b64653e21e70fda4907216bb99bb74fbe93ae84836340c5a105c0a6ff1e59ffd5288e1e SHA512 50b49fec32b8b93b7514395f888db8731c42ae227ffe3509e2d056544e3da34fea38748cbf5c6c28c0676246af2533eb74652045a5a1933cb9d685ac5e879251 diff --git a/app-admin/graylog/graylog-3.3.11.ebuild b/app-admin/graylog/graylog-3.3.11.ebuild deleted file mode 100644 index bf3420b1de92..000000000000 --- a/app-admin/graylog/graylog-3.3.11.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 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, 4.0 or 4.2" -} diff --git a/app-admin/graylog/graylog-3.3.13.ebuild b/app-admin/graylog/graylog-3.3.13.ebuild deleted file mode 100644 index bf3420b1de92..000000000000 --- a/app-admin/graylog/graylog-3.3.13.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 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, 4.0 or 4.2" -} diff --git a/app-admin/graylog/graylog-3.3.14.ebuild b/app-admin/graylog/graylog-3.3.14.ebuild new file mode 100644 index 000000000000..bf3420b1de92 --- /dev/null +++ b/app-admin/graylog/graylog-3.3.14.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 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, 4.0 or 4.2" +} diff --git a/app-admin/graylog/graylog-4.0.10.ebuild b/app-admin/graylog/graylog-4.0.10.ebuild new file mode 100644 index 000000000000..e0b3f8d98a4d --- /dev/null +++ b/app-admin/graylog/graylog-4.0.10.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2021 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=( + 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" +} diff --git a/app-admin/graylog/graylog-4.0.5.ebuild b/app-admin/graylog/graylog-4.0.5.ebuild deleted file mode 100644 index e0b3f8d98a4d..000000000000 --- a/app-admin/graylog/graylog-4.0.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 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=( - 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" -} diff --git a/app-admin/graylog/graylog-4.0.7.ebuild b/app-admin/graylog/graylog-4.0.7.ebuild deleted file mode 100644 index e0b3f8d98a4d..000000000000 --- a/app-admin/graylog/graylog-4.0.7.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 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=( - 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" -} diff --git a/app-admin/graylog/graylog-4.1.2.ebuild b/app-admin/graylog/graylog-4.1.2.ebuild new file mode 100644 index 000000000000..9acb16a593fa --- /dev/null +++ b/app-admin/graylog/graylog-4.1.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 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=( + 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() { + 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" +} -- cgit v1.2.3