From 8e570bf91a733ea6141ae18dd5369ca112a7e186 Mon Sep 17 00:00:00 2001 From: Marek Vavrusa <marek.vavrusa@nic.cz> Date: Wed, 15 Aug 2012 17:28:35 +0200 Subject: [PATCH] Updated README refs #1877 --- README | 11 ++++++++++- doc/installation.texi | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README b/README index 69163ac048..d50168ff31 100644 --- a/README +++ b/README @@ -40,7 +40,7 @@ $ sudo dpkg -i liburcu0_0.5.4-1_amd64.deb $ sudo dpkg -i liburcu-dev_0.5.4-1_amd64.deb # Go for the real thing -$ git clone git://git.nic.cz/knot +$ git clone git://git.nic.cz/knot-dns.git $ cd knot $ autoreconf -if $ ./configure @@ -75,6 +75,10 @@ $ autoreconf -if $ ./configure $ make && sudo make install +It is also present in port tree, so you can install it from there. +$ cd /usr/ports/dns/knot +$ sudo make install + Installation on OpenBSD/NetBSD ============================== Also works for OS X, if you don't want to install gcc from ports. @@ -82,6 +86,7 @@ Prerequisites: - liburcu needs patch for absent compiler TLS capability - patch is located in "scripts/urcu-tls-compat.patch" - patch compatible with liburcu-0.6.7 +- liburcu >= 0.7.0 works out of the box $ mkdir liburcu && cd liburcu $ wget "http://lttng.org/files/urcu/userspace-rcu-0.6.7.tar.bz2" @@ -124,6 +129,10 @@ is '-c' that specifies config file for our server. Compiled zones are saved to storage defined in 'storage' variable in configuration. $ knotc -h # see what it can do + +Copy zone to the specified directory and compile. + +$ mkdir -p /tmp/knot-minimal/samples; cp samples/example.com.zone /tmp/knot-minimal/samples/ $ knotc -c myserver.conf compile # compile zone files to binary format Third, lets load server. You can do this by running 'knotd' directly, or with diff --git a/doc/installation.texi b/doc/installation.texi index cde283670b..4e07af432c 100644 --- a/doc/installation.texi +++ b/doc/installation.texi @@ -20,6 +20,8 @@ Knot DNS build system relies on standard tools: @item make @item +libtool +@item autoconf >= 2.65 @item flex >= 2.5.31 -- GitLab