Skip to content
This repository has been archived by the owner. It is now read-only.

Installing the git driver and adding the 6c37 repo

rmull edited this page Aug 1, 2017 · 10 revisions

Installing the git driver and adding the 6c37 repo

It is possible to update the 6c37 repo with ports -u by installing the git driver.

Git driver

The git driver is now provided by opt/git! Just install opt/git and you are ready to go.

6c37 repo

In order to use signature check and avoid falling back to md5sum check, copy 6c37 public key to /etc/ports. Copy 6c37-git public key if you want to use our git ports. Copy 6c37.git to /etc/ports, from now on when you run ports -u the 6c37 repo will automatically be cloned & updated. Copy 6c37-git.git if you want our git ports as well.

If you use prt-get you may also want to add a 6c37 and 6c37-git prtdir to /etc/prt-get.conf.

Other repos

It is also possible to use the git driver for other repos. *.git templates can be found in git-driver.

If you want to use the git driver for an already existing repo, for example opt, make sure to remove /usr/ports/opt first.

Caveats

At the time of this writing (2016-08-12), during sysup, the git driver will wipe built packages and source downloaded from the ports tree if you don't have /etc/pkgmk.conf configured to store them out-of-tree. For now, be sure to set PKGMK_SOURCE_DIR and PKGMK_PACKAGE_DIR to point to a location that is not tracked by git if you wish to preserve these types of files.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.