bind9/lib/isc
Ondřej Surý 978c7b2e89 Complete rewrite the BIND 9 build system
The rewrite of BIND 9 build system is a large work and cannot be reasonable
split into separate merge requests.  Addition of the automake has a positive
effect on the readability and maintainability of the build system as it is more
declarative, it allows conditional and we are able to drop all of the custom
make code that BIND 9 developed over the years to overcome the deficiencies of
autoconf + custom Makefile.in files.

This squashed commit contains following changes:

- conversion (or rather fresh rewrite) of all Makefile.in files to Makefile.am
  by using automake

- the libtool is now properly integrated with automake (the way we used it
  was rather hackish as the only official way how to use libtool is via
  automake

- the dynamic module loading was rewritten from a custom patchwork to libtool's
  libltdl (which includes the patchwork to support module loading on different
  systems internally)

- conversion of the unit test executor from kyua to automake parallel driver

- conversion of the system test executor from custom make/shell to automake
  parallel driver

- The GSSAPI has been refactored, the custom SPNEGO on the basis that
  all major KRB5/GSSAPI (mit-krb5, heimdal and Windows) implementations
  support SPNEGO mechanism.

- The various defunct tests from bin/tests have been removed:
  bin/tests/optional and bin/tests/pkcs11

- The text files generated from the MD files have been removed, the
  MarkDown has been designed to be readable by both humans and computers

- The xsl header is now generated by a simple sed command instead of
  perl helper

- The <irs/platform.h> header has been removed

- cleanups of configure.ac script to make it more simpler, addition of multiple
  macros (there's still work to be done though)

- the tarball can now be prepared with `make dist`

- the system tests are partially able to run in oot build

Here's a list of unfinished work that needs to be completed in subsequent merge
requests:

- `make distcheck` doesn't yet work (because of system tests oot run is not yet
  finished)

- documentation is not yet built, there's a different merge request with docbook
  to sphinx-build rst conversion that needs to be rebased and adapted on top of
  the automake

- msvc build is non functional yet and we need to decide whether we will just
  cross-compile bind9 using mingw-w64 or fix the msvc build

- contributed dlz modules are not included neither in the autoconf nor automake
2020-04-21 14:19:48 +02:00
..
include Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
netmgr Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
pthreads Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
tests Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unix Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
win32 Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
aes.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
api prep 9.17.1 2020-04-16 23:03:54 +02:00
app.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
assertions.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
astack.c apply the modified style 2020-02-13 15:05:06 -08:00
backtrace.c Improve the backtrace to print symbols when backtrace_symbols() is available 2020-03-11 20:32:21 +01:00
base32.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
base64.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
bind9.c Use coccinelle to remove explicit '#include <config.h>' from the source files 2019-03-08 15:15:05 +01:00
buffer.c apply the modified style 2020-02-13 15:05:06 -08:00
bufferlist.c apply the modified style 2020-02-13 15:05:06 -08:00
commandline.c apply the modified style 2020-02-13 15:05:06 -08:00
counter.c apply the modified style 2020-02-13 15:05:06 -08:00
crc64.c apply the modified style 2020-02-13 15:05:06 -08:00
entropy.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
entropy_private.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
error.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
event.c apply the modified style 2020-02-13 15:05:06 -08:00
fsaccess.c apply the modified style 2020-02-13 15:05:06 -08:00
glob.c append_file() should return void as it doesn't return anything and we don't check for return value 2020-04-15 12:45:05 +02:00
hash.c apply the modified style 2020-02-13 15:05:06 -08:00
heap.c apply the modified style 2020-02-13 15:05:06 -08:00
hex.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
hmac.c Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
hp.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
ht.c apply the modified style 2020-02-13 15:05:06 -08:00
httpd.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
iterated_hash.c apply the modified style 2020-02-13 15:05:06 -08:00
lex.c apply the modified style 2020-02-13 15:05:06 -08:00
lfsr.c apply the modified style 2020-02-13 15:05:06 -08:00
lib.c apply the modified style 2020-02-13 15:05:06 -08:00
log.c Work around an MSVC bug 2020-04-08 14:27:33 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
md.c Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
mem.c Simplify hash computation to prevent pointer being classed as tainted. 2020-02-27 19:41:36 +00:00
mem_p.h retain a minimal "methods" struct in the mctx 2018-10-18 09:19:12 +00:00
mutexblock.c apply the modified style 2020-02-13 15:05:06 -08:00
netaddr.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
netscope.c apply the modified style 2020-02-13 15:05:06 -08:00
nonce.c apply the modified style 2020-02-13 15:05:06 -08:00
openssl_shim.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
openssl_shim.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
parseint.c apply the modified style 2020-02-13 15:05:06 -08:00
pk11.c Fix a segfault when a PKCS#11 token is not found. 2020-04-20 11:40:42 +02:00
pk11_result.c apply the modified style 2020-02-13 15:05:06 -08:00
pool.c apply the modified style 2020-02-13 15:05:06 -08:00
portset.c apply the modified style 2020-02-13 15:05:06 -08:00
queue.c apply the modified style 2020-02-13 15:05:06 -08:00
quota.c Add a quota attach function with a callback, some code cleanups. 2020-03-30 07:43:10 +00:00
radix.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
random.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
ratelimiter.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
regex.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
region.c apply the modified style 2020-02-13 15:05:06 -08:00
result.c Use isc_rwlock for isc_result tables 2020-02-27 07:58:48 +00:00
rwlock.c Replace non-loop usage of atomic_compare_exchange_weak with strong variant 2020-02-16 18:09:19 +01:00
safe.c Stop leaking OpenSSL types and defines in the isc/safe.h 2020-03-12 20:07:16 +01:00
serial.c apply the modified style 2020-02-13 15:05:06 -08:00
siphash.c apply the modified style 2020-02-13 15:05:06 -08:00
sockaddr.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
stats.c Fix the memory ordering for the isc stats to be acquire-release 2020-04-03 19:41:46 +02:00
string.c apply the modified style 2020-02-13 15:05:06 -08:00
symtab.c apply the modified style 2020-02-13 15:05:06 -08:00
task.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
task_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
taskpool.c apply the modified style 2020-02-13 15:05:06 -08:00
timer.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
timer_p.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
tm.c apply the modified style 2020-02-13 15:05:06 -08:00
xoshiro128starstar.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00