| Summary: | Maybe net-analyzer/bsnmp should install startscript and sample config? | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Dmitri Bogomolov <4glitch> |
| Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
| URL: | http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/snmpd.config?rev=1.9.10.1.8.1;content-type=text%2Fx-cvsweb-markup | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
bsnmpd.init
bsnmpd.init |
||
|
Description
Dmitri Bogomolov
2012-06-22 12:38:03 UTC
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 |