Skip to contentSkip to conversation

batctl: Add version 2011.3.0 (initial recipe)

PATCH In review Todd Kempel 2 participants 2 messages Nov 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 batctl: Add version 2011.3.0 (initial recipe)

* batmand is included in the current OE repository but is not being actively maintained. The batman-adv kernel module is a replacement for batmand and requires batctl for operation. Recipe has been tested and binary found fully operational using Angstrom on gumstix board.

---
 recipes/batctl/batctl.inc         |   20 ++++++++++++++++++++
 recipes/batctl/batctl_2011.3.0.bb |    6 ++++++
 2 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes/batctl/batctl.inc
 create mode 100644 recipes/batctl/batctl_2011.3.0.bb
recipes/batctl/batctl.inc new file +20 -0
new file mode 100644
index 0000000..75bb62f
@@ -0,0 +1,20 @@
+DESCRIPTION = "Control application for B.A.T.M.A.N. routing protocol kernel module for multi-hop ad-hoc mesh networks."
+HOMEPAGE = "http://www.open-mesh.net/"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+INC_PR = "r0"
+
+RDEPENDS_${PN} = "kernel-module-batman-adv"
+
+SRC_URI = "http://downloads.open-mesh.net/batman/stable/sources/batctl/batctl-${PV}.tar.gz"
+
+do_compile() {
+  oe_runmake
+}
+
+do_install() {
+  install -d ${D}${bindir}
+  install -m 0755 batctl ${D}${bindir}
+}
recipes/batctl/batctl_2011.3.0.bb new file +6 -0
new file mode 100644
index 0000000..97d8e17
@@ -0,0 +1,6 @@
+require batctl.inc
+PR = "${INC_PR}.0"
+
+
+SRC_URI[md5sum] = "8eb197896049bb04a6beef56015a16b6"
+SRC_URI[sha256sum] = "94922fd167d2bca5193cc7465bfc212c2c3595da70e653506493dfc65e4410fb"
Signature · 1 line
1.7.4.1
#1 lore raw

Dear Todd,

thank you for the follow up.

Am Montag, den 14.11.2011, 09:17 -0600 schrieb Todd Kempel:

Quoted 2 lines

* batmand is included in the current OE repository but is not being actively maintained. The batman-adv kernel module is a replacement for batmand and requires batctl for operation.

Is batmand still useful? If yes, could you do a clean up?

Quoted 16 lines

Recipe has been tested and binary found fully operational using Angstrom on gumstix board.

---
 recipes/batctl/batctl.inc         |   20 ++++++++++++++++++++
 recipes/batctl/batctl_2011.3.0.bb |    6 ++++++
 2 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes/batctl/batctl.inc
 create mode 100644 recipes/batctl/batctl_2011.3.0.bb
recipes/batctl/batctl.inc new file +0 -0
new file mode 100644
index 0000000..75bb62f

recipes/batctl/batctl.inc line 5

Quoted 5 lines
recipes/batctl/batctl.inc new file +5 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "Control application for B.A.T.M.A.N. routing protocol kernel module for multi-hop ad-hoc mesh networks."
+HOMEPAGE = "http://www.open-mesh.net/"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"

I corrected the license field.

/*
* Copyright (C) 2007-2011 B.A.T.M.A.N. contributors:
*
* Andreas Langer <[email protected]>, Marek Lindner <[email protected]> *
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA
*
*/

Quoted 21 lines
recipes/batctl/batctl.inc new file +15 -0
+
+INC_PR = "r0"
+
+RDEPENDS_${PN} = "kernel-module-batman-adv"
+
+SRC_URI = "http://downloads.open-mesh.net/batman/stable/sources/batctl/batctl-${PV}.tar.gz"
+
+do_compile() {
+  oe_runmake
+}
+
+do_install() {
+  install -d ${D}${bindir}
+  install -m 0755 batctl ${D}${bindir}
+}
recipes/batctl/batctl_2011.3.0.bb new file +0 -0
new file mode 100644
index 0000000..97d8e17

recipes/batctl/batctl_2011.3.0.bb line 6

Quoted 6 lines
recipes/batctl/batctl_2011.3.0.bb new file +6 -0
@@ -0,0 +1,6 @@
+require batctl.inc
+PR = "${INC_PR}.0"
+
+
+SRC_URI[md5sum] = "8eb197896049bb04a6beef56015a16b6"
+SRC_URI[sha256sum] = "94922fd167d2bca5193cc7465bfc212c2c3595da70e653506493dfc65e4410fb"

I pushed this as ee6171ae [1]. Could you please update the state in the patch queue [2].

Otherwise please note that OE-core and meta-oe get the most development today. It would be great if you could also submit your recipe for inclusion in meta-oe.

Thanks,

Paul

[1] http://git.openembedded.org/openembedded/commit/?id=ee6171aee5f69f079bf87dd143f80899bddd6755
[2] http://www.openembedded.org/wiki/Patchwork