From owner-svn-ports-all@freebsd.org Thu Jun 15 20:55:55 2017 Return-Path: Delivered-To: svn-ports-all@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 6667CBEEADF; Thu, 15 Jun 2017 20:55:55 +0000 (UTC) (envelope-from sobomax@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 421088418B; Thu, 15 Jun 2017 20:55:55 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5FKtse4066781; Thu, 15 Jun 2017 20:55:54 GMT (envelope-from sobomax@FreeBSD.org) Received: (from sobomax@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5FKts6q066779; Thu, 15 Jun 2017 20:55:54 GMT (envelope-from sobomax@FreeBSD.org) Message-Id: <201706152055.v5FKts6q066779@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sobomax set sender to sobomax@FreeBSD.org using -f From: Maxim Sobolev Date: Thu, 15 Jun 2017 20:55:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443640 - in head/net/svnup: . 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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 20:55:55 -0000 Author: sobomax Date: Thu Jun 15 20:55:54 2017 New Revision: 443640 URL: https://svnweb.freebsd.org/changeset/ports/443640 Log: Fix "400 Bad Request" with latest incarnation of project's svn servers. Looks like it got somewhat stricter on the acceptable syntax. Bump PORTREVISION. Submitted by: John Mehr (maintainer) Added: head/net/svnup/files/ head/net/svnup/files/patch-svnup.c (contents, props changed) Modified: head/net/svnup/Makefile Modified: head/net/svnup/Makefile ============================================================================== --- head/net/svnup/Makefile Thu Jun 15 20:54:28 2017 (r443639) +++ head/net/svnup/Makefile Thu Jun 15 20:55:54 2017 (r443640) @@ -2,7 +2,7 @@ PORTNAME= svnup PORTVERSION= 1.07 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \ LOCAL/jgh/net/${PORTNAME}/ Added: head/net/svnup/files/patch-svnup.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/svnup/files/patch-svnup.c Thu Jun 15 20:55:54 2017 (r443640) @@ -0,0 +1,70 @@ +--- svnup.c.orig ++++ svnup.c +@@ -51,7 +51,7 @@ + #include + + +-#define SVNUP_VERSION "1.07" ++#define SVNUP_VERSION "1.07a" + #define BUFFER_UNIT 4096 + #define COMMAND_BUFFER 32768 + #define COMMAND_BUFFER_THRESHOLD 32000 +@@ -1539,7 +1539,6 @@ + process_report_http(connector *connection, file_node ***file, int *file_count, int *file_max) + { + file_node *this_file; +- struct stat local; + int revision_length, x; + char command[COMMAND_BUFFER + 1], *d, *end, *href, *md5, *path; + char *start, *temp, temp_buffer[BUFFER_UNIT], *value; +@@ -1562,17 +1561,17 @@ + "DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r\n" + "Transfer-Encoding: chunked\r\n\r\n" + "%lx\r\n" +- "\n" +- "/%s\n" +- "%d\n" +- "unknown\n" +- "\n" +- "\n" ++ "" ++ "/%s" ++ "%d" ++ "unknown" ++ "" ++ "\r\n" + "\r\n0\r\n\r\n", + connection->root, + connection->address, + SVNUP_VERSION, +- strlen(connection->branch) + revision_length + revision_length + strlen(SVNUP_VERSION) + 206, ++ strlen(connection->branch) + revision_length + revision_length + 205, + connection->branch, + connection->revision, + connection->revision); +@@ -2389,9 +2388,9 @@ + + snprintf(temp_buffer, + BUFFER_UNIT, +- "PROPFIND %s HTTP/1.1\n" +- "Depth: 1\n" +- "Host: %s\n\n", ++ "PROPFIND %s HTTP/1.1\r\n" ++ "Depth: 1\r\n" ++ "Host: %s\r\n\r\n", + file[f]->href, + connection.address); + } else temp_buffer[0] = '\0'; +@@ -2471,9 +2470,9 @@ + if (connection.protocol >= HTTP) + snprintf(temp_buffer, + BUFFER_UNIT, +- "GET %s HTTP/1.1\n" +- "Host: %s\n" +- "Connection: Keep-Alive\n\n", ++ "GET %s HTTP/1.1\r\n" ++ "Host: %s\r\n" ++ "Connection: Keep-Alive\r\n\r\n", + file[f]->href, + connection.address); +