Maintainer: @wfleurant
Compile tested: builds for x86_64
Run tested: Build only testing
Description: same build error seen on my machine as seen in #958
Whereas #961 removes the compiler warning, this fixes the underlying problem in the code.
Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
* cjdns: bump source from v21 to v21.1
* cjdns: bump release with patch to prefer python2
* cjdns: refresh patches and remove patch musl
Signed-off-by: William Fleurant <meshnet@protonmail.com>
Compile time changes reviewed by cjd.
Due to stricter compiler(s) we do not
want to error for these warnings.
Caused by: ...reading "past the end"
of a struct, because the struct is
actually a header and the body is of
unknown size. Compilers got stricter
and this became a warning.
Signed-off-by: William Fleurant <meshnet@protonmail.com>
Since https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=4b9a67362d70c544b85078b8d5c661f43f7472d9,
uci network config interface sections use 'device' instead of 'ifname'
Even if 'device' seems to always be set by
package/base-files/files/bin/config_generate, we keep the fallbacks
in case someone install the package via opkg and has a non migrated
network config
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
By default, cjdns' build system uses the system wide `/tmp` directory to store
intermediate build artifacts.
Unfortunately its build system fails to clean after itself, leaving thousands
of `jsmake-<hash>` directories behind, taking up precious inodes and massively
slowing down processes traversing the temporary directory:
root@buildbot:~# find /tmp/ -maxdepth 1 -type d -name 'jsmake-*' | wc -l
1581
Attempt to solve that problem by using the upstream-introduced
`CJDNS_BUILD_TMPDIR` environment variable in order to move the intermediate
artifacts from the system-wide `/tmp` to a temporary directory within the
package build dir which is properly deleted upon package rebuild cycles.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
kmod-ipv6 was retired as IPv6 support is now built-in unless
explicitely disabled.
@IPV6 refers to CONFIG_IPV6 from menuconfig which is enabled by
default.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This reverts commit bcaa87776f.
Caused circular dependencies; reverted for now. (kmod-ipv6 explicit
dependencies _should_ be eliminated though, but this is clearly not
the way.)
Fixes seccomp on ARM or musl-based builds, notable upstream changes:
a97c189 fix Hex_test unit test
4bceb72 seccomp: allow readv and writev syscalls (used by musl)
64f4791 seccomp: define GET_SYSCALL_NUM accessor macro
0102181 seccomp: allow gettimeofday syscall (required on ARM)
18979ee Add a check to prevent a rare assertion failure
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
upstream changes:
3d879c0 typo in GET32()
f964d14 Fixed IpTunnel unaligned access, thanks Viric for pointing it out
a05ade4 attempt to fix a rare assertion failure
6f1fdd8 Fix a memory leak in InterfaceController.c
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The current uci-defaults scripts assumes than a network interface named
'lan' always exists. Check if this is true before adding ETHInterface
section.
This is a temporary work-around until cjdrouteconf gets the Linux
interface from netifd via ubus...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
uci-defaults script complained about
sh: missing ]
fix this by adding the missing whitespace which caused the error.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Use hyperboria/cjdns source and squash changes from meshbox:
422062d cjdns: update source version
17fedb6 cjdns: bump release
bc113ec cjdns: remove musl patch
This includes fixes to build on aarch64 and mips64 targets.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>