Force fink to use a new download location
Dec 04, '02 08:58:54AM
Contributed by: jcltech
I have been using and loving Fink for a while now, but have run into problems when downloading anything associated with the libpcap library. A short while ago, the code for this package was corrupted at the site for the source code, http://www.tcpdump.org, and the site is now dead. Some of the software packages that I wanted to install - nmap, ethereal and others - depend on this package and they would not install. Here is the work around:
- Copy the following files in the /sw directory (or wherever you have Fink installed) as follows:
% cp libpcap-0.6.2-5.info libpcap-0.7.1-1.info
% cp libpcap-0.6.2-5.patch libpcap-0.7.1-1.patch
- Open the files in your editor of choice as root (I use BBedit, doesn't everbody??)
- Replace 0.6.2 with 0.7.1 everywhere in both files
- Change the version number to 1 instead of 5
- Change the line that starts with Source: to:
Source: http://telia.dl.sourceforge.net/sourceforge/libpcap/libpcap-0.7.1.tar.gz
- Go back to Fink and choose Update All
- Install needed software and wahlah!
Does anybody know a better way to do this? This works only because the newer version of libpcap compiles the same way. Is there a more "official" way to tell Fink to look someplace else?
Comments (6)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20021204055854539