Author: baggins                      Date: Sun Aug  7 20:15:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- R libpci that's not completely brain-dead

---- Files affected:
packages/net-snmp:
   net-snmp-libpci-init.patch (1.3 -> 1.4) , net-snmp.spec (1.184 -> 1.185) 

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp-libpci-init.patch
diff -u packages/net-snmp/net-snmp-libpci-init.patch:1.3 
packages/net-snmp/net-snmp-libpci-init.patch:1.4
--- packages/net-snmp/net-snmp-libpci-init.patch:1.3    Sun Aug  7 21:28:30 2011
+++ packages/net-snmp/net-snmp-libpci-init.patch        Sun Aug  7 22:15:18 2011
@@ -19,7 +19,7 @@
  #endif
  
  #ifdef HAVE_LINUX_ETHTOOL_H
-@@ -146,9 +158,14 @@
+@@ -146,9 +158,15 @@
  
  #ifdef HAVE_PCI_LOOKUP_NAME
      pci_access = pci_alloc();
@@ -31,6 +31,7 @@
 +      if (_net_snmp_pci_status == 0) {
 +          pci_cleanup(pci_access);
 +          pci_access = NULL;
++          snmp_log(LOG_ERR, "Unable to create pci access method (libpci)\n");
 +      }
 +    } else
        snmp_log(LOG_ERR, "Unable to create pci access method\n");

================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.184 
packages/net-snmp/net-snmp.spec:1.185
--- packages/net-snmp/net-snmp.spec:1.184       Sun Aug  7 21:12:59 2011
+++ packages/net-snmp/net-snmp.spec     Sun Aug  7 22:15:18 2011
@@ -27,7 +27,7 @@
 Summary(uk.UTF-8):     Набір утиліт для протоколу SNMP від UC-Davis
 Name:          net-snmp
 Version:       5.7
-Release:       2.1
+Release:       3
 License:       BSD-like
 Group:         Networking/Daemons
 Source0:       
http://downloads.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -86,6 +86,7 @@
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      /usr/bin/setsid
 Requires:      mibs-%{name} = %{version}-%{release}
+Requires:      pciutils >= 3.1.7-5
 Requires:      rc-scripts >= 0.4.3.0
 Provides:      snmpd
 Obsoletes:     cmu-snmp
@@ -816,6 +817,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.185  2011/08/07 20:15:18  baggins
+- rel 3
+- R libpci that's not completely brain-dead
+
 Revision 1.184  2011/08/07 19:12:59  baggins
 - fix uber-stupid behaviour of libpci init error not returning but exiting the 
program
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp-libpci-init.patch?r1=1.3&r2=1.4&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp.spec?r1=1.184&r2=1.185&f=u

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

Reply via email to