Commit Graph

204 Commits

Author SHA1 Message Date
Willem Toorop f066d5ef73 Merge branch 'features/native-stub-dnssec' into develop
Conflicts:
	configure.ac
	src/stub.c
2015-07-02 10:27:27 +02:00
Sara Dickinson 8bb01c46ad Turn TFO off by default. Strange crash found if TCP is not available. 2015-06-29 17:39:14 +01:00
Sara Dickinson e5a80943e2 Turn fast open on by default. Fix build warning. 2015-06-29 11:54:31 +01:00
Willem Toorop 4f78dbfe7d fix --disable-native-stub-dnssec option 2015-06-11 15:47:39 +02:00
Willem Toorop ae1db39a33 Native stub validation 2015-06-11 15:40:44 +02:00
Willem Toorop d5f70ab904 rm spurious execute bits +unit test to detect them
Thanks Paul Wouters
2015-05-26 14:16:27 +02:00
Willem Toorop 77393a3da3 Bumb version to 0.2.0 2015-05-21 11:24:16 +02:00
Willem Toorop e6f28d62b3 Stable native stub, so version 0.2.0 2015-05-13 23:24:36 +02:00
Willem Toorop 80865e0e88 Preparing for a new minor release... 2015-05-12 20:53:03 +02:00
Willem Toorop a6f2a0c6c4 libversion based on ABI not API 2015-05-12 17:09:25 +02:00
Daniel Kahn Gillmor f61a3d0fce Fix libversion numbering
Version 0.1.7 built libgetdns.so.0 instead of libgetdns.so.1.  This
broke anything depending on the package keeping the same SONAME from
0.1.6 to 0.1.7.

The problem stems from a broken libversion in upstream's configure.ac.

This is worked around in 0.1.8 by another change to GETDNS_LIBVERSION,
but the change isn't correct either, since interfaces have been added
again (in partcular, the GETDNS_TRANSPORT_TLS_* constants have been
added, which affects the API at least, for tools trying to compile
against the newer version).

Note that the commentary in configure.ac about how to update
libversion is correct up to a point, but then breaks things badly.
This patch removes that as well.

Here is the canonical reference for how to update libversion:

https://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
2015-04-30 11:33:39 +02:00
Willem Toorop 6d4c0afdeb Correct library version bump
Also the mistake in the last version
2015-04-19 22:07:11 +02:00
Willem Toorop 034150cb42 Bump version & update ChangeLog for 0.1.8 release 2015-04-19 21:36:24 +02:00
Willem Toorop 2a6fc74314 netinet/in.h and openssl/ssl.h from config.h 2015-04-18 22:30:56 +02:00
Willem Toorop 954676b121 Bump versino to 0.1.7 release 2015-04-08 15:42:03 +02:00
Willem Toorop 7bf48520d6 0.1.7 release candidate 2 2015-04-02 22:12:23 +02:00
Willem Toorop c0bc799c3e Fix some C99 compat issues with FreeBSD 2015-03-26 17:03:55 -05:00
Willem Toorop 2d7b58a84b libtool knew we lied 2015-03-26 16:14:04 -05:00
Willem Toorop beb911daf1 Prepare for 0.1.7rc1 2015-03-26 16:09:02 -05:00
Willem Toorop 22cf2fc14d m4 includes in the m4 dir 2015-03-26 14:03:28 -05:00
Willem Toorop d06d94a0c7 Merge branch 'arc4random' into release-0.1.7
Conflicts:
	src/config.h.in
