diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /app-admin/graylog | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'app-admin/graylog')
-rw-r--r-- | app-admin/graylog/Manifest | 6 | ||||
-rw-r--r-- | app-admin/graylog/graylog-3.3.11.ebuild (renamed from app-admin/graylog/graylog-3.3.9.ebuild) | 2 | ||||
-rw-r--r-- | app-admin/graylog/graylog-4.0.5.ebuild | 79 |
3 files changed, 84 insertions, 3 deletions
diff --git a/app-admin/graylog/Manifest b/app-admin/graylog/Manifest index 275fae4a407e..cacc11919d87 100644 --- a/app-admin/graylog/Manifest +++ b/app-admin/graylog/Manifest @@ -1,9 +1,11 @@ AUX graylog.confd 521 BLAKE2B b776c8c834358a426aab6e67b894ab3fc8e07b5d6d24f506312f41e76ea36bd39398d1eb424cf9f3fff633a26acb8af54dccd4a19642b55bf18d91fe92aff31c SHA512 3d8c3b6128f839809f14c7a1f2683ed5ac273efbabb1e0f50a2e9e90ef6c7cdc481bd84ef3372bf10f288b08f2b850a80d917838e057545851d3113c8f877512 AUX graylog.initd 836 BLAKE2B 936e5e3c811fb01bc80dde2bf8bf67dd75b6a4a20fdc7fabd53789fca977dccd7aa2664225d848e4b63819d15666e6913058ce0a769413c58784e891366bdc36 SHA512 a6d63077aac5d35621f355811bd6380b34eee952f34446faa26250c0e83a6649673550e51169103a6735fb0002f808fed0e8764459e129027700c3849b3cb0e5 DIST graylog-3.3.10.tgz 129330433 BLAKE2B 6633a0c4ba9efa6bdece55cc9c3036a45bb78e10e6e80f29656fd5924176ee881b7f1dfb761ea7af9cac0c1cdace87335747c9fcb23bb49b51ebb400139118cf SHA512 0280f3e4f38542487e2c9a10b0aa0ea2db711a249f9e0ad241d136ee1df5aada13a4da543ac40ceb7c715273903d83a6d62ceddde5feb9ede99c95cc8325f5f2 -DIST graylog-3.3.9.tgz 129306340 BLAKE2B 91fd8195176b2e7d87b0bf29ffbe000b8cddac8efb238487a0e3cc1b1048e9ea9af36d1f5362c79ce0ba964886b336a43bbc7e64d52711bf00e3721d7253a3af SHA512 acbfd63974a700f7860e4acf706cc40f8c097546510ec7ed040bfbf50cb878fbd0a9f793eb88227e27205d5af40dbad3a4299354bf70bc2c26a6998b6c3bf0c6 +DIST graylog-3.3.11.tgz 129320028 BLAKE2B c90641ba1f5abaaeeba452dc623e6b6dd65ff5b3e53f111e72ebbbde1a96a9b7e82d6874d055c0fcec2e48842368fcd45510d4d4ebcfdd70a7bbcb967b5b1501 SHA512 2bcb84060254b3cd11aafd54f90debe9148cccdaec50cda53a50d302e7a152fb2622e9dd555420d25fa3ed6a8b8da5105ef322a152c3fcdabc9dec9c47338c6d DIST graylog-4.0.2.tgz 163286730 BLAKE2B 102b410b89e776c43ce97442407e0e7a418b0e9c9ac82747e4e049b83e8c88a865861e365ecc57fcd45dd4dc7bd763ba9f8657038526523c3f341be73daf647a SHA512 535451f84bc28e9716d34138637b732a4ebe879970051f720997d93828846a2ac707a58a14f14e10fa0aa4e3aeed5694ac0339275ef2623d5ac01712067158ca +DIST graylog-4.0.5.tgz 163294449 BLAKE2B 3b3c7e74bdfbc37bb4a416733b70d153b399b66cf97215a476aa3304dead0143a60253514c804e6cbeb5b4e2935e79a9e8ff16b88d2067c8820dcc5aaf7331aa SHA512 d9df101560fa0dcf63043c1dd41342caea58d77d24e81da0912270b6b627c1ec1c30900902a8456bcd3dd1281d4d57b499defc4e0da0a58bbc61ad53f1843448 EBUILD graylog-3.3.10.ebuild 2235 BLAKE2B 3c5282354b4c1cd5281640baecbe4031ebc90e4abe2f2f6640964cb353bc19e4985d4f1657c1b1fc38cba18201de98120de1bda93c208e8bbad9e35a7375be0c SHA512 121c473f1039cc0010e0bda3624f366b49f7741424d57c983077b044fd2bf0895bb125cc97ee97fe4313dc1736a5c6714532705a5053e8e9c1bc5beb038e566a -EBUILD graylog-3.3.9.ebuild 2235 BLAKE2B 3c5282354b4c1cd5281640baecbe4031ebc90e4abe2f2f6640964cb353bc19e4985d4f1657c1b1fc38cba18201de98120de1bda93c208e8bbad9e35a7375be0c SHA512 121c473f1039cc0010e0bda3624f366b49f7741424d57c983077b044fd2bf0895bb125cc97ee97fe4313dc1736a5c6714532705a5053e8e9c1bc5beb038e566a +EBUILD graylog-3.3.11.ebuild 2235 BLAKE2B a78ff8840cd9421ac47198c4c718352df4ada68078d279a8c693990306e69ab8f73ac744207772a5d46f6620e775842be7e99515e5f32b353d00b1790288782f SHA512 aff0a2f59f9b1f93f4297470a14fe8b633aa771039cae539baedc17d1e5d8150bc4b8bb0c1abb6547b3709fb6d270bc263302de1e90641e7f9d3610ac2cbb587 EBUILD graylog-4.0.2.ebuild 2088 BLAKE2B 2d49f39cce74b6afb1073f34d310687f8bca88f22fa09b9ff438f6cae5a14768f26ab725200c960407ad82972e3efc9ecf85ad1d2c896961cab4ed849ff7361c SHA512 8ac4ed61c0804ae112955ca94a9f32149b76872e9a736d8195db32384a4c21391fd28162240c69413702f7d06c36668e2d408a4e2a328d2e6806d3d0cd2e24df +EBUILD graylog-4.0.5.ebuild 2088 BLAKE2B f52ff49d0c44c68690e432433319b71359524a073a64a031fa726509b2e42f799f00d2d51d7b22b257432c1a536858f0dfa9a5b70f0aad8e32e9ebc980284242 SHA512 4fcd6a8fdbe29243ed029ef9919c0331dfd95e7544fab5033ea4309d32a0b6faabbefc12e71643782701b0c8590523c99edcfa94638614ee3ab286b6aae4a72b MISC metadata.xml 614 BLAKE2B b9324a8c6eaef41df27e5194c9fba2ad209a28278bbf46877be4b1660b64653e21e70fda4907216bb99bb74fbe93ae84836340c5a105c0a6ff1e59ffd5288e1e SHA512 50b49fec32b8b93b7514395f888db8731c42ae227ffe3509e2d056544e3da34fea38748cbf5c6c28c0676246af2533eb74652045a5a1933cb9d685ac5e879251 diff --git a/app-admin/graylog/graylog-3.3.9.ebuild b/app-admin/graylog/graylog-3.3.11.ebuild index d9a5d3883577..bf3420b1de92 100644 --- a/app-admin/graylog/graylog-3.3.9.ebuild +++ b/app-admin/graylog/graylog-3.3.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/app-admin/graylog/graylog-4.0.5.ebuild b/app-admin/graylog/graylog-4.0.5.ebuild new file mode 100644 index 000000000000..e0b3f8d98a4d --- /dev/null +++ b/app-admin/graylog/graylog-4.0.5.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" +} |