DIST tenshi-0.14.tar.gz 29764 SHA256 73ff5dfb078e0744709d0ead26276a1c88af8a9f0515e786a60c84bd9cd9cfc7 SHA512 9922e9b7f9f39bc38f2e8844399146a9303d8a622b167b748fd76970820b04dc15df55e4ff87c05662ba9d120876cac9fa6ffa3bf07f2ad7c4f6f58d1ca667d2 WHIRLPOOL 780ced7b2cc1902d90c5c51edd77a28cf49dcc45f0e764b47d05c1fcbadf9b5f94fdf86c9c7a746c79fe61c164dc7c1bf8e9d1ac593e804767cc420ccb7f7c7d
DIST tenshi-0.15.tar.gz 28405 SHA256 4f875db168ca53249c521ac0b5a1e2b7498613bc3ac2a23de85638e44d0006a7 SHA512 7d241d192986d2073d8509cda8b6bd21bc678f05d6e3b830885485d259454c5e5c004b477e63dbef5eb3e5bea8c4af56d6d8ed32c6809de43ed1e144c6b3d04c WHIRLPOOL a35afa1c80cedbf57193b39119de428d53d70e222fcf8a597a187d67a66b2bea82934bf991f8cffa6aa0fc1a86b9f7e9e17d7d2c73e1bbb055d9f01acab8ff17
DIST tenshi-0.16.tar.gz 24460 SHA256 a76ad83eaa8e2017ae14824abaab6b919742569c6a0885d4c471c006c4bc1ef0 SHA512 b23adc764ba0bbdde99a273a233cdb5117cd160da56aa19db05f196a4d4934e3a631c9d9effe4a80388c176c3b19b46328edca02af85265d08d6e77b724b044e WHIRLPOOL e965099d170c6f691989d6f897265e399331991e7a81c1a4e98144e72018240a5e88dd085715bc638d18c65d1e946738183b806fb68d59864f421c6ce1344279
+DIST tenshi-0.17.tar.gz 24597 SHA256 9b7e72b6496e2f6abd77d1dd3c4c6b77bdce61ca5531f9f1c62376b020904db7 SHA512 2ca93ceaab0843c321fa69d8ba1c7b31eaf809cac4348c98327ddd9ab72df4d5ff00d6b4edeb19a9f02e154161988e0c2284248fd0e84d2b42dd82fdbaac1a78 WHIRLPOOL 66d6e137f06b2fdcfbd8fe17be520d11d9d684aee988555ecbea17ec22ad697216b0b2b56c5deee5215915c11a87bc45cabb054205aa27e1b2dae67900fcf74d
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user
+
+DESCRIPTION="Log parsing and notification program"
+HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
+SRC_URI="https://github.com/inversepath/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~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_prepare() {
+ default
+ # Fix for bug #241254
+ sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
+ Makefile || die "docdir substitution failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doman tenshi.8
+ newinitd tenshi.openrc-init tenshi
+
+ # We don't need to install LICENSE files.
+ rm "${D}/usr/share/doc/${PF}/LICENSE" || die 'failed to remove LICENSE'
+}
+
+pkg_postinst() {
+ ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
+ ewarn "monitors /var/log/messages which, by default, can not be read"
+ ewarn "by the tenshi user. Make sure that the tenshi user has read"
+ ewarn "permission on all the files that you want tenshi to monitor."
+}