Re: How to install ports from CD-ROM

From: Kevin Kinsey (kdk_at_daleco.biz)
Date: 02/12/05

  • Next message: Mervin McDougall: "Re: Instead of freebsd.com, why not..."
    Date: Sat, 12 Feb 2005 15:17:17 -0600
    To: 耗 子 <fatcat1985@gmail.com>
    
    

    耗 子 wrote:

    >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.
    >
    >

    Ah. Maybe now I get it! ;-)

    Sites for each port are listed in /usr/ports/Mk/bsd.sites.mk,
    and I think you *could* change it there. But I believe that the best
    method is setting MASTER_SITE_OVERRIDE in your environment
    or in /etc/make.conf.

    e.g, in tcsh:

    #setenv MASTER_SITE_OVERRIDE ftp1.freebsd.org
    #cd /usr/ports/editors/vim
    #make install clean

    If I remember correctly, in sh/bash it would be:

    $MASTER_SITE_OVERRIDE=ftp1.freebsd.org
    $export MASTER_SITE_OVERRIDE
    $cd /usr/ports/editors/vim
    $make install clean

    Hope this Helps!

    Kevin Kinsey
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Mervin McDougall: "Re: Instead of freebsd.com, why not..."

    Relevant Pages

    • Re: shell script question
      ... I use this script to install apps. ... from the ports. ... make -DWITH_OPTIONAL_DEPENDS install clean ...
      (comp.unix.bsd.freebsd.misc)
    • Re: upgrade question
      ... Yes you can install clean right off the XP disk. ... > kit, if I buy an upgrade license, will I be able to ... > install from this media kit, ...
      (microsoft.public.windowsxp.setup_deployment)
    • Re: Installing Xfce4: Request for help
      ... I am trying in install Xfce4 in FreeBSD 7.0 on my laptop. ... *** Error code 1 ... and to remove distfiles for ports that aren't installed. ...
      (freebsd-questions)
    • Re: make installworld problem
      ... > - Installed CVSup ... > # make all install clean ... > in order to install the rest of the system, I need to drop down to ... always compare their instructions to the official FreeBSD Handbook ...
      (freebsd-questions)
    • Re: Up grade to get full true fax program??
      ... time try to install clean copy of Vista Business. ... drive clean again and reinstalled Window XP Home edition, ... The Fax Service prints as many pages as you send to it. ... I didn't think it was included in the Home version but maybe you can installed it separately from the install CD. ...
      (microsoft.public.windowsxp.general)