Skip to contentSkip to conversation

libpcap: remove unrecognized canusb option

PATCH New Fabrice Fontaine 3 participants 6 messages Jan 29, 2019 – Feb 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libpcap: remove unrecognized canusb option

canusb has been removed since version 1.8.1 and
https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b

---
 package/libpcap/libpcap.mk | 7 -------
 1 file changed, 7 deletions(-)
package/libpcap/libpcap.mk +0 -7
index c4c5f31465..daa369f66c 100644
@@ -38,13 +38,6 @@ else
 LIBPCAP_CONF_OPTS += --disable-dbus
 endif
 
-ifeq ($(BR2_PACKAGE_LIBUSB),y)
-LIBPCAP_CONF_OPTS += --enable-canusb
-LIBPCAP_DEPENDENCIES += libusb
-else
-LIBPCAP_CONF_OPTS += --disable-canusb
-endif
-
 ifeq ($(BR2_PACKAGE_LIBNL),y)
 LIBPCAP_DEPENDENCIES += libnl
 LIBPCAP_CFLAGS += "-I$(STAGING_DIR)/usr/include/libnl3"
Signature · 1 line
2.14.1
#1 lore raw

PATCH 2/2 libpcap: add support for bluez5_utils

bluez5_utils support has been added since version 1.8.0 and
https://github.com/the-tcpdump-group/libpcap/commit/b3776f3d50df9de9fcf702bd21a3ecb2539ffef4

---
 package/libpcap/libpcap.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/libpcap/libpcap.mk +2 -1
index daa369f66c..8cc444e7af 100644
@@ -24,9 +24,10 @@ define LIBPCAP_CONFIG_REMOVE_RPATH
 endef
 LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH
 
-# On purpose, not compatible with bluez5
 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
 LIBPCAP_DEPENDENCIES += bluez_utils
+else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+LIBPCAP_DEPENDENCIES += bluez5_utils
 else
 LIBPCAP_CONF_OPTS += --disable-bluetooth
 endif
Signature · 1 line
2.14.1
#2 lore raw

PATCH 2/2 libpcap: add support for bluez5_utils

Quoted 4 lines · Fabrice Fontaine

bluez5_utils support has been added since version 1.8.0 and
https://github.com/the-tcpdump-group/libpcap/commit/b3776f3d50df9de9fcf702bd21a3ecb2539ffef4

baruch

Quoted 23 lines
---
 package/libpcap/libpcap.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/libpcap/libpcap.mk +2 -1
index daa369f66c..8cc444e7af 100644
@@ -24,9 +24,10 @@ define LIBPCAP_CONFIG_REMOVE_RPATH
 endef
 LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH
 
-# On purpose, not compatible with bluez5
 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
 LIBPCAP_DEPENDENCIES += bluez_utils
+else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+LIBPCAP_DEPENDENCIES += bluez5_utils
 else
 LIBPCAP_CONF_OPTS += --disable-bluetooth
 endif
Signature · 1 line
2.14.1
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#3 lore raw

PATCH 2/2 libpcap: add support for bluez5_utils

In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

bluez5_utils support has been added since version 1.8.0 and
https://github.com/the-tcpdump-group/libpcap/commit/b3776f3d50df9de9fcf702bd21a3ecb2539ffef4

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/2 libpcap: remove unrecognized canusb option

In reply to Fabrice Fontaine

Hi Fabrice,

Quoted 4 lines · Fabrice Fontaine

canusb has been removed since version 1.8.1 and
https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b

baruch

Quoted 25 lines
---
 package/libpcap/libpcap.mk | 7 -------
 1 file changed, 7 deletions(-)
package/libpcap/libpcap.mk +0 -7
index c4c5f31465..daa369f66c 100644
@@ -38,13 +38,6 @@ else
 LIBPCAP_CONF_OPTS += --disable-dbus
 endif
 
-ifeq ($(BR2_PACKAGE_LIBUSB),y)
-LIBPCAP_CONF_OPTS += --enable-canusb
-LIBPCAP_DEPENDENCIES += libusb
-else
-LIBPCAP_CONF_OPTS += --disable-canusb
-endif
-
 ifeq ($(BR2_PACKAGE_LIBNL),y)
 LIBPCAP_DEPENDENCIES += libnl
 LIBPCAP_CFLAGS += "-I$(STAGING_DIR)/usr/include/libnl3"
Signature · 1 line
2.14.1
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#5 lore raw

PATCH 1/2 libpcap: remove unrecognized canusb option

In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

canusb has been removed since version 1.8.1 and
https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard