]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Mention compiling with meson 15744/head
authorBagas Sanjaya <bagasdotme@gmail.com>
Mon, 30 Jun 2025 04:37:49 +0000 (11:37 +0700)
committerBagas Sanjaya <bagasdotme@gmail.com>
Mon, 30 Jun 2025 08:17:52 +0000 (15:17 +0700)
While the installation docs covers building dnsdist with autotools and
GNU make, there is none for meson and ninja. Describe how to do the latter.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
.github/actions/spell-check/expect.txt
pdns/dnsdistdist/docs/install.rst

index 1deac3bebaf31c9090ca45f22bdffdde1ca89188..cd215210f29ed675e0fdc11f89c96dffaf63c7e3 100644 (file)
@@ -599,6 +599,7 @@ incbin
 includeboilerplate
 includerings
 indextable
+inetutils
 infolog
 infosecinstitute
 initscript
index 78892c848e4d8d52b3b5d48c5984159b0376866d..3082a6034a490d457652260955d2ca3d8a5e1fd3 100644 (file)
@@ -50,6 +50,8 @@ dnsdist depends on the following libraries:
 * `Editline (libedit) <http://thrysoee.dk/editline/>`_
 * `libfstrm <https://github.com/farsightsec/fstrm>`_ (optional, dnstap support)
 * `GnuTLS <https://www.gnutls.org/>`_ (optional, DoT and DoH support)
+* `hostname from Inetutils <https://www.gnu.org/software/inetutils/>`_
+  (required for building with ``meson``)
 * `libbpf <https://github.com/libbpf/libbpf>`_ and `libxdp <https://github.com/xdp-project/xdp-tools>`_ (optional, `XSK`/`AF_XDP` support)
 * `libcap <https://sites.google.com/site/fullycapable/>`_ (optional, capabilities support)
 * `libh2o <https://github.com/h2o/h2o>`_ (optional, incoming DoH support, deprecated in 1.9.0 in favor of ``nghttp2``)
@@ -87,6 +89,8 @@ Older (1.0.x) releases can also be signed with one of the following keys:
 * `1628 90D0 689D D12D D33E 4696 1C5E E990 D2E7 1575 <https://pgp.mit.edu/pks/lookup?op=get&search=0x1C5EE990D2E71575>`_
 * `B76C D467 1C09 68BA A87D E61C 5E50 715B F2FF E1A7 <https://pgp.mit.edu/pks/lookup?op=get&search=0x5E50715BF2FFE1A7>`_
 
+To compile from tarball:
+
 * Untar the tarball and ``cd`` into the source directory
 * Run ``./configure``
 * Run ``make`` or ``gmake`` (on BSD)
@@ -110,6 +114,14 @@ dnsdist source code lives in the `PowerDNS git repository <https://github.com/Po
   ./configure
   make
 
+Using meson
+~~~~~~~~~~~
+
+dnsdist can also be compiled with ``meson`` and ``ninja``. For example::
+
+  meson setup build
+  meson compile -C build
+
 OS Specific Instructions
 ~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -118,7 +130,9 @@ None, really.
 Build options
 ~~~~~~~~~~~~~
 
-Our ``configure`` script provides a fair number of options with regard to which features should be enabled, as well as which libraries should be used. In addition to these options, more features can be disabled at compile-time by defining the following symbols:
+Our ``configure`` script and ``meson_options.txt`` counterpart provides a fair number of options with regard to which features should be enabled, as well as which libraries should be used. Run ``./configure --help`` or ``meson configure`` for the list of supported options.
+
+In addition to these options, more features can be disabled at compile-time by defining the following symbols:
 
 * ``DISABLE_BUILTIN_HTML`` removes the built-in web pages
 * ``DISABLE_CARBON`` for carbon support