diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/logstash-bin/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/logstash-bin/logstash-bin-1.4.4.ebuild | 50 | ||||
-rw-r--r-- | app-admin/logstash-bin/logstash-bin-1.5.3.ebuild | 53 |
3 files changed, 111 insertions, 1 deletions
diff --git a/app-admin/logstash-bin/ChangeLog b/app-admin/logstash-bin/ChangeLog index 110cc7d6a6d3..feef79632d0a 100644 --- a/app-admin/logstash-bin/ChangeLog +++ b/app-admin/logstash-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/logstash-bin # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-bin/ChangeLog,v 1.2 2015/07/01 08:04:27 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-bin/ChangeLog,v 1.3 2015/07/21 13:14:40 idella4 Exp $ + +*logstash-bin-1.4.4 (21 Jul 2015) +*logstash-bin-1.5.3 (21 Jul 2015) + + 21 Jul 2015; Ian Delaney <idella4@gentoo.org> +logstash-bin-1.4.4.ebuild, + +logstash-bin-1.5.3.ebuild: + bumps; ebuilds submitted via bug #555530 *logstash-bin-1.4.3 (01 Jul 2015) diff --git a/app-admin/logstash-bin/logstash-bin-1.4.4.ebuild b/app-admin/logstash-bin/logstash-bin-1.4.4.ebuild new file mode 100644 index 000000000000..5da3805fe95b --- /dev/null +++ b/app-admin/logstash-bin/logstash-bin-1.4.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-bin/logstash-bin-1.4.4.ebuild,v 1.1 2015/07/21 13:14:40 idella4 Exp $ + +EAPI=5 + +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="" + +DEPEND="" +RDEPEND="|| ( virtual/jre:1.8 virtual/jre:1.7 )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} + keepdir "/var/log/${MY_PN}" + + insinto "/etc/${MY_PN}/conf.d" + doins "${FILESDIR}/agent.conf.sample" + + insinto "/opt/${MY_PN}" + doins -r . + fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" + + insinto /etc/logrotate.d + doins "${FILESDIR}/${MY_PN}.logrotate" + + newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}" + newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}" +} + +pkg_postinst() { + 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-1.5.3.ebuild b/app-admin/logstash-bin/logstash-bin-1.5.3.ebuild new file mode 100644 index 000000000000..5204afc85d81 --- /dev/null +++ b/app-admin/logstash-bin/logstash-bin-1.5.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/logstash-bin/logstash-bin-1.5.3.ebuild,v 1.1 2015/07/21 13:14:40 idella4 Exp $ + +EAPI=5 + +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}" + +src_install() { + keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins} + keepdir "/var/log/${MY_PN}" + + insinto "/etc/${MY_PN}/conf.d" + 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 + doins "${FILESDIR}/${MY_PN}.logrotate" + + newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}" + newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}" +} + +pkg_postinst() { + 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" +} |