FreeBSD Question / About PORTS Specifically...

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
Aight, story is I have a FreeBSD computer, but its a local development server, running Apache, PHP, Perl, MySQL, PostgreSQL ( not yet, soon... )


It needs a good format and install of FreeBSD 5.0 ( or whatever latest stable build is... ) BUT I don't have an internet connection. At all.

Is there an easy way to download all of the PORTS I'll need on another computer, and all the Makefiles and such, and just drop them into the appropriate directories on the other computer ( burn them to CD and copy them over... )

I guess the ideal solution would be the entire PORTS collection on CD or something, or in one big and easy to download place... So I could just copy onto my computer and not need an Internet connection...

Note that I need the .tar or .gz or whatever files too, NOT JUST THE MAKEFILES!
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Sounds like a job for precompiled packages. Either that, or go grab the distfiles for every package you need (and every one that you may need as a dependancy).
 

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
Should I just download all the files I think I might need from:

ftp.freebsd.org/pub/FreeBSD/ports/distfiles/

???
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
That would probably do it, you still gotta compile them though, and deal with the ports tree. With precompiled packages ("ports"), you can just download whatever packages you need and pkg_add *.tgz.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Superwormy
Where to I get packages for FreeBSD... sorry kinda a newbie still...

Try: /pub/FreeBSD/ports/i386/packages-4-stable
Modify as needed for your version.
 

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
Hey the manual says that the ports are in .tgz format... but all the packages in release-5.0/ are .tbz...

Are those the correct ones to get?
 

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
hehe, one more question... it seems the FreeBSD 5.0 RELEASE is missing some files... Apache isn't in the WWW directory or anything... but FreeBSD 5.0 CURRENT has all teh files I need...

Can I just take the missing files from FreeBSD Current?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Superwormy
anyone...?

If there is a -stable directory, upgrade to stable and use that. -current might work, but it might not. Just my guess anyhow since *I* don't have a FreeBSD machine to test on *hint hint*.
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Sorry, I sort of skimmed the thread...

If what you want is every distfile for all the ports, then I believe you can simply do the following :

$ cvsup -g -L 2 supfile
$ cd /usr/ports && make fetch

If I am way off base, then I apologize for skipping what I probably should have read before posting :p