package/systemd: add openssl support
PATCH 1/1 package/systemd: add openssl support
Signed-off-by James Hilliard <[email protected]>
--- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
@@ -160,6 +160,13 @@ else SYSTEMD_CONF_OPTS += -Dgcrypt=false endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SYSTEMD_DEPENDENCIES += openssl +SYSTEMD_CONF_OPTS += -Dopenssl=true +else +SYSTEMD_CONF_OPTS += -Dopenssl=false +endif + ifeq ($(BR2_PACKAGE_PCRE2),y) SYSTEMD_DEPENDENCIES += pcre2 SYSTEMD_CONF_OPTS += -Dpcre2=true
Signature · 1 line
2.20.1
PATCH 1/1 package/systemd: add openssl support
Quoted 10 lines · On Sun, 8 Mar 2020 17:03:55 -0600 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+)package/systemd/systemd.mk +0
-0
package/systemd/systemd.mk else · line 168
Quoted 9 lines
package/systemd/systemd.mk +6
-0@@ -160,6 +160,13 @@ else SYSTEMD_CONF_OPTS += -Dgcrypt=false endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SYSTEMD_DEPENDENCIES += openssl +SYSTEMD_CONF_OPTS += -Dopenssl=true +else +SYSTEMD_CONF_OPTS += -Dopenssl=false +endif
I hesitated on this one, because openssl is used for:
- dns-over-tls
- systemd-homed
- systemd-repart
and we already handle the availability of openssl in all of these situations.
However, it is true that there is a -Dopenssl option that we don't handle today, and it makes sense to handle it, if only do explicitly disable openssl support when it's not available.
So I've applied to master. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com