summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-03-31 10:14:42 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-03-31 10:14:42 +0000
commitf18b3d361eb34ce1c375d22ea6f63e8ed86ca209 (patch)
tree4e06f6b9ec918bda3e6df9fd0941936f6a376137 /net-news
parentInitial commit. Required dep for xfce-extra/thunar-thumbnailers version bump. (diff)
downloadhistorical-f18b3d361eb34ce1c375d22ea6f63e8ed86ca209.tar.gz
historical-f18b3d361eb34ce1c375d22ea6f63e8ed86ca209.tar.bz2
historical-f18b3d361eb34ce1c375d22ea6f63e8ed86ca209.zip
Initial import, thanks to everybody in bug #119915
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'net-news')
-rw-r--r--net-news/hellanzb/ChangeLog11
-rw-r--r--net-news/hellanzb/Manifest38
-rw-r--r--net-news/hellanzb/files/digest-hellanzb-0.133
-rw-r--r--net-news/hellanzb/files/hellanzb-0.13-datafiles.patch13
-rw-r--r--net-news/hellanzb/files/hellanzb.conf19
-rw-r--r--net-news/hellanzb/files/hellanzb.init40
-rw-r--r--net-news/hellanzb/hellanzb-0.13.ebuild57
-rw-r--r--net-news/hellanzb/metadata.xml18
8 files changed, 199 insertions, 0 deletions
diff --git a/net-news/hellanzb/ChangeLog b/net-news/hellanzb/ChangeLog
new file mode 100644
index 000000000000..fb9a34fa357d
--- /dev/null
+++ b/net-news/hellanzb/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-news/hellanzb
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/hellanzb/ChangeLog,v 1.1 2007/03/31 10:14:42 aballier Exp $
+
+*hellanzb-0.13 (31 Mar 2007)
+
+ 31 Mar 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/hellanzb-0.13-datafiles.patch, +files/hellanzb.conf,
+ +files/hellanzb.init, +metadata.xml, +hellanzb-0.13.ebuild:
+ Initial import, thanks to everybody in bug #119915
+
diff --git a/net-news/hellanzb/Manifest b/net-news/hellanzb/Manifest
new file mode 100644
index 000000000000..4d222bdb9146
--- /dev/null
+++ b/net-news/hellanzb/Manifest
@@ -0,0 +1,38 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX hellanzb-0.13-datafiles.patch 629 RMD160 2a62f28f6fd1414b0bd4bc30a25067caff5b281d SHA1 6162353cc47927acabe0b466b03662a1762ebe89 SHA256 720b42a6bebcc68275fc54af0d92034b0ac143bb319790745754d71f75ad319e
+MD5 d6c32baee32a06e0da5ebbb13dcf372a files/hellanzb-0.13-datafiles.patch 629
+RMD160 2a62f28f6fd1414b0bd4bc30a25067caff5b281d files/hellanzb-0.13-datafiles.patch 629
+SHA256 720b42a6bebcc68275fc54af0d92034b0ac143bb319790745754d71f75ad319e files/hellanzb-0.13-datafiles.patch 629
+AUX hellanzb.conf 700 RMD160 52cad1f8ef0ea75409bec301bd080a0def02c8ea SHA1 155a3b38e4c08773f46e29ff448aceb770289d51 SHA256 1cf5953ee4e8f18975656657636480fedd68afc8a8d6f366b8820407d04aef86
+MD5 81d9f39bbf915d6822c61f42121c2a76 files/hellanzb.conf 700
+RMD160 52cad1f8ef0ea75409bec301bd080a0def02c8ea files/hellanzb.conf 700
+SHA256 1cf5953ee4e8f18975656657636480fedd68afc8a8d6f366b8820407d04aef86 files/hellanzb.conf 700
+AUX hellanzb.init 771 RMD160 281b4319989e5d824dbdf46c0e1e596f01986947 SHA1 cc958b1c94fe6d6cdc1c5eab17d83308be3ff587 SHA256 e96ec63ae43f13be54030f695cc2cf7d757848d3dddba7e6d911eb966aeff781
+MD5 72d20f6c22d4901f5fb1ab923378fc58 files/hellanzb.init 771
+RMD160 281b4319989e5d824dbdf46c0e1e596f01986947 files/hellanzb.init 771
+SHA256 e96ec63ae43f13be54030f695cc2cf7d757848d3dddba7e6d911eb966aeff781 files/hellanzb.init 771
+DIST hellanzb-0.13.tar.gz 163698 RMD160 2ec3069cd0c9cb6c9fdaa4a4edc4f311a86d944c SHA1 4ada7268ccb9c8f85d8de8d34fda92c3e2d84b5f SHA256 565b08725eb92ac1e278fa7df2c7b27b21588c4e24c140fddbec4a5625159127
+EBUILD hellanzb-0.13.ebuild 1452 RMD160 b9b8a745f6286c8877b76f196150b38d582df196 SHA1 430c4cadb4f206d480a91758a6869c61cca55555 SHA256 54baa2c85ea70684d644c1821e3ef148d10bafe6bede6ea7d48f37cbdfa69b54
+MD5 39329eef219f62071b36d863db93fa29 hellanzb-0.13.ebuild 1452
+RMD160 b9b8a745f6286c8877b76f196150b38d582df196 hellanzb-0.13.ebuild 1452
+SHA256 54baa2c85ea70684d644c1821e3ef148d10bafe6bede6ea7d48f37cbdfa69b54 hellanzb-0.13.ebuild 1452
+MISC ChangeLog 469 RMD160 4ef5b245999880e30bc0be06711c24dcf78aa60e SHA1 b5a1e6d0070a3ec3bfb269a1eaabb5dc6a2121f8 SHA256 0df974000c4d947404c6bc24bb763c6a1dbc5d82922330e5f582e26c591030b8
+MD5 7fd990ac15f34b36619234eac33ed3bf ChangeLog 469
+RMD160 4ef5b245999880e30bc0be06711c24dcf78aa60e ChangeLog 469
+SHA256 0df974000c4d947404c6bc24bb763c6a1dbc5d82922330e5f582e26c591030b8 ChangeLog 469
+MISC metadata.xml 706 RMD160 7f3ebb6d6e55352055197e008a86428ac1a3d1f7 SHA1 48a67cea318c18afa7fd6b802834719843feceef SHA256 1cec98091461e56458cfafa8a79f05d8bf18da85e6f4355263b25c19f500257b
+MD5 76d9e359bdc7ba3e8a9dc0e16d211ec4 metadata.xml 706
+RMD160 7f3ebb6d6e55352055197e008a86428ac1a3d1f7 metadata.xml 706
+SHA256 1cec98091461e56458cfafa8a79f05d8bf18da85e6f4355263b25c19f500257b metadata.xml 706
+MD5 68661df5513ccd5d913adfbd07037663 files/digest-hellanzb-0.13 241
+RMD160 98fe49a05962c5a71709076c36ab8f862a4db027 files/digest-hellanzb-0.13 241
+SHA256 c87858ec1e5244601ca7deb5282897f8d9761607d7e8220f642773425811f6f9 files/digest-hellanzb-0.13 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGDjRlvFcC4BYPU0oRAukbAKCsIh/mVhsBQkgeC1k5a76aCUuTtwCeOurt
+xHvekmt8zEJvTQWYLtVwsoI=
+=7VVs
+-----END PGP SIGNATURE-----
diff --git a/net-news/hellanzb/files/digest-hellanzb-0.13 b/net-news/hellanzb/files/digest-hellanzb-0.13
new file mode 100644
index 000000000000..49b039d674c3
--- /dev/null
+++ b/net-news/hellanzb/files/digest-hellanzb-0.13
@@ -0,0 +1,3 @@
+MD5 d3510c6b1b2c7b935332a469fdc8e7e2 hellanzb-0.13.tar.gz 163698
+RMD160 2ec3069cd0c9cb6c9fdaa4a4edc4f311a86d944c hellanzb-0.13.tar.gz 163698
+SHA256 565b08725eb92ac1e278fa7df2c7b27b21588c4e24c140fddbec4a5625159127 hellanzb-0.13.tar.gz 163698
diff --git a/net-news/hellanzb/files/hellanzb-0.13-datafiles.patch b/net-news/hellanzb/files/hellanzb-0.13-datafiles.patch
new file mode 100644
index 000000000000..88c5899c5b8e
--- /dev/null
+++ b/net-news/hellanzb/files/hellanzb-0.13-datafiles.patch
@@ -0,0 +1,13 @@
+Index: hellanzb-0.13/setup.py
+===================================================================
+--- hellanzb-0.13.orig/setup.py
++++ hellanzb-0.13/setup.py
+@@ -38,8 +38,6 @@ def runSetup():
+ packages = [ 'Hellanzb', 'Hellanzb.NZBLeecher', 'Hellanzb.HellaXMLRPC',
+ 'Hellanzb.external', 'Hellanzb.external.elementtree' ],
+ scripts = [ 'hellanzb.py' ],
+- data_files = [ ( 'etc', [ 'etc/hellanzb.conf.sample' ] ),
+- ( 'share/doc/hellanzb', [ 'CHANGELOG', 'CREDITS', 'README', 'LICENSE' ] ) ],
+ )
+ py2app_options = dict(
+ app = [ 'hellanzb.py' ],
diff --git a/net-news/hellanzb/files/hellanzb.conf b/net-news/hellanzb/files/hellanzb.conf
new file mode 100644
index 000000000000..5922235590ca
--- /dev/null
+++ b/net-news/hellanzb/files/hellanzb.conf
@@ -0,0 +1,19 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/hellanzb/files/hellanzb.conf,v 1.1 2007/03/31 10:14:42 aballier Exp $
+
+# /etc/conf.d/hellanzb
+# Config file for hellanzb init script
+
+# Which user to run hellanzb as, you should change this.
+HELLA_USER="root"
+HELLA_GROUP="root"
+
+# Location of config file, create a copy from /etc/hellanzb.conf for this.
+# Make sure the user specified above can read this file.
+HELLA_CONFIGFILE="/etc/hellanzb.conf"
+
+# Specify some other cli-options to hellanzb.py if you want.
+HELLA_OPTS=""
+
+# All the other options to hellanzb can be configured in ${CONFIG_FILE}.
diff --git a/net-news/hellanzb/files/hellanzb.init b/net-news/hellanzb/files/hellanzb.init
new file mode 100644
index 000000000000..a5a8b94c68de
--- /dev/null
+++ b/net-news/hellanzb/files/hellanzb.init
@@ -0,0 +1,40 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+opts="start stop"
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting hellanzb"
+ if ! check_config ; then
+ eend 1
+ return 1
+ fi
+
+ export PATH="${PATH}:/opt/bin"
+ start-stop-daemon --quiet --start -c ${HELLA_USER} \
+ -g ${HELLA_GROUP} \
+ --exec /usr/bin/hellanzb.py -- \
+ -D -c ${HELLA_CONFIGFILE} ${HELLA_OPTS} &> /dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping hellanzb"
+ start-stop-daemon --quiet --stop \
+ --name hellanzb.py
+ eend $?
+}
+
+check_config() {
+ if [ ! -e ${HELLA_CONFIGFILE} ] ; then
+ eerror "ERROR: can't find ${HELLA_CONFIGFILE}."
+ return 1
+ else
+ return 0
+ fi
+}
diff --git a/net-news/hellanzb/hellanzb-0.13.ebuild b/net-news/hellanzb/hellanzb-0.13.ebuild
new file mode 100644
index 000000000000..054481a4a3f9
--- /dev/null
+++ b/net-news/hellanzb/hellanzb-0.13.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/hellanzb/hellanzb-0.13.ebuild,v 1.1 2007/03/31 10:14:42 aballier Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="Retrieves and processes .nzb files"
+HOMEPAGE="http://www.hellanzb.com/"
+SRC_URI="http://www.hellanzb.com/distfiles/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="libnotify"
+
+RDEPEND=">=dev-python/twisted-2.0
+ dev-python/twisted-web
+ || ( app-arch/unrar
+ app-arch/rar )
+ app-arch/par2cmdline
+ libnotify? ( dev-python/notify-python )"
+
+DEPEND=""
+
+DOCS="CHANGELOG CREDITS PKG-INFO README"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-datafiles.patch"
+}
+
+src_install() {
+ distutils_src_install
+
+ newconfd "${FILESDIR}/hellanzb.conf" hellanzb
+ newinitd "${FILESDIR}/hellanzb.init" hellanzb
+
+ insinto etc
+ doins etc/hellanzb.conf.sample
+}
+
+pkg_postinst() {
+ elog "You can start hellanzb in the background automatically by using"
+ elog "the init-script. To do this, add it to your default runlevel:"
+ elog ""
+ elog " rc-update add hellanzb default"
+ elog ""
+ elog "Use this command to start the daemon now:"
+ elog ""
+ elog " /etc/init.d/hellanzb start"
+ elog ""
+ elog "You will have to config /etc/conf.d/hellanzb before the init-script"
+ elog "will work. It is recommended that you change the user under which"
+ elog "the daemon will run."
+}
diff --git a/net-news/hellanzb/metadata.xml b/net-news/hellanzb/metadata.xml
new file mode 100644
index 000000000000..12beccf5f895
--- /dev/null
+++ b/net-news/hellanzb/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-news</herd>
+ <maintainer>
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+ </maintainer>
+ <longdescription lang="en">
+ hellanzb is a Python application designed for *nix environments that
+ retrieves nzb files and fully processes them. The goal being to make
+ getting files from Usenet (e.g.: Giganews Newsgroups) as hands-free as
+ possible. Once fully installed, all thats required is moving an nzb file
+ to the queue directory. The rest; fetching, par-checking, un-raring,
+ etc. is taken care of by hellanzb.
+ </longdescription>
+</pkgmetadata>
+