Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 17:37:30 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        "Scot W. Hetzel" <hetzels@westbend.net>
Cc:        current@freebsd.org
Subject:   Re: src/libexec/tcpd doesn't work correctly with -DPROCESS_OPTIONS
Message-ID:  <20030704173607.S3146-100000@oahu.WURLDLINK.NET>
In-Reply-To: <00b501c3428c$c4028520$11fd2fd8@westbend.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jul 2003, Scot W. Hetzel wrote:

> From: "Scot W. Hetzel" <hetzels@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@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@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704173607.S3146-100000>