Re: scontrib

2009-07-19 Thread Polytropon
On Sun, 19 Jul 2009 03:59:30 -0400, Glen Barber  wrote:
> Since it has booted fine, you can also obtain the source from the SVN
> tree[1], assuming you can get devel/subversion to build on such an old
> version.

It's no problem to install cvsup-without-gui from ports or use
the csup utility (I think it was already present in 5.2) to use
the

# make update

way from within /usr/src - with correctly setup supfiles, of
course, but that's quite easy.

Put this into /etc/make.conf:

SUP_UPDATE=yes
SUP=/usr/bin/csup
SUPFLAGS=-g -L 2
SUPHOST=cvsup.freebsd.org
SUPFILE=/etc/sup/standard.sup

Or change the SUP line, if you've installed cvsup-without-gui to

SUP=/usr/local/bin/cvsup

Then create /etc/sup directory and create the following standard.sup
file (which controls what will be subject to update):

*default host=cvsup.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_2_0
*default delete use-rel-suffix
*default compress
src-all

You can change cvsup.freebsd.org into a mirror near you. Check the
correct setting for RELENG_5_2_0 (equals 5.2-RELEASE, if I see this
correctly) or any other version you want to obtain (such as 5.2 with
security patches, latest of 5.x, generally latest).




-- 
Polytropon
>From 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: scontrib

2009-07-19 Thread Manolis Kiagias
Brett Wiggins wrote:
> Hi,
>
>   
>> Depending on what you want to do with "accessing the source code",
>> it may be valid to say that you can leave out scontrib, but as
>> far as I remember, it will be needed for building things from the
>> source code (make vuildworld and buildkernel).
>> 
>
> I want to be able to read and compile the source. I have looked at
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/
>
> but am unable to find an iso and am not sure how to make a iso or
> install cd from what is provided. I have installed the system minus
> scontrib and it boots ok. Would I be able to get the full source from
> the ftp-archive, exctract it to my FreeBSD system and then re-build and
> install the system?
>
> thanks,
>
> Brett.
>
>   
How about this?

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/5.2/

You may be able to get the iso from alternate places too. And as Glen
said you can get the sources from SVN. In fact, you can get the sources
from CVS without trying to install an SVN client. You will need the
cvsup-without-gui package as csup was not in the base of 5.2 AFAIK.
There is a ready package for 5-STABLE here:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/net/cvsup-without-gui-16.1h_3.tbz

though I am not certain if this will run in 5.2.

You will also need a supfile similar to this (you may wish to change
host to something closer to you)

*default host=cvsup10.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_2_0_RELEASE
*default delete use-rel-suffix
*default compress
src-all

___
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: scontrib

2009-07-19 Thread Polytropon
On Sun, 19 Jul 2009 17:52:22 +1000, Brett Wiggins  
wrote:
> I want to be able to read and compile the source. I have looked at
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/

For this purpose, I think you'll need the contrib/ subtree.



> but am unable to find an iso and am not sure how to make a iso or
> install cd from what is provided.

There's the command "make distribution" in /usr/src.



> I have installed the system minus
> scontrib and it boots ok.

Of course, it's only the sources (scontrib is part of the sources).
Those are not needed for running the operating system.



> Would I be able to get the full source from
> the ftp-archive, exctract it to my FreeBSD system and then re-build and
> install the system?

Yes, of course. First, download
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/5.2-RELEASE/src/scontrib*
which is scontrib.aa ... scontrib.bb, along with install.sh. You can then
use the command

# ./install.sh contrib

which will concatenate the archive parts scontrib.* and extract them
info /usr/src (or any other place you may specify).



-- 
Polytropon
>From 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: scontrib

2009-07-19 Thread Glen Barber
On Sun, Jul 19, 2009 at 3:52 AM, Brett Wiggins wrote:
> Hi,
>
>>
>> Depending on what you want to do with "accessing the source code",
>> it may be valid to say that you can leave out scontrib, but as
>> far as I remember, it will be needed for building things from the
>> source code (make vuildworld and buildkernel).
>
> I want to be able to read and compile the source. I have looked at
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/
>
> but am unable to find an iso and am not sure how to make a iso or
> install cd from what is provided. I have installed the system minus
> scontrib and it boots ok. Would I be able to get the full source from
> the ftp-archive, exctract it to my FreeBSD system and then re-build and
> install the system?
>

Since it has booted fine, you can also obtain the source from the SVN
tree[1], assuming you can get devel/subversion to build on such an old
version.

[1] - http://svn.freebsd.org/base/release/5.2.0/

-- 
Glen Barber
___
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: scontrib

2009-07-19 Thread Brett Wiggins
Hi,

> 
> Depending on what you want to do with "accessing the source code",
> it may be valid to say that you can leave out scontrib, but as
> far as I remember, it will be needed for building things from the
> source code (make vuildworld and buildkernel).

I want to be able to read and compile the source. I have looked at
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/

but am unable to find an iso and am not sure how to make a iso or
install cd from what is provided. I have installed the system minus
scontrib and it boots ok. Would I be able to get the full source from
the ftp-archive, exctract it to my FreeBSD system and then re-build and
install the system?

thanks,

Brett.

___
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: scontrib

2009-07-19 Thread Polytropon
On Sun, 19 Jul 2009 16:47:15 +1000, Brett Wiggins  
wrote:
> Hi,
> 
> I am installing an old version of FreeBSD (5.2) that I am using with the
> book 'The design and Implementation of the FreeBSD Operating System -
> McKusick/Neville-Neil'. During the install there is an error saying that
> scontrib was unable to be retrieved from the install CD. Will this
> effect the system from running? the only thing I want from this install
> is access to the 5.2 source code. Please cc me if you reply to this
> question as I am not subscribed to this list.

The contrib/ subtree contains various additional modules and
libraries, such as

amd/expat/  less/   ngatm/  smbfs/
bc/ file/   libbegemot/ ntp/tcp_wrappers/
bind9/  gcc/libf2c/ nvi/tcpdump/
binutils/   gcclibs/libobjc/one-true-awk/   tcsh/
bsnmp/  gdb/libpcap/openbsm/telnet/
bzip2/  gdtoa/  libreadline/openpam/texinfo/
com_err/gnu-sort/   libstdc++/  opie/   top/
cpio/   gperf/  lukemftp/   pam_modules/traceroute/
csup/   groff/  lukemftpd/  pf/ wpa_supplicant/
cvs/hostapd/ncurses/pnpinfo/
diff/   ipfilter/   netcat/ sendmail/

This is from a FreeBSD 7 installation. In 5.2, there is surely
less stuff included. :-)

Depending on what you want to do with "accessing the source code",
it may be valid to say that you can leave out scontrib, but as
far as I remember, it will be needed for building things from the
source code (make vuildworld and buildkernel).


-- 
Polytropon
>From 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"