pkgsrc/net/udns/patches/patch-ab
adam f80a1361f1 Changes 0.1:
* bugfix: udns_new(old) - when actually cloning another context -
  makes the new context referencing memory from old, which leads
  to crashes when old is modified later
* use random queue IDs (the 16bit qID) in queries instead of sequentional
  ones, based on simple pseudo-random RNG by Bob Jenkins (udns_jran.[ch]).
  Some people believe that this improves security (CVE-2008-1447).  I'm
  still not convinced (see comments in udns_resolver.c), but it isn't
  difficult to add after all.
* deprecate dns_random16() function which was declared in udns.h
  (not anymore) but never documented.  In order to keep ABI compatible
  it is still exported.
* library has a way now to set query flags (DNS_SET_DO; DNS_SET_CD).
* dnsget now prints non-printable chars in all strings in DNS RRs using
  decimal escape sequences (\%03u) instead of hexadecimal (\%02x) when
  before - other DNS software does it like this.
* recognize a few more record types in dnsget, notable some DNSSEC RRs;
  add -f option for dnsget to set query flags.
* udns is not a Debian native package anymore (was a wrong idea)
2011-01-28 08:29:34 +00:00

15 lines
513 B
Text

$NetBSD: patch-ab,v 1.1 2011/01/28 08:29:34 adam Exp $
Pass LDFLAGS for compiler test.
--- configure.lib.orig 2011-01-28 08:24:46.000000000 +0000
+++ configure.lib
@@ -125,7 +125,7 @@ ac_prog_c_compiler_v() {
echo 'int main(int argc, char **argv) { return 0; }' >conftest.c
if [ -n "$CC" ]; then
- if ac_run $CC -o conftest conftest.c && ac_run ./conftest; then
+ if ac_run $CC $LDFLAGS -o conftest conftest.c && ac_run ./conftest; then
ac_result "\$CC ($CC)"
else
ac_result no