Re: Can Portupgrade provide a list of files to download?

2004-07-13 Thread Sergey Zaharchenko
On Tue, Jul 13, 2004 at 08:34:17PM +1000,
 Gautam Gopalakrishnan probably wrote:
 On Tue, 13 Jul 2004 11:07:57 +1000, Ron Joordens
 [EMAIL PROTECTED] wrote:
  
  I was playing with Gentoo the other day and discovered that it has a pretend
  option that prints out all the files needed and their urls (several for each
  file). What a time saver!
  
  I tried portupgrade with the -n pretend option to see how it worked.
  However, it does not give url's and it seems to lists the version of the
  port it is upgrading from rather than the version it is upgrading to.
 
 # cd /usr/ports/.
 # make fetch-recursive-list
 
 This will print the list of urls, each URL is separated by a ||
 (logical or) so if one fails it will try the next. Each file fetched
 will be on a separate line.

More precisely, it will print a shell script to download the files,
where the commands are separated by ||.

Also, note that it's needed to figure out where the ports collection
wants these files to reside in. Most frequently it's
/usr/ports/distfiles, but some ports put distfiles in a subdirectory
under that. Each line of the script will by default contain an entry
mentioning ftp.FreeBSD.org; the correct subdirectory is there. For
example,

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-2.3.1.tar.gz

means that this (pretty old) file should be put into
/usr/ports/distfiles/KDE/

HTH,

-- 
DoubleF
... And remember: if you don't like the news, go out and make some of
your own.
-- Scoop Nisker, KFOG radio reporter
   Preposterous Words


pgpeTUhP6zyQO.pgp
Description: PGP signature


Re: Can Portupgrade provide a list of files to download?

2004-07-12 Thread epilogue
On Tue, 13 Jul 2004 11:07:57 +1000
Ron Joordens [EMAIL PROTECTED] wrote:

 Morning Everyone,
 
 Having only a dial-up connection at home, I try to download most of the
 large files I need for FreeBSD at work. To date I have to sit down in
 front of the pc, run portupgrade with the fetch only option and then note
 down the url's and file names of the needed files. Of course when a large
 file comes along (anything over 3 to 4 meg), after I note the details I
 press ctrl c to interupt and move to the next file. Problem is this skips
 files. So the next day, after I have fetched the files I noted at work
 and placed them in distfiles, I run portupgrade again to discover I still
 need a whole stack of files and the next day again, and the next day
 again, etc. It takes a few days to fetch all files and is extremly
 tedious.
 
 I was playing with Gentoo the other day and discovered that it has a
 pretend option that prints out all the files needed and their urls
 (several for each file). What a time saver!
 
 I tried portupgrade with the -n pretend option to see how it worked.
 However, it does not give url's and it seems to lists the version of the
 port it is upgrading from rather than the version it is upgrading to.
 
 Does anyone know if portupgrade provides such functionality?

gauging by the man page, i would say no.

i have noticed that there is often more than one url for a given port.  you
could manually assemble a list of the files you will need (including
dependencies) by checking the Makefile for each port or using a web-based
resource like freebsd.org/ports or freshports.org.

you will also want to know what packages you already have installed
(pkg_info).

 Many thanks.
 
 Ron
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can Portupgrade provide a list of files to download?

2004-07-12 Thread Rowdy
epilogue wrote:
On Tue, 13 Jul 2004 11:07:57 +1000
Ron Joordens [EMAIL PROTECTED] wrote:

Morning Everyone,
Having only a dial-up connection at home, I try to download most of the
large files I need for FreeBSD at work. To date I have to sit down in
front of the pc, run portupgrade with the fetch only option and then note
down the url's and file names of the needed files. Of course when a large
file comes along (anything over 3 to 4 meg), after I note the details I
press ctrl c to interupt and move to the next file. Problem is this skips
files. So the next day, after I have fetched the files I noted at work
and placed them in distfiles, I run portupgrade again to discover I still
need a whole stack of files and the next day again, and the next day
again, etc. It takes a few days to fetch all files and is extremly
tedious.
I was playing with Gentoo the other day and discovered that it has a
pretend option that prints out all the files needed and their urls
(several for each file). What a time saver!
I tried portupgrade with the -n pretend option to see how it worked.
However, it does not give url's and it seems to lists the version of the
port it is upgrading from rather than the version it is upgrading to.
Does anyone know if portupgrade provides such functionality?

gauging by the man page, i would say no.
i have noticed that there is often more than one url for a given port.  you
could manually assemble a list of the files you will need (including
dependencies) by checking the Makefile for each port or using a web-based
resource like freebsd.org/ports or freshports.org.
you will also want to know what packages you already have installed
(pkg_info).
You can do a make fetch-recursive-list in the port directory and pipe 
the output into a file to take to work.

Dave
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]