rpms/bandwidthd/F-12 bandwidthd.spec,1.5,1.6

Ján ONDREJ ondrejj at fedoraproject.org
Wed Dec 9 08:15:22 UTC 2009


Author: ondrejj

Update of /cvs/pkgs/rpms/bandwidthd/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10742

Modified Files:
	bandwidthd.spec 
Log Message:
Fix crash if no devices found.


Index: bandwidthd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bandwidthd/F-12/bandwidthd.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- bandwidthd.spec	24 Jul 2009 17:49:44 -0000	1.5
+++ bandwidthd.spec	9 Dec 2009 08:15:20 -0000	1.6
@@ -3,7 +3,7 @@
 
 Name:           bandwidthd
 Version:        2.0.1
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Tracks network usage and builds html and graphs
 
 Group:          System Environment/Daemons
@@ -13,6 +13,7 @@ Source0:        http://downloads.sourcef
 Source1:        %{name}
 Patch0:         bandwidthd-destdir.patch
 Patch1:         bandwidthd-pgsql.patch
+Patch2:		http://v3.sk/~lkundrak/0001-Gracefuly-exit-upon-pcap_findalldevs-error.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  autoconf, gd-devel, libpng-devel
 %{?!_without_pgsql:BuildRequires: postgresql-devel}
@@ -46,6 +47,7 @@ is graphed on a Celeron 450 every 10 min
 %setup -q
 %patch0 -p1 -b .dest
 %patch1 -p0 -b .pgsql
+%patch2 -p1 -b .nodevs
 
 
 %build
@@ -100,6 +102,9 @@ fi
 
 
 %changelog
+* Wed Dec 09 2009 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.1-14
+- Applied patch from lkundrak to do not hang when no devices found. bz#537073
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.1-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list