From d1735c73a1c1a0f18e76d6f0382e61b42472443f Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 22 Jul 2008 20:09:39 +0000 Subject: [PATCH] rebuild --- hesiod-3.1.0-dnsparse.patch | 5 +++-- hesiod-3.0.2-env.patch => hesiod-3.1.0-env.patch | 2 +- hesiod.spec | 7 +++++-- 3 files changed, 9 insertions(+), 5 deletions(-) rename hesiod-3.0.2-env.patch => hesiod-3.1.0-env.patch (97%) diff --git a/hesiod-3.1.0-dnsparse.patch b/hesiod-3.1.0-dnsparse.patch index edeb88b..35d657e 100644 --- a/hesiod-3.1.0-dnsparse.patch +++ b/hesiod-3.1.0-dnsparse.patch @@ -2,17 +2,18 @@ If the response is larger than 1024 bytes, go ahead and retry. --- hesiod-3.1.0/hesiod.c 2006-03-30 13:22:57.000000000 -0500 +++ hesiod-3.1.0/hesiod.c 2006-03-30 13:28:16.000000000 -0500 -@@ -327,7 +327,8 @@ +@@ -327,8 +327,9 @@ */ static char **get_txt_records(struct hesiod_p *ctx, const char *name) { - unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP]; +- int n; + unsigned char qbuf[PACKETSZ], *abuf; + char **tmp; -- int n; + int n, i, len; /* Make sure the resolver is initialized. */ + if ((_res.options & RES_INIT) == 0 && res_init() == -1) @@ -343,14 +344,36 @@ } diff --git a/hesiod-3.0.2-env.patch b/hesiod-3.1.0-env.patch similarity index 97% rename from hesiod-3.0.2-env.patch rename to hesiod-3.1.0-env.patch index a67149d..10dab06 100644 --- a/hesiod-3.0.2-env.patch +++ b/hesiod-3.1.0-env.patch @@ -10,7 +10,7 @@ copy of the library already implements a similar check. +#include #include #include "hesiod.h" - #include "hesiod_p.h" + @@ -79,13 +80,13 @@ if (ctx) { diff --git a/hesiod.spec b/hesiod.spec index eee47e2..467fc4b 100644 --- a/hesiod.spec +++ b/hesiod.spec @@ -1,9 +1,9 @@ Name: hesiod Version: 3.1.0 -Release: 12 +Release: 13 Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz Patch0: hesiod-3.1.0-classes.patch -Patch1: hesiod-3.0.2-env.patch +Patch1: hesiod-3.1.0-env.patch Patch2: hesiod-3.1.0-str.patch Patch3: hesiod-3.1.0-dnsparse.patch Patch4: hesiod-3.1.0-libresolv.patch @@ -34,6 +34,9 @@ ensure synchronize the files among multiple hosts. This package contains the header files and libraries required for building programs which use Hesiod. %changelog +* Tue Jul 22 2008 Nalin Dahyabhai - 3.1.0-13 +- rebuild + * Thu Jun 12 2008 Nalin Dahyabhai - 3.1.0-12 - call aclocal directly, because autoreconf didn't see the magic comment in the distributed version of aclocal.m4 which made it look like it was safe