packages: net-tools/net-tools.spec, net-tools/net-tools-statistics_buffer.p...

baggins baggins at pld-linux.org
Tue Dec 1 12:01:34 CET 2009


Author: baggins                      Date: Tue Dec  1 11:01:34 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 30
- fix buffer for newer kernels

---- Files affected:
packages/net-tools:
   net-tools.spec (1.91 -> 1.92) , net-tools-statistics_buffer.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/net-tools/net-tools.spec
diff -u packages/net-tools/net-tools.spec:1.91 packages/net-tools/net-tools.spec:1.92
--- packages/net-tools/net-tools.spec:1.91	Tue Mar 10 03:55:08 2009
+++ packages/net-tools/net-tools.spec	Tue Dec  1 12:01:28 2009
@@ -10,7 +10,7 @@
 Summary(uk.UTF-8):	Базові програми мережі
 Name:		net-tools
 Version:	1.60
-Release:	29
+Release:	30
 License:	GPL
 Group:		Networking/Admin
 Source0:	http://download.berlios.de/net-tools/%{name}-%{version}.tar.bz2
@@ -38,6 +38,7 @@
 Patch18:	%{name}-ifaceopt.patch
 Patch19:	%{name}-netstat-overflow.patch
 Patch20:	%{name}-netstat-netlink-diag.patch
+Patch21:	%{name}-statistics_buffer.patch
 URL:		http://net-tools.berlios.de/
 BuildRequires:	gettext-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -150,6 +151,7 @@
 %patch18 -p1
 %patch19 -p1
 %patch20 -p0
+%patch21 -p1
 
 mv po/et_EE.po po/et.po
 
@@ -251,6 +253,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.92  2009/12/01 11:01:28  baggins
+- rel 30
+- fix buffer for newer kernels
+
 Revision 1.91  2009/03/10 02:55:08  glen
 - rel 29
 

================================================================
Index: packages/net-tools/net-tools-statistics_buffer.patch
diff -u /dev/null packages/net-tools/net-tools-statistics_buffer.patch:1.1
--- /dev/null	Tue Dec  1 12:01:34 2009
+++ packages/net-tools/net-tools-statistics_buffer.patch	Tue Dec  1 12:01:28 2009
@@ -0,0 +1,12 @@
+diff -up net-tools-1.60/statistics.c.old net-tools-1.60/statistics.c
+--- net-tools-1.60/statistics.c.old	2008-03-04 10:44:41.000000000 +0100
++++ net-tools-1.60/statistics.c	2008-03-04 10:44:11.000000000 +0100
+@@ -352,7 +352,7 @@ struct tabtab *newtable(struct tabtab *t
+ 
+ void process_fd(FILE *f,int file_desc)   // added file_desc to show propriate error mesg
+ {
+-    char buf1[1024], buf2[1024];
++    char buf1[2048], buf2[2048];
+     char *sp, *np, *p;
+     while (fgets(buf1, sizeof buf1, f)) {
+ 	int endflag;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-tools/net-tools.spec?r1=1.91&r2=1.92&f=u



More information about the pld-cvs-commit mailing list