How to install ports from CD-ROM

耗 子 fatcat1985 at gmail.com
Fri Feb 11 17:56:15 PST 2005


Maybe you were misunderstanding me because of my bad english.:(
I did not mean that I would not download source codes from Internet,
but download it from another site. Take installing vim for example,
after I type "make install" in /usr/ports/editors/vim, Freebsd will
try to download files from ftp://ftp.freebsd.org. However, I want to
let it download from ftp://ftp1.freebsd.org. How to make it ?
Thank you.




On Fri, 11 Feb 2005 11:56:01 -0600, Kevin Kinsey <kdk at daleco.biz> wrote:
> Hexren wrote:
> 
> >>Hi.every one.
> >>When I was installing Freebsd 5.3, I found it downloaded ports from
> >>the internet although I select CD-ROM as my install media.How to stop
> >>that? Since I did not use a high-speed internet connect, it cost me a
> >>lot of time.
> >>BTW: Could someone tell me how to change the site from which FreeBSD
> >>ports to download the source cod.
> >>
> >>
> >On the other hand you can simply put port files (for example
> >"samba-3.0.7.tar.gz" for samba3) into /usr/ports/distfiles.
> >The ports install proces alway looks there first if the file he needs
> >is already there and if it is uses it.
> >
> >Regards
> >Hexren
> >
> >
> 
> Concur.  Move the tarballs (foo.gz, bar.bz2, whatever) to
> /usr/ports/distfiles and then try "make install clean" in the
> port's "skeleton directory".
> 
> Kevin Kinsey
>


More information about the freebsd-newbies mailing list