2018-09-06 20:34:30

by Steve Dickson

[permalink] [raw]
Subject: [PATCH] tcp-wrappers.m4: Only look for TCP wrappers lib when requested

TCP wrappers is a pretty old and obsolete technology. The
support has be terminated in current distro release, so
only require the library to exist when asked for via the
--with-tcp-wrappers

Signed-off-by: Steve Dickson <[email protected]>
---
aclocal/tcp-wrappers.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aclocal/tcp-wrappers.m4 b/aclocal/tcp-wrappers.m4
index 35ac8e0..f5de8bc 100644
--- a/aclocal/tcp-wrappers.m4
+++ b/aclocal/tcp-wrappers.m4
@@ -4,7 +4,7 @@ AC_DEFUN([AC_TCP_WRAPPERS],[
AC_ARG_WITH(tcp-wrappers,
[ --with-tcp-wrappers[[=PATH]] Enable tcpwrappers support
(optionally in PATH)],
- with_tcpw=$withval, with_tcpw=yes)
+ with_tcpw=$withval, with_tcpw=no)
if test "x$with_tcpw" != "xno" ; then
saved_LIBS="$LIBS"
saved_LDFLAGS="$LDFLAGS"
--
2.17.1


2018-09-06 22:43:31

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] tcp-wrappers.m4: Only look for TCP wrappers lib when requested



On 09/06/2018 11:58 AM, Steve Dickson wrote:
> TCP wrappers is a pretty old and obsolete technology. The
> support has be terminated in current distro release, so
> only require the library to exist when asked for via the
> --with-tcp-wrappers
>
> Signed-off-by: Steve Dickson <[email protected]>
Committed....

steved.
> ---
> aclocal/tcp-wrappers.m4 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/aclocal/tcp-wrappers.m4 b/aclocal/tcp-wrappers.m4
> index 35ac8e0..f5de8bc 100644
> --- a/aclocal/tcp-wrappers.m4
> +++ b/aclocal/tcp-wrappers.m4
> @@ -4,7 +4,7 @@ AC_DEFUN([AC_TCP_WRAPPERS],[
> AC_ARG_WITH(tcp-wrappers,
> [ --with-tcp-wrappers[[=PATH]] Enable tcpwrappers support
> (optionally in PATH)],
> - with_tcpw=$withval, with_tcpw=yes)
> + with_tcpw=$withval, with_tcpw=no)
> if test "x$with_tcpw" != "xno" ; then
> saved_LIBS="$LIBS"
> saved_LDFLAGS="$LDFLAGS"
>