Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/nsd/dist Import nsd-4.1.24



details:   https://anonhg.NetBSD.org/src/rev/2b6113d9c2d1
branches:  trunk
changeset: 993272:2b6113d9c2d1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 03 11:29:14 2018 +0000

description:
Import nsd-4.1.24

6 August 2018: Wouter
        - tag for 4.1.24 release.

30 July 2018: Wouter
        - Tag for NSD 4.1.23 release, trunk is 4.1.24, includes
          fix NSD time sensitive TSIG compare vulnerability.
        - Fix checkconf test for use-systemd option.

25 July 2018: Wouter
        - #4133: Fix that when IXFR contains a zone with broken NSEC3PARAM
          chain, NSD leniently attempts to find a working NSEC3PARAM.

23 July 2018: Wouter
        - Remove socket activation from systemd code, it was reported as
          not useful to enable.  The readiness signalling is still there,
          and can be enabled with use-systemd: yes.
        - Only call sd_notify from systemd when use-systemd is yes.

6 July 2018: Wouter
        - RFC8162 support, for record type SMIMEA.
        - Fix that type CAA (and URI) in the zone file can contain
          dots when not in quotes.

26 June 2018: Wouter
        - configure --enable-systemd (needs pkg-config and libsystemd) can
          be used to then use-systemd: yes in nsd.conf and use socket
          activation and readiness signalling with systemd.

19 June 2018: Wouter
        - #4106: Fix that stats printed from nsd-control are recast from
          unsigned long to unsigned (remote.c).

14 June 2018: Wouter
        - Fix that first control-interface determines if TLS is used.  Warn
          when IP address interfaces are used without TLS.

12 June 2018: Wouter
        - #4102: control interface via local socket.
          configure it with control-interface: "/path/nsd.ctl"  The path
          has to start with a / to separate it from an IP address.
          The local socket does not use SSL, but unencrypted traffic, use
          file and containing directory permissions to restrict access.

6 June 2018: Wouter
        - Patch to fix openwrt for mac os build darwin detection in configure.

4 June 2018: Wouter
        - tag for 4.1.22rc1.  Became 4.1.22 on 11 June, trunk is 4.1.23 in
          development from this point.

31 May 2018: Wouter
        - Fix to use same condition for nsec3 hash allocation and free.

23 May 2018: Wouter
        - Use accept4 to speed up answer of TCP queries, on Linux and FreeBSD
          and OpenBSD.

22 May 2018: Wouter
        - Fix nsec3 hash of parent and child co-hosted nsec3 enabled zones.

15 May 2018: Wouter
        - Fix memory free in unit test.

14 May 2018: Wouter
        - Tag for 4.1.21 release.
        - trunk has 4.1.22 in development.
        - refuse-any sends truncation (+TC) in reply to ANY queries over UDP,
          and allows TCP queries like normal.

7 May 2018: Wouter
        - Tag for 4.1.21rc1 release.

4 May 2018: Wouter
        - Fix #4093: Release notes not using 2018.

3 May 2018: Wouter
        - Fix buffer size warnings from compiler on filename lengths.

26 April 2018: Wouter
        - lower memory usage for tcp connections, so tcp-count can be higher.
        - Fix checkconf test for refuse-any option.

3 April 2018: Wouter
        - refuse-any nsd.conf option that refuses queries of type ANY.

5 March 2018: Wouter
        - Fix #3562: explain build error when flex missing.

20 February 2018: Wouter
        - For more clang warnings
        - Fix spelling error in xfr-inspect.

19 February 2018: Wouter
        - Fix for clang analysis complaints.

15 February 2018: Wouter
        - --enable-memclean cleans up memory for use with memory checkers,
          eg. valgrind.
        - Fix unused variable warnings from clang analyzer.

14 February 2018: Wouter
        - updated RELNOTES for upcoming release.
        - tag 4.1.20rc1, became release on 20 feb, trunk has 4.1.21 in
          development.

9 February 2018: Wouter
        - make depend: updated the make dependencies in the Makefile.

8 February 2018: Wouter
        - Fix memory leak when rehashing nsec3 after axfr or zonefile read,
          in the selectively allocated precompiled nsec3 hashes.

6 February 2018: Wouter
        - Fix memory leak in zone file read of unknown rr formatted RRs.

