From owner-svn-ports-head@FreeBSD.ORG Thu Oct 3 13:31:43 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 32526AEE; Thu, 3 Oct 2013 13:31:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 05E432521; Thu, 3 Oct 2013 13:31:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r93DVg3k084159; Thu, 3 Oct 2013 13:31:42 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r93DVgLL084158; Thu, 3 Oct 2013 13:31:42 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201310031331.r93DVgLL084158@svn.freebsd.org> From: Bryan Drewery Date: Thu, 3 Oct 2013 13:31:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329185 - head/security/openssh-portable/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 13:31:43 -0000 Author: bdrewery Date: Thu Oct 3 13:31:42 2013 New Revision: 329185 URL: http://svnweb.freebsd.org/changeset/ports/329185 Log: Cleanup patch-readconf.c to only have 1 diff Modified: head/security/openssh-portable/files/patch-readconf.c Modified: head/security/openssh-portable/files/patch-readconf.c ============================================================================== --- head/security/openssh-portable/files/patch-readconf.c Thu Oct 3 13:30:29 2013 (r329184) +++ head/security/openssh-portable/files/patch-readconf.c Thu Oct 3 13:31:42 2013 (r329185) @@ -1,3 +1,5 @@ +base defaults + r99048 | des | 2002-06-29 05:51:56 -0500 (Sat, 29 Jun 2002) | 4 lines Changed paths: M /head/crypto/openssh/myproposal.h @@ -17,28 +19,17 @@ Submitted upstream, no reaction. Submitted by: delphij@ ---- readconf.c.orig 2010-08-03 00:04:46.000000000 -0600 -+++ readconf.c 2010-09-14 16:14:12.000000000 -0600 -@@ -1169,7 +1169,7 @@ - if (options->batch_mode == -1) - options->batch_mode = 0; - if (options->check_host_ip == -1) -- options->check_host_ip = 1; -+ options->check_host_ip = 0; - if (options->strict_host_key_checking == -1) - options->strict_host_key_checking = 2; /* 2 is default */ - if (options->compression == -1) ---- readconf.c (revision 181917) -+++ readconf.c (revision 181918) -@@ -18,6 +18,7 @@ +--- readconf.c.orig 2013-10-03 06:56:21.649139613 -0500 ++++ readconf.c 2013-10-03 06:56:50.961467272 -0500 +@@ -17,6 +17,7 @@ #include #include #include +#include #include - -@@ -245,7 +246,19 @@ + #include +@@ -265,7 +266,19 @@ add_local_forward(Options *options, cons Forward *fwd; #ifndef NO_IPPORT_RESERVED_CONCEPT extern uid_t original_real_uid; @@ -58,4 +49,13 @@ Submitted by: delphij@ + if (newfwd->listen_port < ipport_reserved && original_real_uid != 0) fatal("Privileged ports can only be forwarded by root."); #endif - if (options->num_local_forwards >= SSH_MAX_FORWARDS_PER_DIRECTION) + options->local_forwards = xrealloc(options->local_forwards, +@@ -1281,7 +1294,7 @@ fill_default_options(Options * options) + if (options->batch_mode == -1) + options->batch_mode = 0; + if (options->check_host_ip == -1) +- options->check_host_ip = 1; ++ options->check_host_ip = 0; + if (options->strict_host_key_checking == -1) + options->strict_host_key_checking = 2; /* 2 is default */ + if (options->compression == -1)