pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2008Q2]: pkgsrc/security/openssh pullup ticket #2459 requested...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79f552956da4
branches:  pkgsrc-2008Q2
changeset: 544202:79f552956da4
user:      rtr <rtr%pkgsrc.org@localhost>
date:      Fri Jul 25 09:21:40 2008 +0000

description:
pullup ticket #2459 requested by tnn
openssh: patch for X11 forwarding issue on HP-UX

revisions pulled up:
pkgsrc/security/openssh/Makefile                1.189
pkgsrc/security/openssh/distinfo                1.70
pkgsrc/security/openssh/patches/patch-at        1.7

   Module Name: pkgsrc
   Committed By:        tnn
   Date:                Thu Jul 24 16:25:47 UTC 2008

   Modified Files:
        pkgsrc/security/openssh: Makefile distinfo
   Added Files:
        pkgsrc/security/openssh/patches: patch-at

   Log Message:
   Add patch from OpenSSH 5.1 that fixes an X11 fwd security issue on
   HP-UX. Bump PKGREVISION.

diffstat:

 security/openssh/Makefile         |   3 ++-
 security/openssh/distinfo         |   3 ++-
 security/openssh/patches/patch-at |  38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 2 deletions(-)

diffs (72 lines):

diff -r a704bfede2d2 -r 79f552956da4 security/openssh/Makefile
--- a/security/openssh/Makefile Thu Jul 24 10:28:30 2008 +0000
+++ b/security/openssh/Makefile Fri Jul 25 09:21:40 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.188 2008/04/27 00:34:27 tnn Exp $
+# $NetBSD: Makefile,v 1.188.4.1 2008/07/25 09:21:40 rtr Exp $
 
 DISTNAME=              openssh-5.0p1
 PKGNAME=               openssh-5.0.1
+PKGREVISION=           1
 SVR4_PKGNAME=          ossh
 CATEGORIES=            security
 MASTER_SITES=          ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/ \
diff -r a704bfede2d2 -r 79f552956da4 security/openssh/distinfo
--- a/security/openssh/distinfo Thu Jul 24 10:28:30 2008 +0000
+++ b/security/openssh/distinfo Fri Jul 25 09:21:40 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.69 2008/04/27 00:34:27 tnn Exp $
+$NetBSD: distinfo,v 1.69.4.1 2008/07/25 09:21:40 rtr Exp $
 
 SHA1 (openssh-5.0.1-20080427/openssh-5.0p1-hpn13v3.diff.gz) = 688265249dfaa449283ddfae2f81a9b6e3507f86
 RMD160 (openssh-5.0.1-20080427/openssh-5.0p1-hpn13v3.diff.gz) = d4baca41f6212036b513173835de6e1081d49ac8
@@ -25,6 +25,7 @@
 SHA1 (patch-aq) = a619b57361b04d5ab3d41375c18f7b99d71c8b34
 SHA1 (patch-ar) = fce4dc1011a124f02b8e14980cda1d633b36aa7d
 SHA1 (patch-as) = 19660f5983931ea3b053e6f4289cf6fae2ce50f3
+SHA1 (patch-at) = 7e7220e024d59d5462157b1d16dd90f23ab697f3
 SHA1 (patch-au) = 6cfdfc531e2267017a15e66ea48c7ecfa2a3926f
 SHA1 (patch-av) = 00f54c3fae7318b278b16bd0b01881a90bd31365
 SHA1 (patch-aw) = 2a88b7563c6f52163c6c5f716e437ecaea613a30
diff -r a704bfede2d2 -r 79f552956da4 security/openssh/patches/patch-at
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openssh/patches/patch-at Fri Jul 25 09:21:40 2008 +0000
@@ -0,0 +1,38 @@
+$NetBSD: patch-at,v 1.6.12.1 2008/07/25 09:21:40 rtr Exp $
+
+Index: channels.c
+===================================================================
+RCS file: /cvs/openssh/channels.c,v
+retrieving revision 1.262
+retrieving revision 1.263
+diff -u -p -u -r1.262 -r1.263
+--- channels.c 10 Jun 2008 13:01:51 -0000      1.262
++++ channels.c 11 Jun 2008 20:05:12 -0000      1.263
+@@ -3018,7 +3018,8 @@ x11_create_display_inet(int x11_display_
+                                       error("setsockopt IPV6_V6ONLY: %.100s", strerror(errno));
+                       }
+ #endif
+-                      channel_set_reuseaddr(sock);
++                      if (x11_use_localhost)
++                              channel_set_reuseaddr(sock);
+                       if (bind(sock, ai->ai_addr, ai->ai_addrlen) < 0) {
+                               debug2("bind port %d: %.100s", port, strerror(errno));
+                               close(sock);
+@@ -3030,17 +3031,8 @@ x11_create_display_inet(int x11_display_
+                               break;
+                       }
+                       socks[num_socks++] = sock;
+-#ifndef DONT_TRY_OTHER_AF
+                       if (num_socks == NUM_SOCKS)
+                               break;
+-#else
+-                      if (x11_use_localhost) {
+-                              if (num_socks == NUM_SOCKS)
+-                                      break;
+-                      } else {
+-                              break;
+-                      }
+-#endif
+               }
+               freeaddrinfo(aitop);
+               if (num_socks > 0)



Home | Main Index | Thread Index | Old Index