summaryrefslogtreecommitdiff
path: root/net/nload
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-20 12:40:57 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-20 12:40:57 +0000
commitf7cb6981ef6b9f20b79f90505aa92abd5bc44cac (patch)
tree1b6754a121625a1312a81d75ab9f1b7c773a884d /net/nload
parent- Update to 1.5.1 (diff)
- get rid of ${STRIP_CMD}
- documentation fixes PR: 55803 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=87380
Diffstat (limited to 'net/nload')
-rw-r--r--net/nload/Makefile3
-rw-r--r--net/nload/files/patch-ab33
2 files changed, 33 insertions, 3 deletions
diff --git a/net/nload/Makefile b/net/nload/Makefile
index cf9d3761fc49..8b2a24ed9126 100644
--- a/net/nload/Makefile
+++ b/net/nload/Makefile
@@ -19,7 +19,4 @@ HAS_CONFIGURE= yes
MAN1= nload.1
MANCOMPRESSED= yes
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/nload
-
.include <bsd.port.mk>
diff --git a/net/nload/files/patch-ab b/net/nload/files/patch-ab
new file mode 100644
index 000000000000..a75960c58f45
--- /dev/null
+++ b/net/nload/files/patch-ab
@@ -0,0 +1,33 @@
+--- src/main.cpp.orig Wed Aug 20 13:39:57 2003
++++ src/main.cpp Wed Aug 20 13:40:16 2003
+@@ -441,7 +441,7 @@
+ " default is \"%s\"\n"
+ "--help\n"
+ "-h print this help\n\n"
+- "example: %s -t 200 -s 7 -i 1024 -o 128 -U h eth0 eth1\n\n"
++ "example: %s -t 200 -s 7 -i 1024 -o 128 -U h fxp0 fxp1\n\n"
+ "The options above can also be changed at run time by pressing the 'o' key.\n\n",
+ PACKAGE,
+ VERSION,
+--- docs/nload.1.in.orig Wed Aug 20 13:38:09 2003
++++ docs/nload.1.in Wed Aug 20 13:38:31 2003
+@@ -85,7 +85,7 @@
+ The default is M.
+ .TP
+ .B devices
+-Network devices to use. The default device is "eth0".
++Network devices to use. The default device is "fxp0".
+ .TP
+ .B \-h, \-\-help
+ Show a short summary of these command line options.
+@@ -112,10 +112,6 @@
+ .TP
+ .B '+', '-'
+ Scroll the option window.
+-
+-.SH FILES
+-.I /proc/net/dev
+-is read by nload to get the network traffic data.
+
+ .SH VERSION
+ This is version @VERSION@ of nload.