[packages] babeld: new upstream release 1.4.2

INCOMPATIBLE CHANGE: the former option import_table is now a list in
/etc/config/babeld.

Default values for interface parameters, introduced in this release, are
not supported yet in UCI config.

19 June 2013: babeld-1.4.2

  * Extensive changes to the configuration parser.  It is now possible
    to set all command-line options from the configuration file, and
    to specify default values for interface parameters.
  * Allow redistributing routes from multiple kernel tables.  Thanks
    to Toke Høiland-Jørgensen.
  * Fix some whitespace issues in the configuration parser.
  * Fix a bug in the configuration parser that could give wrong values
    to some exotic interface parameters (channel and faraway).
  * Fix a bug that could cause some extra traffic at shutdown.  Thanks
    to Matthieu Boutier.
  * Under Linux, set rp_filter explicitly for all interfaces.  This
    avoids mysterious routing failures on distributions that set
    rp_filter by default.  Reported by Baptiste Jonglez.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@36990 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kerneis 2013-06-21 16:53:06 +00:00
parent 6ec3f47552
commit 9f041557a0
3 changed files with 12 additions and 5 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=babeld PKG_NAME:=babeld
PKG_VERSION:=1.4.1 PKG_VERSION:=1.4.2
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/ PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/
PKG_MD5SUM:=406bbd940e3a9019d832d20e277266f2 PKG_MD5SUM:=a48e8129f221f66640ae1ccf73190991
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -23,8 +23,9 @@ config general
## option 'keep_unfeasible' 'false' ## option 'keep_unfeasible' 'false'
# Use the given kernel routing table for routes inserted by babeld. # Use the given kernel routing table for routes inserted by babeld.
## option 'export_table' '0' ## option 'export_table' '0'
# Export routes from the given kernel routing table. # Export routes from the given kernel routing tables.
## option 'import_table' '0' ## list 'import_table' '0'
## list 'import_table' '42'
# The configuration file is not necessary since you can do everything # The configuration file is not necessary since you can do everything
# from this file. # from this file.
# option 'conf_file' '/etc/babeld.conf' # option 'conf_file' '/etc/babeld.conf'

View File

@ -33,6 +33,12 @@ append_bool() {
[ "$_loctmp" -gt 0 ] && append args "$value" [ "$_loctmp" -gt 0 ] && append args "$value"
} }
append_switch() {
local value="$1"
local switch="$2"
append args "$switch $value"
}
append_parm() { append_parm() {
local section="$1" local section="$1"
local option="$2" local option="$2"
@ -112,7 +118,7 @@ babel_config() {
append_parm "$cfg" 'debug' '-d' append_parm "$cfg" 'debug' '-d'
append_parm "$cfg" 'local_server' '-g' append_parm "$cfg" 'local_server' '-g'
append_parm "$cfg" 'export_table' '-t' append_parm "$cfg" 'export_table' '-t'
append_parm "$cfg" 'import_table' '-T' config_list_foreach "$cfg" 'import_table' append_switch '-T'
append_parm "$cfg" 'conf_file' '-c' append_parm "$cfg" 'conf_file' '-c'
append_parm "$cfg" 'log_file' '-L' append_parm "$cfg" 'log_file' '-L'
} }