Commit Graph

23 Commits

Author SHA1 Message Date
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