summaryrefslogtreecommitdiff
path: root/net/pppload/files/patch-ab
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-07-26 19:19:20 +0000
committerRene Ladan <rene@FreeBSD.org>2013-07-26 19:19:20 +0000
commit66fee909266a1dedf3dfc1f03bb0841380d78805 (patch)
tree4c98d494bc4532b5dd5b19f4e47bcb3babf104c2 /net/pppload/files/patch-ab
parentRemove support for Qt3/kde in preparation for full Qt3/kde3 removal (diff)
KDE3 and QT3 expired on 2013-07-01, remove these ports.
Unfortunately, this also affects some ports using QT3 as a GUI toolkit. Changes to infrastructure files: - bsd.kde.mk : obsolete, remove - bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while - CHANGES : document the removals from bsd.port.mk - KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead) - MOVED : add the removed ports PR: ports/180745 Submitted by: rene Approved by: portmgr (bapt) Exp-run by: bapt
Notes
Notes: svn path=/head/; revision=323748
Diffstat (limited to 'net/pppload/files/patch-ab')
-rw-r--r--net/pppload/files/patch-ab44
1 files changed, 0 insertions, 44 deletions
diff --git a/net/pppload/files/patch-ab b/net/pppload/files/patch-ab
deleted file mode 100644
index c4beef9c6a50..000000000000
--- a/net/pppload/files/patch-ab
+++ /dev/null
@@ -1,44 +0,0 @@
---- Options.C.orig Wed Sep 11 01:55:27 1996
-+++ Options.C Fri Feb 7 19:12:41 2003
-@@ -19,6 +19,7 @@
-
- extern "C" {
- #include <stdio.h>
-+#include <stdlib.h>
- }
-
- #include "Options.H"
-@@ -26,6 +27,7 @@
- Options::Options( int argc, char* argv[] )
- : _divider( 512 ), _interval( 5 ), _link( 0 ), _period( 60 ), _retry( 60 ), _showTx( true ), _showRx( true ), _txColor( "forestgreen" ), _rxColor( "red" )
- {
-+ strcpy(_device, "tun");
- for ( int i = 1; i < argc; i++ ) {
- if ( !strcmp( argv[i], "-cmd" ) ) {
- _cmd = argv[++i];
-@@ -33,6 +35,8 @@
- sscanf( argv[++i], "%d", &_divider );
- } else if ( !strcmp( argv[i], "-i" ) ) {
- sscanf( argv[++i], "%d", &_interval );
-+ } else if ( !strcmp( argv[i], "-device" ) ) {
-+ strcpy(_device,argv[++i]);
- } else if ( !strcmp( argv[i], "-link" ) ) {
- sscanf( argv[++i], "%d", &_link );
- } else if ( !strcmp( argv[i], "-p" ) ) {
-@@ -60,6 +64,7 @@
- fprintf( stderr, "-d n Horizontal divider spacing in bytes per second (default: %d).\n", divider() );
- fprintf( stderr, "-h Print this help.\n" );
- fprintf( stderr, "-i interval Set the polling interval to be 'interval' seconds (default: %d).\n", interval() );
-+ fprintf( stderr, "-device name Name of the device to monitor (default is tun). \n");
- fprintf( stderr, "-link link The PPP link number to monitor (default: %d).\n", link() );
- fprintf( stderr, "-p period Set the load averaging period to be 'period seconds (default: %d).\n", period() );
- fprintf( stderr, "-retry interval Time between retries when dialling PPP link (default: %d).\n", retry() );
-@@ -74,7 +79,7 @@
- fprintf( stderr, "pppload comes with ABSOLUTELY NO WARRANTY; for details see the LICENSE file.\n" );
- fprintf( stderr, "This is free software, and you are welcome to redistribute it\n" );
- fprintf( stderr, "under certain conditions; see the LICENSE file for details.\n" );
--
-+ fprintf( stderr, "Modified for FreeBSD 1998 \n");
- exit( 1 );
- }
- }