[rfc] add MK_TELNET_SSL as a build option
Warner Losh
imp at bsdimp.com
Mon Jun 15 16:04:54 UTC 2015
> On Jun 13, 2015, at 4:40 PM, Adrian Chadd <adrian at freebsd.org> wrote:
> I'd appreciate feedback here as it does involve addin ga new MK, and I
> really dislike it. :(
Me too. However, in this case it seems necessary. You need to have a system
with SSL, but without SSL telnet. Perhaps, though, you on’t really need telnet
at all on these boxes?
> -.if ${MK_OPENSSL} != "no"
> +.if ${MK_OPENSSL} != "no" && ${MK_TELNET_SSL} != “no”
...
> -.if ${MK_OPENSSL} != "no"
> +.if ${MK_OPENSSL} != "no" && ${MK_TELNET_SSL} != “no"
etc
If MK_OPENSSL is “no”, then MK_TELNET_SSL is necessarily no.
Reduce this to just testing for that.
> .if ${MK_CRYPT} == "no"
> MK_OPENSSL:= no
> +MK_TELNET_SSL:= no
> MK_OPENSSH:= no
> MK_KERBEROS:= no
The last two (now three) are redunant because they are handled
below with the OPENSSL dependency.
> .endif
> @@ -312,6 +314,7 @@
> .endif
>
> .if ${MK_OPENSSL} == "no"
> +MK_TELNET_SSL:= no
> MK_OPENSSH:= no
> MK_KERBEROS:= no
> .endif
here...
Warner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20150615/4c13a2f0/attachment.sig>
More information about the freebsd-arch
mailing list