Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 14:59:21 +0100
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Question about install from ports
Message-ID:  <20120723135921.GB4332@catflap.slightlystrange.org>
In-Reply-To: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com>
References:  <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--QKdGvSO+nmPlgiQ/
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote:
> hi all
>=20
> I want to install openbox from ports collection.
> freebsd=A0attempting to download libxml2 from fr.rpmfind.net but=A0
> I don't know why connection speed slow down after a while and finally
> failed.
>=20
> is it possible to change download location (mirror) or is it possible to =
download file manually=A0
> and add file in openbox dir?

If you can find the file on a faster site, you can download it and put it in
 /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or
 you can put these two settings in /etc/make.conf:

MASTER_SITE_BACKUP?=3D    \
        ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

MASTER_SITE_OVERRIDE?=3D  ${MASTER_SITE_BACKUP}


Change the "uk" to point to a site near to your geographical location. With
these lines, your ports system will first look for distfiles on the FreeBSD
mirror site, and will only go to the MASTER_SITE in a port's Makefile if the
FreeBSD site doesn't have the required file.  This is sometimes faster than
going to the MASTER_SITE first.

Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES.

Dan

--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--QKdGvSO+nmPlgiQ/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAlANWLkACgkQixf5fBYiFmqSfwCeKtsBerAdg9UcA2W4UvApUkfx
K8gAnj0Us+WuiFQZ9huHFeiTZ4YkigzY
=kXD6
-----END PGP SIGNATURE-----

--QKdGvSO+nmPlgiQ/--



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