[Midnightbsd-cvs] mports [21696] trunk/net/nload: fix dist site, patch, and use ncurses
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Aug 16 23:01:21 EDT 2016
Revision: 21696
http://svnweb.midnightbsd.org/mports/?rev=21696
Author: laffer1
Date: 2016-08-16 23:01:17 -0400 (Tue, 16 Aug 2016)
Log Message:
-----------
fix dist site, patch, and use ncurses
Modified Paths:
--------------
trunk/net/nload/Makefile
Added Paths:
-----------
trunk/net/nload/files/
trunk/net/nload/files/patch-src_devreader-bsd.cpp
Modified: trunk/net/nload/Makefile
===================================================================
--- trunk/net/nload/Makefile 2016-08-17 02:28:41 UTC (rev 21695)
+++ trunk/net/nload/Makefile 2016-08-17 03:01:17 UTC (rev 21696)
@@ -2,9 +2,10 @@
PORTNAME= nload
PORTVERSION= 0.7.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.roland-riegel.de/nload/ \
- CRITICAL
+ FREEBSD_LOCAL/ehaupt
MAINTAINER= ports at MidnightBSD.org
COMMENT= Console application which monitors network traffic in real time
@@ -11,6 +12,7 @@
LICENSE= gpl2
+USES= ncurses
GNU_CONFIGURE= yes
PLIST_FILES= bin/nload man/man1/nload.1.gz
Added: trunk/net/nload/files/patch-src_devreader-bsd.cpp
===================================================================
--- trunk/net/nload/files/patch-src_devreader-bsd.cpp (rev 0)
+++ trunk/net/nload/files/patch-src_devreader-bsd.cpp 2016-08-17 03:01:17 UTC (rev 21696)
@@ -0,0 +1,11 @@
+--- src/devreader-bsd.cpp.orig 2011-06-12 10:01:11 UTC
++++ src/devreader-bsd.cpp
+@@ -91,7 +91,7 @@ list<string> DevReaderBsd::findAllDevice
+ if(sdl->sdl_family != AF_LINK)
+ continue;
+
+- interfaceNames.push_back(string(sdl->sdl_data));
++ interfaceNames.push_back(string(sdl->sdl_data, sdl->sdl_nlen));
+ }
+
+ free(buf);
Property changes on: trunk/net/nload/files/patch-src_devreader-bsd.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list