Discussion:
[meta-arago] [master][PATCH 1/2] hostap: inherit pkgconfig and depend on openssl10
Denys Dmytriyenko
2018-10-15 01:44:10 UTC
Permalink
1. build calls pkg-config, so need to inherit pkgconfig
2. upstream migrated to OpenSSL 1.1, so depend on openssl10 for now

Signed-off-by: Denys Dmytriyenko <***@ti.com>
---
meta-arago-extras/recipes-connectivity/hostap/hostap.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap.inc b/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
index 180fc01..f58a3dc 100644
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
@@ -5,7 +5,7 @@ HOMEPAGE = "http://hostap.epitest.fi"
DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
SECTION = "kernel/userland"

-DEPENDS = "libnl openssl"
+DEPENDS = "libnl openssl10"

# Since this is a TI customized version of hostap-daemon do not make this the
# default
@@ -13,7 +13,7 @@ DEFAULT_PREFERENCE = "-1"

PR = "r6"

-inherit update-rc.d
+inherit update-rc.d pkgconfig
INITSCRIPT_NAME="hostapd"

CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
--
2.7.4
Denys Dmytriyenko
2018-10-15 01:44:11 UTC
Permalink
1. build calls pkg-config, so need to inherit pkgconfig
2. upstream migrated to OpenSSL 1.1, so depend on openssl10 for now

Signed-off-by: Denys Dmytriyenko <***@ti.com>
---
.../recipes-connectivity/wpa-supplicant/wpa-supplicant.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index 8ca40ae..5fc3e58 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
@@ -7,7 +7,9 @@ BUGTRACKER = "http://hostap.epitest.fi/bugz/"
SECTION = "network"
LICENSE = "GPLv2 | BSD"

-DEPENDS = "gnutls dbus libnl openssl libgcrypt"
+inherit pkgconfig
+
+DEPENDS = "gnutls dbus libnl openssl10 libgcrypt"
RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"

# To prevent users from accidently picking up this customized version of
--
2.7.4
Loading...