diff options
author | mef <mef> | 2015-01-29 09:47:03 +0000 |
---|---|---|
committer | mef <mef> | 2015-01-29 09:47:03 +0000 |
commit | 1102a38feef44e109aa551c151a896b464d3748d (patch) | |
tree | bfe14a05b4464712c24e291f945d2ae7d9bf2700 | |
parent | a94f206e12ce55e00089f1b24e01b70c34daf00b (diff) | |
download | pkgsrc-1102a38feef44e109aa551c151a896b464d3748d.tar.gz |
(pkgsrc)
- Add comments on patches from cvs log
(upsteam)
- update 1.4 to 1.5.0
-------------------
Changes in adns 1.5.0, since adns 1.4, are:
New features:
* This release provides full IPv6 support. Applications can request
AAAA records (containing IPv6 addresses) as well as, or instead of,
A records (containing IPv4 addresses). adns 1.5 can speak to
nameservers over IPv6.
* adns_addr2text and adns_text2addr: Convenient C functions for
converting between addresses and address literals. These carry
less baggage than getaddrinfo and getnameinfo.
Bugfixes:
* We fix a crashing bug in adnslogres. (Debian#392102.)
* Previously, parsing of some adns_specific options in resolv.conf
would go awry if multiple options were specified on the same line.
(Fixed since 1.5.0~rc0.)
* adns now knows to ignore more things in resolv.conf, rather than
warn about them, and there's also an option to disable all of these
warnings. (Debian#411263.) (Fixed since 1.5.0~rc0.)
* Previously, some harmless but wrong owner names for checked ptr
queries would be accepted; now they are rejected with `Domain
invalid for particular DNS query type'.
Other:
* There are some minor API/ABI changes and improvements, for future
proofing.
* There are also some build system, test suite and coding style
improvements.
* Licence is now GPLv3.
Compatibility:
adns 1.5 is fully forwards API- and ABI-compatible with 1.4.
adns 1.5 is not backwards ABI-compatible, in the sense that
applications built against adns 1.5 but run with adns 1.4 may
experience `Function not implemented' errors, or `symbol lookup
error' due to undefined symbols. But applications built against 1.4
will not experience data corruption due to ABI mismatches.
adns_r_addr queries (general `address' queries where the application
does not specify the kind of address) used to only return AF_INET
(IPv4) addresses. To avoid surprising existing applications,
AF_INET6 (IPv6) addresses will be returned only if the application
explicitly states its support for handling a mixture of address
families in the results from adns_r_addr. In a future version of
adns this will become the default.
adnshost and the other command-line utilities are fully forward- and
backward-compatible, except that in adns 1.5, adnshost will return
IPv6 as well as IPv4 information if simply asked for `addresses'.
Calling programs which did not ask for a specific address type ought
to cope with this.
The API in 1.5.0 also fixes a technical nonconformance to the C
specification. On platforms where an `enum' type might be an
integer type whose size is bits is not a power of two, there could
be an incompatible ABI change between 1.4 and 1.5 - but we don't
think there are many (if any) such platforms which are sufficiently
POSIX-like for adns. (Changed since 1.5.0~rc0.)
-rw-r--r-- | net/adns/Makefile | 4 | ||||
-rw-r--r-- | net/adns/distinfo | 20 | ||||
-rw-r--r-- | net/adns/patches/patch-aa | 20 | ||||
-rw-r--r-- | net/adns/patches/patch-ab | 19 | ||||
-rw-r--r-- | net/adns/patches/patch-ac | 6 | ||||
-rw-r--r-- | net/adns/patches/patch-ad | 6 | ||||
-rw-r--r-- | net/adns/patches/patch-af | 19 | ||||
-rw-r--r-- | net/adns/patches/patch-ag | 6 |
8 files changed, 64 insertions, 36 deletions
diff --git a/net/adns/Makefile b/net/adns/Makefile index d70cfd39162..036a0494da2 100644 --- a/net/adns/Makefile +++ b/net/adns/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2012/10/23 17:18:08 asau Exp $ +# $NetBSD: Makefile,v 1.23 2015/01/29 09:47:03 mef Exp $ # -DISTNAME= adns-1.4 +DISTNAME= adns-1.5.0 CATEGORIES= net MASTER_SITES= http://www.chiark.greenend.org.uk/~ian/adns/ftp/ diff --git a/net/adns/distinfo b/net/adns/distinfo index 9dcf2d993ab..0026eda54f3 100644 --- a/net/adns/distinfo +++ b/net/adns/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.15 2010/04/17 12:43:03 obache Exp $ +$NetBSD: distinfo,v 1.16 2015/01/29 09:47:03 mef Exp $ -SHA1 (adns-1.4.tar.gz) = 87283c3bcd09ceb2e605e91abedfb537a18f1884 -RMD160 (adns-1.4.tar.gz) = ccff2111bfa3eb99e28d355d48e9e17333f34394 -Size (adns-1.4.tar.gz) = 252668 bytes -SHA1 (patch-aa) = 398086c7f693f342b090e336b679bc16b80ba035 -SHA1 (patch-ab) = 83ed4406342a36ba9c3d282e2a5b0101f783bb16 -SHA1 (patch-ac) = 007669d4b6626e3f89f9e23067244084f05f3dfe -SHA1 (patch-ad) = 1f2484f8087fcbf140d22aa00943974b93bd3fbc -SHA1 (patch-af) = 9e3f58b2d0f576e07f5d025cb696a295013ef53a -SHA1 (patch-ag) = 1d9f9a97a63ea5e073c189071fb6420543d3892d +SHA1 (adns-1.5.0.tar.gz) = 38306b8030c61a78bee85e33f34de876392ca4f8 +RMD160 (adns-1.5.0.tar.gz) = 1a226f7d20a6cfdb584247dc4bb649397ffb4249 +Size (adns-1.5.0.tar.gz) = 310885 bytes +SHA1 (patch-aa) = 047eaeec04126c74a36f04f69d54ffedde0a2002 +SHA1 (patch-ab) = 551451955e92fac6962b405908adc2afb603082d +SHA1 (patch-ac) = 6660ff4248eea59bb54e88aebf87c7430fbae102 +SHA1 (patch-ad) = 0a2632c7984ac30dff61cafc51631449e41399f2 +SHA1 (patch-af) = 10a4868a0f3ec8901e50cf9df7309722ca07bed9 +SHA1 (patch-ag) = 916492f0b7ffa5508a8c8531c0daab24f6004136 diff --git a/net/adns/patches/patch-aa b/net/adns/patches/patch-aa index a7371ac8c3e..54605df1cdf 100644 --- a/net/adns/patches/patch-aa +++ b/net/adns/patches/patch-aa @@ -1,16 +1,20 @@ -$NetBSD: patch-aa,v 1.3 2010/04/17 12:43:03 obache Exp $ +$NetBSD: patch-aa,v 1.4 2015/01/29 09:47:03 mef Exp $ ---- client/Makefile.in.orig 2006-05-10 10:58:02.000000000 +0000 -+++ client/Makefile.in +date: 2001-11-20 04:39:05 +0900; author: jlam; state: Exp; +Strongly buildlinkify and libtoolize (NetBSD's interesting contributions to +technical vocabulary). + +--- client/Makefile.in.orig 2014-10-20 08:07:01.000000000 +0900 ++++ client/Makefile.in 2015-01-29 18:30:26.000000000 +0900 @@ -30,7 +30,7 @@ PROGRAMS= adnslogres adnsheloex adnshost - PROGRAMS_LOCAL= fanftest adnstest + PROGRAMS_LOCAL= fanftest adnstest addrtext PROGRAMS_ALL= $(PROGRAMS) $(PROGRAMS_LOCAL) --STATIC_LIB= $(ADNSDIR)/libadns.a -+STATIC_LIB= $(ADNSDIR)/libadns.la +-STATIC_LIB= ../src/libadns.a ++STATIC_LIB= ../src/libadns.la ifeq ($(ENABLE_DYNAMIC),elf) - DYNAMIC_DEP= $(srcdir)/../dynamic/$(SHLIBFILE) + DYNAMIC_DEP= ../dynamic/$(SHLIBFILE) @@ -60,13 +60,13 @@ all: $(TARGETS) install: $(TARG_INSTALL) mkdir -p $(bindir) @@ -27,7 +31,7 @@ $NetBSD: patch-aa,v 1.3 2010/04/17 12:43:03 obache Exp $ adnshost_s: $(ADH_OBJS) $(STATIC_LIB) $(CC) $(LDFLAGS) $(ADH_OBJS) $(STATIC_LIB) -o $@ $(LDLIBS) -@@ -76,7 +76,7 @@ $(ALL_OBJS): $(ADNSDIR)/adns.h $(ADNSDI +@@ -76,7 +76,7 @@ $(ALL_OBJS): $(ADNSDIR)/adns.h ../src/c adnsresfilter.o: $(ADNSDIR)/tvarith.h %: %.o $(DYNAMIC_DEP) diff --git a/net/adns/patches/patch-ab b/net/adns/patches/patch-ab index f09879f161b..cc1f56a8c33 100644 --- a/net/adns/patches/patch-ab +++ b/net/adns/patches/patch-ab @@ -1,16 +1,21 @@ -$NetBSD: patch-ab,v 1.4 2010/04/17 12:43:03 obache Exp $ +$NetBSD: patch-ab,v 1.5 2015/01/29 09:47:03 mef Exp $ ---- src/Makefile.in.orig 2006-05-10 10:58:03.000000000 +0000 -+++ src/Makefile.in -@@ -23,14 +23,14 @@ +date: 2001-11-20 04:39:05 +0900; author: jlam; state: Exp; +Strongly buildlinkify and libtoolize (NetBSD's interesting contributions to +technical vocabulary). + +--- src/Makefile.in.orig 2014-10-20 08:07:03.000000000 +0900 ++++ src/Makefile.in 2015-01-29 18:34:04.000000000 +0900 +@@ -23,7 +23,7 @@ srcdir= @srcdir@ VPATH= @srcdir@ -TARGETS= libadns.a +TARGETS= libadns.la - include $(srcdir)/../settings.make - include adns.make + include ../settings.make + include $(srcdir)/adns.make +@@ -32,7 +32,7 @@ DIRCFLAGS= -I. -I$(srcdir) install: mkdir -p $(libdir) $(includedir) set -xe; for f in $(TARGETS); \ @@ -19,7 +24,7 @@ $NetBSD: patch-ab,v 1.4 2010/04/17 12:43:03 obache Exp $ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h uninstall: -@@ -39,10 +39,10 @@ uninstall: +@@ -41,10 +41,10 @@ uninstall: ALLOBJS= $(LIBOBJS) diff --git a/net/adns/patches/patch-ac b/net/adns/patches/patch-ac index 6d03d70befe..12856399640 100644 --- a/net/adns/patches/patch-ac +++ b/net/adns/patches/patch-ac @@ -1,4 +1,8 @@ -$NetBSD: patch-ac,v 1.5 2010/04/17 12:43:03 obache Exp $ +$NetBSD: patch-ac,v 1.6 2015/01/29 09:47:03 mef Exp $ + +date: 2005-03-12 15:05:33 +0900; author: tv; state: Exp; lines: +37 -15; +If poll(2) is missing, don't even contemplate using it. +Fixes build on Interix. --- client/adnslogres.c.orig 2006-05-09 19:37:58.000000000 +0000 +++ client/adnslogres.c diff --git a/net/adns/patches/patch-ad b/net/adns/patches/patch-ad index 456767bb110..f5d87960c58 100644 --- a/net/adns/patches/patch-ad +++ b/net/adns/patches/patch-ad @@ -1,4 +1,8 @@ -$NetBSD: patch-ad,v 1.2 2010/04/17 12:43:03 obache Exp $ +$NetBSD: patch-ad,v 1.3 2015/01/29 09:47:03 mef Exp $ + +date: 2005-03-12 15:05:33 +0900; author: tv; state: Exp; +If poll(2) is missing, don't even contemplate using it. +Fixes build on Interix. --- client/adnstest.c.orig 2006-04-08 14:36:57.000000000 +0000 +++ client/adnstest.c diff --git a/net/adns/patches/patch-af b/net/adns/patches/patch-af index 865e6658790..a7d91b4007d 100644 --- a/net/adns/patches/patch-af +++ b/net/adns/patches/patch-af @@ -1,13 +1,20 @@ -$NetBSD: patch-af,v 1.2 2010/04/17 12:43:03 obache Exp $ +$NetBSD: patch-af,v 1.3 2015/01/29 09:47:03 mef Exp $ ---- src/internal.h.orig 2006-04-08 14:36:57.000000000 +0000 -+++ src/internal.h -@@ -185,7 +185,7 @@ union maxalign { +date: 2006-02-07 12:48:44 +0900; author: minskim; state: Exp; +Do not define a variable in a header file included by multiple .c files. +This makes the package build on Darwin. Patch from DarwinPorts. + +The modified header file is used internally, and never installed. So +no visible changes to dependent packages. + +--- src/internal.h.orig 2014-10-26 20:45:58.000000000 +0900 ++++ src/internal.h 2015-01-29 18:35:21.000000000 +0900 +@@ -246,7 +246,7 @@ union maxalign { void *p; void (*fp)(void); union maxalign *up; -} data; +}; - typedef struct { - void *ext; + struct adns__query { + adns_state ads; diff --git a/net/adns/patches/patch-ag b/net/adns/patches/patch-ag index 996ce5d7a46..2de16f1107f 100644 --- a/net/adns/patches/patch-ag +++ b/net/adns/patches/patch-ag @@ -1,4 +1,8 @@ -$NetBSD: patch-ag,v 1.2 2010/04/17 12:43:03 obache Exp $ +$NetBSD: patch-ag,v 1.3 2015/01/29 09:47:03 mef Exp $ + +date: 2006-02-07 12:54:25 +0900; author: minskim; state: Exp; +Make "install" a phony target, so that it works on a case-insensitive +file system. --- Makefile.in.orig 2006-10-17 16:15:19.000000000 +0000 +++ Makefile.in |