Skip to contentSkip to conversation

batctl: new package

PATCH New Jens Zettelmeyer 2 participants 3 messages Feb 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batctl: new package

From: user <[email protected]>

---
 package/Config.in          |  1 +
 package/batctl/Config.in   |  9 +++++++++
 package/batctl/batctl.hash |  2 ++
 package/batctl/batctl.mk   | 23 +++++++++++++++++++++++
 4 files changed, 35 insertions(+)
 create mode 100644 package/batctl/Config.in
 create mode 100644 package/batctl/batctl.hash
 create mode 100644 package/batctl/batctl.mk
package/Config.in +1 -0
index fe3d3d0..b9d6753 100644
@@ -1055,6 +1055,7 @@ menu "Networking applications"
 	source "package/avahi/Config.in"
 	source "package/axel/Config.in"
 	source "package/bandwidthd/Config.in"
+	source "package/batctl/Config.in"
 	source "package/bcusdk/Config.in"
 	source "package/bind/Config.in"
 	source "package/bluez_utils/Config.in"
package/batctl/Config.in new file +9 -0
new file mode 100644
index 0000000..56badd3
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_BATCTL
+	bool "batctl"
+	depends on BR2_INET_IPV6
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+	select BR2_PACKAGE_LIBNL
+	help
+	  Batctl is the configuration and debugging tool for batman-adv.
+	  
+	  http://www.open-mesh.org/projects/batman-adv/wiki/Using-batctl
package/batctl/batctl.hash new file +2 -0
new file mode 100644
index 0000000..663e602
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	77509ed70232ebc0b73e2fa9471ae13b12d6547d167dda0a82f7a7fad7252c36  batctl-2014.4.0.tar.gz
package/batctl/batctl.mk new file +23 -0
new file mode 100644
index 0000000..a65a5cd
@@ -0,0 +1,23 @@
+################################################################################
+#
+# batman-adv control
+#
+################################################################################
+
+BATCTL_VERSION = 2014.4.0
+BATCTL_SOURCE = batctl-$(BATCTL_VERSION).tar.gz
+BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
+BATCTL_LICENSE = GPLv2
+BATCTL_DEPENDENCIES += libnl
+
+define BATCTL_BUILD_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" \
+	CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3" \
+	LDFLAGS="$(TARGET_LDFLAGS)"
+endef
+
+define BATCTL_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 755 -D $(@D)/batctl $(TARGET_DIR)/usr/sbin/batctl
+endef
+
+$(eval $(generic-package))
Signature · 1 line
2.0.5
#1 lore raw

PATCH 1/1 batctl: new package

Dear Jens Zettelmeyer,

Quoted 1 line · Jens Zettelmeyer

From: user <[email protected]>

Does not look good.

Quoted 10 lines
---
 package/Config.in          |  1 +
 package/batctl/Config.in   |  9 +++++++++
 package/batctl/batctl.hash |  2 ++
 package/batctl/batctl.mk   | 23 +++++++++++++++++++++++
 4 files changed, 35 insertions(+)
 create mode 100644 package/batctl/Config.in
 create mode 100644 package/batctl/batctl.hash
 create mode 100644 package/batctl/batctl.mk

Also, you have taken into account none of the comments I made at:
http://lists.busybox.net/pipermail/buildroot/2015-February/118951.html.

Can you look at these comments?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 batctl: new package

Hi,

oh you are right, haven't seen all those comments. I'll try to adjust the file accordingly.
And i'll try to find out where this "user" is comming from.

Thank you
Jens

2015-02-08 20:23 GMT+00:00 Thomas Petazzoni <
[email protected]>:

Quoted 23 lines

Dear Jens Zettelmeyer,

Quoted 1 line · Jens Zettelmeyer

From: user <[email protected]>

Does not look good.

Quoted 10 lines
---
 package/Config.in          |  1 +
 package/batctl/Config.in   |  9 +++++++++
 package/batctl/batctl.hash |  2 ++
 package/batctl/batctl.mk   | 23 +++++++++++++++++++++++
 4 files changed, 35 insertions(+)
 create mode 100644 package/batctl/Config.in
 create mode 100644 package/batctl/batctl.hash
 create mode 100644 package/batctl/batctl.mk

Also, you have taken into account none of the comments I made at:
http://lists.busybox.net/pipermail/buildroot/2015-February/118951.html.

Can you look at these comments?

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150208/f60384ce/attachment.html>