From 418d7362f7750701a23298dfd8e5c468875f0e3f Mon Sep 17 00:00:00 2001 From: markm Date: Sun, 14 Mar 1999 17:56:11 +0000 Subject: Build libwrap - the core to tcp_wrappers. --- lib/Makefile | 4 ++-- lib/libwrap/Makefile | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 lib/libwrap/Makefile (limited to 'lib') diff --git a/lib/Makefile b/lib/Makefile index 26a65e1..87440ed 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 -# $Id: Makefile,v 1.86 1998/11/29 02:47:52 bde Exp $ +# $Id: Makefile,v 1.87 1998/12/17 23:02:11 dfr Exp $ # To satisfy shared library or ELF linkage when only the libraries being # built are visible: @@ -25,7 +25,7 @@ SUBDIR= ${_csu} libcom_err ${_libcrypt} ${_libm} libmd libmytinfo \ libcompat libcurses libdevstat libdisk libedit libf2c libfetch \ libftpio libgnumalloc ${_libio} libipx libkvm libopie libpam \ libpcap libresolv librpcsvc libss libstand \ - ${_libtelnet} libutil ${_libvgl} libxpg4 liby libz + ${_libtelnet} libutil ${_libvgl} libwrap libxpg4 liby libz .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${OBJFORMAT}) _csu=csu/${MACHINE_ARCH}-${OBJFORMAT} diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile new file mode 100644 index 0000000..205285e --- /dev/null +++ b/lib/libwrap/Makefile @@ -0,0 +1,29 @@ +# +# $Id$ +# + +MAINTAINER=markm@FreeBSD.org + +LIB= wrap +MAN3= hosts_access.3 +MAN5= hosts_access.5 hosts_options.5 + +.PATH: ${.CURDIR}/../../contrib/tcp_wrappers + +CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ + -DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \ + -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \ + -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \ + -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME + +SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \ + hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \ + percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \ + socket.c tli.c update.c workarounds.c + +beforeinstall: + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${.CURDIR}/../../contrib/tcp_wrappers/tcpd.h \ + ${DESTDIR}/usr/include + +.include -- cgit v1.1