|
--- a/local/Makefile.in
|
|
+++ b/local/Makefile.in
|
|
@@ -100,7 +100,7 @@ tkmib.made: $(srcdir)/tkmib
|
|
|
|
mib2c.made: $(srcdir)/mib2c
|
|
if test "x$(PERL)" != "x" ; then \
|
|
- $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;' ${srcdir}/mib2c > mib2c.made; \
|
|
+ $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;s#/usr/local/etc/snmp#$(SNMPCONFPATH)#;' ${srcdir}/mib2c > mib2c.made; \
|
|
else \
|
|
touch mib2c.made; \
|
|
fi
|
|
--- a/mibs/Makefile.in
|
|
+++ b/mibs/Makefile.in
|
|
@@ -48,11 +48,15 @@ NETSNMPMIBS = NET-SNMP-TC.txt NET-SNMP-M
|
|
UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
|
|
UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
|
|
|
|
+EXTRAMIBS = BGP4-MIB.txt BRIDGE-MIB.txt GNOME-SMI.txt OSPF-MIB.txt \
|
|
+ OSPF-TRAP-MIB.txt RIPv2-MIB.txt SOURCE-ROUTING-MIB.txt \
|
|
+ LM-SENSORS-MIB.txt
|
|
+
|
|
DEFAULTMIBS = @default_mibs_install@
|
|
|
|
MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
|
|
$(AGENTMIBS) $(IANAMIBS) \
|
|
- $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
|
|
+ $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS)
|
|
|
|
all: standardall
|
|
|
|
--- a/Makefile.top
|
|
+++ b/Makefile.top
|
|
@@ -26,6 +26,7 @@ man8dir = $(mandir)/man8
|
|
snmplibdir = $(datadir)/snmp
|
|
mibdir = $(snmplibdir)/mibs
|
|
persistentdir = @PERSISTENT_DIRECTORY@
|
|
+sysconfdir = @sysconfdir@
|
|
DESTDIR = @INSTALL_PREFIX@
|
|
INSTALL_PREFIX = $(DESTDIR)
|
|
|