mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/systemd: support dnssec if openssl is available
Set -Ddefault-dnssec=allow-downgrade if openssl is available as both openssl and gcrypt are now supported for dnssec. Move this out of the gcrypt condition into a joint openssl/gcrypt condition. So the dependency and the openssl/gcrypt config is set in the individual openssl and gcrypt conditions, while the default-dnssec option is set in a joint openssl or gcrypt condition. Signed-off-by: Norbert Lange <nolange79@gmail.com> Reviewed-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
545f8c4b5a
commit
b16ae93c85
@@ -245,9 +245,9 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||||
SYSTEMD_DEPENDENCIES += libgcrypt
|
SYSTEMD_DEPENDENCIES += libgcrypt
|
||||||
SYSTEMD_CONF_OPTS += -Ddefault-dnssec=allow-downgrade -Dgcrypt=true
|
SYSTEMD_CONF_OPTS += -Dgcrypt=true
|
||||||
else
|
else
|
||||||
SYSTEMD_CONF_OPTS += -Ddefault-dnssec=no -Dgcrypt=false
|
SYSTEMD_CONF_OPTS += -Dgcrypt=false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
||||||
@@ -317,6 +317,12 @@ else
|
|||||||
SYSTEMD_CONF_OPTS += -Dselinux=false
|
SYSTEMD_CONF_OPTS += -Dselinux=false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(BR2_PACKAGE_LIBGCRYPT)$(BR2_PACKAGE_LIBOPENSSL),)
|
||||||
|
SYSTEMD_CONF_OPTS += -Ddefault-dnssec=allow-downgrade
|
||||||
|
else
|
||||||
|
SYSTEMD_CONF_OPTS += -Ddefault-dnssec=no
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y)
|
||||||
SYSTEMD_CONF_OPTS += -Dhwdb=true
|
SYSTEMD_CONF_OPTS += -Dhwdb=true
|
||||||
define SYSTEMD_BUILD_HWDB
|
define SYSTEMD_BUILD_HWDB
|
||||||
|
|||||||
Reference in New Issue
Block a user