]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
builder-support: Enable missing dnsdist features on Amazon 2023
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Oct 2023 09:23:12 +0000 (11:23 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 19 Oct 2023 16:02:07 +0000 (18:02 +0200)
builder-support/specs/dnsdist.spec

index 920cb4aebb78278fd31d50166316a265458186ba..f03301fcc7b72debd3b5211437691cb536810dfa 100644 (file)
@@ -88,17 +88,19 @@ export RANLIB=gcc-ranlib
   --enable-systemd --with-systemd=%{_unitdir} \
   --without-net-snmp
 %endif
-%if 0%{?rhel} >= 7
-  --enable-dnscrypt \
+%if 0%{?rhel} >= 7 || 0%{?amzn} == 2023
   --enable-dnstap \
   --enable-dns-over-https \
   --enable-systemd --with-systemd=%{_unitdir} \
   --with-gnutls \
   --with-libcap \
-  --with-libsodium \
   --with-lua=%{lua_implementation} \
-  --with-net-snmp \
   --with-re2 \
+%if 0%{?amzn} != 2023
+  --enable-dnscrypt \
+  --with-libsodium \
+  --with-net-snmp \
+%endif
 %if 0%{?rhel} >= 8
   --enable-dns-over-quic \
   --with-quiche \