From owner-ctm-users@FreeBSD.ORG Fri Sep 21 13:03:54 2012 Return-Path: Delivered-To: ctm-users@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E943106566B for ; Fri, 21 Sep 2012 13:03:54 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from wilberforce.math.missouri.edu (wilberforce.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 144B08FC17 for ; Fri, 21 Sep 2012 13:03:53 +0000 (UTC) Received: from [127.0.0.1] (wilberforce.math.missouri.edu [128.206.184.213]) by wilberforce.math.missouri.edu (8.14.5/8.14.5) with ESMTP id q8LD3jLb032220; Fri, 21 Sep 2012 08:03:45 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <505C65B1.6030408@missouri.edu> Date: Fri, 21 Sep 2012 08:03:45 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: "Julian H. Stacey" References: <201209211143.q8LBh2EO034636@fire.js.berklix.net> In-Reply-To: <201209211143.q8LBh2EO034636@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "ctm-users@freebsd.org" , "Klaus T. Aehlig" Subject: Re: svn-cur X-BeenThere: ctm-users@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CTM User discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2012 13:03:54 -0000 On 09/21/2012 06:43 AM, Julian H. Stacey wrote: > "Klaus T. Aehlig" wrote: >> Hi, >> >>> You will have to apply the patch to /usr/src/usr.sbin/ctm/ctm and >>> rebuild ctm. (I think "make depend && make && make install" is what you >>> need to do.) >> >> sorry if I missed something, but may I suggest another patch (see attached, >> to be applied on top of the other patches). With the change to svn, the >> name of the deltas has changed from .gz to .xz, which has the effect that >> ctm_rmail no longer finds the missing pieces in the pieces directory so >> one would have to apply them by hand... >> >> Best regards, >> Klaus > > My ctms are applying automaticaly (without this patch), > (but occasionaly some pieces didnt get assembled to deltas, but > I didnt pay much attention why or what length names, I just assumed > email loss, & ftp'd afresh. > > However various newer streams use longer names eg: > cvs-cur.18865.gz > svn-cur.00776.xz > svn-ports-cur.00019.xz > src-cur.10586.gz > so your patch seems plausible. > > These also need considering: > > mkCTM/mkCTM:11: if {[file exists [format "%s/$CTMname.%04d" $CTMdest $nbr]]} { return 1 } > > mkCTM/mkCTM:12: if {[file exists [format "%s/$CTMname.%04d.gz" $CTMdest $nbr]]} { return 1 } > > PS it mentions gz but not xz too ? Hmm .... > > mkCTM/mkCTM:111: set nm [format "%s.%04d%s" $CTMname $CTMnbr $CTMsuff] > > Sorry no time to read code more, over to others. Right now, I have a mkCTM and a mkSVN.