packages/libs/net-snmp/patches/120-debian-searchdirs.patch
acinonyx 392c95443d [packages] net-snmp: Update to v5.4.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 21:43:45 +00:00

15 lines
470 B
Diff

--- net-snmp-5.1.2.orig/local/mib2c
+++ net-snmp-5.1.2/local/mib2c
@@ -60,8 +60,9 @@
if($ENV{MIB2C_DIR}) {
push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR});
}
-push @def_search_dirs, "/usr/local/share/snmp/";
-push @def_search_dirs, "/usr/local/share/snmp/mib2c-data";
+push @def_search_dirs, "/etc/snmp/";
+push @def_search_dirs, "/usr/share/snmp/";
+push @def_search_dirs, "/usr/share/snmp/mib2c-data";
push @def_search_dirs, "./mib2c-conf.d";
sub usage {