LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Thread Tools
Old 10-09-2006, 05:21 AM   #1
chinmays
Member
 
Registered: Jan 2006
Posts: 37
Thanked: 0
How to get Freebsd 4.5 source code?


[Log in to get rid of this advertisement]
How to get Freebsd 4.5 source code?

Can someone please give me the exact location, i just cant find it.

One more thing, i am trying to change the kernel of freebsd 4.10 to 4.5, can anyone give some basic details about going forward with it?

Thanks
chinmays is offline     Reply With Quote
Old 10-09-2006, 06:15 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,448
Thanked: 0
Create a file similar to this one:

srcup:
Code:
*default tag=RELENG_4_5
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default host=cvsup2.freebsd.org
*default release=cvs delete use-rel-suffix compress

src-all
Then do:
Code:
cvsup -g /path/to/srcup
You may need to make the /usr/local/etc/cvsup directory.

You've now got the source for 4.5 in /usr/src.

As for the kernel thing... are you planning on just changing the kernel but leaving the userland alone (you're going to break things if you are)? Or are you looking to downgrade your complete system?

Either way, I can help but you should understand that there is a difference between replacing just the kernel and not the world. Also, why are you looking to downgrade?
frob23 is offline     Reply With Quote
Old 10-10-2006, 01:02 AM   #3
chinmays
Member
 
Registered: Jan 2006
Posts: 37
Thanked: 0

Original Poster
Thanks

I am working on a research project in which i have to run the Scalper worm and collect its traces. Now the worm runs only on FreeBSD 4.5. Now the situation is that the Testbed on which i am running runs only FreeBSD 4.10 (they cant change the image on Testbed)

So i want to downgrade the OS.
Yes i tried just changing the kernel, but it failed (it failed in the "make buildworld"), so can u suggest me what to do? I need the info as soon as possible.

Thanks again
chinmays is offline     Reply With Quote
Old 10-10-2006, 07:20 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,448
Thanked: 0
You'll need to provide more information about how "make buildworld" failed if you want me to help. I'm not psychic and can't even begin to suggest solutions when I don't know the problem.
frob23 is offline     Reply With Quote
Old 10-11-2006, 04:10 AM   #5
chinmays
Member
 
Registered: Jan 2006
Posts: 37
Thanked: 0

Original Poster
sorry for that, it failed with this error "Error: DIGIT range is not a subset of XDIGIT range"
chinmays is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Voip Encryption, source code open source LXer Syndicated Linux News 0 07-09-2006 04:21 PM
FreeBSD 6.0 - error code #1 t3ch *BSD 3 12-05-2005 10:21 AM
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 01:48 PM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 08:49 PM


All times are GMT -5. The time now is 06:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration