Re: Can i make a CD of the Ports Collection

2004-08-05 Thread Giorgos Keramidas
## Top-posting removed.
## Please do not top-post in the middle of a bottom-posting thread.

On 2004-08-04 23:54, BSDjunkie <[EMAIL PROTECTED]> wrote:
>Olaf Hoyer <[EMAIL PROTECTED]> wrote:
>>On Wed, 4 Aug 2004, Peter Ryan wrote:
>>> I am very new, and have been reinstalling FreeBSD many times to clean
>>> up whatever mess i make and start again.
>>>
>>> I recently used cvsup to update my ports collection for the
>>> 4.10_RELEASE.
>>>
>>> Now, when I reinstall, it takes much longer because i bring in the
>>> updated ports collection rather than the ports collection on the
>>> install CD (which i burnt from an ISO file)
>>
>> The whole portscollection is also available via ftp on ftp2.de.freebsd.org:
>> [snip ftp get example]
>> Simply download the tar.gz, and extract it to /usr/ports
>>
>> On each ISO of a release, like the 4.10R-CD #1, they take a snapshot of
>> the ports tree when the make the assumption that it ist quite
>> consistent. So when you download in say, 3 months a 4.10 ISO, the ports
>> tree therein will be more than 3 months old.
>>
>> In that case, use whether cvsup or method above to get a recent ports
>> tree.
>
> You can also reinstall the ports tree from the iso image.
>
> There's an install script on the cd that you can run if needed to
> reinstall the release version of the ports tree.
>
> Updating should be done through cvsup if possible.

I think that what the original poster meant is a bit different than this.
When the /usr/ports tree is updated, the infrastructure bits that it
contains will download updated, newer or fixed versions of the same ports
if one tries to reinstall them.  Since the release CD-ROMs do not contain
the source files for these updated ports, they're downloaded over the
network -- which can take a while if you're using a dialup connection or
something similarly slow.

The answer is that this cannot be avoided, since the source files of the
new, updated versions of the packages were not available when the release
CD-ROMs were prepared.



To avoid downloading multiple times the same source files, I usually wait
until one of my machines downloads the source tarballs and then burn a
CD-ROM with the contents of my /usr/ports/distfiles or share this directory
over NFS when that's possible.

Peter,
If you have a fast connection somewhere that can download these source
files for you, you can copy the files from /usr/ports/distfiles from that
machine to any other FreeBSD installation.  The next time the ports try to
locate the source tarball it's going to be where they expect it and no
download will be attempted over the network.



Giorgos

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


Re: Can i make a CD of the Ports Collection

2004-08-04 Thread BSDjunkie
Peter,

You can also reinstall the ports tree from the iso
image.

There's an install script on the cd that you can run
if needed to reinstall the release version of the
ports tree.

Updating should be done through cvsup if possible.

Mark

--- Olaf Hoyer <[EMAIL PROTECTED]> wrote:

> On Wed, 4 Aug 2004, Peter Ryan wrote:
> 
> > I am very new, and have been reinstalling
> > FreeBSD many times to clean up whatever
> > mess i make and start again.
> >
> > I recently used cvsup to update my
> > ports collection for the 4.10_RELEASE.
> >
> > Now, when I reinstall, it takes much longer
> > because i bring in the updated ports collection
> > rather than the ports collection on the
> > install CD (which i burnt from an ISO file)
> >
> 
> The whole portscollection is also available via ftp:
> 
> on ftp2.de.freebsd.org:
> 
> ftp> pwd
> 257 "/pub/FreeBSD/ports/ports" is current directory.
> ftp> ls
> 227 Entering Passive Mode (134,76,11,100,141,111)
> 150 Opening ASCII mode data connection for /bin/ls.
> total 25760
> drwxr-xr-x2 emoenke  ftp  4096 Aug  3
> 01:53 .
> drwxr-xr-x   11 emoenke  ftp  4096 Jul 29 
> 2003 ..
> -rw-r--r--1 emoenke  ftp  1006 Jun 19
> 01:49 README.TXT
> -rw-r--r--1 emoenke  ftp  26332175 Aug  3
> 01:26 ports.tar.gz
> 226 Transfer complete.
> 
> 
> 
> simply download the tar.gz, and extract it to
> /usr/ports
> 
> 
> 
> On each ISO of a release, like the 4.10R-CD #1, they
> take a snapshot of
> the ports tree when the make the assumption that it
> ist quite
> consistent. So when you download in say, 3 months a
> 4.10 ISO, the ports
> tree therein will be more than 3 months old.
> 
> In that case, use whether cvsup or method above to
> get a recent ports
> tree.
> 
> HTH
> Olaf
> 
> 
> -- 
> Olaf Hoyer[EMAIL PROTECTED]
> Fuerchterliche Erlebniss geben zu raten,
> ob der, welcher sie erlebt, nicht etwas
> Fuerchterliches ist.
> (Nietzsche, Jenseits von Gut und Boese)
> ___
> [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 i make a CD of the Ports Collection

2004-08-04 Thread Comrade Burnout
R. W. wrote:
Just a thought, but do you actually need an up-to-date 
ports collection. If you are trying things out, and frequently 
reinstalling you may be better-off with the one on the disk.

One of the big pitfalls in FreeBSD (and Gentoo Linux) is 
that new users install something like gnome, from the 
disk packages, and then sync-up their ports and bring in 
a new version. They are then left with a major rebuild
(which may require a special recipe or script), or face
build problems with new ports.
 

this is one of the reasons i tend to install from FTP (and boot disks), 
and not from the CD. 


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


Re: Can i make a CD of the Ports Collection

2004-08-04 Thread R. W.
Just a thought, but do you actually need an up-to-date 
ports collection. If you are trying things out, and frequently 
reinstalling you may be better-off with the one on the disk.

One of the big pitfalls in FreeBSD (and Gentoo Linux) is 
that new users install something like gnome, from the 
disk packages, and then sync-up their ports and bring in 
a new version. They are then left with a major rebuild
(which may require a special recipe or script), or face
build problems with new ports.

Even worse, there can be problems with current ports 
and old world versions. Ports started breaking on 5.1 
almost immediately after 5.2 was released.

On Wednesday 04 August 2004 04:16, Peter Ryan wrote:
> I am very new, and have been reinstalling
> FreeBSD many times to clean up whatever
> mess i make and start again.
>
> I recently used cvsup to update my
> ports collection for the 4.10_RELEASE.
>
> Now, when I reinstall, it takes much longer
> because i bring in the updated ports collection
> rather than the ports collection on the
> install CD (which i burnt from an ISO file)
>
> Is there some way to burn a cd (for me that
> means under winXP) containing the latest
> ports collection so that I dont have to
> download it each time.
>
> Or is there a better way of installing
> with the latest ports collection.
>
> Are the ISO images updated with a new
> ports collection very frequently ?
>
> Thanks for any pointers
> Peter
> ___
> [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 i make a CD of the Ports Collection

2004-08-03 Thread Olaf Hoyer
On Wed, 4 Aug 2004, Peter Ryan wrote:

> I am very new, and have been reinstalling
> FreeBSD many times to clean up whatever
> mess i make and start again.
>
> I recently used cvsup to update my
> ports collection for the 4.10_RELEASE.
>
> Now, when I reinstall, it takes much longer
> because i bring in the updated ports collection
> rather than the ports collection on the
> install CD (which i burnt from an ISO file)
>

The whole portscollection is also available via ftp:

on ftp2.de.freebsd.org:

ftp> pwd
257 "/pub/FreeBSD/ports/ports" is current directory.
ftp> ls
227 Entering Passive Mode (134,76,11,100,141,111)
150 Opening ASCII mode data connection for /bin/ls.
total 25760
drwxr-xr-x2 emoenke  ftp  4096 Aug  3 01:53 .
drwxr-xr-x   11 emoenke  ftp  4096 Jul 29  2003 ..
-rw-r--r--1 emoenke  ftp  1006 Jun 19 01:49 README.TXT
-rw-r--r--1 emoenke  ftp  26332175 Aug  3 01:26 ports.tar.gz
226 Transfer complete.



simply download the tar.gz, and extract it to /usr/ports



On each ISO of a release, like the 4.10R-CD #1, they take a snapshot of
the ports tree when the make the assumption that it ist quite
consistent. So when you download in say, 3 months a 4.10 ISO, the ports
tree therein will be more than 3 months old.

In that case, use whether cvsup or method above to get a recent ports
tree.

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can i make a CD of the Ports Collection

2004-08-03 Thread Russell J. Wood
Yes, this could be done. First, create an ISO image of the directory with
`mkisofs' (included in /usr/ports/sysutils/cdrtools):

mkisofs -A ports -allow-lowercase -allow-multidot -f -no-cache-inodes -D -l -J
-o ports.iso -p peter -R -V ports /usr/ports

Note: this will produce a non-standards compliant ISO image, but it will be able
to be read on both MS Windows and FreeBSD.

Then, burn the image to CD using `burncd' (included in
/usr/ports/sysutils/cdrtools):

burncd -f /dev/acd0 -v -s  data ports.iso fixate

When it's time to install, remove everything in `/usr/ports' (rm -r
/usr/ports/*) and copy the burned data across. And, to finish it of, CVSup the
ports afterwards.

- Russell

On Wed, Aug 04, 2004 at 11:16:44AM +0800, Peter Ryan wrote:
>I am very new, and have been reinstalling
>FreeBSD many times to clean up whatever
>mess i make and start again.
>
>I recently used cvsup to update my 
>ports collection for the 4.10_RELEASE.
>
>Now, when I reinstall, it takes much longer
>because i bring in the updated ports collection
>rather than the ports collection on the
>install CD (which i burnt from an ISO file)
>
>Is there some way to burn a cd (for me that
>means under winXP) containing the latest 
>ports collection so that I dont have to
>download it each time.
>
>Or is there a better way of installing
>with the latest ports collection.
>
>Are the ISO images updated with a new
>ports collection very frequently ?
>
>Thanks for any pointers
>Peter
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pgpETFI5lHDar.pgp
Description: PGP signature