Index | Thread | Search

From:
Caspar Schutijser <caspar@schutijser.com>
Subject:
Re: Update dnsdist to version 2.0.0
To:
Otto Moerbeek <otto@drijf.net>
Cc:
ports@openbsd.org
Date:
Thu, 24 Jul 2025 16:02:32 +0200

Download raw body.

Thread
Hi,

On Thu, Jul 24, 2025 at 08:02:13AM +0200, Otto Moerbeek wrote:
> On Mon, Jul 21, 2025 at 03:46:53PM +0200, Otto Moerbeek wrote:
> 
> > Hello,
> > 
> > this is bigger than normal: dnsdist now uses rust and the build
> > system changed to meson. 
> > 
> > So asking for a review and OK.
> > 
> > For the new features: see https://blog.powerdns.com/the-all-rounder-dnsdist-2.0-is-here
> > 
> > 	-Otto
> 
> Any takers?

The build fails here with:

/usr/local/bin/python3 ../dnsdist-2.0.0/dnsdist-rust-lib/dnsdist-settings-generator.py ../dnsdist-2.0.0 ../dnsdist-2.0.0/dnsdist-rust-lib dnsdist-rust-lib
Traceback (most recent call last):
  File "/usr/ports/pobj/dnsdist-2.0.0/build-amd64/../dnsdist-2.0.0/dnsdist-rust-lib/dnsdist-settings-generator.py", line 51, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'
ninja: build stopped: subcommand failed.
*** Error 1 in . (/usr/ports/devel/meson/meson.port.mk:67 'do-build')

Installing py3-yaml fixes this so please add it as a dependency
(from the looks of it, just as a BUILD_DEPENDS).

I'm not a Rust packaging specialist but it looks good to me
and it compiles fine here.

OK caspar@ with the py3-yaml dependency added