Commit Graph

44 Commits

Author SHA1 Message Date
Florian Eckert 1c3f6b1599 cjdns: upgrade uci-defaults for ucitrack handling to use json
Conversion of the 'uci-defaults' script for ucitrack handling to the new
json processing.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-16 08:53:10 +02:00
Paul Spooren c80474dd82
cjdns: switch version to be APK compatible (#1060) 2024-04-07 13:46:59 +02:00
William Fleurant 601bd6c045
cjdns: always build without ccache prefix
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-10-29 10:05:17 +01:00
William Fleurant e8856b93da
cjdns: patch of gyp imports support python3.10 (#974) 2023-05-21 03:33:54 +02:00
Caleb James DeLisle a26e3441d8
cjdns: Fix dangling pointer bug (#964)
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>
2023-04-18 15:14:08 +02:00
William Fleurant d705f79890
cjdns: support the supernodes feature (#884)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2022-06-20 21:31:44 +02:00
William Fleurant 217330bb5e
cjdns: bump v21.1 and patch find-python (#883)
* 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>
2022-06-18 19:01:00 +02:00
William Fleurant 71c11ab1b7
cjdns: pass for some build warnings (#738)
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>
2021-10-19 22:09:02 +02:00
Etienne Champetier 383c52ff8d
cjdns: fix uci-defaults (#714)
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>
2021-08-19 13:05:07 +02:00
Rosen Penev 25d53e8462 cjdns: use codeload
Simplifies Makefile slightly. Hopefully more consistent tarballs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-26 11:52:20 +00:00
Rosen Penev 0907cf0a94 cjdns: update to 21
Fixed compilation with musl 1.2.x , mostly.

Added a patch fixing compilation on 32-bit platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-26 11:52:20 +00:00
William Fleurant 102ae19b73
cjdns: patch: allows buildbot(s) 3 extra minutes to finish async routines (#531)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2019-11-14 14:51:38 -05:00
William Fleurant d0e785aff3
cjdns: luci-app-cjdns: fix up Makefiles, bump pkg vers (#526)
* cjdns: luci-app-cjdns: fix up Makefiles, bump pkg vers
* cjdns: remove excess PKG_* variables 

Signed-off-by: William Fleurant <meshnet@protonmail.com>
2019-11-09 21:40:04 -05:00
William Fleurant 79a4543cf0
cjdns: luci-app-cjdns: update maintainer (#524)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2019-11-03 12:57:42 -05:00
Michal Hrušecký f75b19d42f cjdns: Update to the latest version (#523)
Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net>
2019-11-03 12:34:43 -05:00
Rosen Penev 9f5d42692e cjdns-tests: Don't build on ARC (#487)
Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-29 13:38:51 -04:00
Rosen Penev ac8fc386fc cjdns: Do not build on ARC
Is not supported by node.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-17 15:38:13 -07:00
Alexander Krupenkin 7ae81c8311
cjdns: 20.1 -> 20.2 2018-05-02 17:33:13 +03:00
Alexander Krupenkin 4bff0b3c65
cjdns: build fixes 2018-04-13 12:17:51 +03:00
Alexander Krupenkin 733e935f04
cjdns: v20 -> v20.1 2018-02-18 13:44:02 +03:00
Alexander Krupenkin dabd5842b4 cjdns: update to version 0.20
Signed-off-by: Alexander Krupenkin <mail@akru.me>
2017-12-21 13:10:23 +01:00
Jo-Philipp Wich 64747c9bdf cjdns: use temporary directory within the build environment
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>
2016-06-06 17:16:46 +02:00
Lars Gierth 2a8338559d cjdns: update source, bump release
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-06 04:59:44 +01:00
Lars Gierth d97d2f2990 cjdns: fix dependency on git revision
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-06 04:59:42 +01:00
Daniel Golle 72276f4ca6 cjdns: depend on @IPV6 instead of kmod-ipv6
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>
2016-01-14 01:48:37 +01:00
Daniel Golle dc39b5245e cjdns: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-14 01:45:38 +01:00
Markus Stenberg 5cd413d16a Revert "kmod-ipv6 => @IPV6."
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.)
2015-12-12 00:25:10 +02:00
Markus Stenberg bcaa87776f kmod-ipv6 => @IPV6. 2015-12-11 14:05:14 +02:00
Lars Gierth 57b8c8726a cjdns: update source, bump version 2015-10-09 16:53:21 +02:00
Caleb James DeLisle fdd1fbf6e1 cjdns: fix build on mac osx
Signed-off-by: Lars Gierth <larsg@systemli.org>

Conflicts:
	cjdns/Makefile
2015-06-23 14:43:07 +02:00
Lars Gierth 98d7598890 cjdns: update source, bump version
Signed-off-by: Lars Gierth <larsg@systemli.org>

Conflicts:
	cjdns/Makefile
2015-06-23 14:43:02 +02:00
Daniel Golle 3c3d76bea9 cjdns: update source, bump release
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>
2015-05-21 13:19:36 +02:00
Daniel Golle aecf7641ca cjdns: package test cases
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-05-15 21:05:59 +02:00
Lars Gierth 1689eab850 cjdns: bump release
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-05-13 01:41:44 +02:00
Lars Gierth 2bab58cdcb cjdns: add seccomp config flag
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-05-13 01:39:01 +02:00
Lars Gierth 031353c9ca cjdns: add copyright notice to Makefile
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-05-13 01:38:56 +02:00
Daniel Golle b81b9a9dd4 cjdns: update source, bump release
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>
2015-05-12 21:02:55 +02:00
Lars Gierth c63ccc4fa2 cjdns: update source, bump release
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-05-03 21:22:07 +02:00
Daniel Golle e26942118b cjdns: uci-defaults: work around missing lan interface
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>
2015-04-30 19:34:10 +02:00
Daniel Golle 25d637576d cjdns: uci-defaults: fix shell syntax error
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>
2015-04-30 19:19:10 +02:00
Lars Gierth aedfe045da cjdns: update source version and bump release
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>
2015-04-27 14:41:29 +02:00
Lars Gierth 2a6a5d6084 cjdns: parse lan ifname more gracefully
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-27 04:18:30 +02:00
Daniel Golle f5eb74fa4d cjdns: support libc other than uClibc
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-21 13:26:06 +02:00
Daniel Golle cd765e581d cjdns: import package from github.com:SeattleMeshnet/meshbox
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-17 14:50:16 +02:00