diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.xml b/en_US.ISO8859-1/books/handbook/ports/chapter.xml
index bb8ca4a24c..55716a9a2b 100644
--- a/en_US.ISO8859-1/books/handbook/ports/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/ports/chapter.xml
@@ -698,18 +698,15 @@ docbook =
WITH_PKGNG= yes
- The pkg package management
- system uses a package repository for most operations. The
- default package repository location is defined in
- /usr/local/etc/pkg.conf or by the
- PACKAGESITE environment variable, which
- overrides the configuration file.
+ By default pkg uses the &os;
+ package mirrors. For information about building a custom
+ package repository, see Additional pkg
- configuration options are described in pkg.conf(5).
+ configuration options are described in &man.pkg.conf.5;.
Usage information for pkg is
- available in pkg(8) or by running
+ available in the &man.pkg.8; manpage or by running
pkg without additional arguments.Each pkg command argument is
@@ -1319,7 +1316,7 @@ Deinstalling ca_root_nss-3.15.1_1... done
Installed ports can be uninstalled using pkg
delete. Examples for using this command can be
- found in .
+ found in the &man.pkg-delete.8; manpage.Alternately, make deinstall can be
run in the port's directory:
@@ -1764,6 +1761,40 @@ ports-mgmt/pkg
and the main web site, .
+
+ Configuring pkg clients to use a Poudriere repository
+
+ While it is possible to use both a custom repository along
+ side of the official repository. Sometimes it is useful to
+ disable the official repository. This is done by creating a
+ configuration file that overrides and disables the official
+ configuration file. Create
+ /usr/local/etc/pkg/repos/FreeBSD.conf
+ that contains the following:
+
+ FreeBSD: {
+ enabled: no
+}
+
+ Usually it is easiest to serve a poudriere repository to the
+ client machines via HTTP. Setup a webserver to serve up the
+ package directory, usually something like:
+ /usr/local/poudriere/data/packages/10amd64.
+ Where 10amd64 is the name of the build.
+
+
+ If the URL to the package repository is:
+ http://pkg.example.com/10amd64, then the
+ repository configuration file in
+ /usr/local/etc/pkg/repos/custom.conf would
+ look like:
+
+ custom: {
+ url: "http://pkg.example.com/10amd64",
+ mirror_type: "http",
+ enabled: yes,
+}
+