diffstat:

 external/bsd/nsd/dist/Makefile.in         |   14 +-
 external/bsd/nsd/dist/config.h.in         |   12 +
 external/bsd/nsd/dist/configlexer.lex     |    2 +
 external/bsd/nsd/dist/configparser.y      |   34 +-
 external/bsd/nsd/dist/configure           |   78 +++-
 external/bsd/nsd/dist/configure.ac        |   22 +-
 external/bsd/nsd/dist/contrib/README      |    3 +
 external/bsd/nsd/dist/contrib/nsd.service |   28 +
 external/bsd/nsd/dist/contrib/nsd.socket  |    6 +
 external/bsd/nsd/dist/dbcreate.c          |    2 +-
 external/bsd/nsd/dist/difffile.c          |    7 +-
 external/bsd/nsd/dist/dns.c               |    7 +-
 external/bsd/nsd/dist/dns.h               |    1 +
 external/bsd/nsd/dist/doc/ChangeLog       |  116 +++++
 external/bsd/nsd/dist/doc/README          |   10 +-
 external/bsd/nsd/dist/doc/RELNOTES        |   66 +++
 external/bsd/nsd/dist/doc/REQUIREMENTS    |    4 +-
 external/bsd/nsd/dist/doc/TODO            |    2 +-
 external/bsd/nsd/dist/doc/differences.tex |    2 +-
 external/bsd/nsd/dist/ipc.c               |   10 +-
 external/bsd/nsd/dist/mkinstalldirs       |    2 +-
 external/bsd/nsd/dist/namedb.c            |   10 +
 external/bsd/nsd/dist/nsd-checkconf.8.in  |    2 +-
 external/bsd/nsd/dist/nsd-checkconf.c     |    4 +
 external/bsd/nsd/dist/nsd-checkzone.8.in  |    2 +-
 external/bsd/nsd/dist/nsd-control.8.in    |    2 +-
 external/bsd/nsd/dist/nsd-control.c       |  123 ++++-
 external/bsd/nsd/dist/nsd-mem.c           |    2 +-
 external/bsd/nsd/dist/nsd.8.in            |    4 +-
 external/bsd/nsd/dist/nsd.c               |   14 +-
 external/bsd/nsd/dist/nsd.conf.5.in       |   20 +-
 external/bsd/nsd/dist/nsd.conf.sample.in  |    8 +
 external/bsd/nsd/dist/nsd.h               |    6 +-
 external/bsd/nsd/dist/nsec3.c             |  170 ++++--
 external/bsd/nsd/dist/nsec3.h             |    2 +-
 external/bsd/nsd/dist/o                   |  238 ++++++++++
 external/bsd/nsd/dist/options.c           |   51 +-
 external/bsd/nsd/dist/options.h           |    6 +
 external/bsd/nsd/dist/query.c             |   10 +-
 external/bsd/nsd/dist/query.h             |    5 +-
 external/bsd/nsd/dist/remote.c            |  658 +++++++++++++++++++----------
 external/bsd/nsd/dist/remote.h            |    9 +
 external/bsd/nsd/dist/rrl.c               |   28 +
 external/bsd/nsd/dist/rrl.h               |    8 +
 external/bsd/nsd/dist/server.c            |   44 +-
 external/bsd/nsd/dist/systemd.m4          |   30 +
 external/bsd/nsd/dist/tsig.c              |    2 +-
 external/bsd/nsd/dist/udb.c               |    4 +-
 external/bsd/nsd/dist/xfr-inspect.c       |    2 +-
 external/bsd/nsd/dist/xfrd-disk.c         |    6 +-
 external/bsd/nsd/dist/xfrd.c              |   70 +++-
 external/bsd/nsd/dist/zonec.c             |    9 +
 external/bsd/nsd/dist/zparser.y           |   23 +-
 53 files changed, 1582 insertions(+), 418 deletions(-)

diffs (truncated from 3995 to 300 lines):

diff -r 129724f005d2 -r 2b6113d9c2d1 external/bsd/nsd/dist/Makefile.in
--- a/external/bsd/nsd/dist/Makefile.in Mon Sep 03 07:14:18 2018 +0000
+++ b/external/bsd/nsd/dist/Makefile.in Mon Sep 03 11:29:14 2018 +0000
@@ -289,6 +289,7 @@
                echo '#include "config.h"' > $@ ;\
                $(LEX) -i -t $(srcdir)/zlexer.lex >> $@ ;\
        fi
