net-snmp/net-snmp-5.6.0-enable-hrh-filesys.patch

38 lines
1.4 KiB
Diff

Index: net-snmp-5.6/agent/mibgroup/host.h
===================================================================
--- net-snmp-5.6.orig/agent/mibgroup/host.h
+++ net-snmp-5.6/agent/mibgroup/host.h
@@ -22,8 +22,8 @@
config_require(host/hr_disk)
config_require(host/hr_partition)
- config_version_require((host/hr_storage, 5.7, host/hrh_storage))
- config_version_require((host/hr_filesys, 5.7, host/hrh_filesys))
+ config_require(host/hrh_storage)
+ config_require(host/hrh_filesys)
config_version_require((host/hr_swinst, 5.6, host/hrSWInstalledTable))
config_version_require((host/hr_swrun, 5.6, host/hrSWRunTable))
Index: net-snmp-5.6/agent/mibgroup/velocity.h
===================================================================
--- net-snmp-5.6.orig/agent/mibgroup/velocity.h
+++ net-snmp-5.6/agent/mibgroup/velocity.h
@@ -5,7 +5,7 @@
config_require(host/hr_system)
config_require(velocity/velocity_system)
- config_require(host/hr_storage)
+ config_require(host/hrh_storage)
config_require(host/hr_device)
config_require(host/hr_other)
config_require(host/hr_proc)
@@ -13,7 +13,7 @@
config_require(host/hr_print)
config_require(host/hr_disk)
config_require(host/hr_partition)
- config_require(host/hr_filesys)
+ config_require(host/hrh_filesys)
config_require(velocity/velocity_swrun)
config_require(host/hr_swrun)
config_require(host/hr_swinst)