diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-09-24 19:50:01 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-09-24 19:50:01 +0000 |
commit | ea092ef997f7131c499451a070d4b369d969401d (patch) | |
tree | daf1cd4abbf055f5ad88435137b696bd9ac91189 /net-nntp | |
parent | export WANT_AUTOMAKE to latest -- thanks FlameEyes (diff) | |
download | gentoo-2-ea092ef997f7131c499451a070d4b369d969401d.tar.gz gentoo-2-ea092ef997f7131c499451a070d4b369d969401d.tar.bz2 gentoo-2-ea092ef997f7131c499451a070d4b369d969401d.zip |
Revision bump to pull in a patch from upstream that fixes a double free, bug #142740.
(Portage version: 2.1.2_pre1-r1)
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/nzbget/ChangeLog | 9 | ||||
-rw-r--r-- | net-nntp/nzbget/files/0.2.3-double-free.patch | 24 | ||||
-rw-r--r-- | net-nntp/nzbget/files/digest-nzbget-0.2.3-r1 | 3 | ||||
-rw-r--r-- | net-nntp/nzbget/nzbget-0.2.3-r1.ebuild | 34 |
4 files changed, 69 insertions, 1 deletions
diff --git a/net-nntp/nzbget/ChangeLog b/net-nntp/nzbget/ChangeLog index 8e2f3f00149e..5796d59919ed 100644 --- a/net-nntp/nzbget/ChangeLog +++ b/net-nntp/nzbget/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-nntp/nzbget # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.9 2006/08/10 20:14:07 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/ChangeLog,v 1.10 2006/09/24 19:50:01 swegener Exp $ + +*nzbget-0.2.3-r1 (24 Sep 2006) + + 24 Sep 2006; Sven Wegener <swegener@gentoo.org> + +files/0.2.3-double-free.patch, +nzbget-0.2.3-r1.ebuild: + Revision bump to pull in a patch from upstream that fixes a double free, bug + #142740. 10 Aug 2006; Sven Wegener <swegener@gentoo.org> nzbget-0.2.2.ebuild, nzbget-0.2.3.ebuild: diff --git a/net-nntp/nzbget/files/0.2.3-double-free.patch b/net-nntp/nzbget/files/0.2.3-double-free.patch new file mode 100644 index 000000000000..de8368843b3d --- /dev/null +++ b/net-nntp/nzbget/files/0.2.3-double-free.patch @@ -0,0 +1,24 @@ +--- NZBQueueCoordinator.cpp 2005/09/01 15:42:47 1.23 ++++ NZBQueueCoordinator.cpp 2006/01/02 22:01:25 1.24 +@@ -17,8 +17,8 @@ + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * +- * $Revision: 1.1 $ +- * $Date: 2006/09/24 19:50:01 $ ++ * $Revision: 1.1 $ ++ * $Date: 2006/09/24 19:50:01 $ + * + */ + +@@ -262,8 +262,8 @@ + } + + // Cleanup +- delete m_pCurrentNZBQueue; +- delete m_pCoordinator; ++ delete m_pCurrentNZBQueue; m_pCurrentNZBQueue = NULL ; ++ delete m_pCoordinator; m_pCoordinator = NULL ; + } + else + { diff --git a/net-nntp/nzbget/files/digest-nzbget-0.2.3-r1 b/net-nntp/nzbget/files/digest-nzbget-0.2.3-r1 new file mode 100644 index 000000000000..164832939023 --- /dev/null +++ b/net-nntp/nzbget/files/digest-nzbget-0.2.3-r1 @@ -0,0 +1,3 @@ +MD5 25554537c7641bd36f573a5f7c89b449 nzbget-0.2.3.tar.gz 202660 +RMD160 3d519bc0f8aff5e03b52edb16509954e020285b6 nzbget-0.2.3.tar.gz 202660 +SHA256 9bedeb890f7ef49d466f95d76ffea1d4d22788d6dc760c96c6433bff3ff1f6b6 nzbget-0.2.3.tar.gz 202660 diff --git a/net-nntp/nzbget/nzbget-0.2.3-r1.ebuild b/net-nntp/nzbget/nzbget-0.2.3-r1.ebuild new file mode 100644 index 000000000000..975e42c8202f --- /dev/null +++ b/net-nntp/nzbget/nzbget-0.2.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/nzbget-0.2.3-r1.ebuild,v 1.1 2006/09/24 19:50:01 swegener Exp $ + +inherit eutils + +DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files" +HOMEPAGE="http://sourceforge.net/projects/nzbget/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="debug" + +DEPEND="dev-libs/libxml2" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/0.2.3-include-order.patch + epatch "${FILESDIR}"/0.2.3-gcc41.patch + epatch "${FILESDIR}"/0.2.3-double-free.patch +} + +src_compile() { + econf $(use_enable debug) || die "econf failed" + emake CFLAGS="-I. -DHAVE_CONFIG_H -D_GNU_SOURCE ${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin nzbget || die "dobin failed" + dodoc CHANGELOG README TODO nzbget.cfg.example || die "dodoc failed" +} |