+       @if test ! -f $@; then echo "No $@ : need flex and bison to compile from source repository"; exit 1; fi
 
 zparser.c zparser.h: $(srcdir)/zparser.y
        $(YACC) -d -o zparser.c $(srcdir)/zparser.y
@@ -298,6 +299,7 @@
                echo '#include "configyyrename.h"' > $@ ;\
                $(LEX) -i -t $(srcdir)/configlexer.lex >> $@ ;\
        fi
+       @if test ! -f $@; then echo "No $@ : need flex and bison to compile from source repository"; exit 1; fi
 
 configparser.c configparser.h: $(srcdir)/configparser.y
        $(YACC) -d -o configparser.c $(srcdir)/configparser.y
@@ -371,7 +373,8 @@
  $(srcdir)/nsd.h $(srcdir)/query.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/radtree.h $(srcdir)/rbtree.h $(srcdir)/packet.h $(srcdir)/tsig.h
 ipc.o: $(srcdir)/ipc.c config.h $(srcdir)/ipc.h $(srcdir)/netio.h $(srcdir)/region-allocator.h $(srcdir)/buffer.h $(srcdir)/util.h \
  $(srcdir)/xfrd-tcp.h $(srcdir)/xfrd.h $(srcdir)/rbtree.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/dns.h $(srcdir)/radtree.h $(srcdir)/options.h \
- $(srcdir)/tsig.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/xfrd-notify.h $(srcdir)/difffile.h $(srcdir)/udb.h
+ $(srcdir)/tsig.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/xfrd-notify.h $(srcdir)/difffile.h $(srcdir)/udb.h $(srcdir)/rrl.h $(srcdir)/query.h \
+ $(srcdir)/packet.h
 iterated_hash.o: $(srcdir)/iterated_hash.c config.h $(srcdir)/iterated_hash.h
 lookup3.o: $(srcdir)/lookup3.c config.h $(srcdir)/lookup3.h
 mini_event.o: $(srcdir)/mini_event.c config.h
@@ -434,7 +437,7 @@
 xfrd.o: $(srcdir)/xfrd.c config.h $(srcdir)/xfrd.h $(srcdir)/rbtree.h $(srcdir)/region-allocator.h $(srcdir)/namedb.h \
  $(srcdir)/dname.h $(srcdir)/buffer.h $(srcdir)/util.h $(srcdir)/dns.h $(srcdir)/radtree.h $(srcdir)/options.h $(srcdir)/tsig.h $(srcdir)/xfrd-tcp.h \
  $(srcdir)/xfrd-disk.h $(srcdir)/xfrd-notify.h $(srcdir)/netio.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/packet.h $(srcdir)/rdata.h \
- $(srcdir)/difffile.h $(srcdir)/udb.h $(srcdir)/ipc.h $(srcdir)/remote.h
+ $(srcdir)/difffile.h $(srcdir)/udb.h $(srcdir)/ipc.h $(srcdir)/remote.h $(srcdir)/rrl.h $(srcdir)/query.h
 xfrd-disk.o: $(srcdir)/xfrd-disk.c config.h $(srcdir)/xfrd-disk.h $(srcdir)/xfrd.h $(srcdir)/rbtree.h \
  $(srcdir)/region-allocator.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/buffer.h $(srcdir)/util.h $(srcdir)/dns.h $(srcdir)/radtree.h \
  $(srcdir)/options.h $(srcdir)/tsig.h $(srcdir)/nsd.h $(srcdir)/edns.h
@@ -444,6 +447,9 @@
 xfrd-tcp.o: $(srcdir)/xfrd-tcp.c config.h $(srcdir)/nsd.h $(srcdir)/dns.h $(srcdir)/edns.h $(srcdir)/buffer.h \
  $(srcdir)/region-allocator.h $(srcdir)/util.h $(srcdir)/xfrd-tcp.h $(srcdir)/xfrd.h $(srcdir)/rbtree.h $(srcdir)/namedb.h $(srcdir)/dname.h \
  $(srcdir)/radtree.h $(srcdir)/options.h $(srcdir)/tsig.h $(srcdir)/packet.h $(srcdir)/xfrd-disk.h
