diff options
author | spz <spz> | 2006-02-15 20:07:40 +0000 |
---|---|---|
committer | spz <spz> | 2006-02-15 20:07:40 +0000 |
commit | 1e80025f22c927969a1403d7d73ce078a6a019b7 (patch) | |
tree | 57f3412285c2fee584fe4ffe4d61f36c099c7887 /net | |
parent | bc1c770f3a9a03b9eb1866c8c70cf6be3650dcc2 (diff) | |
download | pkgsrc-1e80025f22c927969a1403d7d73ce078a6a019b7.tar.gz |
two changes:
- fix a hairy bug in BirdWhoisClient::getResponse (how did that ever work?)
- make stripRipeComments more lenient against an APNIC comment style problem
Diffstat (limited to 'net')
-rw-r--r-- | net/irrtoolset-nox11/Makefile | 4 | ||||
-rw-r--r-- | net/irrtoolset-nox11/distinfo | 3 | ||||
-rw-r--r-- | net/irrtoolset-nox11/patches/patch-ck | 28 |
3 files changed, 32 insertions, 3 deletions
diff --git a/net/irrtoolset-nox11/Makefile b/net/irrtoolset-nox11/Makefile index bce4216a226..6fe1216ea4b 100644 --- a/net/irrtoolset-nox11/Makefile +++ b/net/irrtoolset-nox11/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2005/08/26 08:41:46 spz Exp $ +# $NetBSD: Makefile,v 1.5 2006/02/15 20:07:40 spz Exp $ # DISTNAME= IRRToolSet-4.8.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.isc.org/isc/IRRToolSet/IRRToolSet-4.8.2/ diff --git a/net/irrtoolset-nox11/distinfo b/net/irrtoolset-nox11/distinfo index f971d1c3e8d..83b8f2da398 100644 --- a/net/irrtoolset-nox11/distinfo +++ b/net/irrtoolset-nox11/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/08/26 08:41:46 spz Exp $ +$NetBSD: distinfo,v 1.7 2006/02/15 20:07:40 spz Exp $ SHA1 (IRRToolSet-4.8.2.tar.gz) = f60a03cb6585503f1ef0b8b7c0a2ce7c39ce999c RMD160 (IRRToolSet-4.8.2.tar.gz) = 00332f7fe1144b56c93dc327126ec51aa094b6ab @@ -64,3 +64,4 @@ SHA1 (patch-cg) = 0df548f8a560044b5eaeaaac1b25beadd4850ff0 SHA1 (patch-ch) = 40ee868bdb7ecb73cb279e5e9f1ff546ab4a4ffe SHA1 (patch-ci) = 2e0104e01b7c8beb9d9feab837520014ad6b63e4 SHA1 (patch-cj) = 86950483f15144510fab6f46cfd36a1759eb3bb4 +SHA1 (patch-ck) = 175f93a15bdb000070b80688ab594a38af26e6f0 diff --git a/net/irrtoolset-nox11/patches/patch-ck b/net/irrtoolset-nox11/patches/patch-ck new file mode 100644 index 00000000000..f4ee93deedd --- /dev/null +++ b/net/irrtoolset-nox11/patches/patch-ck @@ -0,0 +1,28 @@ +$NetBSD: patch-ck,v 1.1 2006/02/15 20:07:40 spz Exp $ + +--- src/irr/birdwhoisc.cc.orig 2004-07-30 12:58:11.000000000 +0200 ++++ src/irr/birdwhoisc.cc +@@ -112,10 +112,13 @@ static void stripRipeComments(Buffer &bu + if (eol == NULL) + // no EOL, no comment to strip (yet) + goto out; +- assert(*(eol+1) == '\n' || *(eol+1) == '%'); + size -= (eol-cont)+1; + cont = eol + 1; + removedLines = true; ++ if (*(cont) != '\n' && *(cont) != '%') ++ // next line starts not with a comment, so assume comments have ++ // ended the APNIC way ++ goto out; + } + if (*cont == '\n') { + size--; +@@ -197,6 +200,8 @@ bool BirdWhoisClient::getResponse(char * + << "]" + << endl; + ++ text = result->contents; ++ len = result->size; + return true; + } + |