LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 10-09-2006, 04:21 AM   #1
chinmays
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
How to get Freebsd 4.5 source code?


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
 
Old 10-09-2006, 05:15 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,446

Rep: Reputation: 46
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?
 
Old 10-10-2006, 12:02 AM   #3
chinmays
Member
 
Registered: Jan 2006
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 10-10-2006, 06:20 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,446

Rep: Reputation: 46
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.
 
Old 10-11-2006, 03:10 AM   #5
chinmays
Member
 
Registered: Jan 2006
Posts: 37

Original Poster
Rep: Reputation: 15
sorry for that, it failed with this error "Error: DIGIT range is not a subset of XDIGIT range"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 03:21 PM
FreeBSD 6.0 - error code #1 t3ch *BSD 3 12-05-2005 09:21 AM
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 07:49 PM


All times are GMT -5. The time now is 01:51 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration