summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-01-12 13:31:30 +0000
committermarkm <markm@FreeBSD.org>2002-01-12 13:31:30 +0000
commitc4ee8d8a7b5152ba60b076bd1a3853ce27a921be (patch)
tree72b11a1d524f0e705cb4a310c514dafce5eabb1f /libexec
parent0b6e93125f421559059abd41812dcb6ee6194d32 (diff)
downloadFreeBSD-src-c4ee8d8a7b5152ba60b076bd1a3853ce27a921be.zip
FreeBSD-src-c4ee8d8a7b5152ba60b076bd1a3853ce27a921be.tar.gz
Build the TCP-wrapper helper "daemon" tcpd. This is not much use in
a bog-standard FreeBSD installation, as inetd(8) does that job, but for inetd(8) replacemenrts such as xinetd, having this around makes sense.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/tcpd/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/libexec/tcpd/Makefile b/libexec/tcpd/Makefile
new file mode 100644
index 0000000..74c6891
--- /dev/null
+++ b/libexec/tcpd/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+MAINTAINER= markm@FreeBSD.org
+
+PROG= tcpd
+MAN= tcpd.8
+CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
+ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
+ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
+ -DFACILITY=LOG_DAEMON
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
+
+DPADD= ${LIBWRAP}
+LDADD= -lwrap
+
+.include <bsd.prog.mk>
+
+.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
OpenPOWER on IntegriCloud