]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- adjusted libnl patch and dependencies for libnl 3.2.x
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Oct 2011 13:34:39 +0000 (13:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-libnl.patch -> 1.3
    net-snmp.spec -> 1.189

net-snmp-libnl.patch
net-snmp.spec

index 0879e45e0b883ff49f5a6f9069e81ca8cd8abf67..2404de39c36b8c1566c04546bc65685f875d5deb 100644 (file)
  
        if (tcp_head) {
                DEBUGMSGTL(("mibII/tcpTable", "Loaded TCP Table using netlink\n"));
+--- net-snmp-5.7.1/configure.d/config_os_libs2.orig    2011-09-28 06:53:47.000000000 +0200
++++ net-snmp-5.7.1/configure.d/config_os_libs2 2011-10-30 12:25:15.940463045 +0100
+@@ -222,10 +222,11 @@
+ #
+ if test "x$with_nl" != "xno"; then
++    CPPFLAGS="$CPPFLAGS -I/usr/include/libnl3"
+     case $target_os in
+     linux*) # Check for libnl (linux)
+       NETSNMP_SEARCH_LIBS(
+-          nl_connect, nl,
++          nl_connect, nl-3,
+           [AC_CHECK_HEADERS(netlink/netlink.h)],,, LMIBLIBS)
+     ;;
+     esac
index 66d43fe98caf5ab87e96527b402fedf3c587401a..0efb00eb8b646c1748e731cbe515925a8a72cef2 100644 (file)
@@ -62,7 +62,7 @@ BuildRequires:        autoconf >= 2.63
 BuildRequires: automake
 BuildRequires: elfutils-devel
 %{?with_kerberos5:BuildRequires:       heimdal-devel}
-BuildRequires: libnl-devel >= 1:3.0
+BuildRequires: libnl-devel >= 1:3.2
 BuildRequires: libssh2-devel
 BuildRequires: libtool >= 1.4
 BuildRequires: libwrap-devel
@@ -170,7 +170,7 @@ Group:              Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      elfutils-devel
 %{?with_kerberos5:Requires:    heimdal-devel}
-Requires:      libnl-devel >= 1:1.1
+Requires:      libnl-devel >= 1:3.2
 Requires:      libwrap-devel
 %{?with_lm_sensors:Requires:   lm_sensors-devel >= 3.0.1}
 Requires:      openssl-devel >= 0.9.7c
This page took 0.050771 seconds and 4 git commands to generate.