commit 2e2299192da9bcec50a4c72def55cbe20bcb6c72
parent 3741ec494582aa220f1173d6ab0aeb93b0f2e8e1
Author: Daniel Golle <daniel@makrotopia.org>
Date: Tue, 4 Aug 2015 22:15:54 +0200
gnunet: update source, add iptables dependency
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat:
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/net/gnunet/Makefile b/net/gnunet/Makefile
@@ -8,12 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gnunet
-PKG_SOURCE_VERSION:=36190
+PKG_SOURCE_VERSION:=36242
PKG_VERSION:=0.10.1-svn$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
# ToDo:
-# - UCI integration
# - break-out {peer,name,data}store for each backend
# - package testing stuff
@@ -237,7 +236,7 @@ LIBEXEC_transport-bluetooth:=helper-transport-bluetooth
DEPENDS_utils:=+certtool +openssl-util
BIN_utils:=gns-proxy-setup-ca transport-certificate-creation
-DEPENDS_vpn:=+kmod-tun
+DEPENDS_vpn:=+kmod-tun +iptables
BIN_vpn:=vpn
LIB_vpn:=tun vpn
LIBEXEC_vpn:=daemon-exit daemon-pt helper-exit helper-vpn service-vpn
diff --git a/net/gnunet/files/gnunet.defaults b/net/gnunet/files/gnunet.defaults
@@ -28,13 +28,9 @@ uci set gnunet.pt.FORCESTART=YES
uci set gnunet.exit=gnunet-config
uci set gnunet.exit.AUTOSTART=YES
uci set gnunet.exit.FORCESTART=YES
-uci set gnunet.exit.EXIT_IPV4=YES
-uci set gnunet.exit.EXIT_RANGE_IPV4_POLICY="169.254.86.1:7;169.254.86.1:5201;"
-
-# iperf (TCP) and echo (UDP) for battlemesh
-uci set gnunet.iperf=gnunet-exit-service
-uci set gnunet.iperf.TCP_REDIRECTS="5201:169.254.86.1:5201"
-uci set gnunet.echo=gnunet-exit-service
-uci set gnunet.echo.UDP_REDIRECTS="7:169.254.86.1:7"
+
+# increase WORKDELAY to something more sane on small CPUs
+uci set gnunet.nse=gnunet-config
+uci set gnunet.nse.WORKDELAY='500 ms'
uci commit gnunet