Codebase list getdns / 7d9803b
Imported Upstream version 0.3.3 Daniel Kahn Gillmor 8 years ago
8 changed file(s) with 42 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
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
06 * 2015-09-04: Version 0.3.2
17 * Fix returned upstreams list by getdns_context_get_api_information()
28 * Fix some autoconf issues when srcdir != builddir
9595 out our git you need to copy the libtool helper scripts and rebuild configure
9696 with:
9797
98 # libtoolize -fi
99 # autoreconf -ci
98 # libtoolize -ci
99 # autoreconf -fi
100100
101101 ## Extensions / Event loop dependencies
102102
00 #! /bin/sh
11 # 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.
33 #
44 # Report bugs to <stub-resolver@verisignlabs.com>.
55 #
589589 # Identity of this package.
590590 PACKAGE_NAME='getdns'
591591 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'
594594 PACKAGE_BUGREPORT='stub-resolver@verisignlabs.com'
595595 PACKAGE_URL='https://getdnsapi.net'
596596
13341334 # Omit some internal or obsolete options to make the list less imposing.
13351335 # This message is too long to be a string in the A/UX 3.1 sh.
13361336 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.
13381338
13391339 Usage: $0 [OPTION]... [VAR=VALUE]...
13401340
13991399
14001400 if test -n "$ac_init_help"; then
14011401 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:";;
14031403 esac
14041404 cat <<\_ACEOF
14051405
15361536 test -n "$ac_init_help" && exit $ac_status
15371537 if $ac_init_version; then
15381538 cat <<\_ACEOF
1539 getdns configure 0.3.2
1539 getdns configure 0.3.3
15401540 generated by GNU Autoconf 2.69
15411541
15421542 Copyright (C) 2012 Free Software Foundation, Inc.
20252025 This file contains any messages produced by compilers while
20262026 running configure, to aid debugging if configure makes a mistake.
20272027
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
20292029 generated by GNU Autoconf 2.69. Invocation command line was
20302030
20312031 $ $0 $@
23852385 fi
23862386
23872387
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
23912391
23922392 API_VERSION="July 2015"
23932393
24152415 # getdns-0.2.0 had libversion 2:2:1
24162416 # getdns-0.3.0 had libversion 3:3:2
24172417 # 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
24192420 #
2420 GETDNS_LIBVERSION=3:5:2
2421 GETDNS_LIBVERSION=3:6:2
24212422
24222423
24232424
1446014461 # report actual input values of CONFIG_FILES etc. instead of their
1446114462 # values after options handling.
1446214463 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
1446414465 generated by GNU Autoconf 2.69. Invocation command line was
1446514466
1446614467 CONFIG_FILES = $CONFIG_FILES
1452714528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1452814529 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1452914530 ac_cs_version="\\
14530 getdns config.status 0.3.2
14531 getdns config.status 0.3.3
1453114532 configured by $0, generated by GNU Autoconf 2.69,
1453214533 with options \\"\$ac_cs_config\\"
1453314534
3434 sinclude(./m4/ax_check_compile_flag.m4)
3535 sinclude(./m4/pkg.m4)
3636
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])
3838 AC_SUBST(RELEASE_CANDIDATE, [])
3939
4040 # Set current date from system if not set
4545 [CURRENT_DATE="`date -u +%Y-%m-%dT%H:%M:%SZ`"])
4646
4747 AC_SUBST(GETDNS_VERSION, ["AC_PACKAGE_VERSION$RELEASE_CANDIDATE"])
48 AC_SUBST(GETDNS_NUMERIC_VERSION, [0x00030200])
48 AC_SUBST(GETDNS_NUMERIC_VERSION, [0x00030300])
4949 AC_SUBST(API_VERSION, ["July 2015"])
5050 AC_SUBST(API_NUMERIC_VERSION, [0x07df0700])
5151 GETDNS_COMPILATION_COMMENT="AC_PACKAGE_NAME $GETDNS_VERSION configured on $CURRENT_DATE for the $API_VERSION version of the API"
7070 # getdns-0.2.0 had libversion 2:2:1
7171 # getdns-0.3.0 had libversion 3:3:2
7272 # 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
7475 #
75 GETDNS_LIBVERSION=3:5:2
76 GETDNS_LIBVERSION=3:6:2
7677
7778 AC_SUBST(GETDNS_COMPILATION_COMMENT)
7879 AC_SUBST(GETDNS_LIBVERSION)
537537 || upstream->event.write_cb
538538 || upstream->event.timeout_cb) ) {
539539
540 GETDNS_CLEAR_EVENT(upstream->loop, &upstream->event);
540541 upstream->event.read_cb = NULL;
541542 upstream->event.write_cb = NULL;
542543 upstream->event.timeout_cb = NULL;
543 GETDNS_CLEAR_EVENT(upstream->loop, &upstream->event);
544544 }
545545 if (upstream->tls_obj != NULL) {
546546 SSL_shutdown(upstream->tls_obj);
24942494 if (!result) {
24952495 return NULL;
24962496 }
2497 r = getdns_dict_util_set_string(result, "version_string", PACKAGE_VERSION);
2497 r = getdns_dict_util_set_string(result, "version_string", GETDNS_VERSION);
24982498 r |= getdns_dict_util_set_string(result, "implementation_string", PACKAGE_URL);
24992499 r |= getdns_dict_set_int(result, "resolution_type", context->resolution_type);
25002500 settings = _get_context_settings(context);
10641064 q_rrset.name = _getdns_rdf_if_or_as_decompressed(
10651065 rdf, cname_spc, &cname_len);
10661066 }
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
10671075 q_rrset.rr_type = qtype;
10681076 if (!(rr = rrtype_iter_init(&rr_spc, &q_rrset))) {
10691077 /* No answer for the question. Add a head for this rrset
338338 */
339339 getdns_return_t getdns_strerror(getdns_return_t err, char *buf, size_t buflen);
340340
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
343343 #define GETDNS_API_VERSION "July 2015"
344344 #define GETDNS_API_NUMERIC_VERSION 0x07df0700
345345
3434
3535 const char *getdns_get_version(void)
3636 {
37 return "0.3.2";
37 return "0.3.3";
3838 }
3939
4040 uint32_t getdns_get_version_number(void)
4141 {
42 return 0x00030200;
42 return 0x00030300;
4343 }
4444
4545 const char *getdns_get_api_version(void)