Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 17:08:57 +0400
From:      Sergey Zaharchenko <doublef@tele-kom.ru>
To:        Gautam Gopalakrishnan <thatha@gmail.com>
Cc:        Ron Joordens <ron.joordens@indec.com.au>
Subject:   Re: Can Portupgrade provide a list of files to download?
Message-ID:  <20040713130857.GA620@shark.localdomain>
In-Reply-To: <a3ada2d104071303343d9f53a0@mail.gmail.com>
References:  <11F383396235D511994B00A0C9E175377212C7@INDEC-NTSERVER> <a3ada2d104071303343d9f53a0@mail.gmail.com>

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

--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> <ron.joordens@indec.com.au> wrote:
> >=20
> > I was playing with Gentoo the other day and discovered that it has a pr=
etend
> > option that prints out all the files needed and their urls (several for=
 each
> > file). What a time saver!
> >=20
> > 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.
>=20
> # cd /usr/ports/.....
> # make fetch-recursive-list
>=20
> 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,

--=20
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

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFA897owo7hT/9lVdwRAvB8AJ0aNnaZTMK4Z7/ugTrvmgCvUibBUgCfcwQY
ngs8cMcrrlzllEE5Wn8l2dE=
=CG0x
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--



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