diff options
-rw-r--r-- | metadata/md5-cache/net-irc/irker-1.20 | 13 | ||||
-rw-r--r-- | net-irc/irker/ChangeLog | 6 | ||||
-rw-r--r-- | net-irc/irker/Manifest | 6 | ||||
-rw-r--r-- | net-irc/irker/files/irkerd.confd | 8 | ||||
-rw-r--r-- | net-irc/irker/files/irkerd.initd | 17 | ||||
-rw-r--r-- | net-irc/irker/irker-1.20.ebuild | 49 | ||||
-rw-r--r-- | net-irc/irker/metadata.xml | 8 |
7 files changed, 107 insertions, 0 deletions
diff --git a/metadata/md5-cache/net-irc/irker-1.20 b/metadata/md5-cache/net-irc/irker-1.20 new file mode 100644 index 00000000..3f0fe6f3 --- /dev/null +++ b/metadata/md5-cache/net-irc/irker-1.20 @@ -0,0 +1,13 @@ +DEFINED_PHASES=install prepare setup +DEPEND=app-text/docbook-xml-dtd:4.1.2 app-text/xmlto virtual/pkgconfig +DESCRIPTION=Submission tools for IRC notifications +EAPI=5 +HOMEPAGE=http://www.catb.org/esr/irker/ +IUSE=python_targets_python2_7 python_targets_python2_6 python_single_target_python2_7 python_single_target_python2_6 +KEYWORDS=~amd64 ~x86 +LICENSE=BSD +RDEPEND==dev-lang/python-2* dev-python/irc +SLOT=0 +SRC_URI=http://www.catb.org/esr/irker/irker-1.20.tar.gz +_eclasses_=eutils 4878e7f88afc0ba0866ac112190b0fd4 multilib 892e597faee02a5b94eb02ab512e7622 python-single-r1 2ca20eea86d11878e6bcd127a81af868 python-utils-r1 a4940acdd0a5ebdc58aaedd38de4983a systemd e80fe2d5b43ec0f0160c6e8ef931fa4c toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28 +_md5_=79d83e034055395b2647dc4858ee57dd diff --git a/net-irc/irker/ChangeLog b/net-irc/irker/ChangeLog new file mode 100644 index 00000000..90b3c3dc --- /dev/null +++ b/net-irc/irker/ChangeLog @@ -0,0 +1,6 @@ +*irker-1.20 (19 Sep 2013) + + 19 Sep 2013; Bertrand Jacquin <beber@meleeweb.net> +files/irkerd.confd, + +files/irkerd.initd, +irker-1.20.ebuild, +metadata.xml: + net-irc/irker: migrate to EAPI 5, migrate to python-single-r1, migrate to + /run, use systemd eclass, more docs and example, bug #438240 diff --git a/net-irc/irker/Manifest b/net-irc/irker/Manifest new file mode 100644 index 00000000..944e2550 --- /dev/null +++ b/net-irc/irker/Manifest @@ -0,0 +1,6 @@ +AUX irkerd.confd 248 SHA256 7a67991746dee79d538ce2c16338aba985f5198f67bafc5ad60bf6c59e628587 WHIRLPOOL 485909f7495d986fae9d6402b67a92b6aed2643086d58da085d15288acbe1e75290671215b10b4b6966dd11b56d6105880097aaa0abcd9230917ed0f2bb70b79 +AUX irkerd.initd 457 SHA256 e8811c796aeca6e1c3d3ac9285d31c6a759e7c5b7e27009f2779a5678256c522 WHIRLPOOL 8b6968297bfde80285a4c36422a7b5f4a825473d54cefa33df4ede081db38f10f79b815f7521b5ab64cb25fa50a94433003826827feb81846ec0313cc7fc162c +DIST irker-1.20.tar.gz 33436 SHA256 c8d1552a819a1ebe7c6c7be06ff44c50557beddb75735ff6765a7c36df3536dd WHIRLPOOL b66fc9579534a32d05f090c4d6c82bcb9da5b50fdeaf4f934103fc3967d1eed0e13e89a7ec38246113898042fd52189e368c633a7ef1f945d370241813e6ab6a +EBUILD irker-1.20.ebuild 1237 SHA256 9612fa5663906c7f765fbd53fde9961c64bcdfdaa42e1475c8bb79f6da7c1fc9 WHIRLPOOL 7abed6477d921cf00468f12e26851e5681802ed08caa13f510050691cda6fd8d0b24f95711984ae0dfee11e6e4d7b86ec26663090902b9a020b7a6c82b114994 +MISC ChangeLog 298 SHA256 d0c62c1e91856e45148cdade673c04ecc6e1d63cbf8a6d018cd2ffb7e76b15e7 WHIRLPOOL ed2fac7c4de18a5d8fe24076a4836b9ea13983bc1aecf88fe69e6af6a7a9a79374c402aeba6bb82aa885ceb65940efb63aa8f09d745e432d3e84566253b0ef45 +MISC metadata.xml 251 SHA256 1dc1bab1ff96244c27b9b58c2fe2d28ce1a98c05f6524fac17a81bdcd7595126 WHIRLPOOL b295e8385062a941df1bd67b2fadb95b44b2d640189ad6b3c1deca82bd5204c7096a65bd681aa3120b248f71621c4d2224ae0849eb4e81030a2709e3fdefa752 diff --git a/net-irc/irker/files/irkerd.confd b/net-irc/irker/files/irkerd.confd new file mode 100644 index 00000000..bd0676ae --- /dev/null +++ b/net-irc/irker/files/irkerd.confd @@ -0,0 +1,8 @@ +# /etc/conf.d/irkerd: config file for /etc/init.d/irkerd + +# see man pages for irkerd for valid cmdline options +#IRKERD_OPTS="" + +# To run an anonymous irkerd safely. It should not able able +# to write to anywhere on your system +IRKERD_USER="nobody" diff --git a/net-irc/irker/files/irkerd.initd b/net-irc/irker/files/irkerd.initd new file mode 100644 index 00000000..d2442188 --- /dev/null +++ b/net-irc/irker/files/irkerd.initd @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 1999-2013 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 $ + +: ${IRKERD_USER:=nobody} + +command="/usr/bin/irkerd" +command_args="${IRKERD_OPTS}" +command_background="yes" +pidfile="/run/${SVCNAME}.pid" + +start_stop_daemon_args="--user '${IRKERD_USER}' --make-pidfile" + +depend() { + use net +} diff --git a/net-irc/irker/irker-1.20.ebuild b/net-irc/irker/irker-1.20.ebuild new file mode 100644 index 00000000..ce3aa0fc --- /dev/null +++ b/net-irc/irker/irker-1.20.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/irker/irker-1.20.ebuild,v 1.1 2013/05/22 03:40:55 patrick Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,2_6} ) + +inherit python-single-r1 systemd + +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/docbook-xml-dtd:4.1.2 + app-text/xmlto" +RDEPEND="=dev-lang/python-2* + dev-python/irc" + +src_prepare() { + # Rely on systemd eclass for systemd service install + sed -i -e "/^SYSTEMDSYSTEMUNITDIR/d" Makefile + + # Prefix support + sed -i -e "/^ExecStart=/ s:=/:=${EROOT}:" irkerd.service +} + +src_install() { + emake DESTDIR="${ED}" install + + python_doscript "${ED}/usr/bin/irkerd" + # the irkerhook.py is not installed with the default makefile + python_doscript irkerhook.py + + newinitd "${FILESDIR}/irkerd.initd" irkerd + newconfd "${FILESDIR}/irkerd.confd" irkerd + + systemd_dounit irkerd.service + + dodoc NEWS README hacking.txt security.txt + dohtml irkerd.html irkerhook.html + + docinto examples + dodoc filter-example.py filter-test.py +} diff --git a/net-irc/irker/metadata.xml b/net-irc/irker/metadata.xml new file mode 100644 index 00000000..05930384 --- /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> |