FreeBSD/KnotResolver/Makefileについて、ここに記述してください。

強引だが、見つけ損なったライブラリを追加。

%diff -c Makefile.orig Makefile ~/kresd.1.2.6

*** Makefile.orig       2017-05-12 23:11:32.262378000 +0900
--- Makefile    2017-05-13 16:00:29.031547000 +0900
***************
*** 2,9 ****
  include platform.mk
  
  # Targets
! all: info
! lib: lib daemon client modules
  install: lib-install daemon-install client-install modules-install etc-install
  check: all tests
  clean: contrib-clean lib-clean daemon-clean client-clean modules-clean \
--- 2,8 ----
  include platform.mk
  
  # Targets
! all: lib daemon client modules
  install: lib-install daemon-install client-install modules-install etc-install
  check: all tests
  clean: contrib-clean lib-clean daemon-clean client-clean modules-clean \
***************
*** 80,85 ****
--- 79,93 ----
  ENABLE_DNSTAP := yes
  endif
  
+ # force yes
+ HAS_libknot = yes
+ HAS_libzscanner = yes
+ HAS_lua = yes
+ HAS_libdnssec = yes
+ libknot_LIBS = /usr/local/lib/libknot.so
+ lua_LIBS = /usr/local/lib/libluajit-5.1.a
+ libzscanner_LIBS = /usr/local/lib/libzscanner.so
+ libdnssec_LIBS = /usr/local/lib/libdnssec.so
  # Overview
  info:
        $(info Target:     Knot DNS Resolver $(VERSION)-$(PLATFORM))

1. cookies

これを追加していなかった。(判定のミスを見逃していた)

> BUILD_CFLAGS += -DENABLE_COOKIES
> ENABLE_COOKIES := yes

FreeBSD上のkdigがcookiesをサポートしていないらしい。(KnotDNS付属)

-- ToshinoriMaeno 2017-05-14 06:53:11