summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsnmpd
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-04-26 16:49:15 +0000
committerharti <harti@FreeBSD.org>2005-04-26 16:49:15 +0000
commita0758285d410ebda36763d3affb86fdd6315ab51 (patch)
tree96b4ebd88dba9bc3ac69ba528e4a3cd390462df3 /usr.sbin/bsnmpd
parent67c06b6a3bd22db21794d3ffe202b49afa3dbe4f (diff)
downloadFreeBSD-src-a0758285d410ebda36763d3affb86fdd6315ab51.zip
FreeBSD-src-a0758285d410ebda36763d3affb86fdd6315ab51.tar.gz
Enable tcp-wrapper support in the SNMP daemon.
Submitted by: glebius
Diffstat (limited to 'usr.sbin/bsnmpd')
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile
index 8fa1ee3..334d435 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
OpenPOWER on IntegriCloud