1. 21 Feb, 2020 1 commit
    • Michał Kępień's avatar
      Clean up --with-tuning=large remnants · a5fc3a63
      Michał Kępień authored
      The change introduced by commit be159f55
      was not fully complete.  Adjust ./configure summary so that it reflects
      the new way the --with-tuning switch works, fixing the Autoconf variable
      used for determining the value of that switch.  Fix win32utils/Configure
      so that it behaves the same way as its Unix counterpart.
  2. 18 Feb, 2020 1 commit
  3. 07 Feb, 2020 2 commits
  4. 14 Jan, 2020 1 commit
  5. 09 Dec, 2019 1 commit
  6. 03 Dec, 2019 3 commits
  7. 25 Nov, 2019 1 commit
  8. 16 Nov, 2019 2 commits
  9. 07 Nov, 2019 2 commits
    • Witold Krecicki's avatar
      netmgr: libuv-based network manager · 70397f9d
      Witold Krecicki authored
      This is a replacement for the existing isc_socket and isc_socketmgr
      implementation. It uses libuv for asynchronous network communication;
      "networker" objects will be distributed across worker threads reading
      incoming packets and sending them for processing.
      UDP listener sockets automatically create an array of "child" sockets
      so each worker can listen separately.
      TCP sockets are shared amongst worker threads.
      A TCPDNS socket is a wrapper around a TCP socket, which handles the
      the two-byte length field at the beginning of DNS messages over TCP.
      (Other wrapper socket types can be implemented in the future to handle
      DNS over TLS, DNS over HTTPS, etc.)
    • Witold Krecicki's avatar
      implement fetch-and-add array queue data structure · 402969bf
      Witold Krecicki authored
      this is a lockless queue based on hazard pointers.
  10. 05 Nov, 2019 1 commit
  11. 15 Oct, 2019 1 commit
  12. 04 Oct, 2019 1 commit
  13. 17 Sep, 2019 2 commits
    • Michal Nowak's avatar
      Remove unused configure checks for dblatex · c871dda0
      Michal Nowak authored
    • Michal Nowak's avatar
      Find docbook-xsl and dblatex templates on Red Hat/Fedora · 0055b961
      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=...`):
      On Fedora 30:
      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"
      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
  14. 12 Sep, 2019 1 commit
    • Michał Kępień's avatar
      Make lib/dns/tests/tkey_test.c more portable · 119f3e0c
      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.
  15. 03 Sep, 2019 1 commit
  16. 08 Aug, 2019 1 commit
    • Sergei Trofimovich's avatar
      configure.ac: autodetect 'pause' instruction presence on sparc · a5ad6b16
      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: default avatarSergei Trofimovich <slyfox@gentoo.org>
  17. 31 Jul, 2019 4 commits
  18. 23 Jul, 2019 1 commit
  19. 22 Jul, 2019 1 commit
  20. 21 Jul, 2019 1 commit
  21. 09 Jul, 2019 2 commits
  22. 04 Jul, 2019 2 commits
  23. 27 Jun, 2019 2 commits
    • Evan Hunt's avatar
      add a search for GeoIP2 libraries in configure · fea6b5bf
      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
      - Makefiles have been updated, and a stub lib/dns/geoip2.c has been
        added for the eventual GeoIP2 search implementation.
    • Ondřej Surý's avatar
      Enforce usage -zrelax=transtls when GNU C Compiler is used on Solaris · d5842236
      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
  24. 26 Jun, 2019 1 commit
  25. 25 Jun, 2019 2 commits
  26. 21 Jun, 2019 2 commits