net-analyzer/bsnmp installs /usr/bin/bsnmpd, but in order to run it needed /etc/snmpd.config and startup script. Reproducible: Always
Created attachment 315973 [details] bsnmpd.init
Added URL to snmpd.config in FreeBSD's sources.
Created attachment 316343 [details] bsnmpd.init (In reply to comment #1) > Created attachment 315973 [details] > bsnmpd.init Revised init script to use /etc/bsnmp/snmpd.conf. and also would you mind adding Copyright notic with your name? If you don't, please add it. # I've also applied patch to load /usr/lib/libsnmp_mibII.so.3.0 and solve missing symbol problem.
(In reply to comment #3) > Created attachment 316343 [details] > bsnmpd.init > > (In reply to comment #1) > > Created attachment 315973 [details] > > bsnmpd.init > > Revised init script to use /etc/bsnmp/snmpd.conf. and also would you mind > adding Copyright notic with your name? If you don't, please add it. > > # I've also applied patch to load /usr/lib/libsnmp_mibII.so.3.0 and solve > missing symbol problem. I do not understand why the separate /etc/bsnmp for one config? The default is /etc/snmpd.config and it is unambiguous. I think header should be: # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 like in most of init scripts.
(In reply to comment #4) > (In reply to comment #3) > > Created attachment 316343 [details] > > bsnmpd.init > > > > (In reply to comment #1) > > > Created attachment 315973 [details] > > > bsnmpd.init > > > > Revised init script to use /etc/bsnmp/snmpd.conf. and also would you mind > > adding Copyright notic with your name? If you don't, please add it. > > > > # I've also applied patch to load /usr/lib/libsnmp_mibII.so.3.0 and solve > > missing symbol problem. > > I do not understand why the separate /etc/bsnmp for one config? The default > is /etc/snmpd.config and it is unambiguous. I just considered if it may collide in the feature with other snmp packages. It's fine on vanilla FreeBSD to have the config file at /etc/snmpd.conf since it install bsnmp as part of its system. It's not so on Gentoo/FreeBSD. > I think header should be: > > # Copyright 1999-2012 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > > like in most of init scripts. ok.
Commit in the tree, but using /etc/snmpd.config