1# 2# $FreeBSD$ 3# 4 5MAINTAINER=markm@FreeBSD.org 6 7LIB= wrap 8SHLIB_MAJOR= 3 9SHLIB_MINOR= 0 10MAN3= hosts_access.3 11MAN5= hosts_access.5 hosts_options.5 12 13.PATH: ${.CURDIR}/../../contrib/tcp_wrappers 14 15CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \ 16 -DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \ 17 -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \ 18 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \ 19 -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME 20CFLAGS+=-DUSE_GETIPNODEBY 21.if !defined(NOINET6) 22CFLAGS+=-DINET6 23.endif 24 25SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \ 26 hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \ 27 percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \ 28 socket.c tli.c update.c workarounds.c libvars.c 29 30beforeinstall: 31 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ 32 ${.CURDIR}/../../contrib/tcp_wrappers/tcpd.h \ 33 ${DESTDIR}/usr/include 34 35.include <bsd.lib.mk> 36