Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/tenshi: tenshi-0.14.ebuild ChangeLog
Date: Thu, 07 Jun 2012 21:01:48
Message-Id: 20120607210136.E1AE02004B@flycatcher.gentoo.org
1 xmw 12/06/07 21:01:36
2
3 Modified: ChangeLog
4 Added: tenshi-0.14.ebuild
5 Log:
6 Version bump (bug 420003 by Brian De Wolf)
7
8 (Portage version: 2.1.10.63/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.71 app-admin/tenshi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tenshi/ChangeLog?rev=1.71&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tenshi/ChangeLog?rev=1.71&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tenshi/ChangeLog?r1=1.70&r2=1.71
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v
20 retrieving revision 1.70
21 retrieving revision 1.71
22 diff -u -r1.70 -r1.71
23 --- ChangeLog 31 May 2012 02:59:03 -0000 1.70
24 +++ ChangeLog 7 Jun 2012 21:01:36 -0000 1.71
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-admin/tenshi
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.70 2012/05/31 02:59:03 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/ChangeLog,v 1.71 2012/06/07 21:01:36 xmw Exp $
30 +
31 +*tenshi-0.14 (07 Jun 2012)
32 +
33 + 07 Jun 2012; Michael Weber <xmw@g.o> +tenshi-0.14.ebuild:
34 + Version bump (bug 420003 by Brian De Wolf)
35
36 31 May 2012; Zac Medico <zmedico@g.o> tenshi-0.12.ebuild:
37 inherit user for enewgroup and enewuser
38
39
40
41 1.1 app-admin/tenshi/tenshi-0.14.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tenshi/tenshi-0.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tenshi/tenshi-0.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tenshi-0.14.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.14.ebuild,v 1.1 2012/06/07 21:01:35 xmw Exp $
51
52 EAPI=4
53 inherit eutils user
54
55 DESCRIPTION="Log parsing and notification program"
56 HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
57 SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
58
59 LICENSE="ISC"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63
64 RDEPEND="dev-lang/perl
65 dev-perl/IO-BufferedSelect
66 sys-apps/coreutils"
67
68 pkg_setup() {
69 enewgroup tenshi
70 enewuser tenshi -1 -1 /var/lib/tenshi tenshi
71 }
72
73 src_prepare() {
74 # Fix for bug #241254
75 sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
76 Makefile || die "docdir substitution failed"
77 }
78
79 src_install() {
80 emake DESTDIR="${D}" install
81 fowners tenshi:root /etc/tenshi/tenshi.conf
82 dodir /var/lib/tenshi
83 fowners tenshi:root /var/lib/tenshi
84 doman tenshi.8
85 newinitd tenshi.gentoo-init tenshi
86 keepdir /var/lib/tenshi
87 }
88
89 pkg_postinst() {
90 ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
91 ewarn "monitors /var/log/messages which, by default, can not be read"
92 ewarn "by the tenshi user. Make sure that the tenshi user has read"
93 ewarn "permission on all the files that you want tenshi to monitor."
94 }