Dports from local disk (via NFS or otherwise)

PeerCorps Trust Fund ipc at peercorpstrust.org
Sat Dec 27 05:51:30 PST 2014


Hi All,

What is the most recommended way to change the default DragonflyBSD package repository to a local disk that has all of the packages downloaded?

>From the HowToDPorts page my guess is that the following would work:

########################################

vi /usr/local/etc/pkg.conf

Change this:
# Default Dports package server (California)
PACKAGESITE: http://mirror-master.dragonflybsd.org/dports/${ABI}/LATEST

To something like this:
# Default Dports package server (disk)
PACKAGESITE: file://<local/path/name/here>

pkg update

########################################

Is there a better or more recommended way to do this?



More information about the Users mailing list