summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-03-17 15:27:14 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-03-17 15:27:14 +0000
commit4db798b1cfea2d2276a1f30ead508743b805c9e7 (patch)
treedf6a9c0bebdd5861937e6427d0ad2e17758dcbef /app-admin/tenshi
parentFix deps for net-libs/xulrunner and www-client/mozilla-firefox (diff)
downloadgentoo-2-4db798b1cfea2d2276a1f30ead508743b805c9e7.tar.gz
gentoo-2-4db798b1cfea2d2276a1f30ead508743b805c9e7.tar.bz2
gentoo-2-4db798b1cfea2d2276a1f30ead508743b805c9e7.zip
Version bump, thanks to Adam James
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-admin/tenshi')
-rw-r--r--app-admin/tenshi/ChangeLog9
-rw-r--r--app-admin/tenshi/files/tenshi-0.9.1-fix-tail_pids-array-length.patch11
-rw-r--r--app-admin/tenshi/tenshi-0.9.1-r1.ebuild41
3 files changed, 60 insertions, 1 deletions
diff --git a/app-admin/tenshi/ChangeLog b/app-admin/tenshi/ChangeLog
index 404221d8cd9e..ceb928d2d002 100644
--- a/app-admin/tenshi/ChangeLog
+++ b/app-admin/tenshi/ChangeLog
@@ -1,6 +1,13 @@
# 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.40 2008/03/11 19:48:21 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.41 2008/03/17 15:27:13 jokey Exp $
+
+*tenshi-0.9.1-r1 (17 Mar 2008)
+
+ 17 Mar 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/tenshi-0.9.1-fix-tail_pids-array-length.patch,
+ +tenshi-0.9.1-r1.ebuild:
+ Version bump, thanks to Adam James
11 Mar 2008; Markus Ullmann <jokey@gentoo.org> metadata.xml:
Taking over as proxy maintainer
diff --git a/app-admin/tenshi/files/tenshi-0.9.1-fix-tail_pids-array-length.patch b/app-admin/tenshi/files/tenshi-0.9.1-fix-tail_pids-array-length.patch
new file mode 100644
index 000000000000..ed99a2638ff9
--- /dev/null
+++ b/app-admin/tenshi/files/tenshi-0.9.1-fix-tail_pids-array-length.patch
@@ -0,0 +1,11 @@
+--- tenshi.orig 2008-03-11 19:51:21.000000000 +0000
++++ tenshi 2008-03-11 19:52:23.000000000 +0000
+@@ -893,7 +893,7 @@
+ local $SIG{CHLD} = 'IGNORE';
+ unlink $pid_file unless ($debug || $profile);
+
+- if ($#tail_pids > 0) {
++ if ($#tail_pids >= 0) {
+ debug(21, join(' ', @tail_pids));
+ kill("SIGTERM", @tail_pids);
+ }
diff --git a/app-admin/tenshi/tenshi-0.9.1-r1.ebuild b/app-admin/tenshi/tenshi-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..e9b126f6ba18
--- /dev/null
+++ b/app-admin/tenshi/tenshi-0.9.1-r1.ebuild
@@ -0,0 +1,41 @@
+# 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.9.1-r1.ebuild,v 1.1 2008/03/17 15:27:14 jokey Exp $
+
+inherit eutils
+
+DESCRIPTION="Log parsing and notification program"
+HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ http://dev.inversepath.com/tenshi/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ sys-apps/coreutils"
+
+pkg_setup() {
+ enewgroup tenshi
+ enewuser tenshi -1 -1 /var/lib/tenshi tenshi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix for bug #212213
+ epatch "${FILESDIR}/${P}-fix-tail_pids-array-length.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
+}