+xfr-inspect.o: $(srcdir)/xfr-inspect.c config.h $(srcdir)/udbzone.h $(srcdir)/udb.h $(srcdir)/dns.h $(srcdir)/udbradtree.h \
+ $(srcdir)/util.h $(srcdir)/buffer.h $(srcdir)/region-allocator.h $(srcdir)/packet.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/radtree.h \
+ $(srcdir)/rbtree.h $(srcdir)/rdata.h $(srcdir)/difffile.h $(srcdir)/options.h
 zlexer.o: zlexer.c config.h $(srcdir)/zonec.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/buffer.h \
  $(srcdir)/region-allocator.h $(srcdir)/util.h $(srcdir)/dns.h $(srcdir)/radtree.h $(srcdir)/rbtree.h zparser.h
 zonec.o: $(srcdir)/zonec.c config.h $(srcdir)/zonec.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/buffer.h \
@@ -511,7 +517,3 @@
  $(srcdir)/udb.h $(srcdir)/udbzone.h $(srcdir)/dns.h $(srcdir)/udbradtree.h $(srcdir)/util.h $(srcdir)/buffer.h $(srcdir)/region-allocator.h \
  $(srcdir)/util.h $(srcdir)/packet.h $(srcdir)/namedb.h $(srcdir)/dname.h $(srcdir)/buffer.h $(srcdir)/radtree.h $(srcdir)/rbtree.h $(srcdir)/rdata.h \
  $(srcdir)/namedb.h $(srcdir)/difffile.h $(srcdir)/options.h config.h
-xfr-inspect.o: $(srcdir)/xfr-inspect.c config.h $(srcdir)/udbzone.h $(srcdir)/udb.h $(srcdir)/dns.h \
- $(srcdir)/udbradtree.h $(srcdir)/util.h $(srcdir)/buffer.h $(srcdir)/region-allocator.h $(srcdir)/util.h $(srcdir)/packet.h $(srcdir)/namedb.h \
- $(srcdir)/dname.h $(srcdir)/buffer.h $(srcdir)/radtree.h $(srcdir)/rbtree.h $(srcdir)/rdata.h $(srcdir)/namedb.h $(srcdir)/difffile.h \
- $(srcdir)/options.h config.h
diff -r 129724f005d2 -r 2b6113d9c2d1 external/bsd/nsd/dist/config.h.in
--- a/external/bsd/nsd/dist/config.h.in Mon Sep 03 07:14:18 2018 +0000
+++ b/external/bsd/nsd/dist/config.h.in Mon Sep 03 11:29:14 2018 +0000
@@ -25,6 +25,9 @@
 /* Define to the default facility for syslog. */
 #undef FACILITY
 
+/* Define to 1 if you have the `accept4' function. */
+#undef HAVE_ACCEPT4
+
 /* Define to 1 if you have the `alarm' function. */
 #undef HAVE_ALARM
 
@@ -314,6 +317,9 @@
 /* Define to 1 if you have the `strtol' function. */
 #undef HAVE_STRTOL
 
+/* Define to 1 if `sun_len' is a member of `struct sockaddr_un'. */
+#undef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN
+
 /* Define to 1 if `st_mtimensec' is a member of `struct stat'. */
 #undef HAVE_STRUCT_STAT_ST_MTIMENSEC
 
@@ -347,6 +353,9 @@
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
+/* Define to 1 if you have the <sys/un.h> header file. */
+#undef HAVE_SYS_UN_H
+
 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
 #undef HAVE_SYS_WAIT_H
 
@@ -392,6 +401,9 @@
 /* Define to the maximum message length to pass to syslog. */
 #undef MAXSYSLOGMSGLEN
 
+/* Define this to cleanup memory at exit (eg. for valgrind, etc.) */
+#undef MEMCLEAN
+
 /* Define if memcmp() does not compare unsigned bytes */
 #undef MEMCMP_IS_BROKEN
 
diff -r 129724f005d2 -r 2b6113d9c2d1 external/bsd/nsd/dist/configlexer.lex
--- a/external/bsd/nsd/dist/configlexer.lex     Mon Sep 03 07:14:18 2018 +0000
+++ b/external/bsd/nsd/dist/configlexer.lex     Mon Sep 03 11:29:14 2018 +0000
@@ -207,6 +207,7 @@
 ip-transparent{COLON}  { LEXOUT(("v(%s) ", yytext)); return VAR_IP_TRANSPARENT;}
 ip-freebind{COLON}     { LEXOUT(("v(%s) ", yytext)); return VAR_IP_FREEBIND;}
 debug-mode{COLON}      { LEXOUT(("v(%s) ", yytext)); return VAR_DEBUG_MODE;}
