summaryrefslogtreecommitdiff
path: root/app-admin/tenshi
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/tenshi')
-rw-r--r--app-admin/tenshi/Manifest4
-rw-r--r--app-admin/tenshi/tenshi-0.16-r1.ebuild2
-rw-r--r--app-admin/tenshi/tenshi-0.17.ebuild47
3 files changed, 51 insertions, 2 deletions
diff --git a/app-admin/tenshi/Manifest b/app-admin/tenshi/Manifest
index e155b8f97a84..62051daf53df 100644
--- a/app-admin/tenshi/Manifest
+++ b/app-admin/tenshi/Manifest
@@ -5,10 +5,12 @@ 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
EBUILD tenshi-0.12.ebuild 1342 SHA256 d27f426fe51e4eb54fea432c547197f93e2bd76080a6f3a5413451a2f3cf505d SHA512 281348e573ec93eba92456d13c85d263fd32954f539ebe4cee0c66cb291b579bc034313c5d40cecef74d89dfb570d8b905bdd13fb24dfa30cd1ca10767d950a5 WHIRLPOOL 340bc530e696f7d32ba4ed9ccf249fa30e5e0b83a05acf7339fb05cb3ef85155f03c5c88670e5318ce5716e5d54e73d9c486679da04f842d71ed5a77b5e168de
EBUILD tenshi-0.14.ebuild 1185 SHA256 5f851ca15c9a46e3e82fdeb15e0d8860cdca6e849060043de77504321fcb5495 SHA512 53b7df0fc590a83cd12d8ba0c6c5404941f71ab1e81787b8ce924a0baaee2c8162a7abaf3b1d36e6f634bb16520aec29ab3ff7ea1efeace731b676f167335331 WHIRLPOOL d84245f8021f0ef40bacae650900f49ac4d880a93294ab6a3e7cf3465f1179727f7faabe817aab42201b53cfa1f669bbeae2cf37cfd92a9fd6762d454ddbdeac
EBUILD tenshi-0.15.ebuild 1186 SHA256 53592c2046feaf133cddfc09a6a5abc8d76058cbf42df02629f48eaf739c52a2 SHA512 eaffd6c1308d4c8111f443008eb7a2ec8bae686460b91509834c68801719d277f334660ae1330b6215959e6be8fa7349229e0ad214af593fb8a22d756120e769 WHIRLPOOL 7bb95664b52601b82aa0551898a65b4fd34f0e13cb26fc4e6121da29a58d256236833310d528e50ded5d4ebdde16af3d262cc98af76401018d2588d3fda2ff12
-EBUILD tenshi-0.16-r1.ebuild 1202 SHA256 aed391a945b91d4fcdef5b5f1915ff72aa7e6543d978dc65909f242919ec7e15 SHA512 5867a7541226f28c9d126a3a457a841dcf8fc9cf3f69aa5414eaddae5c461141d6f734ed27a68e0c273b82788d46b7c972ca6213025656eef9887ae30344ab6e WHIRLPOOL cbd0a577840096c324bbf84e83f615ac11b46811a5e09271b953d5f5532f33cb69521526df567f1cb90a1fdd29cb06d5cd77388b1de152ac792719f8e784722a
+EBUILD tenshi-0.16-r1.ebuild 1201 SHA256 c4891803801bdc3360f81fe5e90e1574475a290da137c2101cd17d01c6ea520a SHA512 f344b3f8b6d1a3e61d4a5a1f819d2cc787b20a23d310b4c7545bcbc0593d6b14572c0697659f21d083aee2387dad7e1847b5cac0cfe2052fc83f786cb540fd3d WHIRLPOOL c8002931cdf382a04481b3d318083de848bee92372794ac6fe8ff4bdce52cb894efdb278093658685a99aeada0323a8a93fadf27978ce8a4cbd6d8eb326440a5
+EBUILD tenshi-0.17.ebuild 1202 SHA256 aed391a945b91d4fcdef5b5f1915ff72aa7e6543d978dc65909f242919ec7e15 SHA512 5867a7541226f28c9d126a3a457a841dcf8fc9cf3f69aa5414eaddae5c461141d6f734ed27a68e0c273b82788d46b7c972ca6213025656eef9887ae30344ab6e WHIRLPOOL cbd0a577840096c324bbf84e83f615ac11b46811a5e09271b953d5f5532f33cb69521526df567f1cb90a1fdd29cb06d5cd77388b1de152ac792719f8e784722a
MISC ChangeLog 3082 SHA256 183bfd0bffc42bedff4b0e21f5febaedf53a6c9b0dab076eca22105b3d52533d SHA512 7f44da90f2110dd629cdc0355d2df723b427b834cad7de44bf26ff89fd768d7a34982bd9f6528c5b7e75ce3ccb67def1dff098ceca6b4c42240afe608f9bddc3 WHIRLPOOL 8415fd3e1eae3ef2f69b04aa1561e83a4a65849beb2ddb35e4d148e90290140ad8056c634497b82225e58d0b36f50bd00d570ffa774ea3d6d712e5e6c4abfda2
MISC ChangeLog-2015 9976 SHA256 573040119f052945409cc0f7531e879149db33e9831be911c47a893371031919 SHA512 a20c7c050bce9034f9cc818c6e2abe328c0855f93991c329e84ace3336dbde1b9e3222d194f5913ed5b87a744654684fe991db23e2ee530528bc7585ae3e26bd WHIRLPOOL 0fe1e23090f945fffc008f66e8505fa4afc5d1b3d10698408655333e8bd75e70fe8698d042ca06d8f82f579de535192dd9d1ae7fe3d73e57acddf8054aa81730
MISC metadata.xml 616 SHA256 e563641e35db1a231554411a86489e2c72dd9fc769b9a9baa5f48014690dbdaf SHA512 aecc34001ab636a20f6431410c9b96b157c581abebbcd38e61f121472d458e1211cd6fc70f90e50ea1b50d3eda3f151d39a2345c1e6510a8c067f90402ab43b7 WHIRLPOOL c8ccf96605510ee6dccfeb12191955804d484a486e10b5b4555508c09afbb454f1313168f6213e1ad494c75ce64e1de9ad857d6d56daa738ccff9cdda0e6cd0a
diff --git a/app-admin/tenshi/tenshi-0.16-r1.ebuild b/app-admin/tenshi/tenshi-0.16-r1.ebuild
index 45059dc892f4..813e9479f84c 100644
--- a/app-admin/tenshi/tenshi-0.16-r1.ebuild
+++ b/app-admin/tenshi/tenshi-0.16-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/inversepath/${PN}/archive/${PV}.tar.gz
LICENSE="ISC"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="dev-lang/perl
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."
+}