Skip to content

Commit dab74f3

Browse files
authored
Merge pull request #3857 from citrus-it/opensshr52
openssh - update from 9.9p1 to 9.9p2 (r151052)
2 parents 1aa1126 + 245377d commit dab74f3

10 files changed

+17
-17
lines changed

build/openssh/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# }}}
1414
#
1515
# Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
16-
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
16+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1717

1818
. ../../lib/build.sh
1919

2020
PROG=openssh
21-
VER=9.9p1
21+
VER=9.9p2
2222
PKG=network/openssh
2323
SUMMARY="OpenSSH Client and utilities"
2424
DESC="OpenSSH Secure Shell protocol Client and associated Utilities"

build/openssh/patches/0002-PAM-Support.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/servconf.c a/servconf.c
2626
if (options->pam_service_name == NULL)
2727
options->pam_service_name = xstrdup(SSHD_PAM_SERVICE);
2828

29-
@@ -1345,8 +1350,17 @@ process_server_config_line_depth(ServerO
29+
@@ -1374,8 +1379,17 @@ process_server_config_line_depth(ServerO
3030
switch (opcode) {
3131
/* Portable-specific options */
3232
case sUsePAM:

build/openssh/patches/0006-GSS-store-creds-for-Solaris.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/gss-serv-krb5.c a/gss-serv-kr
5151
diff -wpruN --no-dereference '--exclude=*.orig' a~/gss-serv.c a/gss-serv.c
5252
--- a~/gss-serv.c 1970-01-01 00:00:00
5353
+++ a/gss-serv.c 1970-01-01 00:00:00
54-
@@ -44,6 +44,7 @@
54+
@@ -45,6 +45,7 @@
5555
#include "session.h"
5656
#include "misc.h"
5757
#include "servconf.h"
5858
+#include "sshbuf.h"
5959

6060
#include "ssh-gss.h"
6161

62-
@@ -319,22 +320,66 @@ ssh_gssapi_getclient(Gssctxt *ctx, ssh_g
62+
@@ -320,22 +321,66 @@ ssh_gssapi_getclient(Gssctxt *ctx, ssh_g
6363
void
6464
ssh_gssapi_cleanup_creds(void)
6565
{

build/openssh/patches/0008-Add-DisableBanner-option.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/readconf.c a/readconf.c
2121
{ "tunnel", oTunnel },
2222
{ "tunneldevice", oTunnelDevice },
2323
{ "localcommand", oLocalCommand },
24-
@@ -1054,6 +1060,17 @@ parse_multistate_value(const char *arg,
24+
@@ -1072,6 +1078,17 @@ parse_multistate_value(const char *arg,
2525
return -1;
2626
}
2727

@@ -39,7 +39,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/readconf.c a/readconf.c
3939
/*
4040
* Processes a single option line as used in the configuration files. This
4141
* only sets those values that have not already been set.
42-
@@ -2422,6 +2439,13 @@ parse_pubkey_algos:
42+
@@ -2440,6 +2457,13 @@ parse_pubkey_algos:
4343
}
4444
break;
4545

@@ -53,7 +53,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/readconf.c a/readconf.c
5353
case oDeprecated:
5454
debug("%s line %d: Deprecated option \"%s\"",
5555
filename, linenum, keyword);
56-
@@ -2660,6 +2684,9 @@ initialize_options(Options * options)
56+
@@ -2678,6 +2702,9 @@ initialize_options(Options * options)
5757
options->stdin_null = -1;
5858
options->fork_after_authentication = -1;
5959
options->proxy_use_fdpass = -1;
@@ -63,7 +63,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/readconf.c a/readconf.c
6363
options->ignored_unknown = NULL;
6464
options->num_canonical_domains = 0;
6565
options->num_permitted_cnames = 0;
66-
@@ -2867,6 +2894,10 @@ fill_default_options(Options * options)
66+
@@ -2885,6 +2912,10 @@ fill_default_options(Options * options)
6767
options->canonicalize_fallback_local = 1;
6868
if (options->canonicalize_hostname == -1)
6969
options->canonicalize_hostname = SSH_CANONICALISE_NO;

build/openssh/patches/0010-PAM-enhancements-for-Solaris.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/servconf.c a/servconf.c
488488
#endif
489489
{ "pamauthenticationviakbdint", sDeprecated, SSHCFG_GLOBAL },
490490
/* Standard Options */
491-
@@ -1365,6 +1394,21 @@ process_server_config_line_depth(ServerO
491+
@@ -1394,6 +1423,21 @@ process_server_config_line_depth(ServerO
492492
intptr = &options->use_pam;
493493
goto parse_flag;
494494
#endif
@@ -510,7 +510,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/servconf.c a/servconf.c
510510
case sPAMServiceName:
511511
charptr = &options->pam_service_name;
512512
arg = argv_next(&ac, &av);
513-
@@ -1372,8 +1416,20 @@ process_server_config_line_depth(ServerO
513+
@@ -1401,8 +1445,20 @@ process_server_config_line_depth(ServerO
514514
fatal("%s line %d: missing argument.",
515515
filename, linenum);
516516
}

build/openssh/patches/0013-Solaris-Auditing-support.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/configure.ac a/configure.ac
725725
diff -wpruN --no-dereference '--exclude=*.orig' a~/defines.h a/defines.h
726726
--- a~/defines.h 1970-01-01 00:00:00
727727
+++ a/defines.h 1970-01-01 00:00:00
728-
@@ -715,6 +715,11 @@ struct winsize {
728+
@@ -741,6 +741,11 @@ struct winsize {
729729
# define CUSTOM_SSH_AUDIT_EVENTS
730730
#endif
731731

build/openssh/patches/0019-PubKeyPlugin-support.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/servconf.c a/servconf.c
226226
{ "securitykeyprovider", sSecurityKeyProvider, SSHCFG_GLOBAL },
227227
{ "requiredrsasize", sRequiredRSASize, SSHCFG_ALL },
228228
{ "channeltimeout", sChannelTimeout, SSHCFG_ALL },
229-
@@ -2755,6 +2758,18 @@ process_server_config_line_depth(ServerO
229+
@@ -2784,6 +2787,18 @@ process_server_config_line_depth(ServerO
230230
multistate_ptr = multistate_flag;
231231
goto parse_multistate;
232232

build/openssh/patches/0026-Don-t-use-krb5-config-to-check-for-GSSAPI-on-illumos.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Subject: [PATCH 26/34] Don't use krb5-config to check for GSSAPI on illumos
66
diff -wpruN --no-dereference '--exclude=*.orig' a~/configure.ac a/configure.ac
77
--- a~/configure.ac 1970-01-01 00:00:00
88
+++ a/configure.ac 1970-01-01 00:00:00
9-
@@ -4794,6 +4794,11 @@ AC_ARG_WITH([kerberos5],
9+
@@ -4793,6 +4793,11 @@ AC_ARG_WITH([kerberos5],
1010
AC_PATH_TOOL([KRB5CONF], [krb5-config],
1111
[$KRB5ROOT/bin/krb5-config],
1212
[$KRB5ROOT/bin:$PATH])
@@ -18,7 +18,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/configure.ac a/configure.ac
1818
if test -x $KRB5CONF ; then
1919
K5CFLAGS="`$KRB5CONF --cflags`"
2020
K5LIBS="`$KRB5CONF --libs`"
21-
@@ -4835,7 +4840,7 @@ AC_ARG_WITH([kerberos5],
21+
@@ -4834,7 +4839,7 @@ AC_ARG_WITH([kerberos5],
2222
AC_CHECK_LIB([des], [des_cbc_encrypt],
2323
[K5LIBS="$K5LIBS -ldes"])
2424
], [ AC_MSG_RESULT([no])

build/openssh/patches/0029-Accept-LANG-and-LC_-environment-variables-from-clien.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/servconf.c a/servconf.c
5151
if (options->client_alive_interval == -1)
5252
options->client_alive_interval = 0;
5353
if (options->client_alive_count_max == -1)
54-
@@ -2329,9 +2356,12 @@ process_server_config_line_depth(ServerO
54+
@@ -2358,9 +2385,12 @@ process_server_config_line_depth(ServerO
5555
if (*arg == '\0' || strchr(arg, '=') != NULL)
5656
fatal("%s line %d: Invalid environment name.",
5757
filename, linenum);

build/openssh/patches/0031-Restore-tcpwrappers-libwrap-support.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/configure.ac a/configure.ac
6464
# Check whether user wants to use ldns
6565
LDNS_MSG="no"
6666
AC_ARG_WITH(ldns,
67-
@@ -5725,6 +5781,7 @@ echo " PAM support
67+
@@ -5724,6 +5780,7 @@ echo " PAM support
6868
echo " OSF SIA support: $SIA_MSG"
6969
echo " KerberosV support: $KRB5_MSG"
7070
echo " SELinux support: $SELINUX_MSG"

0 commit comments

Comments
 (0)