Date: Fri, 21 Sep 2012 08:03:45 -0500 From: Stephen Montgomery-Smith <stephen@missouri.edu> To: "Julian H. Stacey" <jhs@berklix.com> Cc: "ctm-users@freebsd.org" <ctm-users@freebsd.org>, "Klaus T. Aehlig" <aehlig@linta.de> Subject: Re: svn-cur Message-ID: <505C65B1.6030408@missouri.edu> In-Reply-To: <201209211143.q8LBh2EO034636@fire.js.berklix.net> References: <201209211143.q8LBh2EO034636@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505C65B1.6030408>