1999-03-14 17:56:11 +00:00
|
|
|
#
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1999-03-14 17:56:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
MAINTAINER=markm@FreeBSD.org
|
|
|
|
|
|
|
|
LIB= wrap
|
2000-02-12 20:27:50 +00:00
|
|
|
SHLIB_MAJOR= 3
|
|
|
|
SHLIB_MINOR= 0
|
1999-03-14 17:56:11 +00:00
|
|
|
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
|
2000-02-03 10:27:03 +00:00
|
|
|
CFLAGS+=-DINET6 -DUSE_GETIPNODEBY
|
1999-03-14 17:56:11 +00: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-03 03:29:14 +00:00
|
|
|
socket.c tli.c update.c workarounds.c libvars.c
|
1999-03-14 17:56:11 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
|
|
${.CURDIR}/../../contrib/tcp_wrappers/tcpd.h \
|
|
|
|
${DESTDIR}/usr/include
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|