diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-03-31 10:14:42 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-03-31 10:14:42 +0000 |
commit | e79b6100a7a5f1d495392475053609f493dc1c96 (patch) | |
tree | 14a026f143f93727f0e9816e0d54945c7392d311 /net-news | |
parent | Initial commit. Required dep for xfce-extra/thunar-thumbnailers version bump. (diff) | |
download | gentoo-2-e79b6100a7a5f1d495392475053609f493dc1c96.tar.gz gentoo-2-e79b6100a7a5f1d495392475053609f493dc1c96.tar.bz2 gentoo-2-e79b6100a7a5f1d495392475053609f493dc1c96.zip |
Initial import, thanks to everybody in bug #119915
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/hellanzb/ChangeLog | 11 | ||||
-rw-r--r-- | net-news/hellanzb/Manifest | 28 | ||||
-rw-r--r-- | net-news/hellanzb/files/digest-hellanzb-0.13 | 3 | ||||
-rw-r--r-- | net-news/hellanzb/files/hellanzb-0.13-datafiles.patch | 13 | ||||
-rw-r--r-- | net-news/hellanzb/files/hellanzb.conf | 19 | ||||
-rw-r--r-- | net-news/hellanzb/files/hellanzb.init | 40 | ||||
-rw-r--r-- | net-news/hellanzb/hellanzb-0.13.ebuild | 57 | ||||
-rw-r--r-- | net-news/hellanzb/metadata.xml | 18 |
8 files changed, 189 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..3657849b9892 --- /dev/null +++ b/net-news/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 597 RMD160 c08b454554aea6b0aa19982da6787cd1fd152b82 SHA1 0ca2929a880c3a3f16ceeaf01d3fb3c372ddf0c2 SHA256 dc0cdfaebe3a7a2e51e2661117c2f3948ea72067a79cd3a8a6dcc71dd2b0e3ff +MD5 d868811d84ae6d5a556ac59578d9f7f4 files/hellanzb.conf 597 +RMD160 c08b454554aea6b0aa19982da6787cd1fd152b82 files/hellanzb.conf 597 +SHA256 dc0cdfaebe3a7a2e51e2661117c2f3948ea72067a79cd3a8a6dcc71dd2b0e3ff files/hellanzb.conf 597 +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 1350 RMD160 75aa47ea422c1e89262ae1347c1983c4a3627655 SHA1 58004a0bf9990c2c0bac0bdd74686ef992d4edbf SHA256 6397b125ecc4288ab1ffb97722fdae34cf5b06e98947b85540f8e4bc210f24c1 +MD5 d3bf4ed997f9ff4c4f0fce125b056c69 hellanzb-0.13.ebuild 1350 +RMD160 75aa47ea422c1e89262ae1347c1983c4a3627655 hellanzb-0.13.ebuild 1350 +SHA256 6397b125ecc4288ab1ffb97722fdae34cf5b06e98947b85540f8e4bc210f24c1 hellanzb-0.13.ebuild 1350 +MISC ChangeLog 378 RMD160 5b8c58b2a943d65ef3c81ec7a1dae6f102aa7456 SHA1 56b25d20a6c08bd6b22fdc9895156b007c3257c8 SHA256 d06a0776c3009d037337dd66f17c7092761fd9fee06f4634fe124aab54a78cd6 +MD5 15b72d66e9489cef30edf4c1c8cb403e ChangeLog 378 +RMD160 5b8c58b2a943d65ef3c81ec7a1dae6f102aa7456 ChangeLog 378 +SHA256 d06a0776c3009d037337dd66f17c7092761fd9fee06f4634fe124aab54a78cd6 ChangeLog 378 +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 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> + |