summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-04-21 19:08:55 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-04-21 19:08:55 +0000
commit76aa86da58bf32746a9d5188b63ebba57f80106e (patch)
treec798834137cfb71bd132b8e2c91a8fc14d45c7c1 /app-admin/tenshi
parentVersion bump for bug 193863. (diff)
downloadgentoo-2-76aa86da58bf32746a9d5188b63ebba57f80106e.tar.gz
gentoo-2-76aa86da58bf32746a9d5188b63ebba57f80106e.tar.bz2
gentoo-2-76aa86da58bf32746a9d5188b63ebba57f80106e.zip
(Proxy commit) add tenshi-0.10-r1 with fix for bug #218042
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'app-admin/tenshi')
-rw-r--r--app-admin/tenshi/ChangeLog8
-rw-r--r--app-admin/tenshi/files/tenshi-openrc-init.patch11
-rw-r--r--app-admin/tenshi/tenshi-0.10-r1.ebuild42
3 files changed, 60 insertions, 1 deletions
diff --git a/app-admin/tenshi/ChangeLog b/app-admin/tenshi/ChangeLog
index 0dc9dc80f123..0b6a62241fa5 100644
--- a/app-admin/tenshi/ChangeLog
+++ b/app-admin/tenshi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/tenshi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.51 2008/04/12 22:17:12 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.52 2008/04/21 19:08:55 jokey Exp $
+
+*tenshi-0.10-r1 (21 Apr 2008)
+
+ 21 Apr 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/tenshi-openrc-init.patch, +tenshi-0.10-r1.ebuild:
+ (Proxy commit) add tenshi-0.10-r1 with fix for bug #218042
12 Apr 2008; Tobias Scherbaum <dertobi123@gentoo.org> tenshi-0.10.ebuild:
Added ~ppc, bug #213713
diff --git a/app-admin/tenshi/files/tenshi-openrc-init.patch b/app-admin/tenshi/files/tenshi-openrc-init.patch
new file mode 100644
index 000000000000..7333c10ba0dd
--- /dev/null
+++ b/app-admin/tenshi/files/tenshi-openrc-init.patch
@@ -0,0 +1,11 @@
+--- tenshi.gentoo-init.orig 2008-04-17 12:25:05.000000000 +0100
++++ tenshi.gentoo-init 2008-04-17 12:32:06.000000000 +0100
+@@ -13,7 +13,7 @@
+
+ start() {
+ ebegin "Starting tenshi"
+- start-stop-daemon --start --quiet --exec /usr/sbin/tenshi -- -c /etc/tenshi/tenshi.conf -P /var/lib/tenshi/tenshi.pid
++ start-stop-daemon --start --quiet --pidfile /var/lib/tenshi/tenshi.pid --exec /usr/sbin/tenshi -- -c /etc/tenshi/tenshi.conf -P /var/lib/tenshi/tenshi.pid
+ eend $?
+ }
+
diff --git a/app-admin/tenshi/tenshi-0.10-r1.ebuild b/app-admin/tenshi/tenshi-0.10-r1.ebuild
new file mode 100644
index 000000000000..262a5bb2f8e9
--- /dev/null
+++ b/app-admin/tenshi/tenshi-0.10-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.10-r1.ebuild,v 1.1 2008/04/21 19:08:55 jokey Exp $
+
+inherit eutils
+
+DESCRIPTION="Log parsing and notification program"
+HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
+SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ dev-perl/IO-BufferedSelect
+ sys-apps/coreutils"
+
+pkg_setup() {
+ enewgroup tenshi
+ enewuser tenshi -1 -1 /var/lib/tenshi tenshi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-create-mandir.patch"
+ # Fix for bug #218042
+ epatch "${FILESDIR}/${PN}-openrc-init.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ fowners tenshi:root /etc/tenshi/tenshi.conf
+ dodir /var/lib/tenshi
+ fowners tenshi:root /var/lib/tenshi
+ doman tenshi.8
+ newinitd tenshi.gentoo-init tenshi
+ keepdir /var/lib/tenshi
+}