[dnsdist] (Re-)creating RPM packages with DoH support from .src.rpm
remi.gacogne at powerdns.com
Thu May 14 08:31:59 UTC 2020
On 5/13/20 10:39 PM, Christopher Engelhard via dnsdist wrote:
> how exactly are the RPM packages on repo.powerdns.org created? I'm
> trying to build them locally, and it doesn't (and in my opinion can not)
> Background: dnsdist in Fedora lacks DoH support, because Fedora lacks
> libh2o-evloop. I was trying to rectify that, but h2o upstream is a mess
> of bundled libraries, so I decided to take a look at how your stuff is
> packaged, and I don't understand it at all (Taking dnsdist-1.5.0-rc2 for
> CentOS8 as an example here).
> - According to the specfile, dnsdist is built with
> --enable-dns-over-https (great!), but the package doens't have
> libh2o-devel as a BuildRequires:, and accordingly rpmbuild fails at the
> 'configure' step.
> - Moreover, even if I put the headers into the buildroot, since the
> repos (to my knowledge) lack libh2o-evloop, the package wouldn't be
> installable even if it was buildable.
> - The binary from the CentOS8 package does not seem to be linked against
> So, where does that binary come from, because it doesn't seem to come
> from the .src.rpm? Do I need libh2o-evloop for DoH support or not? What
> am I misunderstanding here?
If you look at  you will see that we do compile libh2o 2.2.6
ourselves during the build process for CentOS 7 and 8 because it's not
provided by the distribution, and install it. It is then statically
linked into dnsdist.
We are not very happy with that method and would prefer using a proper
libh2o-evloop package should one become available.
I hope that helps.
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the dnsdist