summaryrefslogtreecommitdiff
path: root/usr.bin/snmp/Makefile
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2019-09-18 09:52:48 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2019-09-18 09:52:48 +0000
commit4ef48e0cd179f9842390d743e3bea521f30642a8 (patch)
tree657f974239725451b3b1b390a7ff2af13fa8f07a /usr.bin/snmp/Makefile
parent3a05d30ec7685c3a8d74a1db437cf67a1eaa7c64 (diff)
Add support for SNMPv3/USM authentication.
net-snmp's -3k is supported via the -k parameter, -3m is not supported. Feedback and OK jmatthew@
Diffstat (limited to 'usr.bin/snmp/Makefile')
-rw-r--r--usr.bin/snmp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/snmp/Makefile b/usr.bin/snmp/Makefile
index 7fef458a60d..3b666631a44 100644
--- a/usr.bin/snmp/Makefile
+++ b/usr.bin/snmp/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.2 2019/09/18 09:48:14 martijn Exp $
+# $OpenBSD: Makefile,v 1.3 2019/09/18 09:52:47 martijn Exp $
PROG= snmp
SRCS= mib.c smi.c snmp.c snmpc.c usm.c
-LDADD+= -lutil
-DPADD+= ${LIBUTIL}
+LDADD+= -lcrypto -lutil
+DPADD+= ${LIBCRYPTO} ${LIBUTIL}
MAN= snmp.1