You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

  1. diff -uNr a/local/Makefile.in b/local/Makefile.in
  2. --- a/local/Makefile.in 2014-02-20 08:36:42.000000000 +0800
  3. +++ b/local/Makefile.in 2014-05-27 13:21:34.245223503 +0800
  4. @@ -103,7 +103,7 @@
  5. mib2c.made: $(srcdir)/mib2c
  6. if test "x$(PERL)" != "x" ; then \
  7. - $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;' ${srcdir}/mib2c > mib2c.made; \
  8. + $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;s#/usr/local/etc/snmp#$(SNMPCONFPATH)#;' ${srcdir}/mib2c > mib2c.made; \
  9. else \
  10. touch mib2c.made; \
  11. fi
  12. diff -uNr a/Makefile.top b/Makefile.top
  13. --- a/Makefile.top 2014-02-20 08:36:42.000000000 +0800
  14. +++ b/Makefile.top 2014-05-27 13:26:53.023737120 +0800
  15. @@ -27,6 +27,7 @@
  16. snmplibdir = $(datadir)/snmp
  17. mibdir = $(snmplibdir)/mibs
  18. persistentdir = @PERSISTENT_DIRECTORY@
  19. +sysconfdir = @sysconfdir@
  20. DESTDIR = @INSTALL_PREFIX@
  21. INSTALL_PREFIX = $(DESTDIR)
  22. diff -uNr a/mibs/Makefile.in b/mibs/Makefile.in
  23. --- a/mibs/Makefile.in 2014-02-20 08:36:42.000000000 +0800
  24. +++ b/mibs/Makefile.in 2014-05-27 13:25:07.151988585 +0800
  25. @@ -49,11 +49,15 @@
  26. UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
  27. UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
  28. +EXTRAMIBS = BGP4-MIB.txt BRIDGE-MIB.txt GNOME-SMI.txt OSPF-MIB.txt \
  29. + OSPF-TRAP-MIB.txt RIPv2-MIB.txt SOURCE-ROUTING-MIB.txt \
  30. + LM-SENSORS-MIB.txt
  31. +
  32. DEFAULTMIBS = @default_mibs_install@
  33. MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
  34. $(AGENTMIBS) $(IANAMIBS) \
  35. - $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
  36. + $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS)
  37. all: standardall