maintainers {jeremyhu @jeremyhu} openmaintainer
description Security wrappers for TCP services
TCP Wrappers provides tiny daemon wrapper programs that can be installed \
without any changes to existing software or to existing configuration \
files. The wrappers report the name of the client host and of the \
requested service\; the wrappers do not exchange information with the \
client or server applications, and impose no overhead on the actual \
conversation between the client and server applications.
homepage http://www.opensource.apple.com
master_sites ${homepage}/tarballs/${name}
worksrcdir ${name}-${version}/${name}
checksums sha1 6b197780e11633013bc6026e9f5d1b008c9e8e64 \
rmd160 c98c1ad9cff26b10f5c5c80f38d41178f28a8a4d \
sha256 5c144021828edf10933997f9a085720862f937255d4ca10e60d63a651d3ea493
reinplace "s:/usr/lib/:${prefix}/lib/:g" ${worksrcpath}/Makefile
build.args REAL_DAEMON_DIR=${prefix}/libexec \
STYLE=-DPROCESS_OPTIONS \
FACILITY=LOG_REMOTEAUTH \
ALLOW_SEVERITY=LOG_INFO \
DENY_SEVERITY=LOG_WARNING \
CFLAGS="-g -Os -pipe -fno-common" \
CC="${configure.cc} [get_canonical_archflags cc]"
xinstall -m 755 -W ${worksrcpath} safe_finger tcpdchk tcpdmatch try-from \
${destroot}${prefix}/sbin
xinstall -m 755 -W ${worksrcpath} safe_finger tcpd \
${destroot}${prefix}/libexec
xinstall -m 644 -W ${worksrcpath} hosts_access.3 \
${destroot}${prefix}/share/man/man3
ln -s hosts_access.3 ${destroot}${prefix}/share/man/man3/hosts_ctl.3
ln -s hosts_access.3 ${destroot}${prefix}/share/man/man3/request_init.3
ln -s hosts_access.3 ${destroot}${prefix}/share/man/man3/request_set.3
xinstall -m 644 -W ${worksrcpath} hosts_access.5 hosts_options.5 \