Author: adwol                        Date: Sun Nov 27 17:51:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed problem with bonded interfaces
  (https://bugs.launchpad.net/libpcap/+bug/789329)

---- Files affected:
packages/libpcap:
   libpcap.spec (1.91 -> 1.92) , libpcap-bonding.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libpcap/libpcap.spec
diff -u packages/libpcap/libpcap.spec:1.91 packages/libpcap/libpcap.spec:1.92
--- packages/libpcap/libpcap.spec:1.91  Sat Sep 17 09:07:47 2011
+++ packages/libpcap/libpcap.spec       Sun Nov 27 18:51:15 2011
@@ -12,7 +12,7 @@
 Summary(uk.UTF-8):     Надає доступ до мережевих інтерфейсів в 
promiscuous-режимі
 Name:          libpcap
 Version:       1.1.1
-Release:       4
+Release:       5
 Epoch:         2
 License:       BSD
 Group:         Libraries
@@ -20,6 +20,7 @@
 # Source0-md5: 1bca27d206970badae248cfa471bbb47
 Patch1:                %{name}-pf_ring.patch
 Patch2:                %{name}-libnl.patch
+Patch3:                %{name}-bonding.patch
 URL:           http://www.tcpdump.org/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
@@ -154,6 +155,7 @@
 %setup -q
 %{?with_pfring:%patch1 -p0}
 %patch2 -p1
+%patch3 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -213,6 +215,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.92  2011/11/27 17:51:15  adwol
+- fixed problem with bonded interfaces
+  (https://bugs.launchpad.net/libpcap/+bug/789329)
+
 Revision 1.91  2011/09/17 07:07:47  arekm
 - release 4
 

================================================================
Index: packages/libpcap/libpcap-bonding.patch
diff -u /dev/null packages/libpcap/libpcap-bonding.patch:1.1
--- /dev/null   Sun Nov 27 18:51:20 2011
+++ packages/libpcap/libpcap-bonding.patch      Sun Nov 27 18:51:15 2011
@@ -0,0 +1,11 @@
+--- libpcap-1.1.1/pcap-linux.c.orig    2010-03-12 02:56:54.000000000 +0100
++++ libpcap-1.1.1/pcap-linux.c 2011-07-12 13:40:43.906538548 +0200
+@@ -1883,7 +1883,7 @@
+                */
+               strncpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name));
+               if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) {
+-                      if (errno == ENXIO)
++                      if (errno == ENXIO || errno == ENODEV)
+                               continue;
+                       (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
+                           "SIOCGIFFLAGS: %.*s: %s",
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to