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
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
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