Porting notes - PowerDNS/pdns GitHub Wiki

NetBSD

auth, recursor and dnsdist are in pkgsrc, but sometimes their versions lag behind a bit.

Install mozilla-rootcerts so that git clone from https works. Install pkgin because it is nicer for installing packages. If downloading things does not work, try route delete -inet6 default.

Also install: autoconf automake bison boost boost-headers flex git gmake h2o lmdb lua53 pkg-config ragel

dnsdist: 'LIBEDIT_CFLAGS=-I/usr/include' 'LIBEDIT_LIBS=-ledit' '--with-boost=/usr/pkg' --enable-dns-over-https (with patched h2o: needs to build an .so; patch merged upstream at https://github.com/NetBSD/pkgsrc/commit/febddd13cdb4876d727527d41335b47756725530; will be released as part of pkgsrc 2020Q1)

auth: --with-boost=/usr/pkg' '--with-modules=bind gsqlite3 lmdb' '--with-dynmodules=' '--with-lmdb=/usr/pkg

use gmake.