[batctl] Initial import (#707720).

John W. Linville linville at fedoraproject.org
Fri Jul 27 15:23:47 UTC 2012


commit 2c8e7e0584f3124db68776c00be95052c3e50415
Author: John W. Linville <linville at tuxdriver.com>
Date:   Fri Jul 27 11:23:30 2012 -0400

    Initial import (#707720).

 .gitignore  |    1 +
 batctl.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..37d5bbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/batctl-2012.2.0.tar.gz
diff --git a/batctl.spec b/batctl.spec
new file mode 100644
index 0000000..b7c3c79
--- /dev/null
+++ b/batctl.spec
@@ -0,0 +1,52 @@
+Name:           batctl
+Version:        2012.2.0
+Release:        1%{?dist}
+Summary:        B.A.T.M.A.N. advanced control and management tool
+
+Group:          System Environment/Base
+License:        GPLv2
+URL:            http://www.open-mesh.org/
+Source0:        http://downloads.open-mesh.org/batman/stable/sources/batctl/%{name}-%{version}.tar.gz
+
+
+%description
+batctl offers a convenient way to configure the batman-adv kernel module
+as well as displaying debug information such as originator tables,
+translation tables and the debug log. In combination with a bat-hosts
+file batctl allows the use of host names instead of MAC addresses.
+
+B.A.T.M.A.N. advanced operates on layer 2. Thus all hosts participating
+in the virtual switched network are transparently connected together
+for all protocols above layer 2. Therefore the common diagnosis tools
+do not work as expected. To overcome these problems batctl contains the
+commands ping, traceroute, tcpdump which provide similar functionality
+to the normal ping(1), traceroute(1), tcpdump(1) commands, but modified
+to layer 2 behaviour or using the B.A.T.M.A.N. advanced protocol.
+
+
+%prep
+%setup -q
+
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags}" %{name}
+
+
+%install
+make DESTDIR=%{buildroot} PREFIX=/usr install
+install -d %{buildroot}%{_mandir}/man8
+install -pm 0644 man/batctl.8 %{buildroot}%{_mandir}/man8
+
+
+%files
+%{_sbindir}/%{name}
+%{_mandir}/man8/*
+%doc README bat-hosts.sample
+
+
+%changelog
+* Wed May 25 2011 John W. Linville <linville at redhat.com> - 2012.2.0-1
+- Update for latest upstream version
+
+* Wed May 25 2011 John W. Linville <linville at redhat.com> - 2011.1.0-1
+- Initial release for Fedora
diff --git a/sources b/sources
index e69de29..9131f1c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7abd284098c514d3f2858e8a956c495e  batctl-2012.2.0.tar.gz


More information about the scm-commits mailing list