From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logstash-bin/, app-admin/logstash-bin/files/
Date: Mon, 7 Dec 2015 11:37:40 +0000 (UTC) [thread overview]
Message-ID: <1449488241.a7bb1661bb1f3b1e7d3a85bd43cfa2539443b214.idella4@gentoo> (raw)
commit: a7bb1661bb1f3b1e7d3a85bd43cfa2539443b214
Author: Tomas Mozes <tmozes <AT> sygic <DOT> com>
AuthorDate: Mon Dec 7 09:31:48 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 11:37:21 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7bb1661
app-admin/logstash-bin: clean old versions
app-admin/logstash-bin/files/logstash.confd | 2 -
app-admin/logstash-bin/files/logstash.initd | 33 ---------------
app-admin/logstash-bin/logstash-bin-1.4.5.ebuild | 50 ----------------------
app-admin/logstash-bin/logstash-bin-1.5.4.ebuild | 53 ------------------------
4 files changed, 138 deletions(-)
diff --git a/app-admin/logstash-bin/files/logstash.confd b/app-admin/logstash-bin/files/logstash.confd
deleted file mode 100644
index 29f4d1c..0000000
--- a/app-admin/logstash-bin/files/logstash.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-#LOGSTASH_USER=""
-#LOGSTASH_GROUP=""
diff --git a/app-admin/logstash-bin/files/logstash.initd b/app-admin/logstash-bin/files/logstash.initd
deleted file mode 100644
index 08b063f..0000000
--- a/app-admin/logstash-bin/files/logstash.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-LOGSTASH_USER=${LOGSTASH_USER:-root}
-LOGSTASH_GROUP=${LOGSTASH_GROUP:-root}
-LOGFILE="/var/log/logstash/logstash.log"
-
-command="/opt/logstash/bin/logstash"
-command_args="agent --config /etc/logstash/conf.d/*.conf --log ${LOGFILE}"
-extra_commands="checkconfig"
-command_background="true"
-start_stop_daemon_args="--user=\"${LOGSTASH_USER}\""
-pidfile="/run/logstash/logstash.pid"
-
-depend() {
- use net
- after elasticsearch
-}
-
-checkconfig() {
- ebegin "Checking your configuration"
- ${command} ${command_args} --configtest
- eend $? "Configuration error. Please fix your configuration files."
-}
-
-start_pre() {
- checkconfig || return 1
-
- checkpath -d -o "${LOGSTASH_USER}":"${LOGSTASH_GROUP}" -m750 "$(dirname "${pidfile}")"
- checkpath -d -o "${LOGSTASH_USER}":"${LOGSTASH_GROUP}" -m750 "$(dirname "${LOGFILE}")"
- checkpath -f -o "${LOGSTASH_USER}":"${LOGSTASH_GROUP}" -m640 "${LOGFILE}"
-}
diff --git a/app-admin/logstash-bin/logstash-bin-1.4.5.ebuild b/app-admin/logstash-bin/logstash-bin-1.4.5.ebuild
deleted file mode 100644
index 027faae..0000000
--- a/app-admin/logstash-bin/logstash-bin-1.4.5.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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.4.ebuild b/app-admin/logstash-bin/logstash-bin-1.5.4.ebuild
deleted file mode 100644
index 18df7a3..0000000
--- a/app-admin/logstash-bin/logstash-bin-1.5.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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"
-}
next reply other threads:[~2015-12-07 11:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 11:37 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-07-15 16:16 [gentoo-commits] repo/gentoo:master commit in: app-admin/logstash-bin/, app-admin/logstash-bin/files/ Mikle Kolyada
2017-09-25 11:29 Michael Orlitzky
2017-02-13 15:01 Andrew Savchenko
2017-01-17 22:54 Patrice Clement
2016-12-18 14:19 Michael Palimaka
2016-10-29 9:56 Patrick Lauer
2016-04-01 9:15 Patrick Lauer
2015-12-07 11:37 Ian Delaney
2015-11-10 16:08 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449488241.a7bb1661bb1f3b1e7d3a85bd43cfa2539443b214.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox