svn commit: r313243 - in stable/11: crypto/openssh secure/usr.sbin/sshd
Ngie Cooper
ngie at FreeBSD.org
Sat Feb 4 17:26:30 UTC 2017
Author: ngie
Date: Sat Feb 4 17:26:28 2017
New Revision: 313243
URL: https://svnweb.freebsd.org/changeset/base/313243
Log:
MFC r311585:
Conditionalize building libwrap support into sshd
Only build libwrap support into sshd if MK_TCP_WRAPPERS != no
This will unbreak the build if libwrap has been removed from the system
PR: 210141
Modified:
stable/11/crypto/openssh/config.h
stable/11/secure/usr.sbin/sshd/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/crypto/openssh/config.h
==============================================================================
--- stable/11/crypto/openssh/config.h Sat Feb 4 17:21:17 2017 (r313242)
+++ stable/11/crypto/openssh/config.h Sat Feb 4 17:26:28 2017 (r313243)
@@ -1408,7 +1408,7 @@
/* #undef LASTLOG_WRITE_PUTUTXLINE */
/* Define if you want TCP Wrappers support */
-#define LIBWRAP 1
+/* #undef LIBWRAP */
/* Define to whatever link() returns for "not supported" if it doesn't return
EOPNOTSUPP. */
Modified: stable/11/secure/usr.sbin/sshd/Makefile
==============================================================================
--- stable/11/secure/usr.sbin/sshd/Makefile Sat Feb 4 17:21:17 2017 (r313242)
+++ stable/11/secure/usr.sbin/sshd/Makefile Sat Feb 4 17:26:28 2017 (r313243)
@@ -27,7 +27,7 @@ CFLAGS+=-I${SSHDIR} -include ssh_namespa
SRCS+= ssh_namespace.h
# pam should always happen before ssh here for static linking
-LIBADD= pam ssh util wrap
+LIBADD= pam ssh util
.if ${MK_LDNS} != "no"
CFLAGS+= -DHAVE_LDNS=1
@@ -53,6 +53,11 @@ SRCS+= krb5_config.h
LIBADD+= gssapi_krb5 gssapi krb5
.endif
+.if ${MK_TCP_WRAPPERS} != "no"
+CFLAGS+= -DLIBWRAP
+LIBADD+= wrap
+.endif
+
LIBADD+= crypto
.if defined(LOCALBASE)
More information about the svn-src-stable
mailing list