From 7c00700f5851347760bb62a5b0934e86cdc99874 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 2 Jul 2014 14:04:57 +0200 Subject: 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 --- net/net-snmp/patches/120-debian-searchdirs.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net/net-snmp/patches/120-debian-searchdirs.patch (limited to 'net/net-snmp/patches/120-debian-searchdirs.patch') 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 { -- cgit v1.2.3