commit: 392855f13fc5b4535080aa2e6161afa00cb32d23 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sun Aug 18 08:14:48 2024 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Aug 25 23:53:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392855f1
app-admin/tenshi: add 0.18 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/38183 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> app-admin/tenshi/Manifest | 1 + app-admin/tenshi/tenshi-0.18.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-admin/tenshi/Manifest b/app-admin/tenshi/Manifest index 4e36e59a93ad..fc36f5e5550f 100644 --- a/app-admin/tenshi/Manifest +++ b/app-admin/tenshi/Manifest @@ -1 +1,2 @@ DIST tenshi-0.17.tar.gz 24597 BLAKE2B 846128e65b1a2d2a3bc5edecc9356069f44d9c13757771ec7fc5c31063d8aeb9403d447dbb088d2aa7d05d3b086ac6c569cd24a05c336225540b3baa10e79bb7 SHA512 2ca93ceaab0843c321fa69d8ba1c7b31eaf809cac4348c98327ddd9ab72df4d5ff00d6b4edeb19a9f02e154161988e0c2284248fd0e84d2b42dd82fdbaac1a78 +DIST tenshi-0.18.tar.gz 25299 BLAKE2B a8aa6b1c88c85a38dacf27755da82b4a5cb8305faaf9c39b3bc877e6e13474987d32043145e2e14ec8fbb5f6450c7b8c9abae6762c2dcb31c107960d353a5de9 SHA512 a9f08600efb5c36630d73b0ae5c596948a7cdaec43b967b7c7d4f04fba8f2a698b71faea240391f45f1fc86f168722103f3b0be198b3853e2487256cbad2aac0 diff --git a/app-admin/tenshi/tenshi-0.18.ebuild b/app-admin/tenshi/tenshi-0.18.ebuild new file mode 100644 index 000000000000..d5975a92a7ff --- /dev/null +++ b/app-admin/tenshi/tenshi-0.18.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Log parsing and notification program" +HOMEPAGE="https://inversepath.com/tenshi.html https://github.com/f-secure-foundry/tenshi" +SRC_URI="https://github.com/f-secure-foundry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + acct-group/tenshi + acct-user/tenshi + dev-lang/perl + dev-perl/IO-BufferedSelect + sys-apps/coreutils +" + +src_prepare() { + default + + # Fix for bug #241254 + sed 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' -i Makefile || die "docdir substitution failed" +} + +src_install() { + default + + doman tenshi.8 + keepdir /var/lib/tenshi + newinitd tenshi.openrc-init tenshi +} + +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." +}
