Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 22:43:22 -0500 (EST)
From:      Scott Nolde <scott@smnolde.com>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        FBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Change default ftp site for pkg_add
Message-ID:  <20020131224158.N52197-100000@bsd.smnolde.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOMEDGCGAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus sayeth the previous author:

 >Date: Thu, 31 Jan 2002 17:51:06 -0500
 >From: Joe & Fhe Barbish <barbish@a1poweruser.com>
 >To: FBSD <freebsd-questions@FreeBSD.ORG>
 >Subject: Change default ftp site for pkg_add
 >
 >How do I tell pkg_add to use a different default ftp site.
 >
 >

Look in the /etc/make.conf file (or cp /etc/defaults/make.conf
/etc/make.conf and edit that) for the lines:
# If you want your port fetches to go somewhere else than the default
# (specified below) in case the distfile/patchfile was not found,
# uncomment this and change it to a location nearest you.  (Don't
# remove the "/${DIST_SUBDIR}/" part.)
#
MASTER_SITE_BACKUP?=    \
        ftp://ftp2.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
#
# If you want your port fetches to check the above site first (before
# the MASTER_SITES specified in the port Makefiles), uncomment the
# line below.  You can also change the right side to point to wherever
# you want.
#
MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}

Change accordingly.  The above is reason #2 why I like FreeBSD.

Scott Nolde
GPG Key 0xD869AB48


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131224158.N52197-100000>