Mailing List Archive

tcp-wrappers not being used even w/ --with-tcp-wrappers
Howdy,

It seems that even when specifying the --with-tcp-wrappers configure
flag, the LIBWRAP define in config.h never gets #define'd and -lwrap
never gets added to LIBS in the Makefile. To make sure I wasn't
dealing with a stale configure file, I ran autoconf on configure.in
to roll a new configure. I also don't see anything wrong with the
--with-tcp-wrappers defined in configure.in. No luck so far.

I'll continue poking at the source to try to solve it, but in the
meantime, if someone comes up with the solution, please post it to
the list.

Thanks,

--
===============================================================================
csaia@wtower.com, WTnet IRC Administrator - http://www.wtower.com/~csaia/
GNU Privacy Guard Public Key information is available at the above URL.
===============================================================================
Re: tcp-wrappers not being used even w/ --with-tcp-wrappers [ In reply to ]
On 22 Nov 1999, Chris Saia wrote:

> Howdy,
>
> It seems that even when specifying the --with-tcp-wrappers configure
> flag, the LIBWRAP define in config.h never gets #define'd and -lwrap
> never gets added to LIBS in the Makefile. To make sure I wasn't
> dealing with a stale configure file, I ran autoconf on configure.in
> to roll a new configure. I also don't see anything wrong with the
> --with-tcp-wrappers defined in configure.in. No luck so far.
>
> I'll continue poking at the source to try to solve it, but in the
> meantime, if someone comes up with the solution, please post it to
> the list.
>
This patch should fix the problem:

--- openssh-1.2pre14/configure.in~ Mon Nov 22 06:11:05 1999
+++ openssh-1.2pre14/configure.in Mon Nov 22 20:13:15 1999
@@ -284,7 +284,7 @@
)

dnl Check whether user wants TCP wrappers support
-AC_ARG_WITH(skey,
+AC_ARG_WITH(tcp-wrappers,
[ --with-tcp-wrappers Enable tcpwrappers support],
[
AC_DEFINE(LIBWRAP)

--
Niels Kristian Bech Jensen -- nkbj@image.dk -- http://www.image.dk/~nkbj/

----------->> Stop software piracy --- use free software! <<-----------
Re: tcp-wrappers not being used even w/ --with-tcp-wrappers [ In reply to ]
Niels Kristian Bech Jensen <nkbj@image.dk> writes:

> -AC_ARG_WITH(skey,
> +AC_ARG_WITH(tcp-wrappers,

D'oh! I can't believe I overlooked something that simple. Thanks.

--
===============================================================================
csaia@wtower.com, WTnet IRC Administrator - http://www.wtower.com/~csaia/
GNU Privacy Guard Public Key information is available at the above URL.
===============================================================================
Re: tcp-wrappers not being used even w/ --with-tcp-wrappers [ In reply to ]
On 22 Nov 1999, Chris Saia wrote:

> Niels Kristian Bech Jensen <nkbj@image.dk> writes:
>
> > -AC_ARG_WITH(skey,
> > +AC_ARG_WITH(tcp-wrappers,
>
> D'oh! I can't believe I overlooked something that simple. Thanks.

I can't believe that I did, twice :(

Damien
--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)