Commit aab833bb authored by Julien Danjou's avatar Julien Danjou Committed by Tobias Frost

Import Debian changes 1.2.2-4

bwbar (1.2.2-4) unstable; urgency=low

  * New maintainer
  * Bump standards version
  * Use debhelper 4
  * Remove http://www.kernel.org from description since this is no more
    accurate
  * Update README.Debian
  * Rework patches
    - Handle new options correctly (Closes: #313231)
  * Add manpage (Closes: #129668)
  * Fix {pre,post}{rm,inst} scripts to use invoke-rc.d
parent 9a7059a0
[?25l]2;VIM - /export/scratch/dieman/debian/bwbar-1.2/debian/README]1;README[>c[?1049h[?1h="README" [New File]~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?25h[?25l:[?25hq [?25l]2;Terminal]1;Terminal[?1l>[?25h[?1049l
\ No newline at end of file
Theres an /etc/init.d/bwbar file to configure before this package will
There is a /etc/default/bwbar file to configure before this package will
work.
Scott Dier <sdier@debian.org>
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
.TH BWBAR "8" "Apr. 18, 2006" "bwbar 1.2.2"
.SH NAME
bwbar \- manual page for bwbar 1.2.2
.SH SYNOPSIS
.B bwbar
[\fB\-i|-o\fR] [\fB\-g|-G|-k|-K|-m|-M\fR] [\fIOPTION\fR]... \fIINTERFACE\fR \fIMAX_MBPS\fR
.SH DESCRIPTION
Generates text and graphical readout of current bandwidth use.
.SH OPTIONS
.TP
\fB\-b\fR, \fB\-\-border\fR=\fIN\fR
Set border width of the graphical bar to N (default 1 pixel).
.TP
\fB\-d\fR, \fB\-\-directory\fR=\fIN\fR
Output directory is N.
.TP
\fB\-f\fR, \fB\-\-text\-file\fR=\fIN\fR
Set N as name of the text output file (default ubar.txt).
.TP
\fB\-h\fR, \fB\-\-help\fR
Display usage.
.TP
\fB\-p\fR, \fB\-\-png\-file\fR=\fIN\fR
Set N as name of the graphical bar file (default ubar.png).
.TP
\fB\-t\fR, \fB\-\-interval\fR=\fIN\fR
The poll interval in seconds is N (default 15 seconds).
.TP
\fB\-x\fR, \fB\-\-width\fR=\fIN\fR
Set the width of the graphical bar to N (default 600 pixels).
.TP
\fB\-y\fR, \fB\-\-height\fR=\fIN\fR
Set the height of the graphical bar to N (default 4 pixels).
.SH FLAGS
.TP
\fB\-i\fR, \fB\-\-input\fR
Measure input bandwidth.
.TP
\fB\-g\fR, \fB\-\-GBps\fR
Bandwidth is measured in GB/s.
.TP
\fB\-G\fR, \fB\-\-Gbps\fR
Bandwidth is measured in Gbit/s.
.TP
\fB\-k\fR, \fB\-\-kbps\fR
Bandwidth is measured in kbit/s.
.TP
\fB\-K\fR, \fB\-\-KBps\fR
Bandwidth is measured in KB/s.
.TP
\fB\-m\fR, \fB\-\-MBps\fR
Bandwidth is measured in MB/s.
.TP
\fB\-M\fR, \fB\-\-Mbps\fR
Bandwidth is measured in Mbit/s.
.TP
\fB\-o\fR, \fB\-\-output\fR
Measure output bandwidth.
.PP
Default values are \fB\-M\fR and \fB\-o\fR.
.SH AUTHOR
Written by Nacho Barrientos Arias <chipi@criptonita.com>.
.SH BUGS
Report bugs to <hpa@zytor.com>.
.SH COPYRIGHT
Copyright \(co 1999-2001 H. Peter Anvin - All Rights Reserved
.br
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, Inc.
.SH "SEE ALSO"
You can get all the available information for
.B bwbar
in:
.IP
.B http://www.kernel.org/pub/software/web/bwbar/
.PP
bwbar (1.2.2-4) unstable; urgency=low
* New maintainer
* Bump standards version
* Use debhelper 4
* Remove http://www.kernel.org from description since this is no more
accurate
* Update README.Debian
* Rework patches
- Handle new options correctly (Closes: #313231)
* Add manpage (Closes: #129668)
* Fix {pre,post}{rm,inst} scripts to use invoke-rc.d
-- Julien Danjou <acid@debian.org> Sun, 23 Apr 2006 13:11:09 +0200
bwbar (1.2.2-3.1) unstable; urgency=low
* NMU
......
Source: bwbar
Section: net
Priority: optional
Maintainer: Scott M. Dier <sdier@debian.org>
Build-Depends: debhelper (>> 3.0.0), libpng12-dev, cdbs
Standards-Version: 3.5.10
Maintainer: Julien Danjou <acid@debian.org>
Build-Depends: debhelper (>> 4.0.0), libpng12-dev, cdbs
Standards-Version: 3.6.2
Package: bwbar
Architecture: any
......@@ -14,5 +14,3 @@ Description: generates text and graphical readout of current bandwidth use
of total bandwidth can be customized. The PNG output appears as a bar graph
showing maximum possible usage with the current inbound or outbound usage
shown as a differently colored bar.
.
An example of this can be seen at http://www.kernel.org/
debian/bwbar.8
......@@ -63,3 +63,14 @@
t_tmp = malloc(strlen(text_file) + 5);
g_tmp = malloc(strlen(graphics_file) + 5);
if ( !t_tmp || !g_tmp ) {
diff -u bwbar-1.2.orig/README bwbar-1.2/README
--- bwbar-1.2.orig/README 2004-05-19 16:36:16.000000000 +0200
+++ bwbar-1.2/README 2004-05-19 16:38:14.000000000 +0200
@@ -59,6 +59,7 @@
Options: (defaults in parenthesis)
--input -i Measure input bandwidth
--output -o Measure output bandwidth (default)
+ --directory -d Output directory
--text-file <file> -f The name of the text output file (ubar.txt)
--png-file <file> -p The name of the graphical bar file (ubar.png)
--interval <seconds> -t The poll interval in seconds (15)
......@@ -44,15 +44,7 @@ Common subdirectories: bwbar-1.2.orig/debian and bwbar-1.2/debian
diff -u bwbar-1.2.orig/README bwbar-1.2/README
--- bwbar-1.2.orig/README 2004-05-19 16:36:16.000000000 +0200
+++ bwbar-1.2/README 2004-05-19 16:38:14.000000000 +0200
@@ -54,6 +54,7 @@
Options: (defaults in parenthesis)
--input -i Measure input bandwidth
--output -o Measure output bandwidth (default)
+ --directory -d Output directory
--text-file <file> -f The name of the text output file (ubar.txt)
--png-file <file> -p The name of the graphical bar file (ubar.png)
--interval <seconds> -t The poll interval in seconds (15)
@@ -63,4 +64,8 @@
@@ -68,4 +71,8 @@
--kbps -k Bandwidth is measured in kbit/s
--Mbps -M Bandwidth is measured in Mbit/s (default)
--Gbps -G Bandwidth is measured in Gbit/s
......
......@@ -3,7 +3,7 @@
set -e
update-rc.d bwbar defaults >/dev/null
/etc/init.d/bwbar start
invoke-rc.d bwbar start
#DEBHELPER#
......
......@@ -4,7 +4,7 @@ set -e
case "$1" in
upgrade)
/etc/init.d/bwbar stop
invoke-rc.d bwbar stop
;;
install)
;;
......
......@@ -2,7 +2,7 @@
case "$1" in
remove|upgrade|deconfigure)
/etc/init.d/bwbar stop
invoke-rc.d bwbar stop
;;
failed-upgrade)
;;
......
......@@ -6,6 +6,9 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_MAKE_INSTALL_TARGET =
cleanbuilddir::
rm -f config.log config.status
common-install-arch common-install-indep:: common-install-impl
common-install-impl::
cp $(CURDIR)/bwbar $(CURDIR)/debian/bwbar/usr/sbin/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment