Imported Upstream version 0.3.3
Daniel Kahn Gillmor
8 years ago
0 | * 2015-09-09: Version 0.3.3 | |
1 | * Fix clearing upstream events on shutdown | |
2 | * Fix dnssec validation of direct CNAME queries. | |
3 | Thanks Simson L. Garfinkel. | |
4 | * Fix get_api_information():version_string also for release candidates | |
5 | ||
0 | 6 | * 2015-09-04: Version 0.3.2 |
1 | 7 | * Fix returned upstreams list by getdns_context_get_api_information() |
2 | 8 | * Fix some autoconf issues when srcdir != builddir |
95 | 95 | out our git you need to copy the libtool helper scripts and rebuild configure |
96 | 96 | with: |
97 | 97 | |
98 | # libtoolize -fi | |
99 | # autoreconf -ci | |
98 | # libtoolize -ci | |
99 | # autoreconf -fi | |
100 | 100 | |
101 | 101 | ## Extensions / Event loop dependencies |
102 | 102 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for getdns 0.3.2. | |
2 | # Generated by GNU Autoconf 2.69 for getdns 0.3.3. | |
3 | 3 | # |
4 | 4 | # Report bugs to <stub-resolver@verisignlabs.com>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='getdns' |
591 | 591 | PACKAGE_TARNAME='getdns' |
592 | PACKAGE_VERSION='0.3.2' | |
593 | PACKAGE_STRING='getdns 0.3.2' | |
592 | PACKAGE_VERSION='0.3.3' | |
593 | PACKAGE_STRING='getdns 0.3.3' | |
594 | 594 | PACKAGE_BUGREPORT='stub-resolver@verisignlabs.com' |
595 | 595 | PACKAGE_URL='https://getdnsapi.net' |
596 | 596 | |
1334 | 1334 | # Omit some internal or obsolete options to make the list less imposing. |
1335 | 1335 | # This message is too long to be a string in the A/UX 3.1 sh. |
1336 | 1336 | cat <<_ACEOF |
1337 | \`configure' configures getdns 0.3.2 to adapt to many kinds of systems. | |
1337 | \`configure' configures getdns 0.3.3 to adapt to many kinds of systems. | |
1338 | 1338 | |
1339 | 1339 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1340 | 1340 | |
1399 | 1399 | |
1400 | 1400 | if test -n "$ac_init_help"; then |
1401 | 1401 | case $ac_init_help in |
1402 | short | recursive ) echo "Configuration of getdns 0.3.2:";; | |
1402 | short | recursive ) echo "Configuration of getdns 0.3.3:";; | |
1403 | 1403 | esac |
1404 | 1404 | cat <<\_ACEOF |
1405 | 1405 | |
1536 | 1536 | test -n "$ac_init_help" && exit $ac_status |
1537 | 1537 | if $ac_init_version; then |
1538 | 1538 | cat <<\_ACEOF |
1539 | getdns configure 0.3.2 | |
1539 | getdns configure 0.3.3 | |
1540 | 1540 | generated by GNU Autoconf 2.69 |
1541 | 1541 | |
1542 | 1542 | Copyright (C) 2012 Free Software Foundation, Inc. |
2025 | 2025 | This file contains any messages produced by compilers while |
2026 | 2026 | running configure, to aid debugging if configure makes a mistake. |
2027 | 2027 | |
2028 | It was created by getdns $as_me 0.3.2, which was | |
2028 | It was created by getdns $as_me 0.3.3, which was | |
2029 | 2029 | generated by GNU Autoconf 2.69. Invocation command line was |
2030 | 2030 | |
2031 | 2031 | $ $0 $@ |
2385 | 2385 | fi |
2386 | 2386 | |
2387 | 2387 | |
2388 | GETDNS_VERSION="0.3.2$RELEASE_CANDIDATE" | |
2389 | ||
2390 | GETDNS_NUMERIC_VERSION=0x00030200 | |
2388 | GETDNS_VERSION="0.3.3$RELEASE_CANDIDATE" | |
2389 | ||
2390 | GETDNS_NUMERIC_VERSION=0x00030300 | |
2391 | 2391 | |
2392 | 2392 | API_VERSION="July 2015" |
2393 | 2393 | |
2415 | 2415 | # getdns-0.2.0 had libversion 2:2:1 |
2416 | 2416 | # getdns-0.3.0 had libversion 3:3:2 |
2417 | 2417 | # getdns-0.3.1 had libversion 3:4:2 |
2418 | # getdns-0.3.2 has libversion 3:5:2 | |
2418 | # getdns-0.3.2 had libversion 3:5:2 | |
2419 | # getdns-0.3.3 has libversion 3:6:2 | |
2419 | 2420 | # |
2420 | GETDNS_LIBVERSION=3:5:2 | |
2421 | GETDNS_LIBVERSION=3:6:2 | |
2421 | 2422 | |
2422 | 2423 | |
2423 | 2424 | |
14460 | 14461 | # report actual input values of CONFIG_FILES etc. instead of their |
14461 | 14462 | # values after options handling. |
14462 | 14463 | ac_log=" |
14463 | This file was extended by getdns $as_me 0.3.2, which was | |
14464 | This file was extended by getdns $as_me 0.3.3, which was | |
14464 | 14465 | generated by GNU Autoconf 2.69. Invocation command line was |
14465 | 14466 | |
14466 | 14467 | CONFIG_FILES = $CONFIG_FILES |
14527 | 14528 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14528 | 14529 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14529 | 14530 | ac_cs_version="\\ |
14530 | getdns config.status 0.3.2 | |
14531 | getdns config.status 0.3.3 | |
14531 | 14532 | configured by $0, generated by GNU Autoconf 2.69, |
14532 | 14533 | with options \\"\$ac_cs_config\\" |
14533 | 14534 |
34 | 34 | sinclude(./m4/ax_check_compile_flag.m4) |
35 | 35 | sinclude(./m4/pkg.m4) |
36 | 36 | |
37 | AC_INIT([getdns], [0.3.2], [stub-resolver@verisignlabs.com], [], [https://getdnsapi.net]) | |
37 | AC_INIT([getdns], [0.3.3], [stub-resolver@verisignlabs.com], [], [https://getdnsapi.net]) | |
38 | 38 | AC_SUBST(RELEASE_CANDIDATE, []) |
39 | 39 | |
40 | 40 | # Set current date from system if not set |
45 | 45 | [CURRENT_DATE="`date -u +%Y-%m-%dT%H:%M:%SZ`"]) |
46 | 46 | |
47 | 47 | AC_SUBST(GETDNS_VERSION, ["AC_PACKAGE_VERSION$RELEASE_CANDIDATE"]) |
48 | AC_SUBST(GETDNS_NUMERIC_VERSION, [0x00030200]) | |
48 | AC_SUBST(GETDNS_NUMERIC_VERSION, [0x00030300]) | |
49 | 49 | AC_SUBST(API_VERSION, ["July 2015"]) |
50 | 50 | AC_SUBST(API_NUMERIC_VERSION, [0x07df0700]) |
51 | 51 | GETDNS_COMPILATION_COMMENT="AC_PACKAGE_NAME $GETDNS_VERSION configured on $CURRENT_DATE for the $API_VERSION version of the API" |
70 | 70 | # getdns-0.2.0 had libversion 2:2:1 |
71 | 71 | # getdns-0.3.0 had libversion 3:3:2 |
72 | 72 | # getdns-0.3.1 had libversion 3:4:2 |
73 | # getdns-0.3.2 has libversion 3:5:2 | |
73 | # getdns-0.3.2 had libversion 3:5:2 | |
74 | # getdns-0.3.3 has libversion 3:6:2 | |
74 | 75 | # |
75 | GETDNS_LIBVERSION=3:5:2 | |
76 | GETDNS_LIBVERSION=3:6:2 | |
76 | 77 | |
77 | 78 | AC_SUBST(GETDNS_COMPILATION_COMMENT) |
78 | 79 | AC_SUBST(GETDNS_LIBVERSION) |
537 | 537 | || upstream->event.write_cb |
538 | 538 | || upstream->event.timeout_cb) ) { |
539 | 539 | |
540 | GETDNS_CLEAR_EVENT(upstream->loop, &upstream->event); | |
540 | 541 | upstream->event.read_cb = NULL; |
541 | 542 | upstream->event.write_cb = NULL; |
542 | 543 | upstream->event.timeout_cb = NULL; |
543 | GETDNS_CLEAR_EVENT(upstream->loop, &upstream->event); | |
544 | 544 | } |
545 | 545 | if (upstream->tls_obj != NULL) { |
546 | 546 | SSL_shutdown(upstream->tls_obj); |
2494 | 2494 | if (!result) { |
2495 | 2495 | return NULL; |
2496 | 2496 | } |
2497 | r = getdns_dict_util_set_string(result, "version_string", PACKAGE_VERSION); | |
2497 | r = getdns_dict_util_set_string(result, "version_string", GETDNS_VERSION); | |
2498 | 2498 | r |= getdns_dict_util_set_string(result, "implementation_string", PACKAGE_URL); |
2499 | 2499 | r |= getdns_dict_set_int(result, "resolution_type", context->resolution_type); |
2500 | 2500 | settings = _get_context_settings(context); |
1064 | 1064 | q_rrset.name = _getdns_rdf_if_or_as_decompressed( |
1065 | 1065 | rdf, cname_spc, &cname_len); |
1066 | 1066 | } |
1067 | ||
1068 | /* If the qtype was a CNAME, and we got one, we'r done. | |
1069 | * We asked for it directly, so no redirection applies. | |
1070 | * Otherwise we have to check the referred to name/qtype. | |
1071 | */ | |
1072 | if (qtype == GETDNS_RRTYPE_CNAME && q_rrset.name != qname) | |
1073 | return; | |
1074 | ||
1067 | 1075 | q_rrset.rr_type = qtype; |
1068 | 1076 | if (!(rr = rrtype_iter_init(&rr_spc, &q_rrset))) { |
1069 | 1077 | /* No answer for the question. Add a head for this rrset |
338 | 338 | */ |
339 | 339 | getdns_return_t getdns_strerror(getdns_return_t err, char *buf, size_t buflen); |
340 | 340 | |
341 | #define GETDNS_VERSION "0.3.2" | |
342 | #define GETDNS_NUMERIC_VERSION 0x00030200 | |
341 | #define GETDNS_VERSION "0.3.3" | |
342 | #define GETDNS_NUMERIC_VERSION 0x00030300 | |
343 | 343 | #define GETDNS_API_VERSION "July 2015" |
344 | 344 | #define GETDNS_API_NUMERIC_VERSION 0x07df0700 |
345 | 345 |