+use-systemd{COLON}     { LEXOUT(("v(%s) ", yytext)); return VAR_USE_SYSTEMD;}
 hide-version{COLON}    { LEXOUT(("v(%s) ", yytext)); return VAR_HIDE_VERSION;}
 ip4-only{COLON}                { LEXOUT(("v(%s) ", yytext)); return VAR_IP4_ONLY;}
 ip6-only{COLON}                { LEXOUT(("v(%s) ", yytext)); return VAR_IP6_ONLY;}
@@ -276,6 +277,7 @@
 log-time-ascii{COLON}  { LEXOUT(("v(%s) ", yytext)); return VAR_LOG_TIME_ASCII;}
 round-robin{COLON}     { LEXOUT(("v(%s) ", yytext)); return VAR_ROUND_ROBIN;}
 minimal-responses{COLON} { LEXOUT(("v(%s) ", yytext)); return VAR_MINIMAL_RESPONSES;}
+refuse-any{COLON}      { LEXOUT(("v(%s) ", yytext)); return VAR_REFUSE_ANY;}
 max-refresh-time{COLON}        { LEXOUT(("v(%s) ", yytext)); return VAR_MAX_REFRESH_TIME;}
 min-refresh-time{COLON}        { LEXOUT(("v(%s) ", yytext)); return VAR_MIN_REFRESH_TIME;}
 max-retry-time{COLON}  { LEXOUT(("v(%s) ", yytext)); return VAR_MAX_RETRY_TIME;}
diff -r 129724f005d2 -r 2b6113d9c2d1 external/bsd/nsd/dist/configparser.y
--- a/external/bsd/nsd/dist/configparser.y      Mon Sep 03 07:14:18 2018 +0000
+++ b/external/bsd/nsd/dist/configparser.y      Mon Sep 03 11:29:14 2018 +0000
@@ -71,7 +71,8 @@
 %token VAR_ROUND_ROBIN VAR_ZONESTATS VAR_REUSEPORT VAR_VERSION
 %token VAR_MAX_REFRESH_TIME VAR_MIN_REFRESH_TIME
 %token VAR_MAX_RETRY_TIME VAR_MIN_RETRY_TIME
-%token VAR_MULTI_MASTER_CHECK VAR_MINIMAL_RESPONSES
+%token VAR_MULTI_MASTER_CHECK VAR_MINIMAL_RESPONSES VAR_REFUSE_ANY
+%token VAR_USE_SYSTEMD
 
 %%
 toplevelvars: /* empty */ | toplevelvars toplevelvar ;
@@ -103,7 +104,7 @@
        server_zonefiles_check | server_do_ip4 | server_do_ip6 |
        server_zonefiles_write | server_log_time_ascii | server_round_robin |
        server_reuseport | server_version | server_ip_freebind |
-       server_minimal_responses;
+       server_minimal_responses | server_refuse_any | server_use_systemd;
 server_ip_address: VAR_IP_ADDRESS STRING 
        { 
                OUTYY(("P(server_ip_address:%s)\n", $2)); 
@@ -150,6 +151,14 @@
                else cfg_parser->opt->debug_mode = (strcmp($2, "yes")==0);
        }
        ;
+server_use_systemd: VAR_USE_SYSTEMD STRING 
+       { 
+               OUTYY(("P(server_use_systemd:%s)\n", $2)); 
+               if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
+                       yyerror("expected yes or no.");
+               else cfg_parser->opt->use_systemd = (strcmp($2, "yes")==0);
+       }
+       ;
 server_verbosity: VAR_VERBOSITY STRING 
        { 
                OUTYY(("P(server_verbosity:%s)\n", $2)); 
@@ -304,6 +313,16 @@
                }
        }
        ;
