* [Buildroot] [PATCH 1/2] wireshark: add libssh optional dependency
@ 2018-10-31 22:56 Fabrice Fontaine
2018-10-31 22:56 ` [Buildroot] [PATCH 2/2] wireshark: add lua " Fabrice Fontaine
2018-11-02 20:43 ` [Buildroot] [PATCH 1/2] wireshark: add libssh " Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2018-10-31 22:56 UTC (permalink / raw)
To: buildroot
- Optional dependency to libssh has been added with version 2.2.1 and
https://github.com/wireshark/wireshark/commit/d6da95231ee790fd884ca2a41fe59aa9b05ccde9
- Specify the path to found libssh as this is done for other options
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/wireshark/wireshark.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index fb90f2b940..4569a86cb1 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -92,6 +92,13 @@ else
WIRESHARK_CONF_OPTS += --without-libnl
endif
+ifeq ($(BR2_PACKAGE_LIBSSH),y)
+WIRESHARK_CONF_OPTS += --with-libssh=$(STAGING_DIR)/usr
+WIRESHARK_DEPENDENCIES += libssh
+else
+WIRESHARK_CONF_OPTS += --without-libssh
+endif
+
ifeq ($(BR2_PACKAGE_SBC),y)
WIRESHARK_CONF_OPTS += --with-sbc=yes
WIRESHARK_DEPENDENCIES += sbc
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] wireshark: add lua optional dependency
2018-10-31 22:56 [Buildroot] [PATCH 1/2] wireshark: add libssh optional dependency Fabrice Fontaine
@ 2018-10-31 22:56 ` Fabrice Fontaine
2018-11-02 20:43 ` [Buildroot] [PATCH 1/2] wireshark: add libssh " Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2018-10-31 22:56 UTC (permalink / raw)
To: buildroot
- lua 5.3 or luajit is not supported
- Don't specify the path to found lua as pkgconfig is used for lua
(this is not the case for the other options)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/wireshark/wireshark.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index 4569a86cb1..421338f0f8 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -22,7 +22,6 @@ WIRESHARK_CONF_OPTS = \
--without-krb5 \
--enable-static=no \
--with-libsmi=no \
- --with-lua=no \
--with-pcap=$(STAGING_DIR)/usr \
--includedir=$(STAGING_DIR)/usr/include
@@ -99,6 +98,14 @@ else
WIRESHARK_CONF_OPTS += --without-libssh
endif
+# no support for lua53 yet
+ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUA_5_2),y)
+WIRESHARK_CONF_OPTS += --with-lua
+WIRESHARK_DEPENDENCIES += lua
+else
+WIRESHARK_CONF_OPTS += --without-lua
+endif
+
ifeq ($(BR2_PACKAGE_SBC),y)
WIRESHARK_CONF_OPTS += --with-sbc=yes
WIRESHARK_DEPENDENCIES += sbc
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] wireshark: add libssh optional dependency
2018-10-31 22:56 [Buildroot] [PATCH 1/2] wireshark: add libssh optional dependency Fabrice Fontaine
2018-10-31 22:56 ` [Buildroot] [PATCH 2/2] wireshark: add lua " Fabrice Fontaine
@ 2018-11-02 20:43 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-11-02 20:43 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 31 Oct 2018 23:56:46 +0100, Fabrice Fontaine wrote:
> - Optional dependency to libssh has been added with version 2.2.1 and
> https://github.com/wireshark/wireshark/commit/d6da95231ee790fd884ca2a41fe59aa9b05ccde9
> - Specify the path to found libssh as this is done for other options
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/wireshark/wireshark.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-02 20:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-31 22:56 [Buildroot] [PATCH 1/2] wireshark: add libssh optional dependency Fabrice Fontaine
2018-10-31 22:56 ` [Buildroot] [PATCH 2/2] wireshark: add lua " Fabrice Fontaine
2018-11-02 20:43 ` [Buildroot] [PATCH 1/2] wireshark: add libssh " Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox