X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=README.md;h=ffc7603b768543328e422f9567103f3d81f06dc3;hb=86f95f85295696c0b264455472b8e270fccb6542;hp=74a3b840b0ecbbe09385361be9aaa2e268fef93e;hpb=79794ced5489d6be5b1aa611162ea5b7be184361;p=thirdparty%2Fpdns.git diff --git a/README.md b/README.md index 74a3b840b0..ffc7603b76 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ PowerDNS is copyright © 2001-2019 by PowerDNS.COM BV and lots of contributors, using the GNU GPLv2 license (see NOTICE for the exact license and exception used). -All documentation can be found on http://doc.powerdns.com/ +All documentation can be found on https://doc.powerdns.com/ This file may lag behind at times. For most recent updates, always check https://doc.powerdns.com/md/changelog/. @@ -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 ``` @@ -180,7 +192,7 @@ The HTML documentation will now be available in `html-docs`. Solaris Notes ------------- -Use a recent gcc. OpenCSW is a good source, as is Solaris 11 IPS. +Use a recent gcc (and other build tools), possibly from Solaris 11 IPS. If you encounter problems with the Solaris make, gmake is advised. @@ -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 ```