Setting up your own “master” repository

My home Internet connection is via satellite, and I have very ungenerous download limits:  375 MB max in a day, and the allocation regenerates slowly rather than going to the full 375 MB on the next day.  (I have unlimited downloads between 2:00 and 7:00)

I’m serving five different Fink setups: 10.4/powerpc, 10.5/powerpc, 10.5/i386, 10.6/i386, and 10.6/x86_64.  For efficiency, it’s best that I download one copy of the source and serve it to all of my setups.  I’ve tried a couple of methods:

  1. Using a shared drive
    I used a shared drive (a NAS) mounted under /Volumes/Drivename, and set FetchAltDir in fink.conf (via “fink configure”) to point to that drive.
  2. Using a local file server
    I used a local FTP server (actually the FTP server from my NAS drive) as my Master mirror.  I set this up by editing /sw/lib/fink/mirror/master , and adding my local server to the list: 

    Primary: http://distfiles.master.finkmirrors.net/
    
    asi-JP: http://distfiles.hnd.jp.asi.finkmirrors.net/
    eur-DE: http://distfiles.ber.de.eu.finkmirrors.net/
    eur-DE: http://distfiles.aah.de.eu.finkmirrors.net/fink-distfiles/
    eur-FI: http://distfiles.hel.fi.eu.finkmirrors.net/
    eur-IE: http://distfiles.dub.ie.eu.finkmirrors.net/
    eur-NL: http://distfiles.ams.nl.eu.finkmirrors.net/
    #nam-US: http://distfiles.msn.wi.us.finkmirrors.net/mirrors/fink/distfiles/
    nam-US: http://distfiles.sjc.ca.us.finkmirrors.net/
    nam-US: ftp://my.server.org/

    and then use fink configure to set my Master mirror to point to that server.

One response to “Setting up your own “master” repository

  1. *Im impressed, I must say. Really rarely do I encounter a blog thats both educative and entertaining, and let me tell you, you have hit the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking intelligently about. I am very happy that I stumbled across this in my search for something relating to this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s