Commit Graph

126 Commits

Author SHA1 Message Date
Willem Toorop 335c701ce5 Fix dependencies in Makefiles, get rid of VPATH
They couse trouble finding the dependencies in the correct places.
Also, use -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 only when needed
2014-11-07 15:18:32 +01:00
Willem Toorop 87a8889c7e Let libtool evaluate symbols in correct order
This makes libev work on FreeBSD, so resolves issue #43
2014-11-04 14:56:02 +01:00
Willem Toorop 114e459a43 Make things work on FreeBSD again 2014-10-31 14:17:30 +01:00
Willem Toorop b063462786 Move examples to spec dir 2014-10-24 14:39:58 +02:00
Willem Toorop 87c54886c8 pass LDFLAGS to libgetdns_ext_{event,ev,uv} too
Thanks Ondřej Surý
2014-10-24 14:15:43 +02:00
Willem Toorop a0cb4e1774 Move stub resolving to stub.c again
Merged hostname.c and service.c in general so that getdns_general_ns can become static.
Removed specialized synchronous handling from return_validation_chain code.
Removed un_timed_resolve (specialized sync handling is not needed anymore)
Renamed inter-object file symbols to priv_<name> and made intra-object symbols static as much as possible.
2014-10-15 23:04:39 +02:00
Willem Toorop a1be0c985d Miscelaneous fixes that came out of the unit tests
TODO: libuv still has issues.  Do we really need a close callback?
2014-10-15 01:13:39 +02:00
Willem Toorop 1f203485e2 eventloop separate from context & libmini_event 2014-10-08 15:42:33 +02:00
Willem Toorop 1c6ce72f74 Parse /etc/resolv.conf ourselves
At the ame time IPv6 local-link scope_id support
2014-09-30 15:12:48 +02:00
Willem Toorop 17e5262acc Import mini_event & rbtree from unbound 2014-09-24 13:50:28 +02:00
Willem Toorop 8025b729de Link in stub functions again 2014-09-23 10:51:00 +02:00
Willem Toorop ee304d7181 Compatibility functions & make depend 2014-09-23 10:12:34 +02:00
Willem Toorop 635879e0ae stub.[ch] not in this branch 2014-09-09 17:22:20 +02:00
Willem Toorop c40af0d316 s/sbuffer/gbuffer/g in src/Makefile.in too 2014-09-09 17:16:43 +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 fc2f091f05 timed synchronous resolves
Also returns an response dict with status GETDNS_RESPSTATUS_ALL_TIMEOUT on timeout
2014-07-01 23:31:40 +02:00
Glen Wiley d3dd1015f7 removed -release, added -version-info to libtool calls 2014-06-19 11:27:05 -04:00
Willem Toorop 885c5447be Typo fix. symfiles have the .symbols extension 2014-05-26 15:22:22 +02:00
Willem Toorop 76c6105824 Only export symbols that are really there 2014-05-26 15:19:02 +02:00
Willem Toorop 0c02f99a77 on clean cleanup extensions too 2014-05-21 15:57:14 +02:00
Willem Toorop 6262e3d8c8 Fix installs and distcleans for blddir != srcdir 2014-05-21 15:42:58 +02:00
Willem Toorop 61e28884b2 Loose non standard unexposed prototypes
getdns_list_add_item & getdns_dict_copy
2014-05-21 10:13:02 +02:00
Willem Toorop 76dcab7850 Fix -I and -L flags to look into builddir too
And removal of looking into /usr/local/include and /usr/local/lib.
I hope this doesn't break anything...
2014-05-19 15:23:40 +02:00
Neel Goyal 1ca679d313 Fix for make uninstall error 2014-03-06 22:10:50 -05:00
ngoyal 3c399b3b19 Update Makefile.in 2014-03-06 16:14:39 -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
ngoyal f149dedaaf Fix an install error for getdns_extra.h 2014-02-28 15:33:14 -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 ba5c7beec4 tweaks to build binary dist tarball 2014-02-24 14:53:14 -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 deade2b8bb Update extensions to add/remove persistent event based on request count 2014-02-21 18:42:04 -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 96b9f095a7 Implement getdns_root_trust_anchor 2014-02-19 16:56:00 +01:00
W.C.A. Wijngaards bbdf91de9f Use compiler detected by configure (portability test on Minix). 2014-02-14 11:40:23 +01:00
Willem Toorop 80199ecc97 Enable showing text of other codes that return_t 2014-02-12 22:01:53 +01:00
Neel Goyal f750f758ff Fix an issue with extension headers 2014-02-06 11:07:04 -05: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 91d9bcf074 Makefiles are now compatible with Sun Make. Solaris port works. 2014-02-04 14:10:14 +01:00
W.C.A. Wijngaards 9e5afa0b78 Makefiles are BSD compatible, extension included in make dist. 2014-02-04 10:14:46 +01:00
W.C.A. Wijngaards cead404fc6 Fix double definition, put ifeq at start of the line. 2014-02-04 09:57:25 +01:00
Neel Goyal 07dcd6cc0e Merge in stock unbound 2014-02-03 17:46:58 -05:00
Willem Toorop 0797b60bfb Compartmentalize priv_getdns_get_validation_chain 2014-02-03 23:34:55 +01:00
Neel Goyal 81c5de26ea Merge in develop. 2014-01-31 14:50:38 -05:00
Neel Goyal 1f847b0d96 Add timeout support 2014-01-31 14:43:02 -05:00
W.C.A. Wijngaards da9b0730d6 Fix makefile for test, fix segfault in dnssec code. 2014-01-31 16:11:39 +01:00
Willem Toorop e759fb80cf Start with all section 5.3 types rr-dict creation
I guess for static functions and structs it is okay to give them any name,
but the private inter-object symbols should be distinguishable from the
non-private symbols (to export non-private ones later in one go with libtool)
2014-01-30 17:04:43 +01:00
Neel Goyal eb43d9fb02 Merge in develop latest 2014-01-28 10:04:10 -05:00
Neel Goyal 01013c6be8 Tweak makefile to only build libgetdns on all 2014-01-24 11:21:49 -05:00
Neel Goyal f98b99e661 Fix typo in make install 2014-01-22 20:53:26 -05: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 ad9ffb5200 Remove unused flags (libtool adds -fPIC and more) 2013-12-03 10:46:18 +01:00
W.C.A. Wijngaards 997fbec46f Link with -levent if detected, fix examples. 2013-12-02 14:20:03 +01:00
W.C.A. Wijngaards f217ab674e Compile and test succeeds on OpenBSD 2013-11-30 11:25:50 +01:00
W.C.A. Wijngaards b392679ce4 make test and a testscript and output comparisons. 2013-11-29 16:24:39 +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
W.C.A. Wijngaards d9afcf760b Fixed build target for library slightly nicer. 2013-11-26 17:02:12 +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
Melinda Shore 3e0411f8f8 brought doc directory into build process ("make doc") 2013-11-21 17:39:03 -08:00
Melinda Shore c377e6e2f0 fixed ordering issue with libgetdns link, added test and example back to make clean 2013-10-30 00:05:31 -07:00
Willem Toorop 06ad9a53b5 Pass existing CFLAGS and LDFLAGS through
Useful when dependencies are installed at custom locations
2013-10-29 20:31:25 +01:00
Neel Goyal da8dad5913 Adding A and AAAA handling for get_address 2013-10-16 18:33:12 -04:00
Neel Goyal d608d3b670 Initial integration of unbound. 2013-10-15 17:28:23 -04:00
Melinda Shore d440feb7a1 no longer using automake 2013-10-07 08:10:06 -07:00
Melinda Shore ac0fcebce6 More changes to support automake-ification 2013-08-28 13:27:05 -08:00
Neel Goyal c2a03c5570 Removed symlink ltmain.sh. Add m4 for lt. 2013-08-09 10:48:22 -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
Glen Wiley 0a6dfa46ae list data type partially implemented, unit test framework started 2013-07-19 16:19:22 -04:00
Melinda Shore 7b14eda301 Merge 2013-07-01 08:25:07 -08:00
Melinda Shore b3ed4429d6 Initial checkin
Rough autoconf-ification of Paul's source.  No changes to his code
2013-06-16 17:50:14 -08:00