src/libexec/tcpd doesn't work correctly with -DPROCESS_OPTIONS
Vincent Poy
vince at oahu.WURLDLINK.NET
Fri Jul 4 20:38:38 PDT 2003
On Fri, 4 Jul 2003, Scot W. Hetzel wrote:
> From: "Scot W. Hetzel" <hetzels at westbend.net>
> > You only enabled 1/3 of the source to use PROCESS_OPTIONS, you also need
> to
> > add the option to libwrap (lib/libwrap) and tcpdchk
> (src/usr.sbin/tcpdchk).
> >
> Small correction, the lib/libwrap/Makefile is setting PROCESS_OPTIONS in
> it's CFLAGS. The only other file that can use the PROCESS_OPTIONS setting
> is usr.sbin/tcpdchk. A grep for PROCESS_OPTIONS for libexec/tcpd (in
> contrib/tcp_wrappers) shows that tcpd.c doesn't use this option.
>
> Scot
Thanks Scot. Ii tried adding PROCESS_OPTIONS in usr.sbin/tcpdchk
and it didn't work either.
CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\"
-DHOSTS_ALLOW=\"/etc/hosts.allow\" \
-DPROCESS_OPTIONS
Any ideas?
Cheers,
Vince - vince at WURLDLINK.NET - Vice President ________ __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ]
WurldLink Corporation / / / / | / | __] ]
San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1 at IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin
More information about the freebsd-current
mailing list