head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.90 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.88 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.86 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.84 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.82 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.80 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.78 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.76 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.74 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.72 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.70 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.68 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.66 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.64 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.62 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.60 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.58 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.56 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.54 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.52 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.50 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.48 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.46 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.42 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.22 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.44 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.40 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.38 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.36 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.34 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.32 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.30 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.28 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.26 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.24 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.20 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.18 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.16 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.14 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.12 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.10 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.8 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.6 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.4 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.4.0.38 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.36 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.34 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.32 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.30 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.28 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.26 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.24 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.22 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.20 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.18 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.16 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.14 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.12 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.10 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.8 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.6 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.4 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.2 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.1.0.58 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.56 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.54 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.52 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.50 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.48 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.46 pkgsrc-2008Q1:1.1.0.44 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.42 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.40 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.38 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.36 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.34 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.32 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.30 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.28 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.26 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.24 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.22 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.20 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.18 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.16 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.14 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.12 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.5 date 2015.01.29.09.47.03; author mef; state Exp; branches; next 1.4; commitid oMmmfETZZoVV1U7y; 1.4 date 2010.04.17.12.43.03; author obache; state Exp; branches; next 1.3; 1.3 date 2009.09.09.16.34.09; author joerg; state Exp; branches; next 1.2; 1.2 date 2009.09.02.11.01.50; author joerg; state Exp; branches; next 1.1; 1.1 date 2001.11.19.19.39.05; author jlam; state Exp; branches; next ; desc @@ 1.5 log @(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.) @ text @$NetBSD: patch-ab,v 1.4 2010/04/17 12:43:03 obache Exp $ 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 ../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); \ - do $(INSTALL_DATA) $$f $(libdir)/$$f; done + do ${LIBTOOL} --mode=install $(INSTALL_DATA) $$f $(libdir)/$$f; done $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h uninstall: @@@@ -41,10 +41,10 @@@@ uninstall: ALLOBJS= $(LIBOBJS) -libadns.a: $(LIBOBJS) - rm -f $@@ - $(AR) cqv $@@.new $(LIBOBJS) - $(RANLIB) $@@.new - mv -f $@@.new $@@ +libadns.la: $(LIBOBJS) + ${LIBTOOL} --mode=link $(CC) $(LDFLAGS) -o $@@ $(LIBOBJS:.o=.lo) -rpath ${PREFIX}/lib -version-info $(MAJOR):$(MINOR) $(LIBOBJS): adns.h internal.h config.h + +.c.o: + ${LIBTOOL} --mode=compile $(CC) $(CFLAGS) -c $< @ 1.4 log @Update adns to 1.4. Inspired by PR#43126 from Wen Heping. While here, set LICENSE and TEST_TARGET. adns (1.4); urgency=low Improvements for multithreaded programs: * New documentation comment in adns.h explaining thread guarantees (or lack of them), replaces `single-threaded' note at the top. * Fix string conversion of adns_r_addr not to use a static buffer (function csp_addr) so as to make thread promise true. * Make an internal variable const-correct (expectdomain in pa_ptr). -- Ian Jackson Tue, 17 Oct 2006 17:05:08 +0100 adns (1.3); urgency=low Portability fixes: * Cast ptrdiff_t to int for %.*s length in adnsheloex and adnslogres, as is required. (Report from Jim Meyering.) * In configure.in, quote macro name argument to define() to suppress spurious autoconf error. (Report from Mihai Ibanescu.) * Use autoconf's values for {bin,lib,include}dir rather than inventing our own from @@exec_prefix@@, making configure --libdir work. (Patch from Mihai Ibanescu.) * Remove spurious `_' from {bin,lib,include}dir Makefile variables. (Report from Mihai Ibanescu.) * Do away with `mismatch' variable in parse.c:adns__findrr_anychk so that overzealous GCC cannot complain about members of eo_fls being uninitialised. (Report from Jim Meyering.) -- Ian Jackson Tue, 6 Jun 2006 20:22:30 +0100 adns (1.2); urgency=medium New features: * Support for SRV RRs. * Support for unknown RR types (according to RFC3597) via adns_r_unknown. * Allow `;'-comments in resolv.conf (report from Colin Charles). * New adnsheloex client courtesy of Tony Finch. * New adns_init_logfn etc. for having logging use a callback function. Bugfixes: * Fix error in prototype in definition of adns__parse_domain. * Add missing ENOTSOCK to hcommon.c.m4 (was already in hcommon.c!) Portability fixes prompted by Bernd Eckenfels, the Debian maintainer: * Correct type of various printf arguments: ptrdiff_t != int. * Do not print size of leaked blocks of memory (this causes a spurious regression test failure on some platforms). * Provide adns_if_none and adns_qf_none (which will help with compilers which complain about plain `0' being passed where an enum is wanted). * adnstest converts some errno values to EFOOBAR: all of the ones mentioned in adns.h, at least. This makes the regression test more portable (fixes problem noticed by Bernd Eckenfels). * Add -Wno-pointer-sign if GCC has that option. Documentation improvements: * Add documentation comment by definition of adns_r_ptr_raw type enum. * Document in adns.h EINVAL from adns_init meaning bad configuration. * Include several new references to related programs to README.html. * Redacted the TODO list. * New LICENCE.WAIVERS file for GPL-incompatility workarounds. * Clarified GPL-vs-LGPL: a bit less hostile and a bit more mercenary. * Copyright notices updated. Packaging changes: * Update MINOR to 2 and DISTVERSION and ADNS_VERSION_STRING to 1.2. * Reran autoconf/autoheader (autoconf Debian 2.13-54). * Create $(bin_dir) and $(lib_dir) on `make install', and also make a libadns.so.1 -> libadns.so.1. link. (Suggestions and patch from Nix of esperi.org.uk.) * Add .PHONY: install to Makefile, to help people with demented fs's. * Darwin listed in INSTALL. Minor test harness improvements: * Hgettimeofday calls Tensurerecordfile (was Tensureinput/outputfile). * Add bind(2) and listen(2) wrappers (for epithet, but harmless in adns). -- Ian Jackson Sat, 8 Apr 2006 15:41:28 +0100 @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2009/09/09 16:34:09 joerg Exp $ d3 7 a9 3 --- src/Makefile.in.orig 2006-05-10 10:58:03.000000000 +0000 +++ src/Makefile.in @@@@ -23,14 +23,14 @@@@ d15 2 a16 2 include $(srcdir)/../settings.make include adns.make d18 1 d27 1 a27 1 @@@@ -39,10 +39,10 @@@@ uninstall: @ 1.3 log @Fix libtool usage. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2009/09/02 11:01:50 joerg Exp $ d3 1 a3 1 --- src/Makefile.in.orig Sat Sep 16 20:24:24 2000 d5 1 a5 1 @@@@ -24,13 +24,13 @@@@ d15 1 d17 3 a19 3 - do $(INSTALL_DATA) $$f $(lib_dir)/$$f; done + do ${LIBTOOL} --mode=install $(INSTALL_DATA) $$f $(lib_dir)/$$f; done $(INSTALL_DATA) $(srcdir)/../src/adns.h $(include_dir)/adns.h d22 1 a22 1 @@@@ -39,10 +39,10 @@@@ @ 1.2 log @Correctly use libtool's --mode argument, don't depend on deprecated auto-sensing. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2001/11/19 19:39:05 jlam Exp $ d31 1 a31 1 + ${LIBTOOL} $(CC) --mode=link $(LDFLAGS) -o $@@ $(LIBOBJS:.o=.lo) -rpath ${PREFIX}/lib -version-info $(MAJOR):$(MINOR) @ 1.1 log @Strongly buildlinkify and libtoolize (NetBSD's interesting contributions to technical vocabulary). @ text @d1 1 a1 1 $NetBSD$ d17 1 a17 1 + do ${LIBTOOL} $(INSTALL_DATA) $$f $(lib_dir)/$$f; done d31 1 a31 1 + ${LIBTOOL} $(CC) $(LDFLAGS) -o $@@ $(LIBOBJS:.o=.lo) -rpath ${PREFIX}/lib -version-info $(MAJOR):$(MINOR) d36 1 a36 1 + ${LIBTOOL} $(CC) $(CFLAGS) -c $< @