Commit Graph

10 Commits

Author SHA1 Message Date
Matthias Schiffer 31e2000604
treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +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
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
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
Jan-Philipp Litza fc35a19d2a autoupdater: Remove dependencies on luci-base 2015-08-31 21:15:27 +02:00
Matthias Schiffer fd5e16160a autoupdater: fix usage of Gluon-specific package.mk 2015-07-01 22:09:39 +02:00
Matthias Schiffer dcc5a5ab74 autoupdater: fixes for the new LuCI version 2015-05-22 02:05:00 +02:00
Matthias Schiffer 02bc9f4e66 Dependency fixes for the new LuCi version 2014-08-06 12:06:49 +02:00
Matthias Schiffer dc73c75810 autoupdater: convert to Lua
In addition, a new config field 'version_file' is added to remove the last
Gluon-specific part from the autoupdater package.
2014-07-21 17:27:47 +02:00
Matthias Schiffer 916bbae68e Split parts not Gluon-specific out of gluon-autoupdater 2014-07-11 14:06:42 +02:00