From owner-svn-ports-head@freebsd.org Tue Dec 15 20:58:01 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4010CA48943; Tue, 15 Dec 2015 20:58:01 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED8FE150C; Tue, 15 Dec 2015 20:58:00 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBFKw0f5084623; Tue, 15 Dec 2015 20:58:00 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBFKvx1H084618; Tue, 15 Dec 2015 20:57:59 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201512152057.tBFKvx1H084618@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Tue, 15 Dec 2015 20:57:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403807 - in head/devel/subversion17: . 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.20 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: Tue, 15 Dec 2015 20:58:01 -0000 Author: ohauer Date: Tue Dec 15 20:57:59 2015 New Revision: 403807 URL: https://svnweb.freebsd.org/changeset/ports/403807 Log: - backport patch for CVE-2015-5343 [1] - sync 220_subversion.conf.sample.in with subversion 1.8/1.9 - bump PORTREVISION [1] http://subversion.apache.org/security/CVE-2015-5343-advisory.txt MFH: 2015Q4 Added: head/devel/subversion17/files/patch-subversion__mod_dav_svn__util.c (contents, props changed) Modified: head/devel/subversion17/Makefile.common head/devel/subversion17/files/220_subversion.conf.sample.in head/devel/subversion17/files/pkg-message.in Modified: head/devel/subversion17/Makefile.common ============================================================================== --- head/devel/subversion17/Makefile.common Tue Dec 15 20:42:56 2015 (r403806) +++ head/devel/subversion17/Makefile.common Tue Dec 15 20:57:59 2015 (r403807) @@ -3,7 +3,7 @@ PORTNAME= subversion PORTVERSION= 1.7.22 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES+= devel MASTER_SITES= APACHE/subversion DIST_SUBDIR= subversion17 Modified: head/devel/subversion17/files/220_subversion.conf.sample.in ============================================================================== --- head/devel/subversion17/files/220_subversion.conf.sample.in Tue Dec 15 20:42:56 2015 (r403806) +++ head/devel/subversion17/files/220_subversion.conf.sample.in Tue Dec 15 20:57:59 2015 (r403807) @@ -57,6 +57,11 @@ ## ## ## +## +## RemoveEncoding .gz .tgz .Z +## RemoveType .gz .tgz .Z +## +## ## # Enable Subversion ## DAV svn ## Added: head/devel/subversion17/files/patch-subversion__mod_dav_svn__util.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/subversion17/files/patch-subversion__mod_dav_svn__util.c Tue Dec 15 20:57:59 2015 (r403807) @@ -0,0 +1,18 @@ +http://subversion.apache.org/security/CVE-2015-5343-advisory.txt +================================================================ +--- subversion/mod_dav_svn/util.c.orig 2013-11-14 21:11:33 UTC ++++ subversion/mod_dav_svn/util.c +@@ -753,7 +753,12 @@ request_body_to_string(svn_string_t **re + + if (content_length) + { +- buf = svn_stringbuf_create_ensure(content_length, pool); ++ /* Do not allocate more than 1 MB until we receive request body. */ ++ apr_size_t alloc_len = 1 * 1024 *1024; ++ if (content_length < alloc_len) ++ alloc_len = (apr_size_t) content_length; ++ ++ buf = svn_stringbuf_create_ensure(alloc_len, pool); + } + else + { Modified: head/devel/subversion17/files/pkg-message.in ============================================================================== --- head/devel/subversion17/files/pkg-message.in Tue Dec 15 20:42:56 2015 (r403806) +++ head/devel/subversion17/files/pkg-message.in Tue Dec 15 20:57:59 2015 (r403807) @@ -1,2 +1,6 @@ The subversion dav modules are no longer activated in httpd.conf! There is now a dedicated modules file in %%APACHEETCDIR%%/modules.d + +Attention: +subversion17 is deprecated and scheduled for removal! +Please consider updating to subversion 1.8/1.9