Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 12:09:06 -0800 (PST)
From:      <ashp@FreeBSD.org>
To:        khera@kciLink.com, ashp@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/18967: ypserv not linked with tcp wrappers
Message-ID:  <200202092009.g19K96U32037@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: ypserv not linked with tcp wrappers

State-Changed-From-To: open->feedback
State-Changed-By: ashp
State-Changed-When: Sat Feb 9 11:57:24 PST 2002
State-Changed-Why: 
Does this patch work correctly for you?  If you have no problems,
I can find someone to commit it.  (Note, this is my first time
fiddling with the build system, I expect it's done wrongly.)

diff -u ypserv.orig/Makefile ypserv/Makefile
--- ypserv.orig/Makefile	Sat Feb  9 15:01:52 2002
+++ ypserv/Makefile	Sat Feb  9 15:01:09 2002
@@ -7,6 +7,7 @@
 MAN=	ypserv.8 ypinit.8
 
 CFLAGS+= -I. -DDB_CACHE
+LDADD= -lwrap
 
 CLEANFILES= yp_svc.c ypxfr_clnt.c yp.h
 
diff -u ypserv.orig/ypserv.8 ypserv/ypserv.8
--- ypserv.orig/ypserv.8	Sat Feb  9 15:01:58 2002
+++ ypserv/ypserv.8	Sat Feb  9 15:04:14 2002
@@ -273,18 +273,7 @@
 .Nm
 program also has support for Wietse Venema's
 .Em tcpwrapper
-package, though it is not compiled in by default since
-the
-.Em tcpwrapper
-package is not distributed with
-.Fx .
-However, if you have
-.Pa libwrap.a
-and
-.Pa tcpd.h ,
-you can easily recompile
-.Nm
-with them.
+package.
 This allows the administrator to use the tcpwrapper
 configuration files
 .Pa ( /etc/hosts.allow

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18967

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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