Skip to contentSkip to conversation

package/tor: add systemd optional dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/tor: add systemd optional dependency

Fixes:
- http://autobuild.buildroot.org/results/fa5f8506866451f40eb5f548c1099ae931b26fcc

---
 package/tor/tor.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/tor/tor.mk +7 -0
index 2ecb41f072..0b41897b85 100644
@@ -30,6 +30,13 @@ ifeq ($(BR2_PACKAGE_LIBCAP),y)
 TOR_DEPENDENCIES += libcap
 endif
 
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+TOR_CONF_OPTS += --enable-systemd
+TOR_DEPENDENCIES += host-pkgconf systemd
+else
+TOR_CONF_OPTS += --disable-systemd
+endif
+
 ifeq ($(BR2_PACKAGE_XZ),y)
 TOR_CONF_OPTS += --enable-lzma
 TOR_DEPENDENCIES += host-pkgconf xz
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/tor: add systemd optional dependency

Quoted 7 lines · On Sun, 12 Jan 2020 20:04:21 +0100 Fabrice Fontaine…

Fixes:
- http://autobuild.buildroot.org/results/fa5f8506866451f40eb5f548c1099ae931b26fcc

---
 package/tor/tor.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com