adns is a resolver library for C (and C++) programs. In contrast with
the existing interfaces, gethostbyname et al and libresolv, it has the
following features:
* It is reasonably easy to use for simple programs which just want
to translate names to addresses, look up MX records, etc.
* It can be used in an asynchronous, non-blocking, manner. Many
queries can be handled simultaneously.
Technical note: adns requires a real nameserver like BIND or
Dents running on the same system or a nearby one, which must be
willing to provide `recursive service'. I.e., adns is a `stub
resolver'.
===> The following configuration options are available for adns-1.6.2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
dns/adns: update 1.6.0 -> 1.6.2, pet repology
- Disable debugging output to stderr from adns_addr2text and
adns_text2addr, when used with exciting values (eg scoped addresses)
- Suppress warning about `trust-ad` in resolv.conf
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
dns: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Samorukov <samm@freebsd.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Allan Jude <allanjude@freebsd.org>
* Amar Takhar <verm@drunkmonk.net>
* Anders Nordby <anders@fix.no>
* Andrew Greenwood <greenwood.andy@gmail.com>
* Anton Berezin <tobez@FreeBSD.org>
* Ashish SHUKLA <ashish@FreeBSD.org>
* Attila Nagy <bra@fsn.hu>
(Only the first 15 lines of the commit message are shown above )
dns/adns: Update to 1.6.0
Update dns/adns to 1.6.0.
This fixes several security issues in adns.
This fixes the build with -fno-common, which is the default with llvm 11.
PR: 248780
Approved by: pi@ (maintainer)
MFH: 2020Q3
Security: 08de38d2-e2d0-11ea-9538-0c9d925bbbc0
Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.
PR: 214780
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
dns/adns: 1.5.0 -> 1.5.1
- Portability fix for systems where socklen_t is bigger than int.
- Fix for malicious optimisation of memcpy in test suite, which
causes failure with gcc-4.1.9 -O3. See Debian bug #772718.
- Fix TCP async connect handling. The bug is hidden on Linux and on most
systems where the nameserver is on localhost. If it is not hidden,
adns's TCP support is broken unless adns_if_noautosys is used.
- Fix addr queries (including subqueries, ie including deferencing MX
lookups etc.) not to crash when one of the address queries returns
tempfail. Also, do not return a spurious pointer to the application
when one of the address queries returns a permanent error (although,
the application almost certainly won't use this pointer because the
associated count is zero).
- adnsresfilter: Fix addrtextbuf buffer size. This is not actually a
problem in real compiled code but should be corrected.
- Properly include harness.h in adnstest.c in regress/. Suppresses
a couple of compiler warnings (implicit declaration of Texit, etc.)
dns/adns: 1.4 -> 1.5.0~rc0
New features:
* Support for queries about IPv6 data in all applicable adns
query types (including AAAA, PTR, and adns_r_addr queries).
(Thanks very much to Mark Wooding.)
* Support for transport over IPv6. (Thanks to Mark Wooding again.)
* adns_addr2text and adns_text2addr: Convenient functions for
converting between addresses and address literals.
Bugfixes:
* Fix a crashing bug in adnslogres. (Debian#392102.)
* Do all checks of checked PTR owner name before actually sending the
query, and reject IPv4 PTR owner names whose labels have leading zero
digits or values >255.
(Only the first 15 lines of the commit message are shown above )
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
Fix installation of libadns.so.1
Bump PORTREVISION
Reported by: Johan Bergs <johan.bergs@ua.ac.be>
Submitted by: "Babak Farrokhi" <babak@farrokhi.net>
Pointy hat to: arved
Fix the adns library version so it matches the internal soname. This sets
the lib version back to 1, but since the dependencies still linked to
libadns.so.1 even when the installed file was libadns.so.12, a new
PORTREVISION bump is not needed.