svn commit: r311585 - in head: crypto/openssh secure/usr.sbin/sshd
Xin Li
delphij at delphij.net
Tue Jan 10 07:56:58 UTC 2017
On 1/7/17 00:08, Ngie Cooper wrote:
> Author: ngie
> Date: Sat Jan 7 08:08:35 2017
> New Revision: 311585
> URL: https://svnweb.freebsd.org/changeset/base/311585
>
> Log:
> 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
>
> MFC after: 2 weeks
> PR: 210141
> Submitted by: kpect at protonmail.com
> Differential Revision: D9049
I didn't see this approved by maintainer, did you ping him?
[delphij at saturn] /usr/src> grep ssh MAINTAINERS
openssh des Pre-commit review requested.
(Not that the change itself is bad, though, but it's important to keep
everyone on the same page).
> Modified:
> head/crypto/openssh/config.h
> head/secure/usr.sbin/sshd/Makefile
>
> Modified: head/crypto/openssh/config.h
> ==============================================================================
> --- head/crypto/openssh/config.h Sat Jan 7 07:54:23 2017 (r311584)
> +++ head/crypto/openssh/config.h Sat Jan 7 08:08:35 2017 (r311585)
> @@ -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: head/secure/usr.sbin/sshd/Makefile
> ==============================================================================
> --- head/secure/usr.sbin/sshd/Makefile Sat Jan 7 07:54:23 2017 (r311584)
> +++ head/secure/usr.sbin/sshd/Makefile Sat Jan 7 08:08:35 2017 (r311585)
> @@ -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)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170109/9d36744d/attachment-0001.sig>
More information about the svn-src-all
mailing list