diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2019-08-09 06:18:00 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2019-08-09 06:18:00 +0000 |
commit | c40c38c1cb03eb7c7657aa0ee18619645c1af25b (patch) | |
tree | ce2fce22ef0051535375bf512a3f75083db502cb /usr.bin/snmp/Makefile | |
parent | ea211d258edb2cee19972e1f78cdb099919304f7 (diff) |
Import snmp(1), a new snmp client which aims to be netsnmp compatible for
supported features. It only supports get, getnext, walk, bulkget, bulkwalk,
trap, mibtree, and is SNMPv1 and SNMPv2c for now.
This will shortly replace snmpctl entirely. People using snmpctl are encouraged
to test and migrate to this code as soon as possible.
Much help with the manpage from schwarze@ and jmc@
No objections from reyk@
"Roll it in" deraadt@
Diffstat (limited to 'usr.bin/snmp/Makefile')
-rw-r--r-- | usr.bin/snmp/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/snmp/Makefile b/usr.bin/snmp/Makefile new file mode 100644 index 00000000000..62bb5565a30 --- /dev/null +++ b/usr.bin/snmp/Makefile @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile,v 1.1 2019/08/09 06:17:59 martijn Exp $ + +PROG= snmp +SRCS= mib.c smi.c snmp.c snmpc.c +LDADD+= -lutil +DPADD+= ${LIBUTIL} + +MAN= snmp.1 + +CFLAGS+= -Wall -I${.CURDIR} +CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+= -Wmissing-declarations +CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual +CFLAGS+= -Wsign-compare + +.include <bsd.prog.mk> |