bsnmpd vs net-snmp

Steve Polyack korvus at
Thu Apr 30 16:01:59 UTC 2009

Morgan Wesström wrote:
> So I have two questions:
> 1) Is --with-mib-modules=if-mib already covered in the Makefile? I can
> see the parameter but it refers to a variable I don't know the contents
> of. The variable seems to refer to the build option NET_SNMP_MIB_MODULES
> which is mentioned at the beginning of the compile process but I don't
> know how to use it or its initial value.
> 2) Is there anyway to enable these two options during make without
> editing the Makefile?
> Regards
> Morgan

1. Yes, --with-mib-modules=if-mib is automatically appended to the list 
of mib modules when you set the WITH_MFD_REWRITES define.

2.  The easiest way is to set the define upon running make

[/usr/ports/net-mgmt/net-snmp]$ make -DWITH_MFD_REWRITES install clean

More information about the freebsd-questions mailing list