Commit Graph

852 Commits

Author SHA1 Message Date
Matthias Schiffer 42da0795e2
batman-adv-legacy: update package version number 2019-04-21 17:13:37 +02:00
Matthias Schiffer 3dd5522889
batman-adv-legacy: restore Build/Prepare step
Fixes the missing /sys/module/batman_adv/version file used by various tools
to show the batman-adv module version number.
2019-04-21 17:11:08 +02:00
Linus Lüssing df0dd9cd6b batman-adv-legacy: update to latest git
66fe8cb Backport access_ok() changes
3167661 batman-adv: Remove ethtool .get_settings stub
46abfa1 batman-adv: add DAT cache netlink support
205ac81 batman-adv: Avoid endless loop in bat-on-bat netdevice check (#14)
2019-04-16 12:04:12 +02:00
T-X 972e67f34b batman-adv-legacy: remove batctl v2013.4 (#213)
With the netlink functions backported batman-adv-legacy works fine with
the upstream batctl. Therefore there is no more need to build and
install the old batctl v2013.4 version.
2019-04-16 00:00:14 +02:00
Claus Marxmeier 524ae77e9b tunneldigger: update to newest upstream commit (#216)
- fixes broken Broker reset bug in tunneldigger-client wlanslovenija/tunneldigger#87 - now tunneldigger client resets error-tags and starts from scratch, when no Brokers are left over
- added cmake related patches to Makefile
2019-04-11 09:01:22 +02:00
Florian Eckert dced4023f5 micrond: move to openwrt packages feed
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-02-11 07:41:22 +01:00
Matthias Schiffer a52d5ced54
Merge pull request #209 from freifunk-gluon/autoupdater-fix-version-compare
autoupdater: fix version compare bugs
2018-12-20 19:40:19 +01:00
Matthias Schiffer 30be52e03b
autoupdater: consider end of string smaller than all characters except for '~'
This fixes ordering for the following patterns:

* 1.0 < 1.0a
* 1.0a < 1.0ab
* 1.0a < 1.0a1

Note that trailing zeros are still ignored (1.0 == 1., 1test0 == 1test),
which matches the behaviour of dpkg and opkg.
2018-12-18 23:16:17 +01:00
Matthias Schiffer 688051cb21
autoupdater: fix regression in version compare
Version strings with the same prefix, e.g. "1.0" and "1.0~pre", or even
"1.0" and "1.0.1" were considered equal. This is a regression in the C
autoupdater rewrite.
2018-12-18 20:22:40 +01:00
Matthias Schiffer 1dc8416ac1
Merge pull request #204 from TDT-AG/pr/20181114-libplatforminfo
libplatforminfo: Add custom target
2018-11-30 19:40:58 +01:00
Florian Eckert 0835251ca9 libplatforminfo: extend Makefile to define compile with custom target
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-28 09:50:16 +01:00
Florian Eckert 90b26e3388 libplatforminfo: add Config.in for custom target
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-28 09:50:14 +01:00
Florian Eckert 3a9ea0b47f libplatforminfo: add custom definition target
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-28 09:50:11 +01:00
Christof Schulze 2703207091 libbabelhelper: bump version, correct error handling on babel socket 2018-11-25 23:07:53 +01:00
Christof Schulze 8e768b3994 mmfd: bump version, include babeld reconnect fix 2018-11-25 23:07:53 +01:00
Christof Schulze 9e0b9bb314 l3roamd: allow to del_meshif for initially specified interfaces and get_meshifs on socket 2018-11-25 23:07:53 +01:00
Florian Eckert 54fac539c4 micrond: add PKG_LICENSE value
Add license.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-09 19:31:33 +01:00
Christof Schulze d2c162fd42 bump libbabelhelper version 2018-10-07 23:24:22 +02:00
Christof Schulze 9eb42b848f bump mmfd version 2018-10-07 23:24:22 +02:00
Christof Schulze 8fcc217b46 libbabelhelper: bump version 2018-10-02 21:54:48 +02:00
Christof Schulze a5815a3562 bump mmfd 2018-10-01 12:27:04 +02:00
lemoer 50874ee142 respondd: add documentation for some protocol related functions (#194) 2018-09-17 22:43:51 +02:00
Christof Schulze 00c6b723c9 uc: add new package (#192) 2018-08-20 14:26:23 +02:00
Christof Schulze c56ec3aab8 mmfd: bump version 2018-08-02 23:58:30 +02:00
Christof Schulze 521246b22f l3roamd: bump version, fixing a crash, increasing efficiency and roaming stability by introducing ACK 2018-08-02 23:56:37 +02:00
Tobias be2c357859 respondd-module-airtime: Fix reported noise result (#190)
The noise value delivered by nl80211 is actually a signed int8. Thus it
must be interpreted as a signed value, too.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2018-07-08 20:10:17 +02:00
Matthias Schiffer c34d129afb
batman-adv-legacy: update to git version 2018-06-03
7b775e93b7d2 batman-adv: Fix bat_ogm_iv best gw refcnt after netlink dump
2018-06-03 15:58:15 +02:00
lemoer ed7ed7dcba autoupdater: allow skipping the version check (#187)
this commit introduces a new cli flag "--force-version"
2018-06-03 12:13:50 +02:00
Christof Schulze 6268f870f1 mmfd: bump version to use new libbabelhelper, do not start verbose 2018-05-21 22:24:32 +02:00
Christof Schulze f51707e1c5 libbabelhelper: bump version for new lexer 2018-05-21 22:24:32 +02:00
Christof Schulze d3391981cd l3roamd: bump version 2018-05-21 22:24:32 +02:00
Matthias Schiffer 6c38a5dd63
simple-tc: add PKG_CONFIG_DEPENDS to trigger rebuild on dependency changes 2018-04-13 15:58:39 +02:00
Matthias Schiffer 61c7aac8ef
simple-tc: conditionalize kmod dependencies 2018-04-09 16:50:16 +02:00
Matthias Schiffer 73d9ff871b
ebtables-tiny: introduce stripped-down ebtables variant 2018-04-09 14:55:25 +02:00
Matthias Schiffer e1d11c9393
batman-adv-legacy: update source date 2018-04-07 21:59:23 +02:00
Matthias Schiffer 878f83eb74
batman-adv-legacy: update to latest git
02916a158fa3 batman-adv: skip deleted entries in bat_gw_dump()

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-04-07 21:52:38 +02:00
Matthias Schiffer 9bf34bebc5
batman-adv-legacy: update to latest git
2f5be1a49318 batman-adv: do not modify batadv packet header before pulling it
fad4085f659c batman-adv: update data pointers after skb_cow()
8a495c4284b6 batman-adv: Add extack to ndo_add_slave
d176649871cc batman-adv: Add extack to upper device linking
2018-03-16 19:42:55 +01:00
Matthias Schiffer 31e2000604
treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +01:00
Matthias Schiffer 53a659abf8
lua-geolocate: add package for WLAN-based geolocation based on openwifi.su
Based-on-patch-by: Jan-Tarek Butt <tarek@ring0.de>
2018-02-27 18:14:07 +01:00
Tobias Schramm 5c6476ea58
autoupdater: use safe allocation functions
Give the user a better error message when allocations fail by using our
checked allocation functions.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
[Matthias Schiffer: squash, use safe_realloc]
2018-02-22 02:39:48 +01:00
Tobias Schramm 3566cabef5
autoupdater: add safe allocation functions
safe_malloc() and safe_realloc() are wrappers around malloc() and realloc()
than abort the process if the memory allocation fails.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
[Matthias Schiffer: add safe_realloc()]
2018-02-22 02:39:47 +01:00
Tobias Schramm 0b61fee98e
autoupdater: Check if allocation of uci contect was successfull
Previously the return value of uci_alloc_context was not checked leading
to a possible null ptr dereference

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
[Matthias Schiffer: use abort()]
2018-02-22 02:27:57 +01:00
Tobias c802276581 autoupdater: uclient: fix nullpointer dereference on invalid URL (#183)
Previously supplying an invalid url for download would result in
uclient_new returning NULL and crash the autoupdater as soon as
cl->priv is accessed.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2018-02-19 17:10:44 +01:00
Matthias Schiffer 7abd688e6a
sse-multiplex: don't use stdio FILE I/O for nonblocking sockets
The behaviour is not defined; musl loses parts of long data lines. Change
code to work with file descriptors directly and handle buffering ourselves.
2018-02-13 22:21:46 +01:00
Matthias Schiffer 9a6ad5ce84
batman-adv-legacy: update to 2018-01-23 git version
695bfbc6 batman-adv: invalidate checksum on fragment reassembly
2018-01-23 12:09:39 +01:00
Matthias Schiffer ea9c5dc09e
batman-adv-legacy: update to 2018-01-22 git version
62f94b93 batman-adv: fix packet checksum in receive path
a5bfc266 batman-adv: Fix inconsistent teardown and release of private netdev state.
226f08ce batman-adv: Remove usage of net_device last_rx member
2018-01-22 20:34:18 +01:00
Matthias Schiffer fc194bc7c8
autoupdater: uclient: add error handling in connection setup
Avoids a segfault when the connection fails early.
2018-01-22 10:57:35 +01:00
Matthias Schiffer d14cedea14
lua-jsonc: new package
This package replaces luci-lib-jsonc, and also provides utility functions
for use from other C libraries.
2018-01-18 16:27:40 +01:00
T-X 309dacfa31 batman-adv-legacy: batctl: backport TL header lines fix (#181)
Backport of:

4aa06a7c "batctl: fix wrong header lines number for local translation table"

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2018-01-17 11:10:58 +01:00
Jan-Philipp Litza 49cb4b3fdb
autoupdater: new implementation
This new version of the autoupdater is implemented in C instead of Lua,
allowing us to interface with libuclient (HTTP downloads) and libecdsautil
(signature checks) directly instead of spawning external processes,
saving RAM and making error handling more robust.

[Matthias Schiffer: add commit message]
2018-01-13 00:22:27 +01:00