Codebase list unbound / a85477a
Imported Upstream version 1.4.12 Robert S. Edmonds 12 years ago
20 changed file(s) with 161 addition(s) and 356 deletion(s). Raw diff Collapse all Expand all
191191
192192 $(BUILD)%.o: $(srcdir)/%.rc $(srcdir)/config.h
193193 $(INFO) Resource $<
194 @if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \
195 then (cd $(ldnsdir); $(MAKE) copy-headers); fi
196194 @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi
197195 $Q$(WINDRES) $(CPPFLAGS) $< $@
198196 endif
201199 LINK=$(LIBTOOL) --tag=CC --mode=link $(strip $(CC) $(staticexe) $(RUNTIME_PATH) $(CFLAGS) $(LDFLAGS))
202200 LINK_LIB=$(LIBTOOL) --tag=CC --mode=link $(strip $(CC) $(RUNTIME_PATH) $(CFLAGS) $(LDFLAGS) $(staticexe) -version-number @LIBUNBOUND_CURRENT@:@LIBUNBOUND_REVISION@:@LIBUNBOUND_AGE@ -no-undefined)
203201
204 .PHONY: clean realclean doc lint all install uninstall tests test download_ldns strip lib longtest longcheck check
202 .PHONY: clean realclean doc lint all install uninstall tests test strip lib longtest longcheck check
205203
206204 $(BUILD)%.lo: $(srcdir)/%.c
207205 $(INFO) Build $<
208 @if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \
209 then (cd $(ldnsdir); $(MAKE) copy-headers); fi
210206 @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi
211207 $Q$(COMPILE) -o $@ -c $<
212208
229225 if test -x "`which bash`"; then bash testcode/do-tests.sh; else sh testcode/do-tests.sh; fi
230226
231227 lib: libunbound.la
232
233 ifeq ($(patsubst ldns-src%,ldns-src,$(ldnsdir)),ldns-src)
234 ldnslib=$(ldnsdir)/lib/libldns.a
235 $(ldnslib): $(ldnsdir)/lib
236 $(ldnsdir)/lib:
237 @if test ! -z "$(ldnsdir)"; \
238 then (cd $(ldnsdir) && $(MAKE)); fi
239 else
240 ldnslib=
241 endif
242228
243229 UBSYMS+=-export-symbols $(srcdir)/libunbound/ubsyms.def
244230 CLUBSYMS=-export-symbols $(BUILD)clubsyms.def
249235 EXTRALINK=-L. -L.libs -lunbound
250236 endif
251237
252 libunbound.la: $(LIBUNBOUND_OBJ) $(ldnslib)
238 libunbound.la: $(LIBUNBOUND_OBJ)
253239 $(INFO) Link $@
254240 ifeq ($(CHECKLOCK_SRC),)
255241 $Q$(LINK_LIB) $(UBSYMS) -o $@ $(sort $(LIBUNBOUND_OBJ)) -rpath $(libdir) $(LIBS)
268254 $Q$(LINK_LIB) $(CLUBSYMS) -o $@ $(sort $(LIBUNBOUND_OBJ)) -rpath $(libdir) $(LIBS)
269255 endif
270256
271 unbound$(EXEEXT): $(DAEMON_OBJ) libunbound.la $(ldnslib)
257 unbound$(EXEEXT): $(DAEMON_OBJ) libunbound.la
272258 $(INFO) Link $@
273259 $Q$(LINK) -o $@ $(sort $(DAEMON_OBJ)) $(EXTRALINK) -lssl $(LIBS)
274260
275 unbound-checkconf$(EXEEXT): $(CHECKCONF_OBJ) libunbound.la $(ldnslib)
261 unbound-checkconf$(EXEEXT): $(CHECKCONF_OBJ) libunbound.la
276262 $(INFO) Link $@
277263 $Q$(LINK) -o $@ $(sort $(CHECKCONF_OBJ)) $(EXTRALINK) -lssl $(LIBS)
278264
279 unbound-control$(EXEEXT): $(CONTROL_OBJ) libunbound.la $(ldnslib)
265 unbound-control$(EXEEXT): $(CONTROL_OBJ) libunbound.la
280266 $(INFO) Link $@
281267 $Q$(LINK) -o $@ $(sort $(CONTROL_OBJ)) $(EXTRALINK) -lssl $(LIBS)
282268
283 unbound-host$(EXEEXT): $(HOST_OBJ) libunbound.la $(ldnslib)
269 unbound-host$(EXEEXT): $(HOST_OBJ) libunbound.la
284270 $(INFO) Link $@
285271 $Q$(LINK) -o $@ $(sort $(HOST_OBJ)) -L. -L.libs -lunbound $(LIBS)
286272
287 unbound-anchor$(EXEEXT): $(UBANCHOR_OBJ) libunbound.la $(ldnslib)
273 unbound-anchor$(EXEEXT): $(UBANCHOR_OBJ) libunbound.la
288274 $(INFO) Link $@
289275 $Q$(LINK) -o $@ $(sort $(UBANCHOR_OBJ)) -L. -L.libs -lunbound -lexpat -lssl $(LIBS)
290276
296282 $(INFO) Link $@
297283 $Q$(LINK) -o $@ $(sort $(SVCUNINST_OBJ)) $(LIBS)
298284
299 anchor-update$(EXEEXT): $(ANCHORUPD_OBJ) libunbound.la $(ldnslib)
285 anchor-update$(EXEEXT): $(ANCHORUPD_OBJ) libunbound.la
300286 $(INFO) Link $@
301287 $Q$(LINK) -o $@ $(sort $(ANCHORUPD_OBJ)) -L. -L.libs -lunbound $(LIBS)
302288
303 unittest$(EXEEXT): $(UNITTEST_OBJ) $(ldnslib)
289 unittest$(EXEEXT): $(UNITTEST_OBJ)
304290 $(INFO) Link $@
305291 $Q$(LINK) -o $@ $(sort $(UNITTEST_OBJ)) $(LIBS)
306292
307 testbound$(EXEEXT): $(TESTBOUND_OBJ) $(ldnslib)
293 testbound$(EXEEXT): $(TESTBOUND_OBJ)
308294 $(INFO) Link $@
309295 $Q$(LINK) -o $@ $(sort $(TESTBOUND_OBJ)) -lssl $(LIBS)
310296
311 lock-verify$(EXEEXT): $(LOCKVERIFY_OBJ) $(ldnslib)
297 lock-verify$(EXEEXT): $(LOCKVERIFY_OBJ)
312298 $(INFO) Link $@
313299 $Q$(LINK) -o $@ $(sort $(LOCKVERIFY_OBJ)) $(LIBS)
314300
316302 $(INFO) Link $@
317303 $Q$(LINK) -o $@ $(sort $(PETAL_OBJ)) -lssl $(LIBS)
318304
319 pktview$(EXEEXT): $(PKTVIEW_OBJ) $(ldnslib)
305 pktview$(EXEEXT): $(PKTVIEW_OBJ)
320306 $(INFO) Link $@
321307 $Q$(LINK) -o $@ $(sort $(PKTVIEW_OBJ)) $(LIBS)
322308
323 signit$(EXEEXT): $(SIGNIT_OBJ) $(ldnslib)
309 signit$(EXEEXT): $(SIGNIT_OBJ)
324310 $(INFO) Link $@
325311 $Q$(LINK) -o $@ $(sort $(SIGNIT_OBJ)) $(LIBS)
326312
327 memstats$(EXEEXT): $(MEMSTATS_OBJ) $(ldnslib)
313 memstats$(EXEEXT): $(MEMSTATS_OBJ)
328314 $(INFO) Link $@
329315 $Q$(LINK) -o $@ $(sort $(MEMSTATS_OBJ)) $(LIBS)
330316
331 asynclook$(EXEEXT): $(ASYNCLOOK_OBJ) $(ldnslib) libunbound.la
317 asynclook$(EXEEXT): $(ASYNCLOOK_OBJ) libunbound.la
332318 $(INFO) Link $@
333319 $Q$(LINK) -o $@ $(sort $(ASYNCLOOK_OBJ)) $(LIBS) -L. -L.libs -lunbound
334320
335 streamtcp$(EXEEXT): $(STREAMTCP_OBJ) $(ldnslib)
321 streamtcp$(EXEEXT): $(STREAMTCP_OBJ)
336322 $(INFO) Link $@
337323 $Q$(LINK) -o $@ $(sort $(STREAMTCP_OBJ)) $(LIBS)
338324
339 perf$(EXEEXT): $(PERF_OBJ) $(ldnslib)
325 perf$(EXEEXT): $(PERF_OBJ)
340326 $(INFO) Link $@
341327 $Q$(LINK) -o $@ $(sort $(PERF_OBJ)) $(LIBS)
342328
343 delayer$(EXEEXT): $(DELAYER_OBJ) $(ldnslib)
329 delayer$(EXEEXT): $(DELAYER_OBJ)
344330 $(INFO) Link $@
345331 $Q$(LINK) -o $@ $(sort $(DELAYER_OBJ)) $(LIBS)
346332
347 harvest$(EXEEXT): $(HARVEST_OBJ) $(ldnslib) libunbound.la
333 harvest$(EXEEXT): $(HARVEST_OBJ) libunbound.la
348334 $(INFO) Link $@
349335 $Q$(LINK) -o $@ $(sort $(HARVEST_OBJ)) $(LIBS) -L. -L.libs -lunbound
350336
489475 @echo
490476 @echo "You still need to remove "`dirname $(DESTDIR)$(configfile)`" , $(DESTDIR)$(configfile) by hand"
491477
492 download_ldns:
493 svn export https://www.nlnetlabs.nl/svn/ldns/trunk/makedist.sh ldns_makedist.sh
494 ./ldns_makedist.sh -s -d https://www.nlnetlabs.nl/svn/ldns/trunk
495 mv ldns-[0-9]*.tar.gz ldns-src.tar.gz
496 rm ldns-*.tar.gz.sha1 ldns_makedist.sh
497
498478 iana_update:
499479 curl -o port-numbers.tmp http://www.iana.org/assignments/port-numbers
500480 awk '/Unassigned|Reserved/ {next;} { match($$0, "[0-9]+/udp"); if (RLENGTH > 0) print substr($$0, RSTART, RLENGTH - 4) ","}' port-numbers.tmp | sort -nu > portslist.tmp
504484 # Automatic dependencies.
505485 $(BUILD)%.d: $(srcdir)/%.c
506486 $(INFO) Depend $<
507 @if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \
508 then (cd $(ldnsdir); $(MAKE) copy-headers); fi
509487 @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi
510488 $Q$(SHELL) -ec '$(CC) $(DEPFLAG) $(CPPFLAGS) $(CFLAGS) $< | sed '\''s!\(.*\)\.o[ :]*!$(dir $@)\1.lo $@ : !g'\'' > $@; [ -s $@ ] || rm -f $@'
511489
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.66 for unbound 1.4.11.
2 # Generated by GNU Autoconf 2.66 for unbound 1.4.12.
33 #
44 # Report bugs to <unbound-bugs@nlnetlabs.nl>.
55 #
561561 # Identity of this package.
562562 PACKAGE_NAME='unbound'
563563 PACKAGE_TARNAME='unbound'
564 PACKAGE_VERSION='1.4.11'
565 PACKAGE_STRING='unbound 1.4.11'
564 PACKAGE_VERSION='1.4.12'
565 PACKAGE_STRING='unbound 1.4.12'
566566 PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl'
567567 PACKAGE_URL=''
568568
602602 # include <unistd.h>
603603 #endif"
604604
605 enable_option_checking=no
606605 ac_subst_vars='LTLIBOBJS
607 subdirs
608606 ldnsdir
609607 EXPORT_ALL_SYMBOLS
610608 WINDRES
758756 enable_gost
759757 with_libevent
760758 with_libexpat
761 enable_staticexe
759 enable_static_exe
762760 enable_lock_checks
763761 enable_alloc_checks
764762 enable_alloc_lite
765763 enable_alloc_nonregional
766764 enable_allsymbols
767765 with_ldns
768 with_ldns_builtin
769766 '
770767 ac_precious_vars='build_alias
771768 host_alias
779776 YACC
780777 YFLAGS
781778 PYTHON_VERSION'
782 ac_subdirs_all='ldns-src'
779
783780
784781 # Initialize some variables set by options.
785782 ac_init_help=
13201317 # Omit some internal or obsolete options to make the list less imposing.
13211318 # This message is too long to be a string in the A/UX 3.1 sh.
13221319 cat <<_ACEOF
1323 \`configure' configures unbound 1.4.11 to adapt to many kinds of systems.
1320 \`configure' configures unbound 1.4.12 to adapt to many kinds of systems.
13241321
13251322 Usage: $0 [OPTION]... [VAR=VALUE]...
13261323
13861383
13871384 if test -n "$ac_init_help"; then
13881385 case $ac_init_help in
1389 short | recursive ) echo "Configuration of unbound 1.4.11:";;
1386 short | recursive ) echo "Configuration of unbound 1.4.12:";;
13901387 esac
13911388 cat <<\_ACEOF
13921389
14621459 outgoing port ranges.
14631460 --with-libexpat=path specify explicit path for libexpat.
14641461 --with-ldns=PATH specify prefix of path of ldns library to use
1465 --with-ldns-builtin forces use of package included with this one
14661462
14671463 Some influential environment variables:
14681464 CC C compiler command
15491545 test -n "$ac_init_help" && exit $ac_status
15501546 if $ac_init_version; then
15511547 cat <<\_ACEOF
1552 unbound configure 1.4.11
1548 unbound configure 1.4.12
15531549 generated by GNU Autoconf 2.66
15541550
15551551 Copyright (C) 2010 Free Software Foundation, Inc.
20182014 This file contains any messages produced by compilers while
20192015 running configure, to aid debugging if configure makes a mistake.
20202016
2021 It was created by unbound $as_me 1.4.11, which was
2017 It was created by unbound $as_me 1.4.12, which was
20222018 generated by GNU Autoconf 2.66. Invocation command line was
20232019
20242020 $ $0 $@
23682364
23692365
23702366 LIBUNBOUND_CURRENT=2
2371 LIBUNBOUND_REVISION=11
2367 LIBUNBOUND_REVISION=12
23722368 LIBUNBOUND_AGE=0
23732369 # 1.0.0 had 0:12:0
23742370 # 1.0.1 had 0:13:0
23952391 # 1.4.9 had 2:9:0
23962392 # 1.4.10 had 2:10:0
23972393 # 1.4.11 had 2:11:0
2394 # 1.4.12 had 2:12:0
23982395
23992396 # Current -- the number of the binary API that we're implementing
24002397 # Revision -- which iteration of the implementation of the binary
1592615923 # set static linking if requested
1592715924
1592815925 staticexe=""
15929 # Check whether --enable-staticexe was given.
15930 if test "${enable_staticexe+set}" = set; then :
15931 enableval=$enable_staticexe;
15926 # Check whether --enable-static-exe was given.
15927 if test "${enable_static_exe+set}" = set; then :
15928 enableval=$enable_static_exe;
1593215929 fi
1593315930
1593415931 if test x_$enable_static_exe = x_yes; then
1667316670
1667416671 # check this after all other compilation checks, since the linking of the lib
1667516672 # may break checks after this.
16676 use_ldns_builtin="no"
1667716673
1667816674 # Check whether --with-ldns was given.
1667916675 if test "${with_ldns+set}" = set; then :
16680 withval=$with_ldns; specialldnsdir="$withval"
16676 withval=$with_ldns;
1668116677 if test "$withval" != "yes"; then
1668216678 if test "$withval" != "/usr" -a "$withval" != ""; then
1668316679 CPPFLAGS="-I$withval/include $CPPFLAGS"
1669716693 fi
1669816694
1669916695
16700
16701 # Check whether --with-ldns-builtin was given.
16702 if test "${with_ldns_builtin+set}" = set; then :
16703 withval=$with_ldns_builtin;
16704 use_ldns_builtin="yes"
16705
16706 fi
16707
16708
1670916696 # check if ldns is good enough
16710 if test "$use_ldns_builtin" = "no"; then
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_buffer_copy in -lldns" >&5
16712 $as_echo_n "checking for ldns_buffer_copy in -lldns... " >&6; }
16713 if test "${ac_cv_lib_ldns_ldns_buffer_copy+set}" = set; then :
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_rr_new in -lldns" >&5
16698 $as_echo_n "checking for ldns_rr_new in -lldns... " >&6; }
16699 if test "${ac_cv_lib_ldns_ldns_rr_new+set}" = set; then :
1671416700 $as_echo_n "(cached) " >&6
1671516701 else
1671616702 ac_check_lib_save_LIBS=$LIBS
1672416710 #ifdef __cplusplus
1672516711 extern "C"
1672616712 #endif
16727 char ldns_buffer_copy ();
16713 char ldns_rr_new ();
1672816714 int
1672916715 main ()
1673016716 {
16731 return ldns_buffer_copy ();
16717 return ldns_rr_new ();
1673216718 ;
1673316719 return 0;
1673416720 }
1673516721 _ACEOF
1673616722 if ac_fn_c_try_link "$LINENO"; then :
16737 ac_cv_lib_ldns_ldns_buffer_copy=yes
16738 else
16739 ac_cv_lib_ldns_ldns_buffer_copy=no
16723 ac_cv_lib_ldns_ldns_rr_new=yes
16724 else
16725 ac_cv_lib_ldns_ldns_rr_new=no
1674016726 fi
1674116727 rm -f core conftest.err conftest.$ac_objext \
1674216728 conftest$ac_exeext conftest.$ac_ext
1674316729 LIBS=$ac_check_lib_save_LIBS
1674416730 fi
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_buffer_copy" >&5
16746 $as_echo "$ac_cv_lib_ldns_ldns_buffer_copy" >&6; }
16747 if test "x$ac_cv_lib_ldns_ldns_buffer_copy" = x""yes; then :
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_rr_new" >&5
16732 $as_echo "$ac_cv_lib_ldns_ldns_rr_new" >&6; }
16733 if test "x$ac_cv_lib_ldns_ldns_rr_new" = x""yes; then :
1674816734 cat >>confdefs.h <<_ACEOF
1674916735 #define HAVE_LIBLDNS 1
1675016736 _ACEOF
1675116737
1675216738 LIBS="-lldns $LIBS"
1675316739
16754 fi
16755
16756 ac_fn_c_check_func "$LINENO" "ldns_key_buf2rsa_raw" "ac_cv_func_ldns_key_buf2rsa_raw"
16740 else
16741
16742 as_fn_error $? "No ldns library found, install the ldns library into system lib dir or use --with-ldns=path to other location. The --with-ldns can point to the make-dir of ldns. Install the package ldns or download source http://www.nlnetlabs.nl/projects/ldns" "$LINENO" 5
16743
16744 fi
16745
16746 ac_fn_c_check_func "$LINENO" "ldns_buffer_copy" "ac_cv_func_ldns_buffer_copy"
16747 if test "x$ac_cv_func_ldns_buffer_copy" = x""yes; then :
16748
16749 fi
16750
16751 ac_fn_c_check_func "$LINENO" "ldns_key_buf2rsa_raw" "ac_cv_func_ldns_key_buf2rsa_raw"
1675716752 if test "x$ac_cv_func_ldns_key_buf2rsa_raw" = x""yes; then :
1675816753
1675916754 fi
1676016755
16761 ac_fn_c_check_func "$LINENO" "ldns_get_random" "ac_cv_func_ldns_get_random"
16756 ac_fn_c_check_func "$LINENO" "ldns_get_random" "ac_cv_func_ldns_get_random"
1676216757 if test "x$ac_cv_func_ldns_get_random" = x""yes; then :
1676316758
1676416759 fi
1676516760
16766 ac_fn_c_check_func "$LINENO" "ldns_b32_ntop_extended_hex" "ac_cv_func_ldns_b32_ntop_extended_hex"
16761 ac_fn_c_check_func "$LINENO" "ldns_b32_ntop_extended_hex" "ac_cv_func_ldns_b32_ntop_extended_hex"
1676716762 if test "x$ac_cv_func_ldns_b32_ntop_extended_hex" = x""yes; then :
1676816763
1676916764 fi
1677016765
16771 if test x$use_gost = xyes; then
16772 ac_fn_c_check_func "$LINENO" "ldns_key_EVP_load_gost_id" "ac_cv_func_ldns_key_EVP_load_gost_id"
16766 if test x$use_gost = xyes; then
16767 ac_fn_c_check_func "$LINENO" "ldns_key_EVP_load_gost_id" "ac_cv_func_ldns_key_EVP_load_gost_id"
1677316768 if test "x$ac_cv_func_ldns_key_EVP_load_gost_id" = x""yes; then :
1677416769
1677516770 fi
1677616771
16777 for ac_func in ldns_key_EVP_unload_gost
16772 for ac_func in ldns_key_EVP_unload_gost
1677816773 do :
1677916774 ac_fn_c_check_func "$LINENO" "ldns_key_EVP_unload_gost" "ac_cv_func_ldns_key_EVP_unload_gost"
1678016775 if test "x$ac_cv_func_ldns_key_EVP_unload_gost" = x""yes; then :
1678516780 fi
1678616781 done
1678716782
16788 else
16789 ac_cv_func_ldns_key_EVP_load_gost_id="yes"
16790 fi
16791 for ac_header in ldns/ldns.h
16783 else
16784 ac_cv_func_ldns_key_EVP_load_gost_id="yes"
16785 fi
16786 for ac_header in ldns/ldns.h
1679216787 do :
1679316788 ac_fn_c_check_header_compile "$LINENO" "ldns/ldns.h" "ac_cv_header_ldns_ldns_h" "$ac_includes_default
1679416789 #ifdef HAVE_SYS_SOCKET_H
1681716812 #define HAVE_LDNS_LDNS_H 1
1681816813 _ACEOF
1681916814
16815 else
16816
16817 as_fn_error $? "No ldns include file found, install the ldns library development files. Install package ldns-dev or ldns-devel or download source http://www.nlnetlabs.nl/projects/ldns" "$LINENO" 5
16818
1682016819 fi
1682116820
1682216821 done
1682316822
16824 if test $ac_cv_lib_ldns_ldns_buffer_copy = yes \
16825 -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
16826 -a $ac_cv_func_ldns_get_random = yes \
16827 -a $ac_cv_header_ldns_ldns_h = yes \
16828 -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
16829 -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then
16830 :
16831 else
16832 as_fn_error $? "No ldns library found (or not recent); install or update ldns library, use --with-ldns=path or --with-ldns-builtin" "$LINENO" 5
16833 fi
16834 fi
16835
16836 if test "$use_ldns_builtin" = "yes"; then
16837 if test ! -f $srcdir/ldns-src.tar.gz; then
16838 as_fn_error $? "No ldns library found and no ldns-src.tar.gz, use --with-ldns=path." "$LINENO" 5
16839 fi
16840 echo "****************************************************************"
16841 echo "*** ***"
16842 echo "*** Building ldns library from package included in this one. ***"
16843 echo "*** ***"
16844 echo "****************************************************************"
16845 if test -d $srcdir/ldns-src; then rm -rf $srcdir/ldns-src; fi
16846 mkdir $srcdir/ldns-src; cp $srcdir/ldns-src.tar.gz $srcdir/ldns-src/ldns-src.tar.gz; (cd $srcdir/ldns-src; gzip -cd ldns-src.tar.gz | tar xf -); rm -f $srcdir/ldns-src/ldns-src.tar.gz; mv $srcdir/ldns-src $srcdir/ldns-srcb; mv $srcdir/ldns-srcb/ldns* $srcdir/ldns-src; rmdir $srcdir/ldns-srcb
16847 ldnsdir="ldns-src"
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: Configure $ldnsdir scheduled after config.status" >&5
16849 $as_echo "$as_me: Configure $ldnsdir scheduled after config.status" >&6;}
16850
16851
16852 subdirs="$subdirs ldns-src"
16853
16854 CPPFLAGS="-I$ldnsdir/include $CPPFLAGS"
16855 LDFLAGS="$LDFLAGS $ldnsdir/*.lo"
16856
16857 fi
16823 if test $ac_cv_func_ldns_buffer_copy = yes \
16824 -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
16825 -a $ac_cv_func_ldns_get_random = yes \
16826 -a $ac_cv_header_ldns_ldns_h = yes \
16827 -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
16828 -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then
16829 :
16830 else
16831 as_fn_error $? "ldns library is not recent, update the ldns library, install it into system lib dir or use --with-ldns=path to other location. The --with-ldns can point to the make-dir of ldns. Package libldns or download source http://www.nlnetlabs.nl/projects/ldns" "$LINENO" 5
16832 fi
16833
1685816834
1685916835 { $as_echo "$as_me:${as_lineno-$LINENO}: Stripping extension flags..." >&5
1686016836 $as_echo "$as_me: Stripping extension flags..." >&6;}
1744317419 # report actual input values of CONFIG_FILES etc. instead of their
1744417420 # values after options handling.
1744517421 ac_log="
17446 This file was extended by unbound $as_me 1.4.11, which was
17422 This file was extended by unbound $as_me 1.4.12, which was
1744717423 generated by GNU Autoconf 2.66. Invocation command line was
1744817424
1744917425 CONFIG_FILES = $CONFIG_FILES
1750917485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1751017486 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1751117487 ac_cs_version="\\
17512 unbound config.status 1.4.11
17488 unbound config.status 1.4.12
1751317489 configured by $0, generated by GNU Autoconf 2.66,
1751417490 with options \\"\$ac_cs_config\\"
1751517491
1912719103 # would make configure fail if this is the last instruction.
1912819104 $ac_cs_success || as_fn_exit 1
1912919105 fi
19130
19131 #
19132 # CONFIG_SUBDIRS section.
19133 #
19134 if test "$no_recursion" != yes; then
19135
19136 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
19137 # so they do not pile up.
19138 ac_sub_configure_args=
19139 ac_prev=
19140 eval "set x $ac_configure_args"
19141 shift
19142 for ac_arg
19143 do
19144 if test -n "$ac_prev"; then
19145 ac_prev=
19146 continue
19147 fi
19148 case $ac_arg in
19149 -cache-file | --cache-file | --cache-fil | --cache-fi \
19150 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19151 ac_prev=cache_file ;;
19152 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19153 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
19154 | --c=*)
19155 ;;
19156 --config-cache | -C)
19157 ;;
19158 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19159 ac_prev=srcdir ;;
19160 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19161 ;;
19162 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
19163 ac_prev=prefix ;;
19164 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
19165 ;;
19166 --disable-option-checking)
19167 ;;
19168 *)
19169 case $ac_arg in
19170 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19171 esac
19172 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
19173 esac
19174 done
19175
19176 # Always prepend --prefix to ensure using the same prefix
19177 # in subdir configurations.
19178 ac_arg="--prefix=$prefix"
19179 case $ac_arg in
19180 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19181 esac
19182 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
19183
19184 # Pass --silent
19185 if test "$silent" = yes; then
19186 ac_sub_configure_args="--silent $ac_sub_configure_args"
19187 fi
19188
19189 # Always prepend --disable-option-checking to silence warnings, since
19190 # different subdirs can have different --enable and --with options.
19191 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
19192
19193 ac_popdir=`pwd`
19194 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
19195
19196 # Do not complain, so a configure script can configure whichever
19197 # parts of a large source tree are present.
19198 test -d "$srcdir/$ac_dir" || continue
19199
19200 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
19201 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
19202 $as_echo "$ac_msg" >&6
19203 as_dir="$ac_dir"; as_fn_mkdir_p
19204 ac_builddir=.
19205
19206 case "$ac_dir" in
19207 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19208 *)
19209 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19210 # A ".." for each directory in $ac_dir_suffix.
19211 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19212 case $ac_top_builddir_sub in
19213 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19214 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19215 esac ;;
19216 esac
19217 ac_abs_top_builddir=$ac_pwd
19218 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19219 # for backward compatibility:
19220 ac_top_builddir=$ac_top_build_prefix
19221
19222 case $srcdir in
19223 .) # We are building in place.
19224 ac_srcdir=.
19225 ac_top_srcdir=$ac_top_builddir_sub
19226 ac_abs_top_srcdir=$ac_pwd ;;
19227 [\\/]* | ?:[\\/]* ) # Absolute name.
19228 ac_srcdir=$srcdir$ac_dir_suffix;
19229 ac_top_srcdir=$srcdir
19230 ac_abs_top_srcdir=$srcdir ;;
19231 *) # Relative name.
19232 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19233 ac_top_srcdir=$ac_top_build_prefix$srcdir
19234 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19235 esac
19236 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19237
19238
19239 cd "$ac_dir"
19240
19241 # Check for guested configure; otherwise get Cygnus style configure.
19242 if test -f "$ac_srcdir/configure.gnu"; then
19243 ac_sub_configure=$ac_srcdir/configure.gnu
19244 elif test -f "$ac_srcdir/configure"; then
19245 ac_sub_configure=$ac_srcdir/configure
19246 elif test -f "$ac_srcdir/configure.in"; then
19247 # This should be Cygnus configure.
19248 ac_sub_configure=$ac_aux_dir/configure
19249 else
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
19251 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19252 ac_sub_configure=
19253 fi
19254
19255 # The recursion is here.
19256 if test -n "$ac_sub_configure"; then
19257 # Make the cache file name correct relative to the subdirectory.
19258 case $cache_file in
19259 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
19260 *) # Relative name.
19261 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
19262 esac
19263
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19265 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19266 # The eval makes quoting arguments work.
19267 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
19268 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
19269 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
19270 fi
19271
19272 cd "$ac_popdir"
19273 done
19274 fi
1927519106 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1927619107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1927719108 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
55 sinclude(acx_python.m4)
66 sinclude(ac_pkg_swig.m4)
77
8 AC_INIT(unbound, 1.4.11, unbound-bugs@nlnetlabs.nl, unbound)
8 AC_INIT(unbound, 1.4.12, unbound-bugs@nlnetlabs.nl, unbound)
99
1010 LIBUNBOUND_CURRENT=2
11 LIBUNBOUND_REVISION=11
11 LIBUNBOUND_REVISION=12
1212 LIBUNBOUND_AGE=0
1313 # 1.0.0 had 0:12:0
1414 # 1.0.1 had 0:13:0
3535 # 1.4.9 had 2:9:0
3636 # 1.4.10 had 2:10:0
3737 # 1.4.11 had 2:11:0
38 # 1.4.12 had 2:12:0
3839
3940 # Current -- the number of the binary API that we're implementing
4041 # Revision -- which iteration of the implementation of the binary
583584 # set static linking if requested
584585 AC_SUBST(staticexe)
585586 staticexe=""
586 AC_ARG_ENABLE(staticexe, AC_HELP_STRING([--enable-static-exe],
587 AC_ARG_ENABLE(static-exe, AC_HELP_STRING([--enable-static-exe],
587588 [ enable to compile executables statically against event, ldns libs, for debug purposes ]),
588589 , )
589590 if test x_$enable_static_exe = x_yes; then
709710
710711 # check this after all other compilation checks, since the linking of the lib
711712 # may break checks after this.
712 use_ldns_builtin="no"
713713 AC_ARG_WITH(ldns, AC_HELP_STRING([--with-ldns=PATH],
714714 [specify prefix of path of ldns library to use]),
715 [ specialldnsdir="$withval"
715 [
716716 if test "$withval" != "yes"; then
717717 if test "$withval" != "/usr" -a "$withval" != ""; then
718718 CPPFLAGS="-I$withval/include $CPPFLAGS"
724724 fi
725725 ])
726726
727 AC_ARG_WITH(ldns-builtin, AC_HELP_STRING([--with-ldns-builtin],
728 [forces use of package included with this one]), [
729 use_ldns_builtin="yes"
727 # check if ldns is good enough
728 AC_CHECK_LIB(ldns, ldns_rr_new,,[
729 AC_MSG_ERROR([No ldns library found, install the ldns library into system lib dir or use --with-ldns=path to other location. The --with-ldns can point to the make-dir of ldns. Install the package ldns or download source http://www.nlnetlabs.nl/projects/ldns])
730730 ])
731
732 # check if ldns is good enough
733 if test "$use_ldns_builtin" = "no"; then
734 AC_CHECK_LIB(ldns, ldns_buffer_copy)
735 AC_CHECK_FUNC(ldns_key_buf2rsa_raw)
736 AC_CHECK_FUNC(ldns_get_random)
737 AC_CHECK_FUNC(ldns_b32_ntop_extended_hex)
738 if test x$use_gost = xyes; then
739 AC_CHECK_FUNC(ldns_key_EVP_load_gost_id)
740 AC_CHECK_FUNCS([ldns_key_EVP_unload_gost])
741 else
742 ac_cv_func_ldns_key_EVP_load_gost_id="yes"
743 fi
744 AC_CHECK_HEADERS([ldns/ldns.h],,, [AC_INCLUDES_DEFAULT
731 AC_CHECK_FUNC(ldns_buffer_copy)
732 AC_CHECK_FUNC(ldns_key_buf2rsa_raw)
733 AC_CHECK_FUNC(ldns_get_random)
734 AC_CHECK_FUNC(ldns_b32_ntop_extended_hex)
735 if test x$use_gost = xyes; then
736 AC_CHECK_FUNC(ldns_key_EVP_load_gost_id)
737 AC_CHECK_FUNCS([ldns_key_EVP_unload_gost])
738 else
739 ac_cv_func_ldns_key_EVP_load_gost_id="yes"
740 fi
741 AC_CHECK_HEADERS([ldns/ldns.h],,[
742 AC_MSG_ERROR([No ldns include file found, install the ldns library development files. Install package ldns-dev or ldns-devel or download source http://www.nlnetlabs.nl/projects/ldns])
743 ], [AC_INCLUDES_DEFAULT
745744 #ifdef HAVE_SYS_SOCKET_H
746745 #include <sys/socket.h>
747746 #endif
762761 #include <ws2tcpip.h>
763762 #endif
764763 ])
765 if test $ac_cv_lib_ldns_ldns_buffer_copy = yes \
766 -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
767 -a $ac_cv_func_ldns_get_random = yes \
768 -a $ac_cv_header_ldns_ldns_h = yes \
769 -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
770 -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then
771 dnl ldns was found
772 :
773 else
774 AC_MSG_ERROR([No ldns library found (or not recent); install or update ldns library, use --with-ldns=path or --with-ldns-builtin])
775 fi
776 fi
777
778 if test "$use_ldns_builtin" = "yes"; then
779 dnl use the builtin ldns-src.tar.gz file to build ldns.
780 if test ! -f $srcdir/ldns-src.tar.gz; then
781 AC_MSG_ERROR([No ldns library found and no ldns-src.tar.gz, use --with-ldns=path.])
782 fi
783 echo "****************************************************************"
784 echo "*** ***"
785 echo "*** Building ldns library from package included in this one. ***"
786 echo "*** ***"
787 echo "****************************************************************"
788 if test -d $srcdir/ldns-src; then rm -rf $srcdir/ldns-src; fi
789 mkdir $srcdir/ldns-src; cp $srcdir/ldns-src.tar.gz $srcdir/ldns-src/ldns-src.tar.gz; (cd $srcdir/ldns-src; gzip -cd ldns-src.tar.gz | tar xf -); rm -f $srcdir/ldns-src/ldns-src.tar.gz; mv $srcdir/ldns-src $srcdir/ldns-srcb; mv $srcdir/ldns-srcb/ldns* $srcdir/ldns-src; rmdir $srcdir/ldns-srcb
790 ldnsdir="ldns-src"
791 AC_MSG_NOTICE([Configure $ldnsdir scheduled after config.status])
792 AC_CONFIG_SUBDIRS([ldns-src])
793 CPPFLAGS="-I$ldnsdir/include $CPPFLAGS"
794 LDFLAGS="$LDFLAGS $ldnsdir/*.lo"
795 AC_SUBST(ldnsdir)
796 fi dnl end of use_ldns_builtin == yes
764 if test $ac_cv_func_ldns_buffer_copy = yes \
765 -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
766 -a $ac_cv_func_ldns_get_random = yes \
767 -a $ac_cv_header_ldns_ldns_h = yes \
768 -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
769 -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then
770 dnl ldns was found
771 :
772 else
773 AC_MSG_ERROR([ldns library is not recent, update the ldns library, install it into system lib dir or use --with-ldns=path to other location. The --with-ldns can point to the make-dir of ldns. Package libldns or download source http://www.nlnetlabs.nl/projects/ldns])
774 fi
797775
798776 ACX_STRIP_EXT_FLAGS
799777 LDFLAGS="$LATE_LDFLAGS $LDFLAGS"
394394 /* create new commpoint unless we are servicing already */
395395 if(rc->active >= rc->max_active) {
396396 log_warn("drop incoming remote control: too many connections");
397 comm_point_stop_listening(c);
398397 close_exit:
399398 #ifndef USE_WINSOCK
400399 close(newfd);
738738 worker->stats.unwanted_queries++;
739739 return 0;
740740 } else if(acl == acl_refuse) {
741 log_addr(VERB_ALGO, "refused query from",
742 &repinfo->addr, repinfo->addrlen);
743 log_buf(VERB_ALGO, "refuse", c->buffer);
744 if(worker->stats.extended)
745 worker->stats.unwanted_queries++;
746 if(worker_check_request(c->buffer, worker) == -1) {
747 comm_point_drop_reply(repinfo);
748 return 0; /* discard this */
749 }
741750 ldns_buffer_set_limit(c->buffer, LDNS_HEADER_SIZE);
742751 ldns_buffer_write_at(c->buffer, 4,
743752 (uint8_t*)"\0\0\0\0\0\0\0\0", 8);
744753 LDNS_QR_SET(ldns_buffer_begin(c->buffer));
745754 LDNS_RCODE_SET(ldns_buffer_begin(c->buffer),
746755 LDNS_RCODE_REFUSED);
747 log_addr(VERB_ALGO, "refused query from",
748 &repinfo->addr, repinfo->addrlen);
749 log_buf(VERB_ALGO, "refuse", c->buffer);
750 if(worker->stats.extended)
751 worker->stats.unwanted_queries++;
752756 return 1;
753757 }
754758 if((ret=worker_check_request(c->buffer, worker)) != 0) {
0 1 July 2011: Wouter
1 - version number in example config file.
2 - fix that --enable-static-exe does not complain about it unknown.
3
4 30 June 2011: Wouter
5 - tag relase 1.4.11, trunk is 1.4.12 development.
6 - iana portlist updated.
7 - fix bug#395: id bits of other query may leak out under conditions
8 - fix replyaddr count wrong after jostled queries, which leads to
9 eventual starvation where the daemon has no replyaddrs left to use.
10 - fix comment about rndc port, that referred to the old port number.
11 - fix that the listening socket is not closed when too many remote
12 control connections are made at the same time.
13 - removed ldns-src tarball inside the unbound tarball.
14
015 23 June 2011: Wouter
116 - Changed -flto check to support clang compiler.
217 - tag 1.4.11rc3 created.
0 README for Unbound 1.4.11
0 README for Unbound 1.4.12
11 Copyright 2007 NLnet Labs
22 http://unbound.net
33
1010
1111 * Uses the following libraries;
1212 * ldns http://www.nlnetlabs.nl/ldns/ (BSD license)
13 (required) can use tarball from source directory.
13 (required) can use ldns build directory directly with --with-ldns=path.
1414 * libevent http://www.monkey.org/~provos/libevent/ (BSD license)
1515 (optional) can use builtin alternative instead.
1616
1717 * Make and install: ./configure; make; make install
1818 * Use GNU make; default on linux, often called 'gmake' on BSD and Solaris.
1919 * --with-ldns=/path/to/ldns
20 If ldns is not detected on the system, a prepackaged tarball
21 of the ldns library is used to compile and statically link against.
22 If detected on the system, it will dynamically link against it.
20 It will dynamically link against it.
2321 * --with-libevent=/path/to/libevent
2422 Can be set to either the system install or the build directory.
2523 --with-libevent=no (default) gives a builtin alternative
00 #
11 # Example configuration file.
22 #
3 # See unbound.conf(5) man page.
3 # See unbound.conf(5) man page, version 1.4.12.
44 #
55 # this is a comment.
66
0 .TH "libunbound" "3" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "libunbound" "3" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" libunbound.3 -- unbound library functions manual
33 .\"
4141 .B ub_ctx_zone_remove,
4242 .B ub_ctx_data_add,
4343 .B ub_ctx_data_remove
44 \- Unbound DNS validating resolver 1.4.11 functions.
44 \- Unbound DNS validating resolver 1.4.12 functions.
4545 .SH "SYNOPSIS"
4646 .LP
4747 .B #include <unbound.h>
0 .TH "unbound-anchor" "8" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "unbound-anchor" "8" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" unbound-anchor.8 -- unbound anchor maintenance utility manual
33 .\"
0 .TH "unbound-checkconf" "8" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "unbound-checkconf" "8" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" unbound-checkconf.8 -- unbound configuration checker manual
33 .\"
0 .TH "unbound-control" "8" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "unbound-control" "8" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" unbound-control.8 -- unbound remote control manual
33 .\"
0 .TH "unbound\-host" "1" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "unbound\-host" "1" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" unbound-host.1 -- unbound DNS lookup utility
33 .\"
0 .TH "unbound" "8" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "unbound" "8" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" unbound.8 -- unbound manual
33 .\"
99 .SH "NAME"
1010 .LP
1111 .B unbound
12 \- Unbound DNS validating resolver 1.4.11.
12 \- Unbound DNS validating resolver 1.4.12.
1313 .SH "SYNOPSIS"
1414 .LP
1515 .B unbound
0 .TH "unbound.conf" "5" "Jun 30, 2011" "NLnet Labs" "unbound 1.4.11"
0 .TH "unbound.conf" "5" "Jul 14, 2011" "NLnet Labs" "unbound 1.4.12"
11 .\"
22 .\" unbound.conf.5 -- unbound.conf manual
33 .\"
893893 Use 0.0.0.0 and ::0 to listen to all interfaces.
894894 .TP 5
895895 .B control\-port: <port number>
896 The port number to listen on for control commands, default is 8953
897 (that is the same port number named uses to listen to rndc).
898 If you change this port number, and permissions have been dropped, a
899 reload is not sufficient to open the port again, you must then restart.
896 The port number to listen on for control commands, default is 8953.
897 If you change this port number, and permissions have been dropped,
898 a reload is not sufficient to open the port again, you must then restart.
900899 .TP 5
901900 .B server\-key\-file: "<private key file>"
902901 Path to the server private key, by default unbound_server.key.
ldns-src.tar.gz less more
Binary diff not shown
(No changes)
527527 int i;
528528 if(!mstate)
529529 return;
530 mesh = mstate->s.env->mesh;
530531 /* drop unsent replies */
531532 if(!mstate->replies_sent) {
532533 struct mesh_reply* rep;
533534 struct mesh_cb* cb;
534535 for(rep=mstate->reply_list; rep; rep=rep->next) {
535536 comm_point_drop_reply(&rep->query_reply);
537 mesh->num_reply_addrs--;
536538 }
537539 for(cb=mstate->cb_list; cb; cb=cb->next) {
538540 fptr_ok(fptr_whitelist_mesh_cb(cb->cb));
539541 (*cb->cb)(cb->cb_arg, LDNS_RCODE_SERVFAIL, NULL,
540542 sec_status_unchecked, NULL);
543 mesh->num_reply_addrs--;
541544 }
542545 }
543546
544547 /* de-init modules */
545 mesh = mstate->s.env->mesh;
546548 for(i=0; i<mesh->mods.num; i++) {
547549 fptr_ok(fptr_whitelist_mod_clear(mesh->mods.mod[i]->clear));
548550 (*mesh->mods.mod[i]->clear)(&mstate->s, i);
8080 echo " -d dir use directory to store keys and certificates."
8181 echo " default: $DESTDIR"
8282 echo "please run this command using the same user id that the "
83 echo "unboun daemon uses, it needs read privileges."
83 echo "unbound daemon uses, it needs read privileges."
8484 exit 1
8585 ;;
8686 esac
19071907 2256,
19081908 2257,
19091909 2258,
1910 2259,
19111910 2260,
19121911 2261,
19131912 2262,
43744373 6147,
43754374 6148,
43764375 6149,
4376 6160,
43774377 6161,
43784378 6162,
43794379 6163,
47764776 8770,
47774777 8786,
47784778 8787,
4779 8793,
47794780 8800,
47804781 8804,
47814782 8873,