diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2017-10-19 09:55:13 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2017-10-19 09:55:13 -0400 |
commit | 7bd4d65f8d6bef1f6562c25c77f0bd1a3ca8bce4 (patch) | |
tree | d3ae290acd0ec784154d041625e6f37783ff272b /app-admin/tenshi | |
parent | sys-cluster/kubectl: Fix zsh completions (diff) | |
download | gentoo-7bd4d65f8d6bef1f6562c25c77f0bd1a3ca8bce4.tar.gz gentoo-7bd4d65f8d6bef1f6562c25c77f0bd1a3ca8bce4.tar.bz2 gentoo-7bd4d65f8d6bef1f6562c25c77f0bd1a3ca8bce4.zip |
app-admin/tenshi: new version 0.17.
This version completes the fix for the vulnerable PID file handling
reported in bug 626654. Thanks to the proxy maintainer Brian De Wolf
for making sure that this was fixed correctly upstream.
Bug: https://bugs.gentoo.org/626654
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-admin/tenshi')
-rw-r--r-- | app-admin/tenshi/Manifest | 1 | ||||
-rw-r--r-- | app-admin/tenshi/tenshi-0.17.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/tenshi/Manifest b/app-admin/tenshi/Manifest index 676609617f3d..002a1244bea8 100644 --- a/app-admin/tenshi/Manifest +++ b/app-admin/tenshi/Manifest @@ -2,3 +2,4 @@ DIST tenshi-0.12.tar.gz 28467 SHA256 953bbad01cb03674ab6135b70f707467ccd55dd1b8c 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 diff --git a/app-admin/tenshi/tenshi-0.17.ebuild b/app-admin/tenshi/tenshi-0.17.ebuild new file mode 100644 index 000000000000..45059dc892f4 --- /dev/null +++ b/app-admin/tenshi/tenshi-0.17.ebuild @@ -0,0 +1,47 @@ +# 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." +} |