Question about install from ports

2012-07-23 Thread Mr U
hi all

I want to install openbox from ports collection.
freebsd attempting to download libxml2 from fr.rpmfind.net but 
I don't know why connection speed slow down after a while and finally
failed.

is it possible to change download location (mirror) or is it possible to 
download file manually 
and add file in openbox dir?

thank you all
mru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Question about install from ports

2012-07-23 Thread Mr U
hi all


I want to install openbox from ports collection.
freebsd attempting to download libxml2 from fr.rpmfind.net but 
I don't know why connection speed slow down after a while and finally
failed.

is it possible to change download location (mirror) or is it possible to 
download file manually 
and add file in openbox dir?

thank you all
mru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install from ports

2012-07-23 Thread RW
On Mon, 23 Jul 2012 03:45:35 -0700 (PDT)
Mr U wrote:

 hi all
 
 I want to install openbox from ports collection.
 freebsd attempting to download libxml2 from fr.rpmfind.net but 
 I don't know why connection speed slow down after a while and finally
 failed.
 
 is it possible to change download location (mirror) or is it possible
 to download file manually and add file in openbox dir?
 


Temporarily set RANDOMIZE_MASTER_SITES 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install from ports

2012-07-23 Thread Daniel Bye
On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote:
 hi all
 
 I want to install openbox from ports collection.
 freebsd attempting to download libxml2 from fr.rpmfind.net but 
 I don't know why connection speed slow down after a while and finally
 failed.
 
 is it possible to change download location (mirror) or is it possible to 
 download file manually 
 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?=\
ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

MASTER_SITE_OVERRIDE?=  ${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

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


pgpbbi9WCa4Im.pgp
Description: PGP signature


Re: Question about install from ports

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 04:00:37 -0700 (PDT), Mr U wrote:
 is it possible to change download location (mirror) or is it possible to 
 download file manually 
 and add file in openbox dir?

It is possible.

First check the port's Makefile for where to obtain the required
files from. There are typically more than one source listed. If
one fails, try the next one.

Then place the file in /usr/ports/distfiles and restart the build.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install from ports

2012-07-23 Thread Daniel Bye
On Mon, Jul 23, 2012 at 08:08:47AM -0700, Mr U wrote:
 thank you dan
 
 but how i can use RANDOMIZE_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=1 make all install clean

(That's the number one after the `='. 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

 
 
 
 
 - Original Message -
 From: Daniel Bye freebsd-questi...@slightlystrange.org
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Cc: 
 Sent: Monday, July 23, 2012 6:29 PM
 Subject: Re: Question about install from ports
 
 On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote:
  hi all
  
  I want to install openbox from ports collection.
  freebsd attempting to download libxml2 from fr.rpmfind.net but 
  I don't know why connection speed slow down after a while and finally
  failed.
  
  is it possible to change download location (mirror) or is it possible to 
  download file manually 
  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?=    \
         ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
 
 MASTER_SITE_OVERRIDE?=  ${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
 
 -- 
 Daniel Bye
                                                                      _
                                               ASCII ribbon campaign ( )
                                          - against HTML, vCards and  X
                                 - proprietary attachments in e-mail / \
 
 

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


pgpBLKGxZjMLX.pgp
Description: PGP signature