iwd: new package
PATCH v2 1/1 iwd: new package
---
Changes v1 -> v2:
- update patch 0003-Fix-__iwd_backtrace_init-availability-detection.patch
- fix iwd needs comment (missing depends on BR2_TOOLCHAIN_HAS_SYNC_4)
- moved GPL-3.0+ (client) to enable client section
- add DEVELOPERS entry
--- DEVELOPERS | 1 + package/Config.in | 1 + ...til.c-add-missing-ell-utf8.h-include.patch | 46 ++++++++++++++ ...cap.c-add-missing-sys-stat.h-include.patch | 46 ++++++++++++++ ...acktrace_init-availability-detection.patch | 62 +++++++++++++++++++ package/iwd/Config.in | 14 +++++ package/iwd/iwd.hash | 5 ++ package/iwd/iwd.mk | 47 ++++++++++++++ 8 files changed, 222 insertions(+) create mode 100644 package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch create mode 100644 package/iwd/0002-monitor-pcap.c-add-missing-sys-stat.h-include.patch create mode 100644 package/iwd/0003-Fix-__iwd_backtrace_init-availability-detection.patch create mode 100644 package/iwd/Config.in create mode 100644 package/iwd/iwd.hash create mode 100644 package/iwd/iwd.mk
DEVELOPERS +1 -0
@@ -1660,6 +1660,7 @@ F: package/ghostscript-fonts/ F: package/gstreamer1/gst1-interpipe/ F: package/gstreamer1/gst1-validate/ F: package/gstreamer1/gstreamer1-editing-services/ +F: package/iwd/ F: package/libevdev/ F: package/log4cplus/ F: package/postgresql/
package/Config.in +1 -0
@@ -1866,6 +1866,7 @@ menu "Networking applications" source "package/iputils/Config.in" source "package/irssi/Config.in" source "package/iw/Config.in" + source "package/iwd/Config.in" source "package/janus-gateway/Config.in" source "package/keepalived/Config.in" source "package/kismet/Config.in"
package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +46 -0
46 lines not on this page · raw message
package/iwd/0002-monitor-pcap.c-add-missing-sys-stat.h-include.patch new file +46 -0
46 lines not on this page · raw message
package/iwd/0003-Fix-__iwd_backtrace_init-availability-detection.patch new file +62 -0
62 lines not on this page · raw message
package/iwd/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_IWD + bool "iwd" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell + depends on !BR2_STATIC_LIBS # ell + depends on BR2_USE_WCHAR # ell + select BR2_PACKAGE_ELL + help + iNet Wireless daemon (iwd) + + https://iwd.wiki.kernel.org/ + +comment "iwd needs a toolchain w/ dynamic library, wchar" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
package/iwd/iwd.hash new file +5 -0
@@ -0,0 +1,5 @@ +# Locally computed +sha256 cb071b9e10688e7347bb3f2d6927c27c635614e9a2b1c5eb3ea6203ca2894c05 iwd-0.10.tar.gz + +# License files +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING
package/iwd/iwd.mk new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
2.19.1
PATCH v2 1/1 iwd: new package
He Peter,
Quoted 7 lines · Peter Seiderer
Signed-off-by Peter Seiderer <[email protected]>---
Changes v1 -> v2:
- update patch 0003-Fix-__iwd_backtrace_init-availability-detection.patch
- fix iwd needs comment (missing depends onBR2_TOOLCHAIN_HAS_SYNC_4)
- moved GPL-3.0+ (client) to enable client section
- add DEVELOPERS entry
Quoted 13 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + ...til.c-add-missing-ell-utf8.h-include.patch | 46 ++++++++++++++ ...cap.c-add-missing-sys-stat.h-include.patch | 46 ++++++++++++++ ...acktrace_init-availability-detection.patch | 62 +++++++++++++++++++ package/iwd/Config.in | 14 +++++ package/iwd/iwd.hash | 5 ++ package/iwd/iwd.mk | 47 ++++++++++++++ 8 files changed, 222 insertions(+) create mode 100644 package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch create mode 100644 package/iwd/0002-monitor-pcap.c-add-missing-sys-stat.h-include.patch create mode 100644 package/iwd/0003-Fix-__iwd_backtrace_init-availability-detection.patch
Have you sent these patches upstream?
Quoted 34 lines
create mode 100644 package/iwd/Config.in create mode 100644 package/iwd/iwd.hash create mode 100644 package/iwd/iwd.mkDEVELOPERS +1
-0@@ -1660,6 +1660,7 @@ F: package/ghostscript-fonts/ F: package/gstreamer1/gst1-interpipe/ F: package/gstreamer1/gst1-validate/ F: package/gstreamer1/gstreamer1-editing-services/ +F: package/iwd/ F: package/libevdev/ F: package/log4cplus/ F: package/postgresql/package/Config.in +1
-0@@ -1866,6 +1866,7 @@ menu "Networking applications" source "package/iputils/Config.in" source "package/irssi/Config.in" source "package/iw/Config.in" + source "package/iwd/Config.in" source "package/janus-gateway/Config.in" source "package/keepalived/Config.in" source "package/kismet/Config.in"package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +0
-0
package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch line 4
Quoted 4 lines
package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +4
-0@@ -0,0 +1,46 @@ +From 174eb3088e78b75b4e488c023808c6f3bf7aae06 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer <[email protected]> +Date: Fri, 2 Nov 2018 14:19:12 +0100 +Subject: [PATCH] src/util.c: add missing ell/utf8.h include
Anything wrong with upstream patch be5bf7ee155677afd2fc900ddf1bb6f91e65afe3?
Regards,
Arnout
Quoted 41 lines
package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +41
-0+MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + src/util.c: In function ?util_ssid_to_utf8?: + src/util.c:57:16: warning: implicit declaration of function ?l_utf8_validate? [-Wimplicit-function-declaration] + while (i && (!l_utf8_validate((const char *)start, i, + ^~~~~~~~~~~~~~~ + src/util.c: In function ?util_string_to_address?: + src/util.c:128:8: warning: implicit declaration of function ?l_ascii_isxdigit? [-Wimplicit-function-declaration] + if (!l_ascii_isxdigit(str[i])) + ^~~~~~~~~~~~~~~~ +[...] + src/util.o: In function `util_string_to_address': + util.c:(.text+0x21c): undefined reference to `l_ascii_isxdigit' + util.c:(.text+0x228): undefined reference to `l_ascii_isxdigit' + util.c:(.text+0x24c): undefined reference to `l_ascii_isxdigit' + util.c:(.text+0x258): undefined reference to `l_ascii_isxdigit' + collect2: error: ld returned 1 exit status + +Signed-off-by: Peter Seiderer <[email protected]> +--- + src/util.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/util.c b/src/util.c +index 7a08940..e12b622 100644 +--- a/src/util.c ++++ b/src/util.c +@@ -29,6 +29,7 @@ + #include <sys/uio.h> + + #include <ell/string.h> ++#include <ell/utf8.h> + #include <ell/genl.h> + #include <ell/util.h> + #include <ell/log.h> +-- +2.19.1
[snip]
PATCH v2 1/1 iwd: new package
Hello Arnout,
Quoted 24 lines · Arnout Vandecappelle
He Peter,
Quoted 7 lines · Peter Seiderer
Signed-off-by Peter Seiderer <[email protected]>---
Changes v1 -> v2:
- update patch 0003-Fix-__iwd_backtrace_init-availability-detection.patch
- fix iwd needs comment (missing depends onBR2_TOOLCHAIN_HAS_SYNC_4)
- moved GPL-3.0+ (client) to enable client section
- add DEVELOPERS entryQuoted 13 lines
--- DEVELOPERS | 1 + package/Config.in | 1 + ...til.c-add-missing-ell-utf8.h-include.patch | 46 ++++++++++++++ ...cap.c-add-missing-sys-stat.h-include.patch | 46 ++++++++++++++ ...acktrace_init-availability-detection.patch | 62 +++++++++++++++++++ package/iwd/Config.in | 14 +++++ package/iwd/iwd.hash | 5 ++ package/iwd/iwd.mk | 47 ++++++++++++++ 8 files changed, 222 insertions(+) create mode 100644 package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch create mode 100644 package/iwd/0002-monitor-pcap.c-add-missing-sys-stat.h-include.patch create mode 100644 package/iwd/0003-Fix-__iwd_backtrace_init-availability-detection.patch
Quoted 1 line
Have you sent these patches upstream?
Not yet, will do...
Quoted 33 lines
Quoted 33 lines
create mode 100644 package/iwd/Config.in create mode 100644 package/iwd/iwd.hash create mode 100644 package/iwd/iwd.mk
./target/usr/include/ell/ell.hDEVELOPERS +1
-0@@ -1660,6 +1660,7 @@ F: package/ghostscript-fonts/ F: package/gstreamer1/gst1-interpipe/ F: package/gstreamer1/gst1-validate/ F: package/gstreamer1/gstreamer1-editing-services/ +F: package/iwd/ F: package/libevdev/ F: package/log4cplus/ F: package/postgresql/package/Config.in +1
-0@@ -1866,6 +1866,7 @@ menu "Networking applications" source "package/iputils/Config.in" source "package/irssi/Config.in" source "package/iw/Config.in" + source "package/iwd/Config.in" source "package/janus-gateway/Config.in" source "package/keepalived/Config.in" source "package/kismet/Config.in"package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +0
-1--- /dev/null
Quoted 8 lines
package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch line 4
Quoted 6 lines
+++
b/package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patchpackage/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +4
-0@@ -0,0 +1,46 @@ +From 174eb3088e78b75b4e488c023808c6f3bf7aae06 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer <[email protected]> +Date: Fri, 2 Nov 2018 14:19:12 +0100 +Subject: [PATCH] src/util.c: add missing ell/utf8.h includeAnything wrong with upstream patch
be5bf7ee155677afd2fc900ddf1bb6f91e65afe3?
Nothing wrong (besides I did not spot it from the description 'util: Only include <ell/ell.h> and use full include path'....will change (or update to 0.11 release (from 92 min ago)...
Regards,
Peter
Quoted 49 lines
Regards,
ArnoutQuoted 41 lines
package/iwd/0001-src-util.c-add-missing-ell-utf8.h-include.patch new file +41
-0+MIME-Version: 1.0./target/usr/include/ell/ell.h +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + src/util.c: In function ?util_ssid_to_utf8?: + src/util.c:57:16: warning: implicit declaration of function ?l_utf8_validate? [-Wimplicit-function-declaration] + while (i && (!l_utf8_validate((const char *)start, i, + ^~~~~~~~~~~~~~~ + src/util.c: In function ?util_string_to_address?: + src/util.c:128:8: warning: implicit declaration of function ?l_ascii_isxdigit? [-Wimplicit-function-declaration] + if (!l_ascii_isxdigit(str[i])) + ^~~~~~~~~~~~~~~~ +[...] + src/util.o: In function `util_string_to_address': + util.c:(.text+0x21c): undefined reference to `l_ascii_isxdigit' + util.c:(.text+0x228): undefined reference to `l_ascii_isxdigit' + util.c:(.text+0x24c): undefined reference to `l_ascii_isxdigit' + util.c:(.text+0x258): undefined reference to `l_ascii_isxdigit' + collect2: error: ld returned 1 exit status + +Signed-off-by: Peter Seiderer <[email protected]> +--- + src/util.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/util.c b/src/util.c +index 7a08940..e12b622 100644 +--- a/src/util.c ++++ b/src/util.c +@@ -29,6 +29,7 @@ + #include <sys/uio.h> + + #include <ell/string.h> ++#include <ell/utf8.h> + #include <ell/genl.h> + #include <ell/util.h> + #include <ell/log.h> +-- +2.19.1[snip]