At 13:53 -0500 11/3/02, David R. Morrison wrote: >I discovered in the last few weeks that for one of my packages (latex2html) >the upstream source changes from time to time without the name of the >sourcefile changing. I've discussed this with the upstream maintainers >but they won't be changing their operating methods. So here's what I've done >in latex2html-2K.1beta-8: I store a copy of the source, as downloaded by >me last August, on my own website and I point the fink info file at that >copy. The .patch file for this package patches the source from that fixed >copy to a particular snapshot of the upstream sourcefile (in this case, >March 7, 2002). I use a PatchScript which tests to see if the source >being used is the "correct" one (from last August); if not, fink exits >and the users is asked to deleted the bad sourcefile cached in /sw/src. >If the source is the correct one, the patch is applied and the compilation >proceeds.
Um. Why not just use MD5 - it's an established method for integrity checking and exists on all installations of MacOS X AFAIK. No point in re-inventing the wheel is there. -- Yoav Felberbaum E-Mail: [EMAIL PROTECTED] _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel