diff options
author | harti <harti@FreeBSD.org> | 2005-10-04 14:41:06 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-10-04 14:41:06 +0000 |
commit | efb2dfa1774240830b3f74b7fe4ab8050cc1cda0 (patch) | |
tree | 939b9a00cfa4d79510a088859c9352b689740218 /contrib/bsnmp/gensnmpdef | |
parent | 2b366eef52ee173d11c8c3b0570cd771e5c0044a (diff) | |
download | FreeBSD-src-efb2dfa1774240830b3f74b7fe4ab8050cc1cda0.zip FreeBSD-src-efb2dfa1774240830b3f74b7fe4ab8050cc1cda0.tar.gz |
Virgin import of bsnmpd 1.11
Diffstat (limited to 'contrib/bsnmp/gensnmpdef')
-rw-r--r-- | contrib/bsnmp/gensnmpdef/Makefile.in | 17 | ||||
-rw-r--r-- | contrib/bsnmp/gensnmpdef/gensnmpdef.1 | 15 |
2 files changed, 25 insertions, 7 deletions
diff --git a/contrib/bsnmp/gensnmpdef/Makefile.in b/contrib/bsnmp/gensnmpdef/Makefile.in new file mode 100644 index 0000000..fa34cf7 --- /dev/null +++ b/contrib/bsnmp/gensnmpdef/Makefile.in @@ -0,0 +1,17 @@ +# Copyright (c) 2004 +# Hartmut Brandt +# All rights reserved. +# +# Author: Harti Brandt <harti@freebsd.org> +# +# $Begemot: bsnmp/gensnmpdef/Makefile.in,v 1.2 2004/04/14 09:54:51 novo Exp $ +# + +PROG= gensnmpdef +SRCS= gensnmpdef.c +MAN1= gensnmpdef.1 + +CFLAGS+= -I/usr/local/include + +$(PROG): $(SRCS:.c=.lo) + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(SRCS:.c=.lo) -lsmi diff --git a/contrib/bsnmp/gensnmpdef/gensnmpdef.1 b/contrib/bsnmp/gensnmpdef/gensnmpdef.1 index 661bb31..d8b966c 100644 --- a/contrib/bsnmp/gensnmpdef/gensnmpdef.1 +++ b/contrib/bsnmp/gensnmpdef/gensnmpdef.1 @@ -1,5 +1,5 @@ .\" -.\" Copyright (C) 2004 +.\" Copyright (C) 2004-2005 .\" Hartmut Brandt. .\" All rights reserved. .\" @@ -26,9 +26,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Begemot: bsnmp/gensnmpdef/gensnmpdef.1,v 1.3 2005/02/25 11:55:54 brandt_h Exp $ +.\" $Begemot: bsnmp/gensnmpdef/gensnmpdef.1,v 1.5 2005/10/04 08:46:46 brandt_h Exp $ .\" -.Dd April 14, 2004 +.Dd June 14, 2005 .Dt GENSNMPDEF 1 .Os .Sh NAME @@ -43,7 +43,8 @@ The .Nm utility is used to create an initial MIB description file from -one or more MIBs. The description file must be edited to be actually useful +one or more MIBs. +The description file must be edited to be actually useful for feeding it into .Xr gensnmptree 1 . .Pp @@ -57,13 +58,13 @@ of 3 is just correct in most cases. .Pp .Nm does no attempt on sorting the OID tree so in case of complex and -non-standard MIBs it is necessay to sort the tree in the resulting definition +non-standard MIBs it is necessary to sort the tree in the resulting definition file by hand. .Sh SEE ALSO .Xr snmpd 1 +.Sh AUTHORS +.An Hartmut Brandt Aq harti@freebsd.org .Sh BUGS The utility is by no means bullet-proof and may fail for complex or non-standard MIBs. Its output is expected to be edited by hand. -.Sh AUTHORS -.An Hartmut Brandt Aq harti@freebsd.org |