--- /dev/null
+From: Mendel Mobach <mendel@mobach.nl>
+
+Add ReiserFS to the list of recognized file systems and move
+JFS and XFS defines below the right comment.
+
+---
+ agent/mibgroup/hardware/fsys/fsys_mntent.c | 1 +
+ agent/mibgroup/hardware/fsys/mnttypes.h | 13 ++++++-------
+ 2 files changed, 7 insertions(+), 7 deletions(-)
+
+Index: net-snmp/agent/mibgroup/hardware/fsys/fsys_mntent.c
+===================================================================
+--- net-snmp.orig/agent/mibgroup/hardware/fsys/fsys_mntent.c
++++ net-snmp/agent/mibgroup/hardware/fsys/fsys_mntent.c
+@@ -135,6 +135,7 @@ _fsys_type( char *typename )
+ !strcmp(typename, MNTTYPE_GFS2) ||
+ !strcmp(typename, MNTTYPE_XFS) ||
+ !strcmp(typename, MNTTYPE_JFS) ||
++ !strcmp(typename, MNTTYPE_REISERFS) ||
+ !strcmp(typename, MNTTYPE_LOFS))
+ return NETSNMP_FS_TYPE_OTHER;
+
+Index: net-snmp/agent/mibgroup/hardware/fsys/mnttypes.h
+===================================================================
+--- net-snmp.orig/agent/mibgroup/hardware/fsys/mnttypes.h
++++ net-snmp/agent/mibgroup/hardware/fsys/mnttypes.h
+@@ -114,6 +114,12 @@
+ #ifndef MNTTYPE_GFS2
+ #define MNTTYPE_GFS2 "gfs2"
+ #endif
++#ifndef MNTTYPE_XFS
++#define MNTTYPE_XFS "xfs"
++#endif
++#ifndef MNTTYPE_JFS
++#define MNTTYPE_JFS "jfs"
++#endif
+
+ /*
+ * File systems to monitor, but not covered by HR-TYPES enumerations
+@@ -156,12 +162,5 @@
+ #ifndef MNTTYPE_RPCPIPE
+ #define MNTTYPE_RPCPIPE "rpc_pipefs"
+ #endif
+-#ifndef MNTTYPE_XFS
+-#define MNTTYPE_XFS "xfs"
+-#endif
+-#ifndef MNTTYPE_JFS
+-#define MNTTYPE_JFS "jfs"
+-#endif
+-
+
+ #endif /* _NETSNMP_FSYS_MNTTYPES_H */
Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
Name: net-snmp
Version: 5.7.1
-Release: 1
+Release: 2
License: BSD-like
Group: Networking/Daemons
Source0: http://downloads.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
Patch13: %{name}-TCP_STATS_CACHE_TIMEOUT.patch
Patch14: %{name}-libnl.patch
Patch15: %{name}-libpci-init.patch
+Patch16: %{name}-recognize-reiserfs.patch
URL: http://www.net-snmp.org/
BuildRequires: autoconf >= 2.63
BuildRequires: automake
%patch13 -p1
%patch14 -p1
%patch15 -p1
+%patch16 -p1
%build
%{__libtoolize}