Several machines in my office run Fink. I want to be able to share .deb files that any of machine builds to save compile time on other machines.
My hack solution so far:
* make directories {unstable,stable,local}/{main,crypto}/binary-darwin-powerpc on a shared volume (SMB in my case, but it shouldn't matter)
* copy any .debs built so far on the local disk to the shared volume
* delete local directories /sw/fink/dists/{unstable,stable,local}/{main,crypto}/binary-darwin- powerpc and replace with symlinks to the above directories
* alias fink to "fixupdebs.pl ; /sw/bin/fink"
where fixupdebs.pl is a very short script that repairs the symlinks in /sw/fink/debs (it recurses through the shared volume looking for .deb files and symlinks them if a link does not already exist)
What this accomplishes:
* any freshly built .deb files get written to the shared volume in the appropriate binary-darwin-powerpc directories
* any instance of fink rebuilds the local /sw/fink/debs dir before running. This is needed so you can know if anyone else has built something since you last ran fink. Note that in my case, the debs dir cannot be stored on the server because OSX can't build symlinks on SMB volumes.
Thoughts?
Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, 211 S Paterson Suite 260, Madison WI 53703
PGP.sig
Description: This is a digitally signed message part