2013-10-28 17:16:56 +01:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2009 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=babeld
|
2016-12-21 21:39:31 +01:00
|
|
|
PKG_VERSION:=1.8.0
|
2017-01-09 17:11:58 +01:00
|
|
|
PKG_RELEASE:=2
|
2013-10-28 17:16:56 +01:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2016-07-30 13:29:00 +02:00
|
|
|
PKG_SOURCE_URL:=https://www.irif.univ-paris-diderot.fr/~jch/software/files/
|
2016-12-21 21:39:31 +01:00
|
|
|
PKG_MD5SUM:=eb1c66c382e9181c418ebd84e52b5af2
|
2014-11-03 13:16:46 +01:00
|
|
|
PKG_LICENSE:=MIT
|
2013-10-28 17:16:56 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/babeld
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=Routing and Redirection
|
|
|
|
TITLE:=A loop-free distance-vector routing protocol
|
|
|
|
URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/babel/
|
|
|
|
MAINTAINER:=Gabriel Kerneis <gabriel@kerneis.info>
|
2016-06-05 02:13:13 +02:00
|
|
|
DEPENDS:=@IPV6
|
2013-10-28 17:16:56 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/babeld/description
|
|
|
|
Babel is a loop-avoiding distance-vector routing protocol roughly based
|
|
|
|
on DSDV and AODV, but with provisions for link cost estimation and
|
|
|
|
redistribution of routes from other routing protocols.
|
|
|
|
While it is optimised for wireless mesh networks, Babel will also work
|
|
|
|
efficiently on wired networks. It will generate between 1.2 and 2.4 times
|
|
|
|
the amount of routing traffic that RIPng would generate, while
|
|
|
|
never counting to infinity.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/babeld/conffiles
|
|
|
|
/etc/babeld.conf
|
|
|
|
/etc/config/babeld
|
|
|
|
endef
|
|
|
|
|
|
|
|
MAKE_FLAGS+= \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2015-05-21 08:24:18 +02:00
|
|
|
LDLIBS="" \
|
2013-10-28 17:16:56 +01:00
|
|
|
|
|
|
|
define Package/babeld/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/babeld $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_CONF) ./files/babeld.conf $(1)/etc/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) ./files/babeld.config $(1)/etc/config/babeld
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/babeld.init $(1)/etc/init.d/babeld
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,babeld))
|