babeld: new package
PATCH v2 1/1 babeld: new package
Babel is a loop-avoiding distance-vector routing protocol for IPv6 and IPv4 with fast convergence properties. It is based on the ideas in DSDV, AODV and Cisco's EIGRP, but is designed to work well not only in wired networks but also in wireless mesh networks, and has been extended with support for overlay networks.
https://www.irif.univ-paris-diderot.fr/~jch/software/babel/
---
Changes for v2:
- fix MAKE to actually cross-compile to target
- use commit message as the help message
- added note about verifying signature
--- package/Config.in | 1 + package/babeld/Config.in | 10 ++++++++++ package/babeld/babel.hash | 3 +++ package/babeld/babel.mk | 21 +++++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 package/babeld/Config.in create mode 100644 package/babeld/babel.hash create mode 100644 package/babeld/babel.mk
package/Config.in +1 -0
@@ -1114,6 +1114,7 @@ endmenu menu "Networking" source "package/agentpp/Config.in" + source "package/babeld/Config.in" source "package/batman-adv/Config.in" source "package/c-ares/Config.in" source "package/canfestival/Config.in"
package/babeld/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_BABELD + bool "babeld" + help + Babel is a loop-avoiding distance-vector routing protocol for IPv6 and + IPv4 with fast convergence properties. It is based on the ideas in DSDV, + AODV and Cisco's EIGRP, but is designed to work well not only in wired + networks but also in wireless mesh networks, and has been extended with + support for overlay networks. + + https://www.irif.univ-paris-diderot.fr/~jch/software/babel/
package/babeld/babel.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Verified against: +# https://www.irif.univ-paris-diderot.fr/~jch/software/files/babeld-1.7.1.tar.gz.asc +sha256 2c955e7d4ad971da1e860e5cedbaf1dd79903468ff6488b3f67102b2a8d087b6 babeld-1.7.1.tar.gz
package/babeld/babel.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# babeld +# +################################################################################ + +BABELD_VERSION = 1.7.1 +BABELD_SITE = https://www.irif.univ-paris-diderot.fr/~jch/software/files +BABELD_SOURCE = babeld-$(BABELD_VERSION).tar.gz +BABELD_LICENSE = as-is +BABELD_LICENSE_FILES = LICENSE + +define BABELD_BUILD_CMDS + $(MAKE) -C $(@D) CC="$(HOSTCC)" CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" +endef + +define BABELD_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/babeld $(TARGET_DIR)/usr/bin/babeld +endef + +$(eval $(generic-package))
Signature · 1 line
2.7.3
PATCH v2 1/1 babeld: new package
Hello,
package/babeld/babel.mk line 14
Quoted 2 lines · Christian Stewart
package/babeld/babel.mk new file +2
-0+define BABELD_BUILD_CMDS + $(MAKE) -C $(@D) CC="$(HOSTCC)" CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)"
So you are building a target package with the host compiler?
Come on, please pay attention... at least runtime test your new packages!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 babeld: new package
In reply to Christian StewartHi Christian,
package/babeld/babel.mk line 10
Quoted 4 lines · Christian Stewart
package/babeld/babel.mk new file +4
-0+BABELD_VERSION = 1.7.1 +BABELD_SITE = https://www.irif.univ-paris-diderot.fr/~jch/software/files +BABELD_SOURCE = babeld-$(BABELD_VERSION).tar.gz +BABELD_LICENSE = as-is
As I noted on your previous patch, this should be 'MIT'.
Quoted 1 line
+BABELD_LICENSE_FILES = LICENSE
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -