Commit Graph

822 Commits

Author SHA1 Message Date
Matthias Schiffer 6a2d288006
autoupdater: use SHA256 checksums instead of SHA512
We already use SHA256 for the manifest signature, so we'll be able to unify
the implementations after some refactoring.
2017-02-25 01:05:32 +01:00
Matthias Schiffer ac55ad56b5
autoupdater: convert spaces to tabs 2017-02-24 23:04:05 +01:00
Jan-Philipp Litza 463f872844 autoupdater: add possibility to specify mirrors on commandline (#123) 2017-02-24 11:46:43 +01:00
Matthias Schiffer c7de283d44
batman-adv-legacy: update to latest git master 2017-02-24 00:13:51 +01:00
Matthias Schiffer 7d4d64354d
Update batman-adv-legacy to latest git master 2017-02-23 16:20:39 +01:00
Christof Schulze 5be278cd42 net/l3roamd: add basic package (#162) 2017-02-23 13:25:24 +01:00
Christof Schulze c78986cbc9 net/mmfd: add experimental mmfd package (#161) 2017-02-23 12:43:45 +01:00
Matthias Schiffer cef5afaac4
libplatforminfo: increment PKG_VERSION 2017-02-12 06:05:19 +01:00
Matthias Schiffer ee064ae430
libplatforminfo: unify target implementations
Don't require a file for each subtarget, fall back to default.c.
2017-02-12 06:01:26 +01:00
Matthias Schiffer 036ad3e51e
libplatforminfo: x86: use /tmp/sysinfo/model for platforminfo_get_model()
x86 has a proper model definition now that is more useful than the CPU
type.
2017-02-12 05:45:53 +01:00
Matthias Schiffer 8e4d1a3095
libplatforminfo: x86: remove outdated subtargets, simplify image name code 2017-02-12 05:44:21 +01:00
Matthias Schiffer f2885547ff
libplatforminfo: make sanitize_image_name() fail gracefully
Some targets may not always have a /tmp/sysinfo/model, don't crash in this
case.
2017-02-12 05:36:08 +01:00
Steffen Förster 03f06248c9 libplatforminfo: add target ramips_mt7628 (#159)
This enables the inclusion of the vocore2 into gluon.
2017-02-09 02:02:59 +01:00
Jan-Philipp Litza 2e54ac8e17 respondd-module-airtime: Make returned object more dynamic
This fixes #157 and #158
2017-02-08 23:11:57 +01:00
Jan-Philipp Litza f0a50e70a2 respondd-module-airtime: Add allocation checks to get_ifaces() 2017-02-08 23:11:57 +01:00
Jan-Philipp Litza 7b56f09e0f respondd-module-airtime: Move common netlink query code to separate function 2017-02-08 23:11:57 +01:00
Matthias Schiffer 138ddeedf3 lua-simple-uci: new package providing wrapper around uci providing useful functions
- set allows boolean values
- delete_all
- section
- tset
- get_bool
- get_list
- get_first
- set_list
2017-01-19 12:34:20 +01:00
Matthias Schiffer 485186ace2
autoupdater: handle wget hangs during manifest download
Make sure that the download is cancelled after the timeout even when wget
doesn't produce output at all.
2017-01-24 21:26:20 +01:00
Matthias Schiffer a18c69094c
batman-adv-legacy: really move to kernel build dir
Include kernel.mk before package.mk, so the defaults for kernel modules
have precedence.
2017-01-19 16:57:59 +01:00
Matthias Schiffer 47b3b22af0
batman-adv-legacy: move to kernel build dir
Fixes rebuild issues in similar targets with different kernel
configurations.
2017-01-19 14:26:16 +01:00
Matthias Schiffer ef405e2240 ecdsautils: remove
ecsdautils is now available upstream.
2016-12-22 03:52:40 +01:00
Matthias Schiffer 5c25ed888f respondd: nicer error messages 2016-12-23 00:24:02 +01:00
Matthias Schiffer d94f0f5956 respondd-module-airtime: install to /usr/lib/respondd instead of /lib/respondd 2016-12-22 23:42:00 +01:00
Jan-Philipp Litza e8cc8eeee6 Add package respondd-module-airtime (#156)
See README.md for more information.
2016-12-22 23:40:00 +01:00
Cyrus Fox f8ec44d6aa tunneldigger: move package to correct subfolder 2016-12-12 16:38:27 +01:00
Cyrus b0b80bfbb1 Add tunneldigger package (#154) 2016-12-12 16:02:44 +01:00
Matthias Schiffer 5280cd1907 batman-adv-legacy: update
This adds support for the new netlink interface.
2016-12-11 01:19:45 +01:00
Jan-Philipp Litza 5ab6385331 respondd: Accept multiple data provider directories 2016-12-09 10:13:27 +01:00
lemoer e7fbcf75a9 respondd: add support for delayed replies to multicast requests (#144) 2016-12-06 19:46:40 +01:00
Julian 738d8a2365 libplatforminfo: add target mvebu (#151) 2016-12-05 10:36:39 +01:00
Steffen Förster 078ba81ed2 libplatforminfo: add x86-geode platform (#148) 2016-11-29 18:48:11 +01:00
Matthias Schiffer 9311a0716e
libplatforminfo: mark as nonshared 2016-09-24 02:12:24 +02:00
Matthias Schiffer be44ede736
Update dependencies on now builtin kmods (and add missing @IPV6) 2016-09-24 01:59:45 +02:00
Matthias Schiffer 3f3a0654d9
simple-tc: remove uses of error.h
It is not available in musl.
2016-09-24 01:42:55 +02:00
Matthias Schiffer 4b0ed48422
uradvd: remove uses of error.h
It is not available in musl.
2016-09-24 01:42:30 +02:00
Matthias Schiffer 90380414f1
autoupdater: add timeouts to wget calls
The -T parameter only seems to limit the maximum time between received
packets, but not the overall run time.

This adds simple timeouts to the wget calls (5 minutes for the manifest,
30 minutes for the image). The implementation is very simple, only checking
the manifest timeout each time a line was received, and the image timeout
once a second. A more elegent fix seems like overkill, as the Lua
autoupdater will be replaced with a new implementation after Gluon 2016.2
anyways.
2016-09-08 03:09:30 +02:00
Matthias Schiffer 1acb4b1d3a
autoupdater: add lockfile to prevent concurrent runs 2016-09-08 02:30:20 +02:00
Andreas Ziegler 515a9f48fb batman-adv-legacy: ignore error when writing to mesh_iface (#146) 2016-09-08 02:18:18 +02:00
Matthias Schiffer c24cdae830 pretty-hostname: don't cancel script whey trying to remove nonexistent pretty_hostname 2016-08-27 21:23:24 +02:00
Matthias Schiffer 2cfa9dad0b pretty-hostname: remove quotes from the package title 2016-08-27 17:28:04 +02:00
Matthias Schiffer be83ca57e4 pretty-hostname: add package to manage a "pretty" hostname 2016-08-27 16:32:15 +02:00
@RubenKelevra 7327bfdde5 autoupdater: remove outdated list of hardware (#145) 2016-08-13 15:39:16 +02:00
Matthias Schiffer 0a6411b56b
ecdsautils: update to current git, add libecdsautil
The addition of libecdsautil required us to switch from statically linked
libuecc to a shared library (as we also want shared libecdsautil).
2016-07-28 01:04:36 +02:00
Jan-Tarek Butt 6a618e61da
autoupdater: drop caches a second time after download
This is useful to free memory after stopping more services after the
download.

[Matthias Schiffer: improved commit message]
2016-07-19 02:42:18 +02:00
Matthias Schiffer f375cb7b30
autoupdate: remove potential trailing slash from mirror URL 2016-07-15 02:50:07 +02:00
Matthias Schiffer 390b221b51
libplatforminfo: add ramips-mt7621 support 2016-06-30 18:45:59 +02:00
Matthias Schiffer 0e391753d3
libplatforminfo: add target ar71xx-mikrotik
Based-on-patch-by: Tobias Hachmer <tobias@hachmer.de>
2016-06-22 23:10:54 +02:00
yanosz fed34e05cd
respondd: extend README 2016-06-21 18:49:21 +02:00
Matthias Schiffer 37c7cebf10
batman-adv-legacy: update to git master
Should fix crashes on multi-core systems.
2016-05-31 17:24:30 +02:00
Matthias Schiffer 63376e23c8
respondd: don't listen on IPv4
Our firewall rules don't expect respondd to work for IPv4.
2016-05-16 02:16:17 +02:00