From 36bae42a069dd578983fa00c8baf725c668d2c5c Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 1 Apr 2008 10:36:53 +0000 Subject: fix SEGV thanks to patch supplied by Alexandre Ferreir in bug #195709. also added version bump (Portage version: 2.1.4.4) --- net-dns/updatedd/ChangeLog | 13 ++++++++-- net-dns/updatedd/files/updatedd-2.6-options.patch | 12 ++++++++++ net-dns/updatedd/updatedd-2.3.ebuild | 29 ----------------------- net-dns/updatedd/updatedd-2.4.ebuild | 20 ---------------- net-dns/updatedd/updatedd-2.5-r1.ebuild | 28 ++++++++++++++++++++++ net-dns/updatedd/updatedd-2.6.ebuild | 27 +++++++++++++++++++++ 6 files changed, 78 insertions(+), 51 deletions(-) create mode 100644 net-dns/updatedd/files/updatedd-2.6-options.patch delete mode 100644 net-dns/updatedd/updatedd-2.3.ebuild delete mode 100644 net-dns/updatedd/updatedd-2.4.ebuild create mode 100644 net-dns/updatedd/updatedd-2.5-r1.ebuild create mode 100644 net-dns/updatedd/updatedd-2.6.ebuild diff --git a/net-dns/updatedd/ChangeLog b/net-dns/updatedd/ChangeLog index 413dbc33abdc..8267784e4d0f 100644 --- a/net-dns/updatedd/ChangeLog +++ b/net-dns/updatedd/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-dns/updatedd -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/updatedd/ChangeLog,v 1.8 2007/02/22 02:05:25 peper Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/updatedd/ChangeLog,v 1.9 2008/04/01 10:36:52 dragonheart Exp $ + +*updatedd-2.6 (01 Apr 2008) +*updatedd-2.5-r1 (01 Apr 2008) + + 01 Apr 2008; Daniel Black + +files/updatedd-2.6-options.patch, -updatedd-2.3.ebuild, + -updatedd-2.4.ebuild, +updatedd-2.5-r1.ebuild, +updatedd-2.6.ebuild: + fix SEGV thanks to patch supplied by Alexandre Ferreir in bug #195709. also + added version bump 22 Feb 2007; Piotr JaroszyƄski ChangeLog: Transition to Manifest2. diff --git a/net-dns/updatedd/files/updatedd-2.6-options.patch b/net-dns/updatedd/files/updatedd-2.6-options.patch new file mode 100644 index 000000000000..17fe89b3e49d --- /dev/null +++ b/net-dns/updatedd/files/updatedd-2.6-options.patch @@ -0,0 +1,12 @@ +--- updatedd-2.6/src/updatedd.c.orig 2008-04-01 19:00:30.000000000 +1100 ++++ updatedd-2.6/src/updatedd.c 2008-04-01 19:01:17.000000000 +1100 +@@ -272,7 +272,8 @@ + int c, option_index = 0; + static struct option long_options[] = { + { "help", 0, 0, 'h' }, +- { "version", 0, 0, 'v' } ++ { "version", 0, 0, 'v' }, ++ { 0, 0, 0, 0 } + }; + + c = getopt_long(argc, argv, "LY", diff --git a/net-dns/updatedd/updatedd-2.3.ebuild b/net-dns/updatedd/updatedd-2.3.ebuild deleted file mode 100644 index ee09877b4c52..000000000000 --- a/net-dns/updatedd/updatedd-2.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/updatedd/updatedd-2.3.ebuild,v 1.2 2005/01/31 16:06:42 blubb Exp $ - -inherit eutils - -DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" -HOMEPAGE="http://updatedd.philipp-benner.de/" -SRC_URI="http://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc ~amd64" -IUSE="" - -RDEPEND="virtual/libc" - -src_unpack() { - unpack ${A} - # Fix the Makefile.in so $(bindir) is created before installing files there - cd ${S} - epatch ${FILESDIR}/${P}-makefile.patch || die "Patch Failed" -} - -src_install() { - emake DESTDIR=${D} install || die - mv ${D}/usr/share/doc/updatedd ${D}/usr/share/doc/${PF} - dodoc AUTHORS -} diff --git a/net-dns/updatedd/updatedd-2.4.ebuild b/net-dns/updatedd/updatedd-2.4.ebuild deleted file mode 100644 index f6a635a3d9ec..000000000000 --- a/net-dns/updatedd/updatedd-2.4.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/updatedd/updatedd-2.4.ebuild,v 1.1 2005/03/02 08:02:33 dragonheart Exp $ - -DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" -HOMEPAGE="http://updatedd.philipp-benner.de/" -SRC_URI="http://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="" - -RDEPEND="virtual/libc" - -src_install() { - emake DESTDIR=${D} install || die - mv ${D}/usr/share/doc/updatedd ${D}/usr/share/doc/${PF} - dodoc AUTHORS -} diff --git a/net-dns/updatedd/updatedd-2.5-r1.ebuild b/net-dns/updatedd/updatedd-2.5-r1.ebuild new file mode 100644 index 000000000000..c819fa4a7a54 --- /dev/null +++ b/net-dns/updatedd/updatedd-2.5-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/updatedd/updatedd-2.5-r1.ebuild,v 1.1 2008/04/01 10:36:52 dragonheart Exp $ + +inherit eutils + +DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" +HOMEPAGE="http://updatedd.philipp-benner.de/" +SRC_URI="http://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.6-options.patch +} + +src_install() { + emake DESTDIR=${D} install || die + mv ${D}/usr/share/doc/updatedd ${D}/usr/share/doc/${PF} + dodoc AUTHORS +} diff --git a/net-dns/updatedd/updatedd-2.6.ebuild b/net-dns/updatedd/updatedd-2.6.ebuild new file mode 100644 index 000000000000..f4f6c336b034 --- /dev/null +++ b/net-dns/updatedd/updatedd-2.6.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/updatedd/updatedd-2.6.ebuild,v 1.1 2008/04/01 10:36:52 dragonheart Exp $ + +inherit eutils + +DESCRIPTION="Dynamic DNS client with plugins for several dynamic dns services" +HOMEPAGE="http://updatedd.philipp-benner.de/" +SRC_URI="http://savannah.nongnu.org/download/updatedd/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/libc" + +src_unpack() { + unpack "${A}" + epatch "${FILESDIR}"/${P}-options.patch +} + +src_install() { + emake DESTDIR=${D} install || die + mv ${D}/usr/share/doc/updatedd ${D}/usr/share/doc/${PF} + dodoc AUTHORS +} -- cgit v1.2.3-65-gdbad