xref: /freebsd/contrib/ldns/README.git (revision 986ba33c7a3bc8f5ba13c7a9d6512602f6e32c61)
117d15b25SDag-Erling Smørgrav# The ldns git repository can found at:
217d15b25SDag-Erling Smørgrav# git.nlnetlabs.nl/ldns/
317d15b25SDag-Erling Smørgrav
417d15b25SDag-Erling Smørgrav# small list of commands to build all on a linux system
517d15b25SDag-Erling Smørgrav# libtoolize is needed for most other targets
617d15b25SDag-Erling Smørgrav
717d15b25SDag-Erling Smørgrav# on Solaris, and other systems that may not have
817d15b25SDag-Erling Smørgrav# the default 'automake' and 'aclocal' script aliases,
917d15b25SDag-Erling Smørgrav# the correct versions may need to be set. On those
1017d15b25SDag-Erling Smørgrav# systems, the 'autoreconf' line should be changed to:
1117d15b25SDag-Erling Smørgrav# AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 autoreconf
1217d15b25SDag-Erling Smørgrav
1317d15b25SDag-Erling Smørgrav# older versions of libtoolize do not support --install
1417d15b25SDag-Erling Smørgrav# so you might need to remove that (with newer versions
1517d15b25SDag-Erling Smørgrav# it is needed)
16*986ba33cSDag-Erling Smørgravgit submodule update --init
17*986ba33cSDag-Erling Smørgravlibtoolize -ci
18*986ba33cSDag-Erling Smørgravautoreconf -fi
1917d15b25SDag-Erling Smørgrav./configure --with-examples --with-drill # --with-pyldns --with-p5-dns-ldns
2017d15b25SDag-Erling Smørgravmake
2117d15b25SDag-Erling Smørgravmake doc  # needs doxygen for the html pages
2217d15b25SDag-Erling Smørgrav(cd pcat && autoreconf && ./configure && make)
2317d15b25SDag-Erling Smørgrav(cd examples/nsd-test && autoreconf && ./configure && make)
24