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 <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2020-03-08 16:03:16 -06:00 committed by Thomas Petazzoni
parent fa62b5165c
commit c2ba6105a7

View File

@ -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)