From owner-svn-ports-all@freebsd.org Sun Aug 9 23:42:37 2015 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 0A84A99DDDE; Sun, 9 Aug 2015 23:42:37 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 E2C7FF55; Sun, 9 Aug 2015 23:42:36 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t79Nga2q003540; Sun, 9 Aug 2015 23:42:36 GMT (envelope-from timur@FreeBSD.org) Received: (from timur@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t79NgaYl003537; Sun, 9 Aug 2015 23:42:36 GMT (envelope-from timur@FreeBSD.org) Message-Id: <201508092342.t79NgaYl003537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: timur set sender to timur@FreeBSD.org using -f From: "Timur I. Bakeyev" Date: Sun, 9 Aug 2015 23:42:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393835 - in head/net/samba42: . 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.20 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: Sun, 09 Aug 2015 23:42:37 -0000 Author: timur Date: Sun Aug 9 23:42:35 2015 New Revision: 393835 URL: https://svnweb.freebsd.org/changeset/ports/393835 Log: Upgrade port to the 4.2.3 revision Modified: head/net/samba42/Makefile head/net/samba42/distinfo head/net/samba42/files/patch-source4__lib__http__http.c Modified: head/net/samba42/Makefile ============================================================================== --- head/net/samba42/Makefile Sun Aug 9 23:26:37 2015 (r393834) +++ head/net/samba42/Makefile Sun Aug 9 23:42:35 2015 (r393835) @@ -3,7 +3,7 @@ PORTNAME?= ${SAMBA4_BASENAME}42 PORTVERSION?= ${SAMBA4_VERSION} -PORTREVISION?= 1 +PORTREVISION?= 0 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} @@ -17,7 +17,7 @@ CONFLICTS?= *samba3[2-6]-3.* samba4-4.0 SAMBA4_BASENAME= samba SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4 -SAMBA4_VERSION= 4.2.2 +SAMBA4_VERSION= 4.2.3 SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} WRKSRC?= ${WRKDIR}/${DISTNAME} Modified: head/net/samba42/distinfo ============================================================================== --- head/net/samba42/distinfo Sun Aug 9 23:26:37 2015 (r393834) +++ head/net/samba42/distinfo Sun Aug 9 23:42:35 2015 (r393835) @@ -1,2 +1,2 @@ -SHA256 (samba-4.2.2.tar.gz) = 27d6c69dc3afee38fd28051001d2d4bdae38c567612a9ec6477bb5567e2abc1e -SIZE (samba-4.2.2.tar.gz) = 20708020 +SHA256 (samba-4.2.3.tar.gz) = b6dfa5ae4818d891ee2fcff04a5912f4a4fb2394b4f5e66a2a15b428da094c7c +SIZE (samba-4.2.3.tar.gz) = 20721283 Modified: head/net/samba42/files/patch-source4__lib__http__http.c ============================================================================== --- head/net/samba42/files/patch-source4__lib__http__http.c Sun Aug 9 23:26:37 2015 (r393834) +++ head/net/samba42/files/patch-source4__lib__http__http.c Sun Aug 9 23:42:35 2015 (r393835) @@ -1,5 +1,5 @@ ---- source4/lib/http/http.c.orig 2015-05-23 00:27:12.430849126 +0000 -+++ source4/lib/http/http.c 2015-05-28 02:27:41.829717329 +0000 +--- source4/lib/http/http.c.orig 2015-07-14 10:41:44.000000000 +0000 ++++ source4/lib/http/http.c 2015-08-09 23:25:46.480162006 +0000 @@ -112,7 +112,19 @@ return HTTP_ALL_DATA_READ; } @@ -15,7 +15,7 @@ + n = sscanf(line, "%[^:]: %[^\r\n]\r\n", key, value); + } +#else - n = sscanf(line, "%a[^:]: %a[^\r\n]\r\n", &key, &value); + n = sscanf(line, "%m[^:]: %m[^\r\n]\r\n", &key, &value); +#endif if (n != 2) { DEBUG(0, ("%s: Error parsing header '%s'\n", __func__, line)); @@ -29,7 +29,7 @@ char *msg = NULL; char major; char minor; -@@ -158,19 +170,32 @@ +@@ -158,12 +170,22 @@ return false; } @@ -46,17 +46,17 @@ + protocol, &major, &minor, &code, msg); + } +#else - n = sscanf(line, "%a[^/]/%c.%c %d %a[^\r\n]\r\n", + n = sscanf(line, "%m[^/]/%c.%c %d %m[^\r\n]\r\n", &protocol, &major, &minor, &code, &msg); - - DEBUG(11, ("%s: Header parsed(%i): protocol->%s, major->%c, minor->%c, " - "code->%d, message->%s\n", __func__, n, protocol, major, minor, - code, msg)); -- +#endif + if (n != 5) { DEBUG(0, ("%s: Error parsing header\n", __func__)); - status = false; +@@ -171,6 +193,10 @@ goto error; }