summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irker')
-rw-r--r--net-irc/irker/ChangeLog9
-rw-r--r--net-irc/irker/Manifest5
-rw-r--r--net-irc/irker/files/irker.conf.d4
-rw-r--r--net-irc/irker/files/irker.init25
-rw-r--r--net-irc/irker/irker-1.12.ebuild28
-rw-r--r--net-irc/irker/metadata.xml8
6 files changed, 79 insertions, 0 deletions
diff --git a/net-irc/irker/ChangeLog b/net-irc/irker/ChangeLog
new file mode 100644
index 000000000000..7347281fe32e
--- /dev/null
+++ b/net-irc/irker/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-irc/irker
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/ChangeLog,v 1.1 2012/10/13 05:53:35 patrick Exp $
+
+*irker-1.12 (13 Oct 2012)
+
+ 13 Oct 2012; Patrick Lauer <patrick@gentoo.org> +files/irker.conf.d,
+ +files/irker.init, +irker-1.12.ebuild, +metadata.xml:
+ Initial import, ebuild by me
diff --git a/net-irc/irker/Manifest b/net-irc/irker/Manifest
new file mode 100644
index 000000000000..8253108334a9
--- /dev/null
+++ b/net-irc/irker/Manifest
@@ -0,0 +1,5 @@
+AUX irker.conf.d 127 SHA256 cf7d631724d02f0352a7d0b3ba2519568b98c80540b2c6dcf7dfeabe873944bf SHA512 9e05818eb161be92af3385da7899a9e191fc72bb91ce71ba52414ed5a8f359c753e71d86aaad2f23c4215d957984e0e265328e63d655db63e0bf4f2d9af94342 WHIRLPOOL be4eac567a8f34469458f550ba2599e178a031a11fea4a19bb2822c29ca68cc1f1d25089adcffa8243aebbf89d00c3a31e53bce9a383e869ee829474ecaab131
+AUX irker.init 471 SHA256 d8ccc6ede4267b0e48cf782187d6b8f2bdd156cb3a38cd938bf43d056de19c27 SHA512 e389f12312ce2d94cb67b9d07cc58076d84ab7e5b286b6f65cb810d402913162042095815c6c51479349b0ef39cb31070db5dd7b7031c581b2b968671dfb35c9 WHIRLPOOL dd1949d1eca2c4584ae292761fef04ccebfa07b339d49bff33fe3eb4ca72c8302989dab2639bf0a1cd58f54f6e0e5e1d0b19b4ff1facc0e39d264cb39fa983b2
+DIST irker-1.12.tar.gz 31769 SHA256 c30621b4a2153b5eee3dd81c05fd69d8aef8d84e855d492ac86738023362e957 SHA512 10489664211146a40f15e9640d2708c907e7b66a2924664e4a84a879fbfa770b096ecef7941d3980e0e05b0d0fd2c6222aff5a075b597ebe75d09cbcff02e266 WHIRLPOOL 4ca29900ddaa03182d41f578c9d812e12746c2dc1abfffb1b7d9d6660cb4450f4f707c35fd600bd0f6702d54ac38c3ac4ebdff6fd4951ae060b45e93ac000fab
+EBUILD irker-1.12.ebuild 888 SHA256 d2d206d91123ae03429039b4e7f4aae4f087ee16e866017ce44a99ade0563121 SHA512 ce46f54838dd1a1da91ba9b66afb18579f9bb52342f0fbe579e0d996b045678296e5444509c0eac4b3c12e48ef45719e4a63a16dd0462011ccd8484699e24a0e WHIRLPOOL 5b0ee7ac5a306473dd9020a321d28310a9e704ba2e098196fd5d3168f6b00d07f37db2e621659d6b13692f6285cb87c1e936bf54caed4c9251027f3dbcbf77df
+MISC metadata.xml 233 SHA256 65209e280ca6de32a92e1a57301ff69fb3472e55ba07848d6f80405d35e92d47 SHA512 0d30bfb39315a04767e07896409f5d3954f8e954e20fcbac7b92bb9a636c9f61c50b1b2cf55e6c1db9a199a0edc159b5c8cc8f541efb9c4adafa28e3652cff7b WHIRLPOOL 027c5101e1cbc665c9d2ef240f73a874c9f49a9b70175c5947e012df61de484585088a46b6ce9078816e548e6bcc326e7223539cc999159eee2757d0a2eb1480
diff --git a/net-irc/irker/files/irker.conf.d b/net-irc/irker/files/irker.conf.d
new file mode 100644
index 000000000000..b7974bce91a3
--- /dev/null
+++ b/net-irc/irker/files/irker.conf.d
@@ -0,0 +1,4 @@
+# /etc/conf.d/irkerd: config file for /etc/init.d/irkerd
+
+# see man pages for irkerd for valid cmdline options
+#IRKERD_OPTS=""
diff --git a/net-irc/irker/files/irker.init b/net-irc/irker/files/irker.init
new file mode 100644
index 000000000000..ae1810c62b26
--- /dev/null
+++ b/net-irc/irker/files/irker.init
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/files/irker.init,v 1.1 2012/10/13 05:53:35 patrick Exp $
+
+command="/usr/bin/irkerd"
+command_args="${IRKERD_OPTS}"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ use net
+}
+
+start () {
+ ebegin "Starting irkerd"
+ start-stop-daemon --start --quiet --exec $command
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping irkerd"
+ start-stop-daemon --stop --quiet --exec $command
+ eend $?
+}
+
diff --git a/net-irc/irker/irker-1.12.ebuild b/net-irc/irker/irker-1.12.ebuild
new file mode 100644
index 000000000000..2f4a6313438a
--- /dev/null
+++ b/net-irc/irker/irker-1.12.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/irker-1.12.ebuild,v 1.1 2012/10/13 05:53:35 patrick Exp $
+
+EAPI=4
+
+inherit python
+
+DESCRIPTION="Submission tools for IRC notifications"
+HOMEPAGE="http://www.catb.org/esr/irker/"
+SRC_URI="http://www.catb.org/esr/${PN}/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="app-text/xmlto
+ >=dev-python/python-irclib-3.2.2"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ # the irkerhook.py is not installed with the default makefile
+ emake DESTDIR="${D}" install
+ cp ${S}/irkerhook.py ${D}/usr/bin/ || die "Failed to install the irkerhook"
+ mkdir -p ${D}/etc/init.d/ ${D}/etc/conf.d/
+ cp ${FILESDIR}/irker.init ${D}/etc/init.d/irkerd || die "Failed to install init script"
+ chmod 755 ${D}/etc/init.d/irkerd # need to be executable
+ cp ${FILESDIR}/irker.conf.d ${D}/etc/conf.d/irkerd || die "Failed to install conf"
+}
diff --git a/net-irc/irker/metadata.xml b/net-irc/irker/metadata.xml
new file mode 100644
index 000000000000..24cbb90cf0c4
--- /dev/null
+++ b/net-irc/irker/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>