FreeBSD Bugzilla – Attachment 146494 Details for
Bug 193127
[PATCH] security/openssh-portable should allow a plain protocol version string
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to allow bare SSH protocol version string
openssh-portable-ssh-version-option.patch (text/plain), 1.36 KB, created by
Adam McDougall
on 2014-08-29 18:16:19 UTC
(
hide
)
Description:
Patch to allow bare SSH protocol version string
Filename:
MIME Type:
Creator:
Adam McDougall
Created:
2014-08-29 18:16:19 UTC
Size:
1.36 KB
patch
obsolete
>diff -urN security/openssh-portable.orig/Makefile security/openssh-portable/Makefile >--- security/openssh-portable.orig/Makefile 2014-07-24 15:16:09.000000000 -0400 >+++ security/openssh-portable/Makefile 2014-08-29 10:45:17.779106342 -0400 >@@ -37,8 +37,8 @@ > > OPTIONS_DEFINE= PAM TCP_WRAPPERS LIBEDIT BSM \ > HPN LPK X509 KERB_GSSAPI \ >- OVERWRITE_BASE SCTP AES_THREADED LDNS NONECIPHER >-OPTIONS_DEFAULT= LIBEDIT PAM TCP_WRAPPERS HPN LDNS NONECIPHER >+ OVERWRITE_BASE SCTP AES_THREADED LDNS NONECIPHER SSH_VERSIONMOD >+OPTIONS_DEFAULT= LIBEDIT PAM TCP_WRAPPERS HPN LDNS NONECIPHER SSH_VERSIONMOD > OPTIONS_RADIO= KERBEROS > OPTIONS_RADIO_KERBEROS= MIT HEIMDAL HEIMDAL_BASE > TCP_WRAPPERS_DESC= tcp_wrappers support >@@ -239,6 +239,7 @@ > @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' \ > -e 's|%%RC_SCRIPT_NAME%%|${RC_SCRIPT_NAME}|' ${WRKSRC}/sshd.8 > .endif >+.if ${PORT_OPTIONS:MSSH_VERSIONMOD} > @${REINPLACE_CMD} -E -e 's|SSH_VERSION|TMP_SSH_VERSION|' \ > -e 's|.*SSH_RELEASE.*||' ${WRKSRC}/version.h > @${ECHO_CMD} '#define FREEBSD_PORT_VERSION " FreeBSD-${PKGNAME}"' >> \ >@@ -247,6 +248,7 @@ > ${WRKSRC}/version.h > @${ECHO_CMD} '#define SSH_RELEASE TMP_SSH_VERSION SSH_PORTABLE FREEBSD_PORT_VERSION' >> \ > ${WRKSRC}/version.h >+.endif > .if ${PORT_OPTIONS:MHPN} > @${REINPLACE_CMD} -e 's|TMP_SSH_VERSION SSH_PORTABLE|TMP_SSH_VERSION SSH_PORTABLE SSH_HPN|' \ > ${WRKSRC}/version.h
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193127
:
146494
|
146504
|
146507
|
146576
|
149338
|
149339
|
149340