At 21:49 -0500 15/11/03, Alexander K. Hansen wrote:
-----Original Message-----
From: Remi Mommsen [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 8:48 PM
To: Alexander Hansen
Cc: sinclair44; [EMAIL PROTECTED]
Subject: Re: [Fink-users] Setting up a local apt-get server

Hi Alexander,

Thanks for your recipe. I wanted to do it since quite some time, but never took the effort. I just done it now and I have two additions/corrections:

On Saturday, November 15, 2003, at 04:21 PM, Alexander Hansen wrote:

Sure: I do this myself, using a webserver (Fink apache2, but the same method should work with the builtin server)

On the desktop, I added the following lines to my httpd.conf (in the aliases section):
...
#set up apt server


 Alias /dists "/sw/fink/dists"
 <Directory "/sw/fink/dists">
     Options Indexes FollowSymLinks MultiViews IncludesNoExec
     AddOutputFilter Includes html

If I include the AddOutputFilter, the Apple Web Server does not start up (both for Panther and Jaguar). I removed it, and apt-get seems to be happy nevertheless.


[AKH>] It's probably not too important, then.  I've only tried this with
Fink builds of apache.

     AllowOverride None
     Order allow,deny
     Allow from all
 </Directory>
 ...
 (I just copied from another entry in that file)

On the laptop, I added this:

You'll have to add this to /sw/etc/apt/sources.list


[AKH>] Oops--I shouldn't watch TV when I do my mail!

deb http://desktop.address.here unstable main crypto

Then when you "apt-get update", you'll read from the Fink official binaries as well as your own.

Cheers, Remi

One more important step - you need to run "fink scanpackages" on the server. Otherwise the client won't be aware of any packages that were built on the server since the last "fink scanpackages" was done.



------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to