Skip to contentSkip to conversation

hostapd: not compatible with openssl-no-weak-ciphers

PATCH In review Joe Slater 2 participants 2 messages Mar 14, 2018

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 hostapd: not compatible with openssl-no-weak-ciphers

Use CONFLICT_DISTRO_FEATURES to not build if des is not supported.

---
 meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb +4 -1
index c3a1ead..54c9e79 100644
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://${B}/README;md5=8aa4e8c78b59b12016c4cb2d0a8db350"
 DEPENDS = "libnl openssl"
 SUMMARY = "User space daemon for extended IEEE 802.11 management"
 
-inherit update-rc.d systemd
+inherit update-rc.d systemd distro_features_check
+
+CONFLICT_DISTRO_FEATURES = "openssl-no-weak-ciphers"
+
 INITSCRIPT_NAME = "hostapd"
 
 SYSTEMD_SERVICE_${PN} = "hostapd.service"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 14 lines · Joe Slater

Use CONFLICT_DISTRO_FEATURES to not build if des is not supported.

---
  meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb +0 -0
index c3a1ead..54c9e79 100644
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://${B}/README;md5=8aa4e8c78b59b12016c4cb2d0a8db350"
  DEPENDS = "libnl openssl"

meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb LIC_FILES_CHKSUM = "file://${B}/README;md5=8aa4e8c78b59b12016c4cb2d0a8db350" · line 14

Quoted 10 lines
meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb +4 -1
  SUMMARY = "User space daemon for extended IEEE 802.11 management"
 
-inherit update-rc.d systemd
+inherit update-rc.d systemd distro_features_check
+
+CONFLICT_DISTRO_FEATURES = "openssl-no-weak-ciphers"
+
  INITSCRIPT_NAME = "hostapd"
 
  SYSTEMD_SERVICE_${PN} = "hostapd.service"

Doesn't hostapd have the option of building with an internal encryption 'library' for at least some parts, so openssl is not necessarily required (hence the conflict would be erroneous if a strong openssl were used along with internal hostapd)? At least it seems OpenWrt has an option to build at least some hostapd functionality without openssl...

Regards,

Daniel