Grant, > I am using a version of amavisd-new which has been modified. The problem is > that I have no way to use new versions. Is there a way to create a patch > from my version to the new version ? I guess it would require merging > patches or some such thing. > Any clever ideas or better still - simple ones ?
There are two ways: - either create a diff (i.e. a patch) from the baseline version from which your derived version emerged, and your current version, then apply this patch to a newer version; - or, create a diff (i.e. a patch) from the baseline version from which your derived version emerged, and a new version which is your goal, then apply this patch to your current version; Depending on the amount of changes you did and the distance between your baseline and a destination version, one or the other approach may be more appropriate. In general would think the first approach is more likely to succeed with the least amount of manual labour still needed. That could be something like (assuming file 'amavisd' is your current version in current directory): diff -b -U2 amavisd-old-baseline amavisd >my.patch mv amavisd amavisd-my-modified-version-backup cp amavisd-newversion-baseline amavisd patch <my.patch Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
