diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-02 14:04:57 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-02 14:25:45 +0200 |
commit | 7c00700f5851347760bb62a5b0934e86cdc99874 (patch) | |
tree | 7a71faea610c7002b927cc92e518793511fb8810 /net/net-snmp/patches/120-debian-searchdirs.patch | |
parent | 1971a1d5679e6b7fb06f08ab5cfd4069b60a112b (diff) |
net-snmp: import from oldpackages, add myself as maintainer, add license information, update to v5.4.4, refresh patches
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'net/net-snmp/patches/120-debian-searchdirs.patch')
-rw-r--r-- | net/net-snmp/patches/120-debian-searchdirs.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/net-snmp/patches/120-debian-searchdirs.patch b/net/net-snmp/patches/120-debian-searchdirs.patch new file mode 100644 index 000000000..d8c88f3ea --- /dev/null +++ b/net/net-snmp/patches/120-debian-searchdirs.patch @@ -0,0 +1,14 @@ +--- a/local/mib2c ++++ b/local/mib2c +@@ -60,8 +60,9 @@ $currentlevel = -1; + 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 { |