From e9ccf962ef0333b7ddb3b1e3e5c68898b20ebb9f Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 19 Apr 2009 04:38:09 +0100 Subject: [PATCH] Make ap-mrtg manual page cover ap-rrd as well --- debian/patches/102_man-page-for-ap-rrd.diff | 57 +++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 2 +- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 debian/patches/102_man-page-for-ap-rrd.diff diff --git a/debian/patches/102_man-page-for-ap-rrd.diff b/debian/patches/102_man-page-for-ap-rrd.diff new file mode 100644 index 0000000..b42ff00 --- /dev/null +++ b/debian/patches/102_man-page-for-ap-rrd.diff @@ -0,0 +1,57 @@ +--- ap-utils.orig/Documentation/ap-mrtg.8 ++++ ap-utils/Documentation/ap-mrtg.8 +@@ -17,9 +17,10 @@ + .\" 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + .TH ap-mrtg 8 "Wireless Access Point Utilities for Unix" + .SH NAME +-ap-mrtg \- AP to MRTG data translator ++ap-mrtg, ap-rrd \- AP statistics translators + + .SH SYNOPSIS ++.HP + .B ap-mrtg + .B -i + .IR ip +@@ -33,12 +34,32 @@ + .B [-v] + .B [-r] + .B [-h] ++.HP ++.B ap-rrd ++.B -i ++.IR ip ++.B -c ++.IR community ++.B -t ++.IR type ++.BI -d db_file ++.B [-b ++.IR bssid ++.B ] ++.B [-r] ++.B [-h] + + .SH DESCRIPTION ++.P + .B ap-mrtg + get stats from AP and return it in MRTG parsable format. + .br + The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network-links. MRTG generates HTML pages containing graphical images which provide a LIVE visual representation of this traffic. You may get it from: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/. ++.P ++.B ap-rrd ++gets stats from an AP and writes them to an RRDtool database. ++.br ++RRDtool is a data logging and graphing system for time series data. + + .SH OPTIONS + .TP +@@ -54,6 +75,9 @@ + .B -b bssid + Mac address of the AP to which get link quality. + .TP ++.B -d db_file ++Name of the rrdtool database to write to. ++.TP + .B -v + report MRTG about problems connecting to AP - if you want to get report about when AP spot work enable it + .TP diff --git a/debian/patches/series b/debian/patches/series index 40d41bf..b9291b7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 101_fix-man-page-spelling.diff +102_man-page-for-ap-rrd.diff diff --git a/debian/rules b/debian/rules index de1b434..b205c0e 100755 --- a/debian/rules +++ b/debian/rules @@ -54,7 +54,7 @@ binary-arch: build install # dh_installinfo # dh_undocumented dh_installman - dh_link + dh_link usr/share/man/man8/ap-mrtg.8 usr/share/man/man8/ap-rrd.8 dh_strip dh_compress dh_fixperms -- 2.39.2