From c2ba6105a7c5f2319fe4006ead54e3515e27bb4a Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 8 Mar 2020 16:03:16 -0600 Subject: [PATCH] package/systemd: enabled dnssec when available When libgcrypt is available set default-dnssec to the backwards compatible allow-downgrade option. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/systemd/systemd.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 623e942205..009f599c10 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -26,7 +26,6 @@ SYSTEMD_CONF_OPTS += \ -Dman=false \ -Dima=false \ -Dldconfig=false \ - -Ddefault-dnssec=no \ -Ddefault-hierarchy=hybrid \ -Dtests=false \ -Dsplit-bin=true \ @@ -154,9 +153,9 @@ endif ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) SYSTEMD_DEPENDENCIES += libgcrypt -SYSTEMD_CONF_OPTS += -Dgcrypt=true +SYSTEMD_CONF_OPTS += -Ddefault-dnssec=allow-downgrade -Dgcrypt=true else -SYSTEMD_CONF_OPTS += -Dgcrypt=false +SYSTEMD_CONF_OPTS += -Ddefault-dnssec=no -Dgcrypt=false endif ifeq ($(BR2_PACKAGE_PCRE2),y) -- 2.30.2