Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2018 22:32:37 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473412 - in head/security/openssh-portable: . files
Message-ID:  <201806262232.w5QMWbaZ009788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Jun 26 22:32:37 2018
New Revision: 473412
URL: https://svnweb.freebsd.org/changeset/ports/473412

Log:
  Update x509 patch to 11.3.2

Modified:
  head/security/openssh-portable/Makefile
  head/security/openssh-portable/distinfo
  head/security/openssh-portable/files/extra-patch-x509-glue

Modified: head/security/openssh-portable/Makefile
==============================================================================
--- head/security/openssh-portable/Makefile	Tue Jun 26 21:46:02 2018	(r473411)
+++ head/security/openssh-portable/Makefile	Tue Jun 26 22:32:37 2018	(r473412)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openssh
 DISTVERSION=	7.7p1
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	security ipv6
 MASTER_SITES=	OPENBSD/OpenSSH/portable
@@ -62,7 +62,7 @@ HPN_CONFIGURE_WITH=		hpn
 NONECIPHER_CONFIGURE_WITH=	nonecipher
 
 # See http://www.roumenpetrov.info/openssh/
-X509_VERSION=		11.3
+X509_VERSION=		11.3.2
 X509_PATCH_SITES=	http://www.roumenpetrov.info/openssh/x509-${X509_VERSION}/:x509
 X509_EXTRA_PATCHES+=	${FILESDIR}/extra-patch-x509-glue
 X509_PATCHFILES=	${PORTNAME}-7.7p1+x509-${X509_VERSION}.diff.gz:-p1:x509

Modified: head/security/openssh-portable/distinfo
==============================================================================
--- head/security/openssh-portable/distinfo	Tue Jun 26 21:46:02 2018	(r473411)
+++ head/security/openssh-portable/distinfo	Tue Jun 26 22:32:37 2018	(r473412)
@@ -1,7 +1,7 @@
 TIMESTAMP = 1524589531
 SHA256 (openssh-7.7p1.tar.gz) = d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f
 SIZE (openssh-7.7p1.tar.gz) = 1536900
-SHA256 (openssh-7.7p1+x509-11.3.diff.gz) = 57be0d0028863f1f690b8b4ccae7583c0f8dd8ed2c688a912b25832bf7f9b185
-SIZE (openssh-7.7p1+x509-11.3.diff.gz) = 488467
+SHA256 (openssh-7.7p1+x509-11.3.2.diff.gz) = f0549007b2bdb99c41d83e622b6504365a3fa0a5ac22e3d0755c89cb0e29a02f
+SIZE (openssh-7.7p1+x509-11.3.2.diff.gz) = 492142
 SHA256 (openssh-7.7p1-gsskex-all-20141021-debian-rh-20171004.patch.gz) = c58f10ed5d9550e6e4ac09898a1aa131321e69c4d65a742ab95d357b35576ef4
 SIZE (openssh-7.7p1-gsskex-all-20141021-debian-rh-20171004.patch.gz) = 27251

Modified: head/security/openssh-portable/files/extra-patch-x509-glue
==============================================================================
--- head/security/openssh-portable/files/extra-patch-x509-glue	Tue Jun 26 21:46:02 2018	(r473411)
+++ head/security/openssh-portable/files/extra-patch-x509-glue	Tue Jun 26 22:32:37 2018	(r473412)
@@ -155,3 +155,37 @@
  .Ev DISPLAY
  environment variable to
  .Cm localhost .
+--- openbsd-compat/port-net.c	2018-06-26 15:18:43.551904000 -0700
++++ openbsd-compat/port-net.c.orig	2018-04-01 22:38:28.000000000 -0700
+@@ -186,8 +185,8 @@ sys_tun_open(int tun, int mode, char **ifname)
+ 	else
+ 		debug("%s: %s mode %d fd %d", __func__, ifr.ifr_name, mode, fd);
+ 
+-	if (ifname != NULL)
+-		*ifname = xstrdup(ifr.ifr_name);
++	if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)))
++		goto failed;
+ 
+ 	return (fd);
+ 
+@@ -273,8 +272,8 @@ sys_tun_open(int tun, int mode, char **ifname)
+ 			goto failed;
+ 	}
+ 
+-	if (ifname != NULL)
+-		*ifname = xstrdup(ifr.ifr_name);
++	if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)))
++		goto failed;
+ 
+ 	close(sock);
+ 	return (fd);
+--- ssh.c.orig	2018-04-01 22:38:28.000000000 -0700
++++ ssh.c	2018-06-26 15:22:02.947595000 -0700
+@@ -1411,6 +1323,7 @@ main(int ac, char **av)
+ 		    (char *)NULL);
+ 		free(cp);
+ 	}
++	free(conn_hash_hex);
+ 
+ 	if (config_test) {
+ 		dump_client_config(&options, host);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806262232.w5QMWbaZ009788>