- 05 Nov, 2019 1 commit
-
-
Mark Andrews authored
-
- 15 Oct, 2019 1 commit
-
-
Michał Kępień authored
Commit afa81ee4 omitted some spots in the source tree which are still referencing the removed --with-cc-alg "configure" option. Make sure the latter is removed completely.
-
- 04 Oct, 2019 1 commit
-
-
Ondřej Surý authored
-
- 17 Sep, 2019 2 commits
-
-
Michal Nowak authored
-
Michal Nowak authored
`/usr/share/sgml/docbook/xsl-stylesheets` and `/usr/share/dblatex` are places where docbook-style-xsl and, respectively, dblatex packages on Red Hat systems put their XSL templates. Unless we hint this place it has to be added to `./configure` manually (`--with-docbook-xsl=...`): https://src.fedoraproject.org/rpms/bind/blob/master/f/bind.spec#_691. On Fedora 30: Before ``` ./configure ... checking for Docbook-XSL path... auto checking for html/docbook.xsl... "not found" checking for xhtml/docbook.xsl... "not found" checking for manpages/docbook.xsl... "not found" checking for html/chunk.xsl... "not found" checking for xhtml/chunk.xsl... "not found" checking for html/chunktoc.xsl... "not found" checking for xhtml/chunktoc.xsl... "not found" checking for html/maketoc.xsl... "not found" checking for xhtml/maketoc.xsl... "not found" checking for xsl/docbook.xsl... "not found" checking for xsl/latex_book_fast.xsl... "not found" ``` After: ``` ./configure ... checking for Docbook-XSL path... auto checking for html/docbook.xsl... /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl checking for xhtml/docbook.xsl... /usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl checking for manpages/docbook.xsl... /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl checking for html/chunk.xsl... /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl checking for xhtml/chunk.xsl... /usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk.xsl checking for html/chunktoc.xsl... /usr/share/sgml/docbook/xsl-stylesheets/html/chunktoc.xsl checking for xhtml/chunktoc.xsl... /usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunktoc.xsl checking for html/maketoc.xsl... /usr/share/sgml/docbook/xsl-stylesheets/html/maketoc.xsl checking for xhtml/maketoc.xsl... /usr/share/sgml/docbook/xsl-stylesheets/xhtml/maketoc.xsl checking for xsl/docbook.xsl... /usr/share/dblatex/xsl/docbook.xsl checking for xsl/latex_book_fast.xsl... /usr/share/dblatex/xsl/latex_book_fast.xsl ```
-
- 12 Sep, 2019 1 commit
-
-
Michał Kępień authored
Weak symbols are handled differently by different dynamic linkers. With glibc, lib/dns/tests/tkey_test works as expected no matter whether --with-libtool is used or not: __attribute__((weak)) prevents a static build from failing and it just so happens that the desired symbols are picked at runtime for dynamic builds. However, with BSD libc, the libdns functions called from lib/dns/tests/tkey_test.c use the "real" memory allocation functions from libisc, thus breaking that unit test. (Note: similar behavior can be reproduced with glibc by setting the LD_DYNAMIC_WEAK environment variable.) The simplest way to make lib/dns/tests/tkey_test work reliably is to drop all uses of __attribute__((weak)) in it - this way, the memory functions inside lib/dns/tests/tkey_test.c will always be used instead of the "real" libisc ones for dynamic builds. However, this would not work with static builds as it would result in multiple strong symbols with the same name being present in a single binary. Work around the problem by only compiling in the overriding definitions of memory functions when building using --with-libtool. For static builds, keep relying on the --wrap linker option for replacing calls to the functions we are interested in.
-
- 03 Sep, 2019 1 commit
-
-
Ondřej Surý authored
Add check for creating new EVP_PKEY with EVP_PKEY_SIPHASH, but disable SipHash on OpenSSL 1.1.1 as the hash length initialization is broken before OpenSSL 1.1.1a release.
-
- 08 Aug, 2019 1 commit
-
-
Sergei Trofimovich authored
The change fixes the following build failure on sparc T3 and older CPUs: ``` sparc-unknown-linux-gnu-gcc ... -O2 -mcpu=niagara2 ... -c rwlock.c {standard input}: Assembler messages: {standard input}:398: Error: Architecture mismatch on "pause ". {standard input}:398: (Requires v9e|v9v|v9m|m8; requested architecture is v9b.) make[1]: *** [Makefile:280: rwlock.o] Error 1 ``` `pause` insutruction exists only on `-mcpu=niagara4` (`T4`) and upper. The change adds `pause` configure-time autodetection and uses it if available. config.h.in got new `HAVE_SPARC_PAUSE` knob. Fallback is a fall-through no-op. Build-tested on: - sparc-unknown-linux-gnu-gcc (no `pause`, build succeeds) - sparc-unknown-linux-gnu-gcc -mcpu=niagara4 (`pause`, build succeeds) Reported-by: Rolf Eike Beer Bug: https://bugs.gentoo.org/691708Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org>
-
- 31 Jul, 2019 4 commits
-
-
Ondřej Surý authored
-
Ondřej Surý authored
There's no strong reason to keep `make tags` in our build system. The previous functionality of `make tags` could be simply retained by aliasing variant of: etags $(git ls-files '*.c' '*.h') which would be universal for all C-code projects.
-
Ondřej Surý authored
-
Ondřej Surý authored
The isc-config.sh script was introduced before pkg-config as is a purely historical thing. There are two reason for removal of isc-config.sh scripts: a) The BIND 9 libraries are now meant to be used only from BIND 9, so there's no reason to provide convenience script to link with the libraries. b) Even if that was not the case, we should and would replace the isc-config.sh with respective pkg-config (.pc) file for every library.
-
- 23 Jul, 2019 1 commit
-
-
Ondřej Surý authored
-
- 22 Jul, 2019 1 commit
-
-
Ondřej Surý authored
-
- 21 Jul, 2019 1 commit
-
-
Witold Kręcicki authored
-
- 09 Jul, 2019 2 commits
-
-
Witold Krecicki authored
Special, for-tests-only, mode with atomics emulated by a mutex-locked variable - useful for finding atomics congestions
-
Ondřej Surý authored
-
- 04 Jul, 2019 2 commits
- 27 Jun, 2019 2 commits
-
-
Evan Hunt authored
- "--with-geoip" is used to enable the legacy GeoIP library. - "--with-geoip2" is used to enable the new GeoIP2 library (libmaxminddb), and is on by default if the library is found. - using both "--with-geoip" and "--with-geoip2" at the same time is an error. - an attempt is made to determine the default GeoIP2 database path at compile time if pkg-config is able to report the module prefix. if this fails, it will be necessary to set the path in named.conf with geoip-directory - Makefiles have been updated, and a stub lib/dns/geoip2.c has been added for the eventual GeoIP2 search implementation.
-
Ondřej Surý authored
When GNU C Compiler is used on Solaris (11), the Thread Local Storage is completely broken. The behaviour doesn't manifest when GNU ld is used. Thus, we need to enforce usage of GNU ld when GNU C Compiler is the compiler of choice. For more background for this change, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90912
-
- 26 Jun, 2019 1 commit
-
-
Ondřej Surý authored
-
- 25 Jun, 2019 2 commits
-
-
Ondřej Surý authored
The ax_check_openssl m4 macro used OPENSSL_INCLUDES. Rename the subst variable to OPENSSL_CFLAGS and wrap AX_CHECK_OPENSSL() in action-if-not-found part of PKG_CHECK_MODULE check for libcrypto.
-
Ondřej Surý authored
The libxml2 have previously leaked into the global namespace leading to forced -I<include_path> for every compilation unit using isc/xml.h header. This MR fixes the usage making the caller object opaque.
-
- 21 Jun, 2019 3 commits
-
-
Ondřej Surý authored
The configure option --with-libbind was already obsolete, this MR just removes the warning from configure.ac.
-
Ondřej Surý authored
Previously the autoconf script set sysconfdir to /etc and localstatedir to /var if they were not explicitly set in the ./configure invocation. This MR reverts the override and make it more in line with default and generally expected autoconf behavior.
-
Ondřej Surý authored
AM_MAINTAINER_MODE macro adds ability to disable rebuilding build file (Makefile.in, configure, ...) when the source file changes. This is important in the CI where the timestamps could get skewed and that triggers the rebuild on every ./configure run.
-
- 19 Jun, 2019 1 commit
-
-
Ondřej Surý authored
Pull and use several autoconf archive convenience macros to simplify configure.ac. * AX_CHECK_COMPILE_FLAG(FLAG, ...) - check whether given CFLAG works * AX_CHECK_LINK_FLAG(FLAG, ...) - check whether given LDFLAG works * AX_CHECK_PREPROC_FLAG(FLAG, ...) - check whether give CPPFLAG works * AX_SAVE_FLAGS/AX_RESTORE_FLAGS - save and restore *FLAGS
-
- 05 Jun, 2019 1 commit
-
-
Ondřej Surý authored
-
- 30 May, 2019 4 commits
-
-
Witold Krecicki authored
-
Ondřej Surý authored
-
Mark Andrews authored
-
Mark Andrews authored
-
- 29 May, 2019 2 commits
-
-
Ondřej Surý authored
-
Ondřej Surý authored
-
- 27 May, 2019 1 commit
-
-
Mark Andrews authored
-
- 20 May, 2019 1 commit
-
-
Ondřej Surý authored
This work cleans up the API which includes couple of things: 1. Make the isc_appctx_t type fully opaque 2. Protect all access to the isc_app_t members via stdatomics 3. sigwait() is part of POSIX.1, remove dead non-sigwait code 4. Remove unused code: isc_appctx_set{taskmgr,sockmgr,timermgr}
-
- 13 May, 2019 1 commit
-
-
Mark Andrews authored
-
- 10 May, 2019 1 commit
-
-
Ondřej Surý authored
Previously, only a message about missing Python was printed, which was misleading to many users. The new message clearly states that Python AND PLY is required and prints basic instructions how to install PLY package.
-
- 23 Apr, 2019 1 commit
-
-
Mark Andrews authored
-