]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- seems the hrSWInstalledTable code is now in more generic host/data_access package...
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 15 Dec 2010 23:11:58 +0000 (23:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    net-snmp-use-rpm-hrmib.patch -> 1.5

net-snmp-use-rpm-hrmib.patch

index fa85110a9970a846a8604a792218b5993f024398..6cd5ffe024a0ac11bcc7206a53983602ed7528bb 100644 (file)
  
  #       statfs( char *, struct fs_data* )               (Ultrix)
  #
-
+--- net-snmp-5.6/agent/mibgroup/host/data_access/swinst_pkginfo.c~     2010-01-26 23:24:14.000000000 +0200
++++ net-snmp-5.6/agent/mibgroup/host/data_access/swinst_pkginfo.c      2010-12-16 00:13:22.027247692 +0200
+@@ -52,6 +52,8 @@
+ {
+ #if defined(PKGLOC)
+     snprintf( pkg_directory, SNMP_MAXPATH, "%s", PKGLOC );
++#elif defined(RPM_HRMIB_PATH)
++    snprintf( pkg_directory, SNMP_MAXPATH, "%s", RPM_HRMIB_PATH);
+ #elif defined(hpux9)
+     snprintf( pkg_directory, SNMP_MAXPATH, "/system" );
+ #elif defined(hpux10) ||  defined(hpux11) 
+--- net-snmp-5.6/agent/mibgroup/host/data_access/swinst.h~     2010-04-07 03:38:13.000000000 +0300
++++ net-snmp-5.6/agent/mibgroup/host/data_access/swinst.h      2010-12-16 00:14:13.634392176 +0200
+@@ -24,7 +24,7 @@
+     config_require(host/data_access/swinst_darwin)
+ #elif defined( HAVE_LIBRPM ) && defined( linux )
+     config_require(host/data_access/swinst_rpm)
+-#elif defined( HAVE_PKGLOCS_H ) || defined( hpux9 ) || defined( hpux10 ) || defined( hpux11 ) || defined( freebsd2 )
++#elif defined( HAVE_PKGLOCS_H ) || defined (RPM_HRMIB_PATH) || defined( hpux9 ) || defined( hpux10 ) || defined( hpux11 ) || defined( freebsd2 )
+     config_require(host/data_access/swinst_pkginfo)
+ #else
+     config_warning(This platform does not yet support hrSWInstalledTable rewrites)
This page took 0.036539 seconds and 4 git commands to generate.