Skip to contentSkip to conversation

libssh: depends fix

PATCH Superseded Armin Kuster 2 participants 2 messages Jan 8, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 libssh: depends fix

the default was to build with GSSAPI enabled.

add PACKAGEGROUP to define enable/disable GSSAPI with proper depends/rdepends of krb5

---
 meta-oe/recipes-support/libssh/libssh_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/libssh/libssh_git.bb +3 -0
index d21bdc3..4f5b703 100644
@@ -20,6 +20,9 @@ EXTRA_OECMAKE = " \
     -DWITH_ZLIB=1 \
     "
 
+PACKAGECONFIG ??=""
+PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, krb5"
+
 inherit cmake
 
 do_configure_prepend () {
Signature · 1 line
1.9.1
#1 lore raw
Quoted 15 lines · Armin Kuster

the default was to build with GSSAPI enabled.

add PACKAGEGROUP to define enable/disable GSSAPI with proper depends/rdepends of krb5

---
 meta-oe/recipes-support/libssh/libssh_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/libssh/libssh_git.bb +0 -0
index d21bdc3..4f5b703 100644

meta-oe/recipes-support/libssh/libssh_git.bb EXTRA_OECMAKE = " \ · line 24

Quoted 5 lines
meta-oe/recipes-support/libssh/libssh_git.bb +2 -0
@@ -20,6 +20,9 @@ EXTRA_OECMAKE = " \
     -DWITH_ZLIB=1 \
     "
 
+PACKAGECONFIG ??=""
+PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, krb5"

Again I think it doesn't need explicit krb5 runtime dependency, it's added automatically by shlibs when enabled.

Thanks for rebasing for libssh_git.bb I didn't notice that the 0.6 version was removed by pending patch from master-next sorry.

Quoted 12 lines
meta-oe/recipes-support/libssh/libssh_git.bb +1 -0
+
 inherit cmake
 
 do_configure_prepend () {
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]