From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 3 20:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B1CA16A417 for ; Fri, 3 Aug 2007 20:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3CB13C458 for ; Fri, 3 Aug 2007 20:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l73Ko2k8072125 for ; Fri, 3 Aug 2007 20:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l73Ko1dB072124; Fri, 3 Aug 2007 20:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 3 Aug 2007 20:50:01 GMT Resent-Message-Id: <200708032050.l73Ko1dB072124@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lapo Luchini Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC17C16A417 for ; Fri, 3 Aug 2007 20:49:57 +0000 (UTC) (envelope-from lapo@mail.lapo.it) Received: from mail.lapo.it (motoko.lapo.it [88.198.0.105]) by mx1.freebsd.org (Postfix) with SMTP id 352E713C461 for ; Fri, 3 Aug 2007 20:49:56 +0000 (UTC) (envelope-from lapo@mail.lapo.it) Received: (qmail 95238 invoked by uid 1001); 3 Aug 2007 20:48:32 -0000 Message-Id: <20070803204832.95237.qmail@mail.lapo.it> Date: 3 Aug 2007 20:48:32 -0000 From: Lapo Luchini To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Lapo Luchini Subject: ports/115180: port upgrade: devel/monotone 0.36 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lapo Luchini List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 20:50:02 -0000 >Number: 115180 >Category: ports >Synopsis: port upgrade: devel/monotone 0.36 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 03 20:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Lapo Luchini >Release: FreeBSD 6.2-STABLE amd64 >Organization: >Environment: System: FreeBSD motoko.lapo.it 6.2-STABLE FreeBSD 6.2-STABLE #7: Fri Jun 15 15:41:02 CEST 2007 root@motoko.lapo.it:/usr/obj/usr/src/sys/MOTOKO amd64 >Description: New upstream release. Two patches no more needed. >How-To-Repeat: >Fix: --- pr-monotone-0.36 begins here --- diff -ruN monotone/Makefile monotone-0.36/Makefile --- monotone/Makefile 2007-07-23 11:35:44.000000000 +0200 +++ monotone-0.36/Makefile 2007-08-03 14:51:08.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= monotone -PORTVERSION= 0.35 -PORTREVISION= 1 +PORTVERSION= 0.36 CATEGORIES= devel MASTER_SITES= http://monotone.ca/downloads/${PORTVERSION}/ diff -ruN monotone/distinfo monotone-0.36/distinfo --- monotone/distinfo 2007-05-27 12:40:50.000000000 +0200 +++ monotone-0.36/distinfo 2007-08-03 14:51:50.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (monotone-0.35.tar.gz) = 9b53046dda8ba7549fa5ce765e14fa65 -SHA256 (monotone-0.35.tar.gz) = bbe0c5ff34f58a8af81563560e5f21408a568dfe277baa452a56f19b5b7a07de -SIZE (monotone-0.35.tar.gz) = 4857094 +MD5 (monotone-0.36.tar.gz) = ba6733ebd9992c8c7b48b9e2226f9fb7 +SHA256 (monotone-0.36.tar.gz) = 99042322392ff6b7024a75935324287109fb7260d0e6b3e6aafdac9a67d0b2a4 +SIZE (monotone-0.36.tar.gz) = 4836460 diff -ruN monotone/files/patch-numeric_vocab.hh monotone-0.36/files/patch-numeric_vocab.hh --- monotone/files/patch-numeric_vocab.hh 2007-07-04 17:11:34.000000000 +0200 +++ monotone-0.36/files/patch-numeric_vocab.hh 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ ---- numeric_vocab.hh.orig Mon May 7 16:13:44 2007 -+++ numeric_vocab.hh Sat Jun 30 22:53:12 2007 -@@ -11,6 +11,7 @@ - // PURPOSE. - - #include -+#include - #include - - #include "mt-stdint.h" diff -ruN monotone/files/patch-paths.cc monotone-0.36/files/patch-paths.cc --- monotone/files/patch-paths.cc 2007-07-16 00:21:51.000000000 +0200 +++ monotone-0.36/files/patch-paths.cc 1970-01-01 01:00:00.000000000 +0100 @@ -1,93 +0,0 @@ ---- paths.cc.orig 2007-05-07 14:13:44.000000000 +0000 -+++ paths.cc 2007-07-15 22:17:32.000000000 +0000 -@@ -10,6 +10,7 @@ - #include - #include - -+#include - #include - #include - -@@ -249,6 +250,41 @@ - I(fully_normalized_path_split(path, true, sp)); - } - -+// path::normalize() is deprecated in Boost 1.34, and also -+// doesn't remove leading or trailing dots any more. -+static fs::path -+normalize_path(fs::path const & in) -+{ -+#if BOOST_VERSION < 103400 -+ return in.normalize(); -+#else -+ fs::path out; -+ vector stack; -+ for (fs::path::iterator i = in.begin(); i != in.end(); ++i) -+ { -+ // remove . elements -+ if (*i == ".") -+ continue; -+ // remove foo/.. element pairs -+ if (*i == "..") -+ { -+ if (!stack.empty()) -+ { -+ stack.pop_back(); -+ continue; -+ } -+ } -+ stack.push_back(*i); -+ } -+ for (vector::const_iterator i = stack.begin(); -+ i != stack.end(); ++i) -+ { -+ out /= *i; -+ } -+ return out; -+#endif -+} -+ - static void - normalize_external_path(string const & path, string & normalized) - { -@@ -272,7 +308,7 @@ - base = initial_rel_path.get(); - // the fs::native is needed to get it to accept paths like ".foo". - relative = fs::path(path, fs::native); -- out = (base / relative).normalize(); -+ out = normalize_path(base / relative); - } - catch (exception &) - { -@@ -539,9 +575,9 @@ - normalize_out_dots(string const & path) - { - #ifdef WIN32 -- return fs::path(path, fs::native).normalize().string(); -+ return normalize_path(fs::path(path, fs::native)).string(); - #else -- return fs::path(path, fs::native).normalize().native_file_string(); -+ return normalize_path(fs::path(path, fs::native)).native_file_string(); - #endif - } - -@@ -679,9 +715,17 @@ - } - - // check for _MTN/. and _MTN/.. to see if mt dir is readable -- if (!fs::exists(check / ".") || !fs::exists(check / "..")) -+ try -+ { -+ if (!fs::exists(check / ".") || !fs::exists(check / "..")) -+ { -+ L(FL("problems with '%s' (missing '.' or '..')") % check.string()); -+ return false; -+ } -+ } -+ catch(exception &) - { -- L(FL("problems with '%s' (missing '.' or '..')") % check.string()); -+ L(FL("problems with '%s' (cannot check for '.' or '..')") % check.string()); - return false; - } - return true; --- pr-monotone-0.36 ends here --- >Release-Note: >Audit-Trail: >Unformatted: