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. @@ -100,7 +100,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/mibs/Makefile.in
  12. +++ b/mibs/Makefile.in
  13. @@ -48,11 +48,15 @@ NETSNMPMIBS = NET-SNMP-TC.txt NET-SNMP-M
  14. UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
  15. UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
  16. +EXTRAMIBS = BGP4-MIB.txt BRIDGE-MIB.txt GNOME-SMI.txt OSPF-MIB.txt \
  17. + OSPF-TRAP-MIB.txt RIPv2-MIB.txt SOURCE-ROUTING-MIB.txt \
  18. + LM-SENSORS-MIB.txt
  19. +
  20. DEFAULTMIBS = @default_mibs_install@
  21. MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
  22. $(AGENTMIBS) $(IANAMIBS) \
  23. - $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
  24. + $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS)
  25. all: standardall
  26. --- a/Makefile.top
  27. +++ b/Makefile.top
  28. @@ -26,6 +26,7 @@ man8dir = $(mandir)/man8
  29. snmplibdir = $(datadir)/snmp
  30. mibdir = $(snmplibdir)/mibs
  31. persistentdir = @PERSISTENT_DIRECTORY@
  32. +sysconfdir = @sysconfdir@
  33. DESTDIR = @INSTALL_PREFIX@
  34. INSTALL_PREFIX = $(DESTDIR)