From 8bacf1a614254e6c25a16222cd6601e544f862a9 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 26 Apr 2005 16:49:15 +0000 Subject: [PATCH] Enable tcp-wrapper support in the SNMP daemon. Submitted by: glebius --- usr.sbin/bsnmpd/bsnmpd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile index 8fa1ee3b0be7..334d435921a7 100644 --- a/usr.sbin/bsnmpd/bsnmpd/Makefile +++ b/usr.sbin/bsnmpd/bsnmpd/Makefile @@ -24,8 +24,9 @@ DEFS= tree.def DEFSDIR= ${SHAREDIR}/snmp/defs CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -DUSE_LIBBEGEMOT +CFLAGS+= -DUSE_TCPWRAPPERS DPADD= ${LIBBEGEMOT} ${LIBBSNMP} -LDADD= -lbegemot -lbsnmp +LDADD= -lbegemot -lbsnmp -lwrap LDFLAGS= -export-dynamic