diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-04-17 22:36:00 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-04-17 22:36:00 +0000 |
commit | cea1fe4fd9674c1c29329ed1b6ba271da103495d (patch) | |
tree | e83251aa9d5a6aea3b8a7249af4039dbbfc5c2cf /net-misc | |
parent | Added ~sparc keyword. (diff) | |
download | historical-cea1fe4fd9674c1c29329ed1b6ba271da103495d.tar.gz historical-cea1fe4fd9674c1c29329ed1b6ba271da103495d.tar.bz2 historical-cea1fe4fd9674c1c29329ed1b6ba271da103495d.zip |
Fixed BUG #45999
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dyndnsupdate/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/dyndnsupdate/Manifest | 5 | ||||
-rw-r--r-- | net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild | 12 | ||||
-rw-r--r-- | net-misc/dyndnsupdate/files/dyndnsupdate-0.6.15-resolution-segfault-fix.patch | 14 |
4 files changed, 34 insertions, 7 deletions
diff --git a/net-misc/dyndnsupdate/ChangeLog b/net-misc/dyndnsupdate/ChangeLog index ca6c937e9db7..8d64d5c47eba 100644 --- a/net-misc/dyndnsupdate/ChangeLog +++ b/net-misc/dyndnsupdate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/dyndnsupdate -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dyndnsupdate/ChangeLog,v 1.8 2004/03/01 21:34:08 aliz Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dyndnsupdate/ChangeLog,v 1.9 2004/04/17 22:36:00 kugelfang Exp $ + + 18 Apr 2004; <dvandyk@gentoo.org> + +files/dyndnsupdate-0.6.15-resolution-segfault-fix.patch, + dyndnsupdate-0.6.15.ebuild: + Added patch to keep dyndnsupdate from segfaulting in case the HTTP Reply + for resolving the IP is invalid. *dyndnsupdate-0.6.15 (23 Oct 2002) diff --git a/net-misc/dyndnsupdate/Manifest b/net-misc/dyndnsupdate/Manifest index 98c70084cbc9..02c64f2e939f 100644 --- a/net-misc/dyndnsupdate/Manifest +++ b/net-misc/dyndnsupdate/Manifest @@ -1,3 +1,4 @@ -MD5 3fab4c793ab6845b8e9745e8ab5792f9 dyndnsupdate-0.6.15.ebuild 696 -MD5 4abaec71a7492ad93b67cbf59b2b552b ChangeLog 500 +MD5 bbdb2fc5cfdbb805ae076f08b1db31e8 ChangeLog 743 +MD5 5040878e9c454645967860d178def1e2 dyndnsupdate-0.6.15.ebuild 801 MD5 5a003d566db91666d3206342c034fc5b files/digest-dyndnsupdate-0.6.15 70 +MD5 da9aa966cf88a0f8be5fe2fda29697d6 files/dyndnsupdate-0.6.15-resolution-segfault-fix.patch 497 diff --git a/net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild b/net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild index 7758fb910ab6..4d9de250cec1 100644 --- a/net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild +++ b/net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild,v 1.1 2003/10/30 04:57:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dyndnsupdate/dyndnsupdate-0.6.15.ebuild,v 1.2 2004/04/17 22:36:00 kugelfang Exp $ DESCRIPTION="updates the DNS for your hostname/hostnames and other variables at dyndns.org" HOMEPAGE="http://xzabite.org/dyndnsupdate/" @@ -8,10 +8,16 @@ SRC_URI="http://xzabite.org/dyndnsupdate/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc sparc alpha" +KEYWORDS="x86 ppc sparc alpha ~amd64" DEPEND="" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-resolution-segfault-fix.patch +} + src_compile() { emake CFLAGS="${CFLAGS}" || die "Failed to compile." } diff --git a/net-misc/dyndnsupdate/files/dyndnsupdate-0.6.15-resolution-segfault-fix.patch b/net-misc/dyndnsupdate/files/dyndnsupdate-0.6.15-resolution-segfault-fix.patch new file mode 100644 index 000000000000..8776882b0c36 --- /dev/null +++ b/net-misc/dyndnsupdate/files/dyndnsupdate-0.6.15-resolution-segfault-fix.patch @@ -0,0 +1,14 @@ +--- src/dyndnsupdate.c.orig 2003-07-02 17:37:41.000000000 +0200 ++++ src/dyndnsupdate.c 2004-04-18 00:07:41.006457888 +0200 +@@ -346,6 +346,11 @@ + sleep(1); + print_msg(LOG_DEBUG, "reply from %s:\n%s", CHECKIPSERVER, get_msg); + ipaddr = strstr(get_msg, "Address: ")+9; ++ if (ipaddr == 9) //dammit +9 ! ++ { ++ perror("invalid reply\n"); ++ exit(1); ++ } + q = strchr(ipaddr, '\n'); *q = '\0'; + print_msg(LOG_INFO, "%s...Done!\n", ipaddr); + sprintf(ipaddress, ipaddr); |