Hi, i wanted to use DANE with postfix, but the resolver implementation in libc does not support EDNS0 at the moment. To make it work i linked postfix against libbind. This seems to work, maybe it makes sense to have this as the default?
It looks like they want to switch to libunbound in a future release, at least thats what they write in: /usr/ports/pobj/postfix-3.1.1/postfix-3.1.1/src/dns/dns_lookup.c I was not able to find libunbound on the system, although unbound is in base. Should libunbound be in the base system or will it be in the future? Anyway, this is the diff to make the port build against libbind: Index: Makefile.inc =================================================================== RCS file: /cvs/ports/mail/postfix/Makefile.inc,v retrieving revision 1.91 diff -u -p -u -p -r1.91 Makefile.inc --- Makefile.inc 13 Sep 2014 18:09:21 -0000 1.91 +++ Makefile.inc 10 Aug 2016 08:06:47 -0000 @@ -25,10 +25,12 @@ PERMIT_PACKAGE_CDROM= cannot be sold, se PERMIT_PACKAGE_FTP= yes PERMIT_DISTFILES_FTP= yes -LIB_DEPENDS+= devel/pcre +LIB_DEPENDS+= devel/pcre \ + net/libbind MAKE_DEBUG?= MAKE_CCARGS+= -I. -I../../include +MAKE_CCARGS+= -I${LOCALBASE}/include/bind MAKE_CCARGS+= -DDEF_CONFIG_DIR=\"${SYSCONFDIR}/postfix\" MAKE_CCARGS+= -DDEF_DATA_DIR=\"/var/postfix\" MAKE_CCARGS+= -DHAS_SQLITE @@ -36,9 +38,10 @@ MAKE_CCARGS+= -DUSE_TLS MAKE_CCARGS+= -DUSE_SASL_AUTH # no UTF-8 support for now MAKE_CCARGS+= -DNO_EAI -MAKE_AUXLIBS+= -lssl -lcrypto -lsqlite3 -pthread +MAKE_AUXLIBS+= -lssl -lcrypto -lsqlite3 -pthread \ + -L${LOCALBASE}/lib/libbind -lbind -R${LOCALBASE}/lib/libbind -WANTLIB= c crypto pcre pthread sqlite3 ssl +WANTLIB= c crypto pcre pthread sqlite3 ssl lib/libbind/bind ALL_TARGET= default