If you have the official CD set, many of the packages available for the more popular hardware platforms can be found there. Otherwise, you will need an Internet connection to install these applications.

Note that for the i386 platform, there is little if any reason to ever compile applications as most are already available as packages. This does not hold true for the less common platforms.

If you are new to OpenBSD & its packages/ports system, studying Section 15 will save you significant time.

Building ports requires an Internet connection in order to fetch the source files for each port and all of its dependencies. The ports tree contains makefiles, patches, packing lists, and other components needed to create packages. It does not contain any of the application source code.

In another place, your friend or your work, you could fetch all the source files and write them to CD

Code:

make fetch

Of course you will have to repeat that for the dependency ports. I never had to do this but this should fetch all dependencies

Code:

make fetch depends

The only remaining problem is how to tell the ports makefile at home to retrieve the files from your CD instead through ftp.
I will leave that to others, as I don't have the time at this moment to figure that out

__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

The only remaining problem is how to tell the ports makefile at home to retrieve the files from your CD instead through ftp.
I will leave that to others, as I don't have the time at this moment to figure that out

I thought it first searches ${PORTSDIR}/distfiles first and then go to ftp sites if not found there?

I don't quite understand your post xCipherx - you want to install packages, ports or you want to download them on separate machine and then install at home?
If one has distfiles on a CD it should be enough to cp them to distfiles dir or set a DISTDIR variable pointing to there.
If installing packages (recommended as opposed to ports) from a CD then set PKG_PATH to the mount path of CDROM.