diff options
author | 2022-03-05 23:22:27 -0800 | |
---|---|---|
committer | 2022-03-05 23:22:27 -0800 | |
commit | 5ec2abcc9cbcc9a06475968044b841c129f1ee88 (patch) | |
tree | 4fdc0d54fe3c81f4a34bf9c65911f943908b549c /net-misc/openssh/files | |
parent | net-irc/eggdrop: Stabilize 1.9.1 sparc, #834641 (diff) | |
download | gentoo-5ec2abcc9cbcc9a06475968044b841c129f1ee88.tar.gz gentoo-5ec2abcc9cbcc9a06475968044b841c129f1ee88.tar.bz2 gentoo-5ec2abcc9cbcc9a06475968044b841c129f1ee88.zip |
net-misc/openssh: Revbump, update X509 patch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r-- | net-misc/openssh/files/openssh-8.9_p1-X509-glue-13.3.1.patch (renamed from net-misc/openssh/files/openssh-8.9_p1-X509-glue-13.3.patch) | 60 |
1 files changed, 43 insertions, 17 deletions
diff --git a/net-misc/openssh/files/openssh-8.9_p1-X509-glue-13.3.patch b/net-misc/openssh/files/openssh-8.9_p1-X509-glue-13.3.1.patch index 7c7767109dd5..eab5b5344d6a 100644 --- a/net-misc/openssh/files/openssh-8.9_p1-X509-glue-13.3.patch +++ b/net-misc/openssh/files/openssh-8.9_p1-X509-glue-13.3.1.patch @@ -1,7 +1,7 @@ -diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509-13.3.diff ---- a/openssh-8.9p1+x509-13.3.diff 2022-02-24 17:19:30.830285922 -0800 -+++ b/openssh-8.9p1+x509-13.3.diff 2022-02-25 17:35:40.885492007 -0800 -@@ -993,15 +993,16 @@ +diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.1.diff b/openssh-8.9p1+x509-13.3.1.diff +--- a/openssh-8.9p1+x509-13.3.1.diff 2022-03-05 21:49:32.673126122 -0800 ++++ b/openssh-8.9p1+x509-13.3.1.diff 2022-03-05 21:52:52.581776560 -0800 +@@ -1002,15 +1002,16 @@ char b[512]; - size_t len = ssh_digest_bytes(SSH_DIGEST_SHA512); - u_char *hash = xmalloc(len); @@ -21,7 +21,7 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- (void)snprintf(b, sizeof b, "%llu%s", (unsigned long long)options.timing_secret, user); - if (ssh_digest_memory(SSH_DIGEST_SHA512, b, strlen(b), hash, len) != 0) -@@ -44573,8 +44574,8 @@ +@@ -44746,8 +44747,8 @@ gss_create_empty_oid_set(&status, &oidset); gss_add_oid_set_member(&status, ctx->oid, &oidset); @@ -32,16 +32,16 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- gss_release_oid_set(&status, &oidset); return (-1); } -@@ -51970,7 +51971,7 @@ - diff -ruN openssh-8.9p1/m4/openssh.m4 openssh-8.9p1+x509-13.3/m4/openssh.m4 +@@ -52143,7 +52144,7 @@ + diff -ruN openssh-8.9p1/m4/openssh.m4 openssh-8.9p1+x509-13.3.1/m4/openssh.m4 --- openssh-8.9p1/m4/openssh.m4 2022-02-23 13:31:11.000000000 +0200 - +++ openssh-8.9p1+x509-13.3/m4/openssh.m4 1970-01-01 02:00:00.000000000 +0200 + +++ openssh-8.9p1+x509-13.3.1/m4/openssh.m4 1970-01-01 02:00:00.000000000 +0200 -@@ -1,200 +0,0 @@ +@@ -1,203 +0,0 @@ -dnl OpenSSH-specific autoconf macros -dnl - -@@ -51987,6 +51988,8 @@ +@@ -52160,6 +52161,8 @@ - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -#include <stdlib.h> -#include <stdio.h> @@ -50,7 +50,7 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- -int main(int argc, char **argv) { - (void)argv; - /* Some math to catch -ftrapv problems in the toolchain */ -@@ -51994,6 +51997,7 @@ +@@ -52167,6 +52170,7 @@ - float l = i * 2.1; - double m = l / 0.5; - long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; @@ -58,7 +58,7 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- - printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); - /* - * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does -@@ -52711,12 +52715,11 @@ +@@ -52884,12 +52888,11 @@ install-files: $(MKDIR_P) $(DESTDIR)$(bindir) @@ -72,7 +72,7 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- $(MKDIR_P) -m 0755 $(DESTDIR)$(PRIVSEP_PATH) $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh$(EXEEXT) $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp$(EXEEXT) -@@ -73508,7 +73511,7 @@ +@@ -73836,7 +73839,7 @@ +if test "$sshd_type" = "pkix" ; then + unset_arg='' +else @@ -81,13 +81,39 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- +fi + cat > $OBJ/sshd_config.i << _EOF -@@ -137555,16 +137558,6 @@ +@@ -79691,25 +79694,6 @@ + #ifdef __NR_getrandom + SC_ALLOW(__NR_getrandom), + #endif +-@@ -267,15 +273,15 @@ +- #ifdef __NR_clock_nanosleep_time64 +- SC_ALLOW(__NR_clock_nanosleep_time64), +- #endif +--#ifdef __NR_clock_gettime64 +-- SC_ALLOW(__NR_clock_gettime64), +--#endif +- #ifdef __NR__newselect +- SC_ALLOW(__NR__newselect), +- #endif +- #ifdef __NR_ppoll +- SC_ALLOW(__NR_ppoll), +- #endif +-+#ifdef __NR_ppoll_time64 +-+ SC_ALLOW(__NR_ppoll_time64), +-+#endif +- #ifdef __NR_poll +- SC_ALLOW(__NR_poll), +- #endif + @@ -288,6 +294,9 @@ + #ifdef __NR_read + SC_ALLOW(__NR_read), +@@ -137848,16 +137832,6 @@ +int asnmprintf(char **, size_t, int *, const char *, ...) __attribute__((format(printf, 4, 5))); void msetlocale(void); --diff -ruN openssh-8.9p1/version.h openssh-8.9p1+x509-13.3/version.h +-diff -ruN openssh-8.9p1/version.h openssh-8.9p1+x509-13.3.1/version.h ---- openssh-8.9p1/version.h 2022-02-23 13:31:11.000000000 +0200 --+++ openssh-8.9p1+x509-13.3/version.h 2022-02-24 20:07:00.000000000 +0200 +-+++ openssh-8.9p1+x509-13.3.1/version.h 2022-03-05 10:07:00.000000000 +0200 -@@ -2,5 +2,4 @@ - - #define SSH_VERSION "OpenSSH_8.9" @@ -95,6 +121,6 @@ diff -ur '--exclude=.*.un~' a/openssh-8.9p1+x509-13.3.diff b/openssh-8.9p1+x509- --#define SSH_PORTABLE "p1" --#define SSH_RELEASE SSH_VERSION SSH_PORTABLE -+#define SSH_RELEASE PACKAGE_STRING ", " SSH_VERSION "p1" - diff -ruN openssh-8.9p1/version.m4 openssh-8.9p1+x509-13.3/version.m4 + diff -ruN openssh-8.9p1/version.m4 openssh-8.9p1+x509-13.3.1/version.m4 --- openssh-8.9p1/version.m4 1970-01-01 02:00:00.000000000 +0200 - +++ openssh-8.9p1+x509-13.3/version.m4 2022-02-24 20:07:00.000000000 +0200 + +++ openssh-8.9p1+x509-13.3.1/version.m4 2022-03-05 10:07:00.000000000 +0200 |