1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-13 10:49:17 +02:00
Commit Graph

688 Commits

Author SHA1 Message Date
Jan-Philipp Litza
b1249e72e5 respondd: Read list of multicast interfaces from file, add initscript 2016-09-28 17:59:20 +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
Nils Schneider
e06cde9167 uradvd: add --rdnss option
This option may be specified multiple times (up to 3).
2016-05-04 12:47:55 +02:00
Matthias Schiffer
087eef9e68 Merge remote-tracking branch 'origin/uradvd-defaultroute' 2016-04-27 22:32:19 +02:00
Nils Schneider
110f77bdf5 uradvd: make AdvDefaultLifetime configurable
Introduce a new flag --default-lifetime <seconds>.
2016-04-27 19:41:30 +02:00
Matthias Schiffer
9134a42c93 Merge pull request #132 from freifunkh/dev-lua-hash
lua-hash: introduce a lua hashing library using libubox.
2016-04-18 21:12:08 +02:00
lemoer
b41132b593 lua-hash: introduce a lua hashing library using libubox. 2016-04-16 18:22:03 +02:00
Matthias Schiffer
fea8f67d5d lua-ethtool-stats: remove 2016-03-03 23:52:42 +01:00
Matthias Schiffer
651b11ac35 lua-deflate: remove 2016-03-03 23:52:34 +01:00
lemoer
06f2a62b97 autoupdater: add upgrade.d directory. 2016-02-19 17:24:28 +01:00
Jan-Philipp Litza
04c928eb56 Merge pull request #129 from Philzen/patch-1
Reveal unintentionally hidden text
2016-02-16 10:38:06 +01:00
Philzen
ebe9de45de Reveal unintentionally hidden text 2016-02-16 05:13:05 +01:00
Matthias Schiffer
93bbd165ee batman-adv-visdata: remove package
batman-adv-visdata is not used anymore.
2016-02-08 21:01:09 +01:00
Matthias Schiffer
fd06c7d67d respondd: use C modules instead of Lua to provide data 2016-02-02 06:36:39 +01:00
Matthias Schiffer
bdb56bba02 batman-adv-legacy: update to latest version
Correctly fixes the overflow in the gateway selection calculation.
2016-01-24 19:31:23 +01:00
Matthias Schiffer
2fc02029b9 sse-multiplex: don't block on client sockets
Rather kill a client connection when the write buffer is full than blocking
in sse-multiplexd.
2016-01-12 15:25:15 +01:00
Matthias Schiffer
50c763b895 Merge pull request #128 from freifunk-gluon/autoupdater
Autoupdater improvements
2016-01-12 15:21:33 +01:00
Matthias Schiffer
b7ce1a2002 autoupdater: add download.d and abort.d directories
All executables in download.d are executed before after the update manifest
has been verified, but before the image is downloaded. This can be used to
stop non-essential services to free RAM.

abort.d is run when the download has failed and should revert the actions
of download.d.
2016-01-11 22:03:55 +01:00
Matthias Schiffer
3d98695abc autoupdater: avoid unnessesary shell processes
Use functions that don't run commands though a shell where easily possible,
add 'exec' to remaining io.popen calls.
2016-01-11 21:53:19 +01:00
Matthias Schiffer
129b1146c3 autoupdater: fix indentation 2016-01-11 17:24:58 +01:00
Matthias Schiffer
0425aecbec Merge pull request #126 from freifunk-gluon/libplatforminfo
libplatforminfo
2016-01-11 16:37:11 +01:00
Matthias Schiffer
7e0976edae lua-platform-info: use libplatforminfo 2015-12-28 01:28:50 +01:00
Matthias Schiffer
358a087ea4 Add new package libplatforminfo 2015-12-28 01:28:50 +01:00
Matthias Schiffer
26203eae4d Add package batman-adv-visdata 2015-12-16 17:00:52 +01:00
Matthias Schiffer
3f78449b9d Add new package sse-multiplex 2015-12-16 17:00:51 +01:00
Matthias Schiffer
c1aa8b847b respondd: add monotonic timestamp to lua calls to allow caching 2015-12-12 18:01:24 +01:00
Matthias Schiffer
b4f04f51d5 node: remove package
There's a node package in the upstream package repo now.
2015-10-28 00:31:08 +01:00
Matthias Schiffer
3b67a18a51 Add new package micrond 2015-10-15 23:34:04 +02:00
Matthias Schiffer
48cddbbb55 Add new package simple-tc 2015-10-14 23:08:26 +02:00
Michael Rüttgers
6ddb1d3c0a Add support for x86-xen_domu target
Keep subtargets near their targets
2015-09-14 09:13:52 +02:00
Jan-Philipp Litza
fc35a19d2a autoupdater: Remove dependencies on luci-base 2015-08-31 21:15:27 +02:00
Nils Schneider
6c6fafa0ba node: add node.js v0.12.7 2015-08-29 00:08:11 +02:00
Nils Schneider
dea803c392 uradvd: non-gluon parts of gluon-radvd 2015-08-19 21:30:33 +02:00
Nils Schneider
ec7fe2cca9 gluon-radvd: on-link flag
By introducing a new option -a in addition to -p this patch allows
controlling the on-link flag of announcements.

A prefix specified using -a will have the on-link flag set to zero
while a prefix specified using -p will retain its behaviour (i.e.
on-link flag set).

Example:

    gluon-radvd -i local-node -p 2001:db8:aaaa:/64 -a 2001:db8:bbbb::/64

This will announce 2001:db8:aaaa::/64 with the on-link flag set and
2001:db8:bbbb::/64 with the flag unset.
2015-08-19 21:08:20 +02:00
Matthias Schiffer
b4107909c4 gluon-radvd: fix NULL deref
The specification says that the ifa_addr field of struct ifaddrs may be NULL,
and in Barrier Breaker, this does actually occur...
2015-08-19 21:08:20 +02:00
Matthias Schiffer
e72627d35a gluon-radvd: implement own radvd to reduce size 2015-08-19 21:08:20 +02:00