Re: src/libexec/tcpd doesn't work correctly with -DPROCESS_OPTIONS

From: Vincent Poy <vince_at_oahu.WURLDLINK.NET>
Date: Fri, 4 Jul 2003 17:37:30 -1000 (HST)
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
Received on Fri Jul 04 2003 - 18:38:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC