diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-06-18 14:05:57 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-06-18 14:05:57 +0000 |
commit | b01fbd6ddeda9a803ad34b23282e3a0e5eddfa81 (patch) | |
tree | 9b3d7c74931762a96163451ddc2f5b9aec81e4a5 /net-nntp | |
parent | Version bump (diff) | |
download | gentoo-2-b01fbd6ddeda9a803ad34b23282e3a0e5eddfa81.tar.gz gentoo-2-b01fbd6ddeda9a803ad34b23282e3a0e5eddfa81.tar.bz2 gentoo-2-b01fbd6ddeda9a803ad34b23282e3a0e5eddfa81.zip |
Add patch to fix bug 224945 (upstream bug 393).
(Portage version: 2.2_pre8/cvs/Linux 2.6.25-hh5 i686)
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/hellanzb/ChangeLog | 9 | ||||
-rw-r--r-- | net-nntp/hellanzb/files/hellanzb-0.13-strip-extra-space-in-group.patch | 11 | ||||
-rw-r--r-- | net-nntp/hellanzb/hellanzb-0.13-r6.ebuild | 62 |
3 files changed, 81 insertions, 1 deletions
diff --git a/net-nntp/hellanzb/ChangeLog b/net-nntp/hellanzb/ChangeLog index 357709cf0ebf..76acf5724ace 100644 --- a/net-nntp/hellanzb/ChangeLog +++ b/net-nntp/hellanzb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-nntp/hellanzb # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/ChangeLog,v 1.7 2008/06/01 22:20:11 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/ChangeLog,v 1.8 2008/06/18 14:05:56 yngwin Exp $ + +*hellanzb-0.13-r6 (18 Jun 2008) + + 18 Jun 2008; Ben de Groot <yngwin@gentoo.org> + +files/hellanzb-0.13-strip-extra-space-in-group.patch, + +hellanzb-0.13-r6.ebuild: + Add patch to fix bug 224945 (upstream bug 393). 01 Jun 2008; Alexis Ballier <aballier@gentoo.org> hellanzb-0.13-r5.ebuild: Add optional dep on pyopenssl for nntps support, by Michiel de Bruijne diff --git a/net-nntp/hellanzb/files/hellanzb-0.13-strip-extra-space-in-group.patch b/net-nntp/hellanzb/files/hellanzb-0.13-strip-extra-space-in-group.patch new file mode 100644 index 000000000000..aa13894189c3 --- /dev/null +++ b/net-nntp/hellanzb/files/hellanzb-0.13-strip-extra-space-in-group.patch @@ -0,0 +1,11 @@ +--- hellanzb-0.13-orig/Hellanzb/NZBLeecher/NZBParser.py 2008-06-18 15:41:16.000000000 +0200 ++++ hellanzb-0.13/Hellanzb/NZBLeecher/NZBParser.py 2008-06-18 15:42:39.000000000 +0200 +@@ -149,7 +149,7 @@ + self.fileNeedsDownload = None + + elif name == 'group': +- newsgroup = self.parseUnicode(''.join(self.chars)) ++ newsgroup = self.parseUnicode(''.join(self.chars)).strip() + self.file.groups.append(newsgroup) + + self.chars = None diff --git a/net-nntp/hellanzb/hellanzb-0.13-r6.ebuild b/net-nntp/hellanzb/hellanzb-0.13-r6.ebuild new file mode 100644 index 000000000000..2629b6ec119e --- /dev/null +++ b/net-nntp/hellanzb/hellanzb-0.13-r6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/hellanzb-0.13-r6.ebuild,v 1.1 2008/06/18 14:05:56 yngwin 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="~amd64 ~x86" +IUSE="libnotify ssl" + +RDEPEND=">=dev-python/twisted-2.0 + dev-python/twisted-web + || ( app-arch/unrar + app-arch/rar ) + app-arch/par2cmdline + ssl? ( dev-python/pyopenssl ) + libnotify? ( dev-python/notify-python )" + +DEPEND="" + +DOCS="CHANGELOG CREDITS PKG-INFO README" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-datafiles.patch" + epatch "${FILESDIR}/${P}-Fix_conf_file_search_path.patch" + epatch "${FILESDIR}/${P}-Choose_interface_to_bind_on.patch" + epatch "${FILESDIR}/${P}-fix_multiples_hosts.diff" + epatch "${FILESDIR}/${P}-strip-extra-space-in-group.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." +} |