X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=README.md;h=ffc7603b768543328e422f9567103f3d81f06dc3;hb=17ccf6335d2361ad54a132e0089d0b97b4265d0e;hp=b0feeeba7b0712c539d9072cd09b5659a15baf26;hpb=edac607a173653756bf07d962e5f9dc413c1f9e3;p=thirdparty%2Fpdns.git diff --git a/README.md b/README.md index b0feeeba7b..ffc7603b76 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,18 @@ Authoritative Server, and dnsdist (a powerful DNS loadbalancer). All three can be built from this repository. However, all three released separately as .tar.bz2, .deb and .rpm. +The different releases can be built by the help of pdns-builder, which uses a +docker-based build process. To get started with this, run these commands in the root +of this repository: + +```sh +git submodule init +git submodule update +./builder/build.sh +``` + +This will bring up a USAGE-page which will explain how to build the different releases. + COMPILING Authoritative Server ------------------------------ The PowerDNS Authoritative Server depends on Boost, OpenSSL and requires a @@ -36,7 +48,7 @@ compiler with C++-2011 support. On Debian 9, the following is useful: ```sh -apt install g++ libboost-all-dev libtool make pkg-config default-libmysqlclient-dev libssl-dev virtualenv +apt install g++ libboost-all-dev libtool make pkg-config default-libmysqlclient-dev libssl-dev virtualenv libluajit-5.1-dev ``` When building from git, the following packages are also required: @@ -70,7 +82,7 @@ autoreconf -vi To compile a very clean version, use: ```sh -./configure --with-modules="" --without-lua --disable-lua-records +./configure --with-modules="" --disable-lua-records make # make install ``` @@ -207,7 +219,7 @@ Homebrew. You need to tell configure where to find OpenSSL, too. ```sh brew install boost lua pkg-config ragel openssl -./configure --with-modules="" --with-lua PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig +./configure --with-modules="" PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig make -j4 ```