1999-03-14 12:56:11 -05:00
|
|
|
#
|
1999-08-27 20:22:10 -04:00
|
|
|
# $FreeBSD$
|
1999-03-14 12:56:11 -05:00
|
|
|
#
|
|
|
|
|
|
2006-03-17 13:54:44 -05:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
1999-03-14 12:56:11 -05:00
|
|
|
LIB= wrap
|
2009-07-19 13:25:24 -04:00
|
|
|
SHLIB_MAJOR= 6
|
2002-05-12 12:01:00 -04:00
|
|
|
INCS= tcpd.h
|
2001-03-27 12:27:19 -05:00
|
|
|
MAN= hosts_access.3
|
|
|
|
|
MAN+= hosts_access.5 hosts_options.5
|
2007-02-20 18:12:04 -05:00
|
|
|
MLINKS= hosts_access.3 hosts_ctl.3 \
|
|
|
|
|
hosts_access.3 request_init.3 \
|
|
|
|
|
hosts_access.3 request_set.3 \
|
2007-02-27 11:13:19 -05:00
|
|
|
hosts_options.5 hosts.allow.5
|
1999-03-14 12:56:11 -05:00
|
|
|
|
|
|
|
|
.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\" \
|
2003-07-24 15:58:56 -04:00
|
|
|
-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_NIS} == "no"
|
2004-11-13 15:40:32 -05:00
|
|
|
CFLAGS+= -DUSE_GETDOMAIN
|
|
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2000-04-15 16:45:52 -04:00
|
|
|
CFLAGS+=-DINET6
|
|
|
|
|
.endif
|
1999-03-14 12:56:11 -05:00
|
|
|
|
2010-01-02 04:58:07 -05:00
|
|
|
WARNS?= 0
|
|
|
|
|
|
1999-03-14 12:56:11 -05:00
|
|
|
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 \
|
1999-04-02 22:29:14 -05:00
|
|
|
socket.c tli.c update.c workarounds.c libvars.c
|
1999-03-14 12:56:11 -05:00
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|