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.
This same technique could be used by others. I have to do the test during the PatchScript because I need an unpacked sourcefile to test on. If there are more cases like this someday, maybe we can add a fink field like IntegrityCheck (between unpack and patch) which could be any kind of test applied to the file. -- Dave _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel