* [Buildroot] [PATCH v1 1/1] babeld: new package
@ 2016-06-07 4:47 Christian Stewart
2016-06-07 6:04 ` Baruch Siach
2016-06-07 7:23 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Christian Stewart @ 2016-06-07 4:47 UTC (permalink / raw)
To: buildroot
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/
Signed-off-by: Christian Stewart <christian@paral.in>
---
package/Config.in | 1 +
package/babeld/Config.in | 6 ++++++
package/babeld/babel.hash | 2 ++
package/babeld/babel.mk | 21 +++++++++++++++++++++
4 files changed, 30 insertions(+)
create mode 100644 package/babeld/Config.in
create mode 100644 package/babeld/babel.hash
create mode 100644 package/babeld/babel.mk
diff --git a/package/Config.in b/package/Config.in
index 9f6e0d9..3a4a9b8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1113,6 +1113,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"
diff --git a/package/babeld/Config.in b/package/babeld/Config.in
new file mode 100644
index 0000000..d195fb2
--- /dev/null
+++ b/package/babeld/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_BABELD
+ bool "babeld"
+ help
+ Babel routing daemon.
+
+ https://github.com/jech/babeld
diff --git a/package/babeld/babel.hash b/package/babeld/babel.hash
new file mode 100644
index 0000000..0ee64c4
--- /dev/null
+++ b/package/babeld/babel.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 2c955e7d4ad971da1e860e5cedbaf1dd79903468ff6488b3f67102b2a8d087b6 babeld-1.7.1.tar.gz
diff --git a/package/babeld/babel.mk b/package/babeld/babel.mk
new file mode 100644
index 0000000..789aa9f
--- /dev/null
+++ b/package/babeld/babel.mk
@@ -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)
+endef
+
+define BABELD_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 755 $(@D)/babeld $(TARGET_DIR)/usr/bin/babeld
+endef
+
+$(eval $(generic-package))
--
2.7.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v1 1/1] babeld: new package
2016-06-07 4:47 [Buildroot] [PATCH v1 1/1] babeld: new package Christian Stewart
@ 2016-06-07 6:04 ` Baruch Siach
2016-06-07 7:23 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2016-06-07 6:04 UTC (permalink / raw)
To: buildroot
Hi Christian,
On Mon, Jun 06, 2016 at 09:47:19PM -0700, Christian Stewart wrote:
> 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/
>
> Signed-off-by: Christian Stewart <christian@paral.in>
> ---
> package/Config.in | 1 +
> package/babeld/Config.in | 6 ++++++
> package/babeld/babel.hash | 2 ++
> package/babeld/babel.mk | 21 +++++++++++++++++++++
> 4 files changed, 30 insertions(+)
> create mode 100644 package/babeld/Config.in
> create mode 100644 package/babeld/babel.hash
> create mode 100644 package/babeld/babel.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 9f6e0d9..3a4a9b8 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1113,6 +1113,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"
> diff --git a/package/babeld/Config.in b/package/babeld/Config.in
> new file mode 100644
> index 0000000..d195fb2
> --- /dev/null
> +++ b/package/babeld/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_BABELD
> + bool "babeld"
> + help
> + Babel routing daemon.
> +
> + https://github.com/jech/babeld
The like you provide in the commit log looks more informative to me. The
commit log also fits here as help text IMO.
> diff --git a/package/babeld/babel.hash b/package/babeld/babel.hash
> new file mode 100644
> index 0000000..0ee64c4
> --- /dev/null
> +++ b/package/babeld/babel.hash
> @@ -0,0 +1,2 @@
> +# Locally computed
Have you verified the gpg signature
(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
> diff --git a/package/babeld/babel.mk b/package/babeld/babel.mk
> new file mode 100644
> index 0000000..789aa9f
> --- /dev/null
> +++ b/package/babeld/babel.mk
> @@ -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
Looks like the MIT license (https://opensource.org/licenses/MIT).
> +BABELD_LICENSE_FILES = LICENSE
> +
> +define BABELD_BUILD_CMDS
> + $(MAKE) -C $(@D)
> +endef
> +
> +define BABELD_INSTALL_TARGET_CMDS
> + $(INSTALL) -D -m 755 $(@D)/babeld $(TARGET_DIR)/usr/bin/babeld
> +endef
> +
> +$(eval $(generic-package))
--
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 -
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] [PATCH v1 1/1] babeld: new package
2016-06-07 4:47 [Buildroot] [PATCH v1 1/1] babeld: new package Christian Stewart
2016-06-07 6:04 ` Baruch Siach
@ 2016-06-07 7:23 ` Thomas Petazzoni
2016-06-07 18:33 ` Christian Stewart
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-06-07 7:23 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 6 Jun 2016 21:47:19 -0700, Christian Stewart wrote:
> +define BABELD_BUILD_CMDS
> + $(MAKE) -C $(@D)
> +endef
Are you *sure* this is producing a binary built for the target? Since
you are not passing any CC/LD/CXX/etc. variables, I doubt it.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-07 18:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 4:47 [Buildroot] [PATCH v1 1/1] babeld: new package Christian Stewart
2016-06-07 6:04 ` Baruch Siach
2016-06-07 7:23 ` Thomas Petazzoni
2016-06-07 18:33 ` Christian Stewart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox