summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-04-05 18:35:25 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-04-05 18:35:25 +0000
commite362acd773576083d43dfe816f1a52e35ffda9b9 (patch)
tree3db324a1866a7d4acf510989717fed92f04bf53e /net-nntp
parentManifest rebuilt (bug #173450) (diff)
downloadgentoo-2-e362acd773576083d43dfe816f1a52e35ffda9b9.tar.gz
gentoo-2-e362acd773576083d43dfe816f1a52e35ffda9b9.tar.bz2
gentoo-2-e362acd773576083d43dfe816f1a52e35ffda9b9.zip
Move from net-news, category net-nntp is more accurate
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/hellanzb/ChangeLog18
-rw-r--r--net-nntp/hellanzb/Manifest28
-rw-r--r--net-nntp/hellanzb/files/digest-hellanzb-0.13-r13
-rw-r--r--net-nntp/hellanzb/files/hellanzb-0.13-datafiles.patch13
-rw-r--r--net-nntp/hellanzb/files/hellanzb.conf19
-rw-r--r--net-nntp/hellanzb/files/hellanzb.init40
-rw-r--r--net-nntp/hellanzb/hellanzb-0.13-r1.ebuild57
-rw-r--r--net-nntp/hellanzb/metadata.xml18
8 files changed, 196 insertions, 0 deletions
diff --git a/net-nntp/hellanzb/ChangeLog b/net-nntp/hellanzb/ChangeLog
new file mode 100644
index 000000000000..0bf8c751e99a
--- /dev/null
+++ b/net-nntp/hellanzb/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for net-news/hellanzb
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/ChangeLog,v 1.1 2007/04/05 18:35:25 aballier Exp $
+
+*hellanzb-0.13-r1 (05 Apr 2007)
+
+ 05 Apr 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/hellanzb-0.13-datafiles.patch, +files/hellanzb.conf,
+ +files/hellanzb.init, +metadata.xml, +hellanzb-0.13-r1.ebuild:
+ Move from net-news, category net-nntp is more accurate
+
+*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-nntp/hellanzb/Manifest b/net-nntp/hellanzb/Manifest
new file mode 100644
index 000000000000..454ac76876dc
--- /dev/null
+++ b/net-nntp/hellanzb/Manifest
@@ -0,0 +1,28 @@
+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-r1.ebuild 1452 RMD160 b9b8a745f6286c8877b76f196150b38d582df196 SHA1 430c4cadb4f206d480a91758a6869c61cca55555 SHA256 54baa2c85ea70684d644c1821e3ef148d10bafe6bede6ea7d48f37cbdfa69b54
+MD5 39329eef219f62071b36d863db93fa29 hellanzb-0.13-r1.ebuild 1452
+RMD160 b9b8a745f6286c8877b76f196150b38d582df196 hellanzb-0.13-r1.ebuild 1452
+SHA256 54baa2c85ea70684d644c1821e3ef148d10bafe6bede6ea7d48f37cbdfa69b54 hellanzb-0.13-r1.ebuild 1452
+MISC ChangeLog 739 RMD160 0b60bbada51009a436f75fac9f49c814747d05b5 SHA1 31c8cb01f795f969956642ce692e06b755024491 SHA256 f322c29dbe18576cb62307fb5c291e9165818f01c6fe2200d5c2aa5918179740
+MD5 69889bb97a41e252a1e02e808e2e4dc7 ChangeLog 739
+RMD160 0b60bbada51009a436f75fac9f49c814747d05b5 ChangeLog 739
+SHA256 f322c29dbe18576cb62307fb5c291e9165818f01c6fe2200d5c2aa5918179740 ChangeLog 739
+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-r1 241
+RMD160 98fe49a05962c5a71709076c36ab8f862a4db027 files/digest-hellanzb-0.13-r1 241
+SHA256 c87858ec1e5244601ca7deb5282897f8d9761607d7e8220f642773425811f6f9 files/digest-hellanzb-0.13-r1 241
diff --git a/net-nntp/hellanzb/files/digest-hellanzb-0.13-r1 b/net-nntp/hellanzb/files/digest-hellanzb-0.13-r1
new file mode 100644
index 000000000000..49b039d674c3
--- /dev/null
+++ b/net-nntp/hellanzb/files/digest-hellanzb-0.13-r1
@@ -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-nntp/hellanzb/files/hellanzb-0.13-datafiles.patch b/net-nntp/hellanzb/files/hellanzb-0.13-datafiles.patch
new file mode 100644
index 000000000000..88c5899c5b8e
--- /dev/null
+++ b/net-nntp/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-nntp/hellanzb/files/hellanzb.conf b/net-nntp/hellanzb/files/hellanzb.conf
new file mode 100644
index 000000000000..fef0001f9a24
--- /dev/null
+++ b/net-nntp/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-nntp/hellanzb/files/hellanzb.conf,v 1.1 2007/04/05 18:35:25 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-nntp/hellanzb/files/hellanzb.init b/net-nntp/hellanzb/files/hellanzb.init
new file mode 100644
index 000000000000..a5a8b94c68de
--- /dev/null
+++ b/net-nntp/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-nntp/hellanzb/hellanzb-0.13-r1.ebuild b/net-nntp/hellanzb/hellanzb-0.13-r1.ebuild
new file mode 100644
index 000000000000..16ee7aca43bd
--- /dev/null
+++ b/net-nntp/hellanzb/hellanzb-0.13-r1.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-nntp/hellanzb/hellanzb-0.13-r1.ebuild,v 1.1 2007/04/05 18:35:25 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-nntp/hellanzb/metadata.xml b/net-nntp/hellanzb/metadata.xml
new file mode 100644
index 000000000000..12beccf5f895
--- /dev/null
+++ b/net-nntp/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>
+