On Tue, May 25, 2004 at 10:09:16AM -0500, Chris Dolan wrote:
> I'm hoping someone else has already solved this problem more elegantly  
> that I did...
> 
> 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.
[solution snipped]

Just a thought based on what you're doing now...

> 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.

What happens if you patch fink itself to store an actual copy of the
.deb in /sw/fink/debs instead of a symlink to the file dists/? That
way you could have /sw/fink/debs on your server and not need the
recurse-and-symlink wrapper. Look in /sw/lib/perl5/Fink/PkgVersion.pm
at around line 2332 for the symlink_f call.

OTOH, if you only use fink (or FinkCommander, don't know about dpkg or
dselect) to install packages, do you even need those /sw/fink/debs
things at all? According to They were not present in early versions of
fink, and glancing at the current code it appears that the
/sw/fink/debs file is only used if the dists/... .deb file is not
present.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to