include $(TOPDIR)/rules.mk
PKG_NAME:=babel
-PKG_VERSION:=0.14
+PKG_VERSION:=0.15
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
-PKG_MD5SUM:=d850a0e5044acb64038205197503937e
+PKG_MD5SUM:=510da09a471bba78bb8178810094e3de
include $(INCLUDE_DIR)/package.mk
never counting to infinity.
endef
+define Package/babel/conffiles
+/etc/babel.conf
+endef
+
MAKE_FLAGS += \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
define Package/babel/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/babel $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_CONF) ./files/babel.conf $(1)/etc/
endef
$(eval $(call BuildPackage,babel))
--- /dev/null
+# babel config file
+# Copyright (C) 2008 Juliusz Chroboczek, L. Aaron Kaplan
+# <jch@pps.jussieu.fr> , <aaron@lo-res.org>
+#
+# This config file simply docuements sample entries.
+# "redistribute" means: redistribute routes from other
+# routing protocols into babel. "local" means addresses assigned to local interfaces.
+#
+# the default rules are:
+#
+## redistribute local
+## redistribute deny
+#
+# this says, redistribute local addresses but no other routes
+
+
+
+# redistribute IPv4 default route into babel
+## redistribute local 0.0.0.0/0 le 0 metric 128
+
+# same but for IPv6
+## redistribute local ::/0 le 0 metric 128
+
+# don't redistribute all local addresses, only selected ones
+# after the first line, the "deny" rules kicks in. After the "deny"
+# no redistribute local rules are going to match
+## redistribute local ip 192.160.4.0/24
+## redistribute local deny
+# babel config file
+# Copyright (C) 2008 Juliusz Chroboczek, L. Aaron Kaplan
+# <jch@pps.jussieu.fr> , <aaron@lo-res.org>
+#
+# This config file simply docuements sample entries.
+# "redistribute" means: redistribute routes from other
+# routing protocols into babel. "local" means addresses assigned to local interfaces.
+#
+# the default rules are:
+#
+## redistribute local
+## redistribute deny
+#
+# this says, redistribute local addresses but no other routes
+
+
+
+# redistribute IPv4 default route into babel
+## redistribute local 0.0.0.0/0 le 0 metric 128
+
+# same but for IPv6
+## redistribute local ::/0 le 0 metric 128
+
+# don't redistribute all local addresses, only selected ones
+# after the first line, the "deny" rules kicks in. After the "deny"
+# no redistribute local rules are going to match
+## redistribute local ip 192.160.4.0/24
+## redistribute local deny