From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 17:00:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DC90106566B for ; Mon, 23 Jul 2012 17:00:11 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from lhscloud01.localhostservices.net (lhscloud01.localhostservices.net [83.222.226.222]) by mx1.freebsd.org (Postfix) with ESMTP id 18F888FC15 for ; Mon, 23 Jul 2012 17:00:11 +0000 (UTC) Received: from client-86-23-57-98.brhm.adsl.virginmedia.com ([86.23.57.98] helo=catflap.slightlystrange.org) by lhscloud01.localhostservices.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1StLzN-0007q6-2n for freebsd-questions@freebsd.org; Mon, 23 Jul 2012 18:00:09 +0100 Received: from dan by catflap.slightlystrange.org with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1StLzL-000MvR-02; Mon, 23 Jul 2012 18:00:07 +0100 Date: Mon, 23 Jul 2012 18:00:06 +0100 From: Daniel Bye To: Mr U Message-ID: <20120723170006.GA83930@catflap.slightlystrange.org> References: <1343040335.49078.YahooMailNeo@web140703.mail.bf1.yahoo.com> <20120723135921.GB4332@catflap.slightlystrange.org> <1343056127.13571.YahooMailNeo@web140702.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <1343056127.13571.YahooMailNeo@web140702.mail.bf1.yahoo.com> X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: Question about install from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 17:00:11 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 23, 2012 at 08:08:47AM -0700, Mr U wrote: > thank you dan >=20 > but how i can use=A0RANDOMIZE_MASTER_SITES temporary? > i tried google but i didn't find any info about this!!! It's just a shell variable, so you can temporarily set it by defining it on the command line for which you want it to apply. In this case, you'd want to go back to the OpenBox directory, and type RANDOMIZE_MASTER_SITES=3D1 make all install clean (That's the number one after the `=3D'. It doesn't really matter what value= it is set to - the important thing is that it's set) For this one command, RANDOMIZE_MASTER_SITES is in effect. Looking at this again, it seems I got myself confused as to where you should download the distribution file. I think your system is trying to download a plain tbz file, and not an RPM. If that's the case, the downloaded file will actually go in /usr/ports/distfiles. The fact you mentioned fr.rpmfind.net was enough to send me off down the wrong path... Sorry for making things more complicated than they needed to be! Dan >=20 >=20 >=20 >=20 > ----- Original Message ----- > From: Daniel Bye > To: "freebsd-questions@freebsd.org" > Cc:=20 > Sent: Monday, July 23, 2012 6:29 PM > Subject: Re: Question about install from ports >=20 > 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 t= o download file manually=A0 > > and add file in openbox dir? >=20 > 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: >=20 > MASTER_SITE_BACKUP?=3D=A0 =A0 \ > =A0 =A0 =A0 =A0 ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DI= ST_SUBDIR}/ >=20 > MASTER_SITE_OVERRIDE?=3D=A0 ${MASTER_SITE_BACKUP} >=20 >=20 > Change the "uk" to point to a site near to your geographical location. Wi= th > these lines, your ports system will first look for distfiles on the FreeB= SD > 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.=A0 This is sometimes faster = than > going to the MASTER_SITE first. >=20 > Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES. >=20 > Dan >=20 > --=20 > Daniel Bye > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 ASCII ribbon campaign ( ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 - against HTML, vCards and=A0 X > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - proprie= tary attachments in e-mail / \ >=20 >=20 --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlANgxYACgkQixf5fBYiFmrPjgCeOfDu3GLNm6uwLW/VF0Vt4gSd 9EsAoLeubmNFcfiBbWLH3yEEtK7JItUx =f2XA -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--