summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
Commit message (Collapse)AuthorAgeFilesLines
* Install the MIBs and the definition file to the new location underharti2004-04-151-2/+2
| | | | | | /usr/share/snmp. Noted by: bmah
* Use a MANFILTER to patch the man pages to point to the right path.harti2004-04-142-0/+8
| | | | Noted by: phk
* Put the name of the module first in the list of all .Nm calls withharti2004-04-141-0/+1
| | | | | argument. This makes the output of calling .Nm without an argument more senseful later on.
* Compare with 0 if comparing an integer, not with NULL.harti2004-04-141-1/+1
|
* Move the SNMP MIBs and tree definitions from /usr/share/bsnmp toharti2004-04-141-2/+2
| | | | | /usr/share/snmp. This mirrors the use of /usr/local/share/snmp and makes also more sense when non-bsnmp-specific MIBs go in.
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-051-0/+1
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Rename the makefile variable MIBS to BMIBS so that it does notharti2004-01-241-3/+3
| | | | conflict with the environment variable MIBS that is used by net-snmp.
* Rename the MIBS makefile variable to BMIBS so that it does not conflictharti2004-01-242-4/+4
| | | | with the environment variable MIBS that is used by net-snmp.
* Create the OID and tree files while building the modules and the daemonharti2004-01-238-187/+32
| | | | | | | | instead of creating them by hand and storing them in the CVS tree. Add gensnmptree to the bootstrap tools (it is used to generated these files). This simplifies the update procedure. Submitted by: ru
* Update generated files.harti2004-01-233-3/+21
|
* Catch up with import of version 1.5a of bsnmp.harti2004-01-231-1/+2
|
* Catch up with the import of version 1.5a of bsnmp.harti2004-01-231-2/+4
| | | | | Fix the script to insert $FreeBSD$ into the generated file instead of the script's FreeBSD id.
* Style: remove an empty line.harti2004-01-231-1/+0
|
* Clean up makefiles.ru2004-01-193-15/+11
| | | | Reviewed by: harti
* Replace all uses of the old netgraph constants NG_*LEN by the newharti2003-11-153-55/+55
| | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
* Add an empty definition of the MIBS variable so that the makefile doesharti2003-11-131-0/+1
| | | | | | not try to use a MIBS definition from the environment. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
* The snmp_netgraph module depends on libnetgraph. So add a dependency andharti2003-11-121-0/+3
| | | | | | add libnetgraph to the list of prebuilt libraries in the main Makefile. Reviewed by: ru
* Correct the include path so that the include files are foundharti2003-11-102-5/+7
| | | | with include "...".
* Fix the build by adjusting the include directives. The problem washarti2003-11-102-4/+6
| | | | | that the sources use "..." includes to get at include files that later on reside in an include sub-directory.
* Add the build infrastructure for the SNMP daemon that is the baseharti2003-11-108-0/+202
| | | | for the NgATM ILMI daemon and for the tree parsing helper program.
* Add build infrastructure for libbsnmp and the modules. Add theharti2003-11-109-0/+2735
netgraph module for the SNMP daemon.
OpenPOWER on IntegriCloud