+server_refuse_any: VAR_REFUSE_ANY STRING 
+       { 
+               OUTYY(("P(server_refuse_any:%s)\n", $2)); 
+               if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
+                       yyerror("expected yes or no.");
+               else {
+                       cfg_parser->opt->refuse_any = (strcmp($2, "yes")==0);
+               }
+       }
+       ;
 server_server_count: VAR_SERVER_COUNT STRING
        { 
                OUTYY(("P(server_server_count:%s)\n", $2)); 
@@ -540,11 +559,18 @@
        ;
 rc_control_interface: VAR_CONTROL_INTERFACE STRING
        {
+               ip_address_option_type* last = NULL;
                ip_address_option_type* o = (ip_address_option_type*)region_alloc(
                        cfg_parser->opt->region, sizeof(ip_address_option_type));
                OUTYY(("P(control_interface:%s)\n", $2));
-               o->next = cfg_parser->opt->control_interface;
-               cfg_parser->opt->control_interface = o;
+               /* append at end */
+               last = cfg_parser->opt->control_interface;
+               while(last && last->next)
+                       last = last->next;
+               if(last == NULL)
+                       cfg_parser->opt->control_interface = o;
+               else    last->next = o;
+               o->next = NULL;
                o->address = region_strdup(cfg_parser->opt->region, $2);
        }
        ;
diff -r 129724f005d2 -r 2b6113d9c2d1 external/bsd/nsd/dist/configure
--- a/external/bsd/nsd/dist/configure   Mon Sep 03 07:14:18 2018 +0000
+++ b/external/bsd/nsd/dist/configure   Mon Sep 03 11:29:14 2018 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for NSD 4.1.19.
+# Generated by GNU Autoconf 2.69 for NSD 4.1.24.
 #
 # Report bugs to <nsd-bugs%nlnetlabs.nl@localhost>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='NSD'
 PACKAGE_TARNAME='nsd'
-PACKAGE_VERSION='4.1.19'
-PACKAGE_STRING='NSD 4.1.19'
+PACKAGE_VERSION='4.1.24'
+PACKAGE_STRING='NSD 4.1.24'
 PACKAGE_BUGREPORT='nsd-bugs%nlnetlabs.nl@localhost'
 PACKAGE_URL=''
 
@@ -725,6 +725,7 @@
 enable_bind8_stats
 enable_zone_stats
 enable_checking
+enable_memclean
 enable_ratelimit
 enable_ratelimit_default_is_off
 with_ssl
@@ -733,6 +734,7 @@
 enable_mmap
 enable_radix_tree
 enable_packed
+enable_systemd
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1285,7 +1287,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures NSD 4.1.19 to adapt to many kinds of systems.
+\`configure' configures NSD 4.1.24 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1346,7 +1348,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of NSD 4.1.19:";;
+     short | recursive ) echo "Configuration of NSD 4.1.24:";;
    esac
   cat <<\_ACEOF
 
@@ -1370,6 +1372,7 @@
   --enable-zone-stats     Enable per-zone statistics gathering (needs
                           --enable-bind8-stats)
   --enable-checking       Enable internal runtime checks
+  --enable-memclean       Cleanup memory (at exit) for eg. valgrind, memcheck
   --enable-ratelimit      Enable rate limiting
   --enable-ratelimit-default-is-off
                           Enable this to set default of ratelimit to off
@@ -1384,6 +1387,7 @@
                           less memory, but uses some more CPU.
   --enable-packed         Enable packed structure alignment, uses less memory,
                           but unaligned reads.
+  --enable-systemd        compile with systemd support
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -1494,7 +1498,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-NSD configure 4.1.19
+NSD configure 4.1.24
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2203,7 +2207,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by NSD $as_me 4.1.19, which was
+It was created by NSD $as_me 4.1.24, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -6034,7 +6038,7 @@
 
 fi
 
-for ac_header in time.h arpa/inet.h signal.h string.h strings.h fcntl.h limits.h netinet/in.h netinet/tcp.h stddef.h sys/param.h sys/socket.h syslog.h unistd.h sys/select.h stdarg.h stdint.h netdb.h 
sys/bitypes.h tcpd.h glob.h grp.h endian.h
+for ac_header in time.h arpa/inet.h signal.h string.h strings.h fcntl.h limits.h netinet/in.h netinet/tcp.h stddef.h sys/param.h sys/socket.h sys/un.h syslog.h unistd.h sys/select.h stdarg.h 
stdint.h netdb.h sys/bitypes.h tcpd.h glob.h grp.h endian.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -7221,6 +7225,22 @@
 
 fi
 
+ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "
+$ac_includes_default
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>



Home | Main Index | Thread Index | Old Index