summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/tenshi
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/tenshi')
-rw-r--r--app-admin/tenshi/Manifest3
-rw-r--r--app-admin/tenshi/files/tenshi-create-mandir.patch10
-rw-r--r--app-admin/tenshi/files/tenshi-openrc-init-r1.patch11
-rw-r--r--app-admin/tenshi/files/tenshi-openrc-init.patch11
-rw-r--r--app-admin/tenshi/metadata.xml13
-rw-r--r--app-admin/tenshi/tenshi-0.12.ebuild51
-rw-r--r--app-admin/tenshi/tenshi-0.14.ebuild47
-rw-r--r--app-admin/tenshi/tenshi-0.15.ebuild47
8 files changed, 193 insertions, 0 deletions
diff --git a/app-admin/tenshi/Manifest b/app-admin/tenshi/Manifest
new file mode 100644
index 000000000000..a0cfc3d9e6bb
--- /dev/null
+++ b/app-admin/tenshi/Manifest
@@ -0,0 +1,3 @@
+DIST tenshi-0.12.tar.gz 28467 SHA256 953bbad01cb03674ab6135b70f707467ccd55dd1b8cb7257f1f49473d7767920 SHA512 657998e3a8df49ad0aae9c948cdd78dab944153fdacf79ebfc31b3e57fb62d738514b94c61834342669c407a3b09e81ceab38c054153a9fae6337a377fc167db WHIRLPOOL a9c5b49238b5e7a86aa8df41f2b6cd6881f25ffacceb1ae850d37b2f227950536900af707884db5f16604903cf73c0586baecdb0a8cf0d906930dd2a5058d67c
+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
diff --git a/app-admin/tenshi/files/tenshi-create-mandir.patch b/app-admin/tenshi/files/tenshi-create-mandir.patch
new file mode 100644
index 000000000000..72ca3f28576d
--- /dev/null
+++ b/app-admin/tenshi/files/tenshi-create-mandir.patch
@@ -0,0 +1,10 @@
+--- a/Makefile
++++ b/Makefile
+@@ -38,5 +38,7 @@
+ install -g root -m 0644 -D tenshi.conf ${DESTDIR}${sysconfdir}/tenshi/tenshi.conf
+ install -d ${DESTDIR}${docdir}
+ install -m 0644 ${DOCS} ${DESTDIR}${docdir}/
++ [ -d ${DESTDIR}${mandir}/man8 ] || \
++ install -d ${DESTDIR}${mandir}/man8
+ install -g root -m 0644 tenshi.8 ${DESTDIR}${mandir}/man8/
+ install -g root -m 755 -d ${DESTDIR}${libdir}
diff --git a/app-admin/tenshi/files/tenshi-openrc-init-r1.patch b/app-admin/tenshi/files/tenshi-openrc-init-r1.patch
new file mode 100644
index 000000000000..be300d25f7ea
--- /dev/null
+++ b/app-admin/tenshi/files/tenshi-openrc-init-r1.patch
@@ -0,0 +1,11 @@
+--- a/tenshi.gentoo-init
++++ b/tenshi.gentoo-init
+@@ -1,6 +1,7 @@
+ #!/sbin/runscript
+
+-opts="depend start stop reload flush checkconfig"
++extra_commands="checkconfig"
++extra_started_commands="reload flush"
+
+ depend() {
+ need clock hostname logger
diff --git a/app-admin/tenshi/files/tenshi-openrc-init.patch b/app-admin/tenshi/files/tenshi-openrc-init.patch
new file mode 100644
index 000000000000..eef9874c553a
--- /dev/null
+++ b/app-admin/tenshi/files/tenshi-openrc-init.patch
@@ -0,0 +1,11 @@
+--- a/tenshi.gentoo-init
++++ b/tenshi.gentoo-init
+@@ -13,7 +13,7 @@
+
+ start() {
+ ebegin "Starting tenshi"
+- start-stop-daemon --start --quiet --exec /usr/sbin/tenshi -- -c /etc/tenshi/tenshi.conf -P /var/lib/tenshi/tenshi.pid
++ start-stop-daemon --start --quiet --pidfile /var/lib/tenshi/tenshi.pid --exec /usr/sbin/tenshi -- -c /etc/tenshi/tenshi.conf -P /var/lib/tenshi/tenshi.pid
+ eend $?
+ }
+
diff --git a/app-admin/tenshi/metadata.xml b/app-admin/tenshi/metadata.xml
new file mode 100644
index 000000000000..158d49339334
--- /dev/null
+++ b/app-admin/tenshi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>bldewolf@csupomona.edu</email>
+ <name>Brian De Wolf</name>
+</maintainer>
+<maintainer>
+ <email>atj@pulsewidth.org.uk</email>
+ <name>Adam James</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/tenshi/tenshi-0.12.ebuild b/app-admin/tenshi/tenshi-0.12.ebuild
new file mode 100644
index 000000000000..5af09323b1b7
--- /dev/null
+++ b/app-admin/tenshi/tenshi-0.12.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils user
+
+DESCRIPTION="Log parsing and notification program"
+HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
+SRC_URI="http://dev.inversepath.com/tenshi/${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() {
+ epatch "${FILESDIR}/${PN}-create-mandir.patch"
+ epatch "${FILESDIR}/${PN}-openrc-init.patch" #218042
+ epatch "${FILESDIR}/${PN}-openrc-init-r1.patch" #398987
+
+ # Fix for bug #241254
+ sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
+ Makefile || die "docdir substitution failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ fowners tenshi:root /etc/tenshi/tenshi.conf
+ dodir /var/lib/tenshi
+ fowners tenshi:root /var/lib/tenshi
+ doman tenshi.8
+ newinitd tenshi.gentoo-init tenshi
+ keepdir /var/lib/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."
+}
diff --git a/app-admin/tenshi/tenshi-0.14.ebuild b/app-admin/tenshi/tenshi-0.14.ebuild
new file mode 100644
index 000000000000..402b52d93a91
--- /dev/null
+++ b/app-admin/tenshi/tenshi-0.14.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils user
+
+DESCRIPTION="Log parsing and notification program"
+HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
+SRC_URI="http://dev.inversepath.com/tenshi/${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() {
+ # Fix for bug #241254
+ sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
+ Makefile || die "docdir substitution failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ fowners tenshi:root /etc/tenshi/tenshi.conf
+ dodir /var/lib/tenshi
+ fowners tenshi:root /var/lib/tenshi
+ doman tenshi.8
+ newinitd tenshi.gentoo-init tenshi
+ keepdir /var/lib/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."
+}
diff --git a/app-admin/tenshi/tenshi-0.15.ebuild b/app-admin/tenshi/tenshi-0.15.ebuild
new file mode 100644
index 000000000000..487e4afd4876
--- /dev/null
+++ b/app-admin/tenshi/tenshi-0.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils user
+
+DESCRIPTION="Log parsing and notification program"
+HOMEPAGE="http://dev.inversepath.com/trac/tenshi"
+SRC_URI="http://dev.inversepath.com/tenshi/${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() {
+ # Fix for bug #241254
+ sed -i 's:^docdir =.*:docdir = /usr/share/doc/${PF}:' \
+ Makefile || die "docdir substitution failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ fowners tenshi:root /etc/tenshi/tenshi.conf
+ dodir /var/lib/tenshi
+ fowners tenshi:root /var/lib/tenshi
+ doman tenshi.8
+ newinitd tenshi.gentoo-init tenshi
+ keepdir /var/lib/tenshi
+}
+
+cpkg_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."
+}