Alias /fink /sw/fink
Options Indexes FollowSymLinks
I did this as a separate user file rather than edit /etc/httpd/httpd.conf to prevent future OS updates from breaking my apt repository. If you're running the repository on OS X Server, I believe you need to put the file in /etc/httpd/sites, and the file name may need to be tweaked to avoid confusing the GUI tools.
To get client machines to use the repository, I added the following lines at the beginning of
/sw/etc/apt/sources.list(change finkmachine to the machine name of your repository):
deb http://finkmachine.local./fink stable main crypto
deb http://finkmachine.local./fink unstable main crypto
It was cool to discover that apt would deal with rendezvous names painlessly.
Now all you have to do is remember to do
fink scanpackagesafter you build anything new on the repository, and your clients can just
apt-get update;apt-get upgradeperiodically to stay up to date.
Post a Comment