MIME-tools

Mariano Absatz mailscanner at LISTS.COM.AR
Fri Mar 7 18:30:55 GMT 2003


El 7 Mar 2003 a las 16:36, Julian Field escribió:

> >The other thing I see is that you provide 4 important security patches at:
> >http://www.sng.ecs.soton.ac.uk/mailscanner/install/mime-tools-patch.txt
> >http://www.sng.ecs.soton.ac.uk/mailscanner/install/mime-tools-patch2.txt
> >http://www.sng.ecs.soton.ac.uk/mailscanner/install/mime-tools-patch3.txt
> >http://www.sng.ecs.soton.ac.uk/mailscanner/install/mime-tools-patch4.txt
> >
> >Now, why don't you combine them into just one? like the one I'm attaching?
> >The result should be the same and it's easier to do, isn't it?
> 
> Because they were all written at different times. If I made them into 1
> patch, then it would possibly fail because some patches had been previously
> applied and some hadn't. There is method in my madness (somewhere)....
But what I did, to generate that patch was the following (that according to 
_my_ madness should be correct):

tar xvzf MIME-tools-5.411.tar.gz
patch -p0 < mime-tools-patch.txt 
patch -p0 < mime-tools-patch2.txt 
patch -p0 < mime-tools-patch3.txt 
patch -p0 < mime-tools-patch4.txt 
mv MIME-tools-5.411 MIME-tools-5.411-patched4

Now MIME-tools-5.411-patched4 has the completely patched MIME-tools. If I do 
the following:

tar xvzf MIME-tools-5.411.tar.gz
diff -rc MIME-tools-5.411 MIME-tools-5.411-patched4 \
       > mime-tools-patches-1thru4.txt

now mime-tools-patches-1thru4.txt has a patch that applied to the original 
module (in MIME-tools-5.411) generates the completely patched module (in MIME-
tools-5.4.11-patched4).

Am I wrong?


--
Mariano Absatz
El Baby
----------------------------------------------------------
If I held you any closer I would be on the other side of you.
      -- Groucho Marx




More information about the MailScanner mailing list