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:
parent
545f8c4b5a
commit
b16ae93c85
@ -245,9 +245,9 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
SYSTEMD_DEPENDENCIES += libgcrypt
|
||||
SYSTEMD_CONF_OPTS += -Ddefault-dnssec=allow-downgrade -Dgcrypt=true
|
||||
SYSTEMD_CONF_OPTS += -Dgcrypt=true
|
||||
else
|
||||
SYSTEMD_CONF_OPTS += -Ddefault-dnssec=no -Dgcrypt=false
|
||||
SYSTEMD_CONF_OPTS += -Dgcrypt=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
||||
@ -317,6 +317,12 @@ else
|
||||
SYSTEMD_CONF_OPTS += -Dselinux=false
|
||||
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)
|
||||
SYSTEMD_CONF_OPTS += -Dhwdb=true
|
||||
define SYSTEMD_BUILD_HWDB
|
||||
|
Loading…
Reference in New Issue
Block a user