Commit graph

17 commits

Author SHA1 Message Date
Fabrice Fontaine a8326d09d5 package/iwd: fix build with uclibc
Fixes:
 - http://autobuild.buildroot.org/results/8bbf7e1d0929d0883c0c2445990f62f5a1d54163

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-20 16:24:06 +02:00
Peter Seiderer a6be50c515 package/iwd: bump version to 1.8
- removed 0001-frame-xchg.c-fix-build-with-glibc-2.24.patch
  (upstream applied [1])

[1] https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=c352714e61809fc486470cc9a4ad3e3e84811b80

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-20 08:32:34 +02:00
Peter Seiderer 2c01692f0b package/iwd: add sysv init script
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-17 21:57:43 +02:00
Peter Seiderer 119a0028c1 package/iwd: add basic configuration file
Add basic /etc/iwd/main.conf configuration file to enable
network configuration (use built-in dhcp client).

For the non systemd-resolved case select the openresolv package
to fulfill the iwd resolvconf requirement (and adjust the
configuration file accordingly).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-17 21:56:41 +02:00
Peter Seiderer 6f5f6bcd89 package/iwd: needs dbus (runtime)
Fixes (on startup):

  $ usr/libexec/iwd
  Wireless daemon version 1.7
  Failed to initialize D-Bus

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr:
  - move MMU dependency first
  - split long line in comment dependencies
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-06-14 11:42:41 +02:00
Fabrice Fontaine 7b3ac6d24d package/ell: needs headers >= 4.12
ell needs headers >= 4.12 since version 0.31 and
https://git.kernel.org/pub/scm/libs/ell/ell.git/commit?id=fa950995a48bbcd8f0d3dfbbe9a7f768aba5c50f

Indeed NLM_F_CAPPED, NLM_F_ACK_TLVS, NLMSGERR_ATTR_MSG and
NETLINK_EXT_ACK are only available since
2d4bc93368

So add this dependency to ell and its reverse dependencies

Fixes:
 - http://autobuild.buildroot.org/results/bafc0ee2a3bcb2418a3612da38eb9dcd586b57d4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-06-05 22:09:21 +02:00
Peter Seiderer 96f0f7b80b package/iwd: bump version to 1.7
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-04 23:19:36 +02:00
Fabrice Fontaine d22f3d1124 package/iwd: fix build with glibc < 2.24
Fixes:
 - http://autobuild.buildroot.org/results/63f983aa22ca5303a55bc55e004f05a94e5f7259

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-23 23:26:10 +02:00
Peter Seiderer bedf0ceedd package/iwd: bump version to 1.6
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-08 21:22:41 +02:00
Peter Seiderer 5bab28d836 package/iwd: bump version to 1.5
Fixes incompatibility because of recent version bump to ell-0.28 ([1]):

  http://autobuild.buildroot.net/results/32899d7e1f7d5abc528e5627f8f66ae5c9733342
  http://autobuild.buildroot.net/results/a0a4387e5319d792658f6d82a63fb17a06848d10
  http://autobuild.buildroot.net/results/7d02c966518e44d798b83ac36b9083a8041b09ec
  http://autobuild.buildroot.net/results/f7b27ab243e6b35445d9cb28e4747514fa7d98d6
  http://autobuild.buildroot.net/results/f5d71af640812a58374374e178cb7ff225e69c19

    CC       src/main.o
  src/main.c: In function 'request_name_callback':
  src/main.c:167:7: error: too few arguments to function 'l_dbus_object_manager_enable'
    if (!l_dbus_object_manager_enable(dbus))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /nvmedata/autobuild/instance-4/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/ell/ell.h:55,
                   from src/main.c:32:
  /nvmedata/autobuild/instance-4/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/ell/dbus.h:245:6: note: declared here
   bool l_dbus_object_manager_enable(struct l_dbus *dbus, const char *root);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

[1] https://git.buildroot.net/buildroot/commit/?id=faa592179d9fe46b97289bde5a1b0f0da6052b06

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-03-22 10:43:44 +01:00
Yann E. MORIN f295ad4cb0 package/*: do not override LICENSE, but append to it
Now that the infra takes care of removing extraneous spaces before
commas, we can safely append to LICENSE variables.

This removes the only case where we had to use immediate assignment
to append to a variable.

Mechanical change, with:

    $ sed -r -i -e 's/\<([^[:space:]]+_LICENSE) := \$\(\1\),/\1 += ,/' \
        $(git grep -l -E '\<([^[:space:]]+_LICENSE) := \$\(\1\),')

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-10-27 10:35:06 +01:00
Fabrice Fontaine c62ecaf13e package/iwd: disable man pages
Fixes:
 - http://autobuild.buildroot.org/results/3f68bad231b18485871f24175001e1525501f35d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-10-23 21:40:15 +02:00
Nicolas Serafini 4c80424b0d package/iwd: bump version to 0.22
Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-22 20:42:35 +02:00
Fabrice Fontaine d96da137f2 package/iwd: bump to version 0.18
Fix build with ell 0.20

Fixes:
 - http://autobuild.buildroot.org/results/2bd1fb482ee5d963fa335d1fddd90ee6cf96a0d6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-05-31 00:37:42 +02:00
Peter Seiderer 3211f0fb76 iwd: bump version to 0.13
- drop 0001-monitor-pcap.c-add-missing-sys-stat.h-include.patch
  (upstream applied [1])

- drop 0002-Fix-__iwd_backtrace_init-availability-detection.patch
  (upstream applied [2], [3])

[1] https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=330a930b01abe64262d1c46c2e27b33e9bbe1487
[2] https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=40ec69876cbe40a36fec1d7bc007471b034708f5
[3] https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=7d6e11ddd5c0414f8e00db63a0aa7b1c5695b026

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-14 21:53:00 +01:00
Fabrice Fontaine 4ea583c1ae iwd: fix dbus build with pkgconf 1.5.3
Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute
paths found in the .pc file. This is correct when the paths refer to
something in STAGING_DIR (e.g. libdir, includedir), but not when it
refers to something used for the target.

iwd uses the datadir variable from dbus-1.pc to decide where to install
things. Since DESTDIR is prepended to the install destination, this will
end up in the wrong location.

Until a better solution is found in pkgconf, pass the usbdropdir to use
explicitly instead of relying on dbus-1.pc.

Fixes:
 - http://autobuild.buildroot.org/results/2b9e28264248f073cc9973bd4c7a89363ec9c0c3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-13 21:22:05 +01:00
Peter Seiderer d7032b944f iwd: new package
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-14 11:36:45 +01:00