Quote:
Originally Posted by baronobeefdip
...the lab i am doing this in doesn't have internet access and doesn't plan to, so how do i create a software repositories for OpenBSD and FreeBSD...
|
Again, I will only speak for OpenBSD as I don't use FreeBSD.
You have outlined restrictions which makes the goal unduly tedious.
My recommendation to you is to download
all packages for whichever flavor you are using:
-release,
-stable, or
-current for your architecture of choice. If you don't understand OpenBSD's flavors, study
Section 5.1 of the official FAQ. It is imperative to match the version of the ports tree downloaded to the version of the operating system used. Carefully study
Section 5.3.3 of the FAQ along with
Section 15. Mismatching the ports tree to the OS used can result in both blatant & subtle errors. Don't mismatch versions or flavors. It is not supported.
You will also want to download the
entire contents of the
pub/OpenBSD/distfiles directory on the mirrors. When building applications from the ports tree, the various
Makefile's will first look for the tar files, etc. locally in /usr/ports/distfiles. If the needed files are not found there, the logic will connect to any number of servers to download them. If connections cannot be made, the logic will then turn to the distfiles directories on the mirrors. Copying all distfiles should prevent the need for an Internet connection.
Again, much of this information can be found in the FAQ & related documents. Understanding the related manpages is a must. Before embarking, you will save yourself significant time & aggravation by understanding the process upfront.