<div dir="ltr"><div style="font-size:13px">Hi,</div><div style="font-size:13px"><br></div><div style="font-size:13px">i added this package to my local packages and wanted to get some comment on it.</div><div style="font-size:13px">Are there any obvious problems/mistakes/things i should do differently?</div><div style="font-size:13px">What would i need to do to get this commited?</div><div style="font-size:13px"><br>Thank you</div><div style="font-size:13px">Jens</div><div style="font-size:13px"><br></div><div style="font-size:13px">From f5705034eeb6f2f95ac914837da615567b7c80da Mon Sep 17 00:00:00 2001</div><div style="font-size:13px">From: Jens Zettelmeyer <<a href="mailto:zettelmeyerj@googlemail.com" target="_blank">zettelmeyerj@googlemail.com</a>></div><div style="font-size:13px">Date: Thu, 5 Feb 2015 21:50:20 +0000</div><div style="font-size:13px">Subject: [PATCH] Add build for B.A.T.M.A.N. Advanced control utility</div><div style="font-size:13px"><br></div><div style="font-size:13px">---</div><div style="font-size:13px"> package/Config.in          |  1 +</div><div style="font-size:13px"> package/batctl/Config.in   |  9 +++++++++</div><div style="font-size:13px"> package/batctl/batctl.hash |  2 ++</div><div style="font-size:13px"> package/batctl/<a href="http://batctl.mk/" target="_blank">batctl.mk</a>   | 25 +++++++++++++++++++++++++</div><div style="font-size:13px"> 4 files changed, 37 insertions(+)</div><div style="font-size:13px"> create mode 100644 package/batctl/Config.in</div><div style="font-size:13px"> create mode 100644 package/batctl/batctl.hash</div><div style="font-size:13px"> create mode 100644 package/batctl/<a href="http://batctl.mk/" target="_blank">batctl.mk</a></div><div style="font-size:13px"><br></div><div style="font-size:13px">diff --git a/package/Config.in b/package/Config.in</div><div style="font-size:13px">index fe3d3d0..f9343c4 100644</div><div style="font-size:13px">--- a/package/Config.in</div><div style="font-size:13px">+++ b/package/Config.in</div><div style="font-size:13px">@@ -1054,6 +1054,7 @@ menu "Networking applications"</div><div style="font-size:13px"> <span style="white-space:pre-wrap">        </span>source "package/autossh/Config.in"</div><div style="font-size:13px"> <span style="white-space:pre-wrap">  </span>source "package/avahi/Config.in"</div><div style="font-size:13px"> <span style="white-space:pre-wrap">    </span>source "package/axel/Config.in"</div><div style="font-size:13px">+<span style="white-space:pre-wrap">      </span>source "package/batctl/Config.in"</div><div style="font-size:13px"> <span style="white-space:pre-wrap">   </span>source "package/bandwidthd/Config.in"</div><div style="font-size:13px"> <span style="white-space:pre-wrap">       </span>source "package/bcusdk/Config.in"</div><div style="font-size:13px"> <span style="white-space:pre-wrap">   </span>source "package/bind/Config.in"</div><div style="font-size:13px">diff --git a/package/batctl/Config.in b/package/batctl/Config.in</div><div style="font-size:13px">new file mode 100644</div><div style="font-size:13px">index 0000000..33275b1</div><div style="font-size:13px">--- /dev/null</div><div style="font-size:13px">+++ b/package/batctl/Config.in</div><div style="font-size:13px">@@ -0,0 +1,9 @@</div><div style="font-size:13px">+config BR2_PACKAGE_BATCTL</div><div style="font-size:13px">+<span style="white-space:pre-wrap">        </span>bool "batctl"</div><div style="font-size:13px">+<span style="white-space:pre-wrap">        </span>depends on BR2_USE_MMU # needs fork()</div><div style="font-size:13px">+<span style="white-space:pre-wrap">  </span>depends on BR2_INET_IPV6</div><div style="font-size:13px">+<span style="white-space:pre-wrap">       </span>select BR2_PACKAGE_LIBNL</div><div style="font-size:13px">+<span style="white-space:pre-wrap">       </span>help</div><div style="font-size:13px">+<span style="white-space:pre-wrap">   </span>  batman-adv controll utility</div><div style="font-size:13px">+</div><div style="font-size:13px">+<span style="white-space:pre-wrap">       </span>  <a href="http://www.open-mesh.org/projects/open-mesh/wiki" target="_blank">http://www.open-mesh.org/projects/open-mesh/wiki</a></div><div style="font-size:13px">diff --git a/package/batctl/batctl.hash b/package/batctl/batctl.hash</div><div style="font-size:13px">new file mode 100644</div><div style="font-size:13px">index 0000000..663e602</div><div style="font-size:13px">--- /dev/null</div><div style="font-size:13px">+++ b/package/batctl/batctl.hash</div><div style="font-size:13px">@@ -0,0 +1,2 @@</div><div style="font-size:13px">+# Locally calculated</div><div style="font-size:13px">+sha256<span style="white-space:pre-wrap">       </span>77509ed70232ebc0b73e2fa9471ae13b12d6547d167dda0a82f7a7fad7252c36  batctl-2014.4.0.tar.gz</div><div style="font-size:13px">diff --git a/package/batctl/<a href="http://batctl.mk/" target="_blank">batctl.mk</a> b/package/batctl/<a href="http://batctl.mk/" target="_blank">batctl.mk</a></div><div style="font-size:13px">new file mode 100644</div><div style="font-size:13px">index 0000000..087d7e6</div><div style="font-size:13px">--- /dev/null</div><div style="font-size:13px">+++ b/package/batctl/<a href="http://batctl.mk/" target="_blank">batctl.mk</a></div><div style="font-size:13px">@@ -0,0 +1,25 @@</div><div style="font-size:13px">+################################################################################</div><div style="font-size:13px">+#</div><div style="font-size:13px">+# batman-adv control</div><div style="font-size:13px">+#</div><div style="font-size:13px">+################################################################################</div><div style="font-size:13px">+</div><div style="font-size:13px">+BATCTL_VERSION = 2014.4.0</div><div style="font-size:13px">+BATCTL_SOURCE = batctl-$(BATCTL_VERSION).tar.gz</div><div style="font-size:13px">+BATCTL_SITE = <a href="http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)" target="_blank">http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)</a></div><div style="font-size:13px">+BATCTL_LICENSE = GPLv2+</div><div style="font-size:13px">+BATCTL_DEPENDENCIES += libnl</div><div style="font-size:13px">+BATCTL_CFLAGS += "-I$(STAGING_DIR)/usr/include/libnl3</div><div style="font-size:13px">+</div><div style="font-size:13px">+define BATCTL_BUILD_CMDS</div><div style="font-size:13px">+<span style="white-space:pre-wrap">   </span>$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" \</div><div style="font-size:13px">+<span style="white-space:pre-wrap">              </span>CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3" \</div><div style="font-size:13px">+        DBM_INCLUDE="$(STAGING_DIR)/usr/include" \</div><div style="font-size:13px">+<span style="white-space:pre-wrap">             </span>LDFLAGS="$(TARGET_LDFLAGS)"</div><div style="font-size:13px">+endef</div><div style="font-size:13px">+</div><div style="font-size:13px">+define BATCTL_INSTALL_TARGET_CMDS</div><div style="font-size:13px">+<span style="white-space:pre-wrap"> </span>$(INSTALL) -m 755 -D $(@D)/batctl $(TARGET_DIR)/usr/sbin/batctl</div><div style="font-size:13px">+endef</div><div style="font-size:13px">+</div><div style="font-size:13px">+$(eval $(generic-package))</div></div>