pkgng multi-repository support description

Matthew Seaman matthew at FreeBSD.org
Fri Apr 11 20:35:35 UTC 2014


On 11/04/2014 17:21, Steven Hartland wrote:
> In our case we want to tell pkg to only use repro XYZ from the ones
> availble,
> for example without having to delete /etc/pkg/FreeBSD.conf.

For individual ports:

pkg-repository(8), the section titled "WORKING WITH MULTIPLE REPOSITORIES"

To disable eg. the default FreeBSD repo:

cat <<EOF > /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
  enabled: no
}
EOF

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140411/0b192fb9/attachment.sig>


More information about the freebsd-ports mailing list