2015-03-22 10:55:03 -05:00
Willem Toorop 00f047816d EDNS cookies processing as stub 2015-03-22 10:50:48 -05:00
Willem Toorop 4683208fd1 First go at using arc4random 4 random numbers 2015-03-21 04:41:25 -05:00
Willem Toorop 5da3bf1af2 Check for libcrypto (required with cookies) 2015-03-20 21:17:14 +01:00
Willem Toorop f1a9c1a464 <ldns/ldns.h> i.s.o. <ldns.h> 2015-03-18 22:04:01 +01:00
Willem Toorop 7fc18e8c35 Anticipate older libldns with travis 2015-03-18 21:43:41 +01:00
Willem Toorop fa782d1043 --enable-broken-native-stub-dnssec
Still needs a little more work for wildcards and NODATA answers...
2015-03-18 14:45:06 +01:00
Willem Toorop 237995e97c portability of generating rfc3339 timestamp 2015-01-20 12:08:07 +01:00
Willem Toorop 85c40d45af Debian builds to be deterministically reproducible
And it should thus be possible to set a date for the GETDNS_COMPILATION_COMMENT define.
Thanks Ondřej Surý
2015-01-20 11:55:37 +01:00
Willem Toorop 065b65d3b7 Bump version to 0.1.6 (library version 1.1.1) 2015-01-14 14:16:41 +01:00
Willem Toorop b780db0538 Portability with older systems
(tested on SunOS 5.11)
2014-11-07 16:57:24 +01:00
Willem Toorop 30627045ae Use pkg-config to configure libcheck
where available
2014-11-07 09:07:58 +01:00
Willem Toorop 3c9b0c2e30 Don't prefix extension libraries names from /src 2014-11-07 07:26:09 +01:00
Willem Toorop d5dc654f5c Get rid of strlcpy warning on Mac 2014-11-06 21:07:04 +01:00
Willem Toorop a4bb10396f Check for libcheck requirements 2014-11-06 20:47:52 +01:00
Willem Toorop 1dc9cdbda6 Detect libevent configure problem on FreeBSD
This resolves issue #41
2014-11-05 00:47:43 +01:00
Willem Toorop 850d8453c9 Make it work on linux again :/ 2014-10-31 14:25:51 +01:00
Willem Toorop 114e459a43 Make things work on FreeBSD again 2014-10-31 14:17:30 +01:00
Willem Toorop 3bc67a83c3 strlcpy compat function prototype in config.h
(when needed)
2014-10-30 15:50:35 +01:00
saradickinson 0680e1144f Add detection of TFO support during configure 2014-10-28 17:51:49 +00:00
saradickinson 9d7d9997df TCP fast open support (linux only). Enabled with --enable-tcp-fastopen configure option. 2014-10-28 17:51:49 +00:00
Willem Toorop 827769fe57 Changelog for 0.1.5 (+bumb version in configure) 2014-10-27 15:02:18 +01:00
Willem Toorop 6c23f26a90 Remove some old leftovers 2014-10-24 16:30:59 +02:00
Willem Toorop b063462786 Move examples to spec dir 2014-10-24 14:39:58 +02:00
Willem Toorop 124de13caa Initialize udp socket nonblocking 2014-10-15 23:28:59 +02:00
Willem Toorop 17e5262acc Import mini_event & rbtree from unbound 2014-09-24 13:50:28 +02:00
Willem Toorop ee304d7181 Compatibility functions & make depend 2014-09-23 10:12:34 +02:00
Willem Toorop 83f53bd2ea With on-board ldns (new ldns2 core from unbound)
Only the symbols for internal use.  No usage yet.
2014-09-09 15:11:32 +02:00
Willem Toorop a498d29978 Bumb version 2014-09-03 16:59:36 +02:00
Glen Wiley ea66f2c8fa release 0.1.3 2014-06-25 09:41:07 -04:00
Willem Toorop feb29ab8f0 Allow piggybacking on libunbouns libevent 2014-06-03 11:05:17 +02:00
Glen Wiley 20c6889f9d added _BSD_SOURCE for linux to solve some lingering compile issues 2014-06-02 11:40:58 -04:00
Glen Wiley ac0b808671 tweaking u_char checks 2014-06-02 10:50:52 -04:00
Glen Wiley 0280c8fa83 fixed configure test for libevent 1.x on RHEL/CentOS 2014-06-02 08:34:34 -04:00
Willem Toorop 45ac1bc7ae Make libev work on Fedora too 2014-05-26 15:56:30 +02:00
Willem Toorop 6979dccfe6 Update ChangeLog and bumb versions 2014-05-21 10:31:49 +02:00
John Dickinson 175ff65623 Issue 29 - fixed the detection of doxygen 2014-05-07 13:35:29 +00:00
Glen Wiley a8a4c64717 update rel number for release 0.1.1 2014-03-24 13:00:59 -04:00
Glen Wiley 9c5d8aa687 fixed detecting libevent v1 if libevent v2 is not available 2014-03-07 02:50:00 -05:00
Glen Wiley 8036639f91 do not build libev/uv/event extensions by default, handle --with/without 2014-03-06 11:43:18 -05:00
Neel Goyal 2b19661e77 Define u_char if including event.h for libevent1 2014-02-25 14:21:44 -05:00
Willem Toorop d7c5122565 Merge branch 'develop' into release_20140225 2014-02-25 14:26:34 +01:00
Willem Toorop d2c890ab6a Fill in <organization> place holder.
s/the name of the <organization>/the names of the copyright holders/g
2014-02-25 14:23:19 +01:00
Willem Toorop 8d77505219 s/Versign/Verisign/g in all files 2014-02-25 14:12:33 +01:00
Glen Wiley 6b00aca2af fixed problem with libevent detection 2014-02-24 20:48:20 -05:00
Neel Goyal 72bb33ca2e Fix an issue builing extensions. Make sure to look for the headers as well as the libs 2014-02-24 16:35:48 -05:00
Glen Wiley 6dd03b1cdc fixed spelling of NLnet in licenses, fixed make clean errs in docs 2014-02-24 09:26:20 -05:00
Neel Goyal 91daf87f4b Update check_getdns - build one per event loop abstraction 2014-02-21 15:42:06 -05:00
Neel Goyal 2594d3d575 Modify check getdns to only use default loop. Adding changes for extensions in next commit 2014-02-21 14:08:37 -05:00
Neel Goyal 2f0bcd665b Compile examples 2014-02-21 12:47:33 -05:00
Neel Goyal 80703de636 Begin refactor out extensions into libs. 2014-02-21 12:23:20 -05:00
Glen Wiley 344893f87f fixed license and copyright notices 2014-02-20 09:12:19 -05:00
Willem Toorop f009158a74 GETDNS_COMPILATION_COMMENT & include spec in dist 2014-02-20 14:07:04 +01:00
Willem Toorop 2db58a6d91 Tell about root trust anchor 2014-02-20 11:52:57 +01:00
Neel Goyal 38904780f2 Add start of api_info. Add package url for autoconf 2014-02-19 13:15:27 -05:00
Willem Toorop c51e597410 Configure option for trust anchor & dnssec_status 2014-02-11 22:42:21 +01:00
W.C.A. Wijngaards b84c13748c Review change in configure output messages: dependency libidn. 2014-02-11 15:14:02 +01:00
Neel Goyal 3af362e2fd Fix some major bugs in extensions when clearing timeout. Add libev 2014-02-06 00:24:26 -05:00
Neel Goyal 562e2dd6df Add libuv support. Change event loop handling in tests 2014-02-05 00:01:55 -05:00
W.C.A. Wijngaards 9e5afa0b78 Makefiles are BSD compatible, extension included in make dist. 2014-02-04 10:14:46 +01:00
Neel Goyal 13b9e74ff5 Update extensions 2014-01-22 19:55:04 -05:00
Neel Goyal 2bcfedcf78 Initial pass at using unbound stock 2014-01-21 15:31:22 -05:00
W.C.A. Wijngaards 031f26801a Solaris port, add -D flag to get strdup. 2013-12-09 09:49:28 +01:00
Willem Toorop 1ecf9d9ef8 Get rid of stdbool.h 2013-12-06 14:10:28 +01:00
W.C.A. Wijngaards ccf1c1d1d4 OSX. Header more lenient, no linenr in test
The line number is not fixed, so __LINE__ does not stay the
same when compiled on different platforms.
2013-12-03 12:13:10 +01:00
W.C.A. Wijngaards fb71cb5f68 For Solaris, compat old libevent, idn includes 2013-12-03 11:45:42 +01:00
W.C.A. Wijngaards 64c057b82d Portable with event1.x, test succeeds on FreeBSD 2013-11-30 13:53:57 +01:00
W.C.A. Wijngaards 552cb4bfca Put -g-O2 back by reorder tests, fixup lib search 2013-11-29 17:10:09 +01:00
W.C.A. Wijngaards be9e180b28 Searches, --with-libidn, libunbound, libldns. 2013-11-29 17:03:01 +01:00
W.C.A. Wijngaards c349bdb70f OpenBSD port: search in libevent_core and libevent 2013-11-29 16:33:01 +01:00
W.C.A. Wijngaards 69c6d0694b fix issue #38: install, uninstall, libtool, configureoutsidesrcdir,
the dist compiles.  library version set to 0:0:0.
2013-11-29 15:41:06 +01:00
Melinda Shore 4065396935 Added getdns_convert_ulabel_to_alabel and getdns_convert_alabel_to_ulabel; introduced dependency on libidn11 2013-11-25 17:40:38 -08:00
Glen Wiley 969ae95f09 added extension validation to the primary entry point to catch bogus
extension strings and perform simple type checking on extensions
brief start on man pages, moving MIT license in source code files to BSD
2013-11-04 18:37:54 -05:00
Glen Wiley e7cc8eb150 separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
Willem Toorop 1336fe3b76 Get rid of pthread usage in getdns_general_sync 2013-10-29 21:25:04 +01:00
Neel Goyal d608d3b670 Initial integration of unbound. 2013-10-15 17:28:23 -04:00
Melinda Shore 1d47471f26 Rudimentary autoconf support for Doxyfile 2013-10-10 16:15:17 -07:00
Melinda Shore 02c79fd479 No longer using automake 2013-10-07 08:08:41 -07:00
Neel Goyal 768b360ca9 Add support for sync functs 2013-08-16 16:28:21 -04:00
Neel Goyal dba0da5adb Massive restructure and renaming 2013-08-15 10:16:15 -04:00
Neel Goyal b3e2aa19f3 Add Werror to cflags. Remove getdns lib check. Fail configure on dependencies not found. 2013-08-09 17:04:25 -04:00
Melinda Shore 0a5f1d3c52 Now using automake to generate Makefile.in 2013-08-08 17:14:43 -08:00
Glen Wiley 6280a1b7b6 the dict and list data types with helper functions work, unit tests
are mostly done as well
2013-07-31 16:21:42 -04:00
Melinda Shore 7494d2b7d5 Moving things around to run configure at top level of directory tree 2013-07-30 11:55:09 -08:00