Date: Fri, 21 Sep 2012 13:43:01 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: "Klaus T. Aehlig" <aehlig@linta.de> Cc: "ctm-users@freebsd.org" <ctm-users@freebsd.org> Subject: Re: svn-cur Message-ID: <201209211143.q8LBh2EO034636@fire.js.berklix.net> In-Reply-To: Your message "Fri, 21 Sep 2012 06:47:29 %2B0200." <20120921044729.GA47944@curry.linta.de>
next in thread | previous in thread | raw e-mail | index | archive | help
"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. Maybe other phenomena also stopping your automatic application ? eg: --------- My: http://berklix.com/~jhs/src/bsd/jhs/bin/local/mail/ctm-freebsd-svn-incoming Has: PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin; export PATH # local added 2012_05_31, before that it only stored, but did not apply ctms. Is local in your path ? --------- line 963 of my: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/sendmail/common.cpp * END_HOST needs pipes for receiving ctm_rmail FEATURE(smrsh) -------- Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209211143.q8LBh2EO034636>