summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-06-11 12:48:27 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-06-11 12:48:27 +0000
commit897a0bcf8054d24cb45926aab71bfcccc1599795 (patch)
tree4a6ad9aff729a9ffda740496d700d485e923b698 /app-admin/tenshi/tenshi-0.10-r2.ebuild
parentgnome-extra/gnome-games: update changelog (diff)
downloadhistorical-897a0bcf8054d24cb45926aab71bfcccc1599795.tar.gz
historical-897a0bcf8054d24cb45926aab71bfcccc1599795.tar.bz2
historical-897a0bcf8054d24cb45926aab71bfcccc1599795.zip
(Proxy commit) Add patch to fix bug #217000
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'app-admin/tenshi/tenshi-0.10-r2.ebuild')
-rw-r--r--app-admin/tenshi/tenshi-0.10-r2.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/tenshi/tenshi-0.10-r2.ebuild b/app-admin/tenshi/tenshi-0.10-r2.ebuild
new file mode 100644
index 000000000000..d2f7262e45ff
--- /dev/null
+++ b/app-admin/tenshi/tenshi-0.10-r2.ebuild
@@ -0,0 +1,44 @@
+# 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-r2.ebuild,v 1.1 2008/06/11 12:48:26 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"
+ # Fix for bug #217000
+ epatch "${FILESDIR}/${PN}-remove-timezone-cache.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
+}