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.

40 lines
1.3 KiB

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