commit: e63c8470e34a3441398cb36eb180f38f370ee23d Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> AuthorDate: Sun Jan 15 06:31:35 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Tue Jan 17 22:54:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63c8470
app-admin/logstash-bin: drop old Closes: https://github.com/gentoo/gentoo/pull/3485 app-admin/logstash-bin/Manifest | 3 - app-admin/logstash-bin/files/logstash.initd3 | 70 ---------------------- app-admin/logstash-bin/logstash-bin-2.3.4.ebuild | 64 -------------------- .../logstash-bin/logstash-bin-5.0.0-r2.ebuild | 64 -------------------- .../logstash-bin/logstash-bin-5.0.1-r1.ebuild | 64 -------------------- app-admin/logstash-bin/logstash-bin-5.0.1.ebuild | 64 -------------------- 6 files changed, 329 deletions(-) diff --git a/app-admin/logstash-bin/Manifest b/app-admin/logstash-bin/Manifest index 1898b0c..c5475d0 100644 --- a/app-admin/logstash-bin/Manifest +++ b/app-admin/logstash-bin/Manifest @@ -1,6 +1,3 @@ -DIST logstash-2.3.4.tar.gz 79779303 SHA256 7f62a03ddc3972e33c343e982ada1796b18284f43ed9c0089a2efee78b239583 SHA512 cc5d6c04e414daf63c836141df87204e0cbc63f71ee02abb69496e29587d5b0803dd738949de559a597979c9f6c6bf9d11d55f4b084ce875f24fb362f2c9bd3b WHIRLPOOL 71b6d915153d80d9bc81d10454ffd14af4643c61557964d7fd8edf50bf1a5d1c53ce0b09c2aec9b079918df596bbb5b07420b8661572bf7ea659e9703694f07c DIST logstash-2.4.0.tar.gz 83882952 SHA256 622c435c5c0f40e205fd4d9411eb409cc52992cf62dde4c7cd46e480cd8247cc SHA512 27f7e22fcfbeabe58bef1220399a80b32b56b5e2af17c0279e3f583ed5170be649b961b92c3eef33120ce238f126a3cb32e614bd8109bd8c266b538888c5324d WHIRLPOOL 2d1db78ff21d86e22f709600b086dfc253120e6a659d46c1e6ebc6d62dfffd48f0a440c33fa9a1cd7014108f5ae88afa4ccd25211ce57b1a4856f756a855c71e -DIST logstash-5.0.0.zip 110726123 SHA256 9a8ba13f9d4333fb17f373fc822a0ae5458ef8a37c026b823fc9a66044f8e331 SHA512 928541781d5f6bf16d91184f4863c2ecc3b8f07c190fd332b79f4f790091faf0531063459b96a53a250d986060a8968d9d326285e3195a39a116f0dc2ac1e43d WHIRLPOOL a6447c19d717819fa95b4e35e149215f8e6b270032311a80d56b235a1ee3de3561bd3ce5277ee3bd1fc11126819a0333d9ed068306f360e93788742ba45246d0 -DIST logstash-5.0.1.zip 110853954 SHA256 e2da648882f1583190e9146b0a994d7956c6e6ec0d17d4c92187b8fc74a1e9ee SHA512 57ceb47fb971d8bebf4d952d01f40dc14c79e9774ee228e2f3f55e8e1cf882df1361902192af93e0a5a74a18fb10ad2387b0922665e9285ff4d3b11add71b2e2 WHIRLPOOL 9867f9f1a2d06e5cccb81fe3db8ee0f8104085103f900442fd041770a3ec8c3941b7639c58766576e8a2d0c99dc5736ce62e7c002d3b6420f0de1205e9c5c09c DIST logstash-5.1.2.zip 100044055 SHA256 99fd514b6241310c78aefca2cd895c1cec4cd426aa08fccf7e8bba26567573c3 SHA512 4186f942dd555dc1284bc657cbd3a61de8aa67a50bd2f7b725d3364e5fca61029cadb0ca4f9e1c4a36078805fd015128ddcd7773e19e643eaddd5ae2fa9c6673 WHIRLPOOL 1127a419a35e42de59a4bd61fe5b75e39daad69d0646019417abf83f44639a86fd2b1ffc687b6cc551562045ef3d2d901d7985437d158094d4d054e4a93bfd5d DIST logstash-all-plugins-2.4.0.tar.gz 139743651 SHA256 b2ffe60745ece2140ebc4610f42543dcf3ff5ead2707f0b36f0b70e8ddf0baff SHA512 9627f6119d129b4dcdc41ff43e49a3880f4ba5fcb3ee11e1ec821929d542c93629b0f58ded6741c96da49cba16b05eca141acdeee0ed060389abc3f467bba593 WHIRLPOOL 49ddc27d6030ae65aaab0acabda478644232f92cbd2bbe3d1b118782c5ce1167edb2a485def982f3b6c8138f084e79a783273dd50519a82085b984259f7e19d4 diff --git a/app-admin/logstash-bin/files/logstash.initd3 b/app-admin/logstash-bin/files/logstash.initd3 deleted file mode 100644 index ce783fa..00000000 --- a/app-admin/logstash-bin/files/logstash.initd3 +++ /dev/null @@ -1,70 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -LS_USER=${LS_USER:-logstash} -LS_GROUP=${LS_GROUP:-$LS_USER} -LS_LOG_FILE=${LS_LOG_FILE:-/var/log/logstash/logstash.log} -LS_CONF_DIR=${LS_CONF_DIR:-/etc/logstash/conf.d} -LS_HOME=${LS_HOME:-/var/lib/logstash} -LS_HEAP_SIZE=${LS_HEAP_SIZE:-500m} -LS_NICE=${LS_NICE:-19} -LS_JAVA_OPTS=${LS_JAVA_OPTS:-"-Djava.io.tmpdir=${LS_HOME}"} -LS_USE_GC_LOGGING=${LS_USE_GC_LOGGING:-false} -LS_OPEN_FILES=${LS_OPEN_FILES:-16384} -KILL_ON_STOP_TIMEOUT=${KILL_ON_STOP_TIMEOUT:-0} - -command="/opt/logstash/bin/logstash" -command_args="--path.config ${LS_CONF_DIR} --path.logs ${LS_LOG_FILE} ${LS_OPTS}" -command_background="true" -pidfile=${LS_PIDFILE:-"/run/logstash/logstash.pid"} - -start_stop_daemon_args="--user ${LS_USER}:${LS_GROUP} \ - --chdir ${LS_HOME} - --nicelevel ${LS_NICE} - --env LS_HEAP_SIZE=${LS_HEAP_SIZE} - --env LS_JAVA_OPTS=${LS_JAVA_OPTS} - --env LS_USE_GC_LOGGING=${LS_USE_GC_LOGGING}" - -extra_commands="checkconfig" -extra_started_commands="reload" - -checkconfig() { - if [ ! -f ${LS_CONF_DIR}/* ]; then - eerror "Please put your configuration in ${LS_CONF_DIR}" - exit 1 - fi - - ebegin "Checking your configuration" - ${command} ${command_args} --config.test_and_exit - eend $? "Configuration error. Please fix your configuration files." -} - -reload() { - checkconfig || return 1 - ebegin "Reloading configuration" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} - -start_pre() { - checkconfig || return 1 - - rc_ulimit="-n ${LS_OPEN_FILES}" - - checkpath -d -o "${LS_USER}":"${LS_GROUP}" -m750 "$(dirname "${pidfile}")" - checkpath -d -o "${LS_USER}":"${LS_GROUP}" -m750 "$(dirname "${LS_LOG_FILE}")" - checkpath -f -o "${LS_USER}":"${LS_GROUP}" -m640 "${LS_LOG_FILE}" -} - -stop() { - ebegin "Stopping logstash" - if [ "${KILL_ON_STOP_TIMEOUT}" == "1" ]; then - start-stop-daemon --stop \ - --pidfile=${pidfile} \ - --retry=TERM/5/KILL/5 - else - start-stop-daemon --stop \ - --pidfile=${pidfile} - fi -} diff --git a/app-admin/logstash-bin/logstash-bin-2.3.4.ebuild b/app-admin/logstash-bin/logstash-bin-2.3.4.ebuild deleted file mode 100644 index 1510250..00000000 --- a/app-admin/logstash-bin/logstash-bin-2.3.4.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit user - -MY_PN="${PN/-bin}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Tool for managing events and logs" -HOMEPAGE="https://www.elastic.co/products/logstash" -SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="strip" -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" - -DEPEND="" -RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup ${MY_PN} - enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} -} - -src_install() { - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} - keepdir "/var/log/${MY_PN}" - - insinto "/usr/share/${MY_PN}" - doins "${FILESDIR}/agent.conf.sample" - - insinto "/opt/${MY_PN}" - doins -r . - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" - - insinto /etc/logrotate.d - newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}" - - newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}" - newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}" -} - -pkg_postinst() { - ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for" - ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in" - ewarn "/etc/conf.d/${MY_PN}" - einfo - einfo "Getting started with logstash:" - einfo " https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html" - einfo "" - einfo "Packages that might be interesting:" - einfo " app-misc/elasticsearch" - einfo " dev-python/elasticsearch-curator" - einfo " www-apps/kibana-bin" -} diff --git a/app-admin/logstash-bin/logstash-bin-5.0.0-r2.ebuild b/app-admin/logstash-bin/logstash-bin-5.0.0-r2.ebuild deleted file mode 100644 index 503f515..00000000 --- a/app-admin/logstash-bin/logstash-bin-5.0.0-r2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit user - -MY_PN="${PN/-bin}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Tool for managing events and logs" -HOMEPAGE="https://www.elastic.co/products/logstash" -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="strip" -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" - -DEPEND="" -RDEPEND="virtual/jre:1.8" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup ${MY_PN} - enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} -} - -src_install() { - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} - keepdir "/var/log/${MY_PN}" - - insinto "/usr/share/${MY_PN}" - doins "${FILESDIR}/agent.conf.sample" - - insinto "/opt/${MY_PN}" - doins -r . - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" - - insinto /etc/logrotate.d - newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}" - - newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}" - newinitd "${FILESDIR}/${MY_PN}.initd3" "${MY_PN}" -} - -pkg_postinst() { - ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for" - ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in" - ewarn "/etc/conf.d/${MY_PN}" - einfo - einfo "Getting started with logstash:" - einfo " https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html" - einfo "" - einfo "Packages that might be interesting:" - einfo " app-misc/elasticsearch" - einfo " dev-python/elasticsearch-curator" - einfo " www-apps/kibana-bin" -} diff --git a/app-admin/logstash-bin/logstash-bin-5.0.1-r1.ebuild b/app-admin/logstash-bin/logstash-bin-5.0.1-r1.ebuild deleted file mode 100644 index 6bd8d2c..00000000 --- a/app-admin/logstash-bin/logstash-bin-5.0.1-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit user - -MY_PN="${PN/-bin}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Tool for managing events and logs" -HOMEPAGE="https://www.elastic.co/products/logstash" -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="strip" -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" - -DEPEND="" -RDEPEND="virtual/jre:1.8" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup ${MY_PN} - enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} -} - -src_install() { - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} - keepdir "/var/log/${MY_PN}" - - insinto "/usr/share/${MY_PN}" - doins "${FILESDIR}/agent.conf.sample" - - insinto "/opt/${MY_PN}" - doins -r . - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" - - insinto /etc/logrotate.d - newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}" - - newconfd "${FILESDIR}/${MY_PN}.confd2" "${MY_PN}" - newinitd "${FILESDIR}/${MY_PN}.initd4" "${MY_PN}" -} - -pkg_postinst() { - ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for" - ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in" - ewarn "/etc/conf.d/${MY_PN}" - einfo - einfo "Getting started with logstash:" - einfo " https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html" - einfo "" - einfo "Packages that might be interesting:" - einfo " app-misc/elasticsearch" - einfo " dev-python/elasticsearch-curator" - einfo " www-apps/kibana-bin" -} diff --git a/app-admin/logstash-bin/logstash-bin-5.0.1.ebuild b/app-admin/logstash-bin/logstash-bin-5.0.1.ebuild deleted file mode 100644 index 503f515..00000000 --- a/app-admin/logstash-bin/logstash-bin-5.0.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit user - -MY_PN="${PN/-bin}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Tool for managing events and logs" -HOMEPAGE="https://www.elastic.co/products/logstash" -SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="strip" -QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so" - -DEPEND="" -RDEPEND="virtual/jre:1.8" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup ${MY_PN} - enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN} -} - -src_install() { - keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} - keepdir "/var/log/${MY_PN}" - - insinto "/usr/share/${MY_PN}" - doins "${FILESDIR}/agent.conf.sample" - - insinto "/opt/${MY_PN}" - doins -r . - fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin" - - insinto /etc/logrotate.d - newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}" - - newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}" - newinitd "${FILESDIR}/${MY_PN}.initd3" "${MY_PN}" -} - -pkg_postinst() { - ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for" - ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in" - ewarn "/etc/conf.d/${MY_PN}" - einfo - einfo "Getting started with logstash:" - einfo " https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html" - einfo "" - einfo "Packages that might be interesting:" - einfo " app-misc/elasticsearch" - einfo " dev-python/elasticsearch-curator" - einfo " www-apps/kibana-bin" -}