bind9/util
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
..
api-checker.sh Add API Checker 2020-03-10 09:44:26 +01:00
bindkeys.pl minor cosmetic fixes 2020-02-25 18:24:41 +00:00
branchsync.sh updated branchsync to deal with merge commits 2018-03-14 14:40:13 -07:00
check-categories.sh Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
check-changes ensure there is a blank line before a changes entry and a release marker 2018-05-23 20:46:38 -04:00
check-cocci Run the check-cocci on the whole tree, allow passing extra arguments 2020-02-08 03:12:09 -08:00
check-includes.pl Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
check-instincludes.sh Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
check-make-install.in test installed header files 2020-03-06 12:02:57 +11:00
check-pullups.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
check-sources.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
check-win32util-configure add util/check-win32util-configure to precheck 2019-03-05 17:11:20 +11:00
checklibs.sh Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
commit-arm.sh make commit-arm executable 2020-01-13 11:08:18 +01:00
COPYRIGHT Update scripts in util/ to drop the year information from the individual source files. 2018-02-23 10:10:52 +01:00
COPYRIGHT.BRIEF ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:32:29 -07:00
COPYRIGHT.BSDI ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:32:29 -07:00
COPYRIGHT.NAI ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:32:29 -07:00
COPYRIGHT.NOM ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:32:29 -07:00
COPYRIGHT.PORTION ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:32:29 -07:00
COPYRIGHT.TOP ensure COPYRIGHT file retains years; edit file headers for consistency 2018-03-15 18:32:29 -07:00
copyrights Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
git-replay-merge.sh Update the git-replay-merge to use the latest GitLab -o options 2019-10-31 09:18:01 -05:00
kit.sh use the correct repository, and get archive by tag not hash 2018-05-21 13:43:49 -07:00
mandoc2docbook.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
mdnbuildtest.sh Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
memleak.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
merge_copyrights Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
models.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
nanny.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
new-func Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
nt-kit Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
parse_tsan.py Make the python code pylint and flake8 compliant 2020-04-14 10:41:34 +02:00
run-clang-tidy Add copy of run-clang-tidy that can fixup the filepaths 2020-02-13 22:06:05 +01:00
spacewhack.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
suppressions.txt Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
tabify-changes Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
update-drafts.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
update_branches Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
update_copyrights fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00