Package: olsrd Version: 0.6.2-1 Severity: wishlist Tags: patch olsrd includes a program called olsr_switch, which allows people to test OLSR network configurations without actual hardware. This patch just builds it and includes it as part of the olsrd package. It should be part of the olsrd package because it is tightly integrated with olsrd and requires the private .so plugins to run. (Lintian will complain if its in a separate package than those private .so plugins).
This patch assumes the patches in bug #658559 are already applied: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658559
From 04189e2a74f9346678e3f256e1ba4e1b54934605 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner <h...@eds.org> Date: Thu, 2 Feb 2012 20:58:39 -0500 Subject: [PATCH 09/11] add olsr_switch program and man page to 'olsrd' package --- debian/rules | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/debian/rules b/debian/rules index 7cfd4ee..a67cfa8 100755 --- a/debian/rules +++ b/debian/rules @@ -10,9 +10,11 @@ override_dh_auto_build: $(MAKE) $(MAKE) libs $(MAKE) -C gui/linux-gtk + $(MAKE) -C src/olsr_switch override_dh_auto_clean: dh_auto_clean + $(MAKE) -C src/olsr_switch clean $(MAKE) -C $(CURDIR)/gui/linux-gtk clean rm -f $(CURDIR)/gui/linux-gtk/olsrd-gui $(MAKE) clean @@ -25,6 +27,11 @@ override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/olsrd install STRIP=: $(MAKE) DESTDIR=$(CURDIR)/debian/olsrd-plugins libs_install STRIP=: $(MAKE) -C gui/linux-gtk DESTDIR=$(CURDIR)/debian/olsrd-gui install + install -d $(CURDIR)/debian/olsrd/usr/bin/ + install -p -m0755 olsr_switch $(CURDIR)/debian/olsrd/usr/bin/ + install -d $(CURDIR)/debian/olsrd/usr/share/man/man8 + install -p -m0644 files/olsr_switch.8.gz \ + $(CURDIR)/debian/olsrd/usr/share/man/man8 install -d $(CURDIR)/debian/olsrd-gui/usr/share/doc/olsrd-gui/ install -p -m0644 gui/linux-gtk/CHANGELOG \ $(CURDIR)/debian/olsrd-gui/usr/share/doc/olsrd-gui/changelog -- 1.7.5.4