diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-02-11 10:42:51 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-02-11 10:42:51 +0000 |
commit | 4f77a014e2652c1f57fecbf8248f1a508abc1800 (patch) | |
tree | c344635d365c0ef49b2a71130ee33183e8d1fa4d /usr.sbin/relayd/Makefile | |
parent | 243d83e4c9a82ad7657baf88346a66f65293b8b0 (diff) |
Marry relayd with snmpd using new "send trap" option: Request to send
a SNMP trap when the state of a host changes. relayd(8) will try to
(re-)connect to snmpd(8) and request it to send a trap to the
registered trap receivers, see snmpd.conf(5) for more information
about the configuration.
ok pyr@ thib@
Diffstat (limited to 'usr.sbin/relayd/Makefile')
-rw-r--r-- | usr.sbin/relayd/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/relayd/Makefile b/usr.sbin/relayd/Makefile index 8e8b9279827..7bfb74a6bb7 100644 --- a/usr.sbin/relayd/Makefile +++ b/usr.sbin/relayd/Makefile @@ -1,14 +1,15 @@ -# $OpenBSD: Makefile,v 1.16 2007/12/07 17:17:00 reyk Exp $ +# $OpenBSD: Makefile,v 1.17 2008/02/11 10:42:50 reyk Exp $ PROG= relayd SRCS= parse.y log.c control.c buffer.c imsg.c ssl.c ssl_privsep.c \ relayd.c pfe.c pfe_filter.c hce.c relay.c relay_udp.c \ - carp.c check_icmp.c check_tcp.c check_script.c name2id.c + carp.c check_icmp.c check_tcp.c check_script.c name2id.c \ + snmp.c MAN= relayd.8 relayd.conf.5 LDADD= -levent -lssl -lcrypto DPADD= ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO} -CFLAGS+= -Wall -I${.CURDIR} +CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../snmpd CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual |