mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
Keep two versions of the FreeBSD.conf pkg configuration file; one which
points at the "latest" branch and one which points at the "quarterly" branch. Install the "latest" version unless overridden via the newly added PKGCONFBRANCH variable. This does not change user-visible behaviour (assuming said vairable is not set) but will make it easier to change the defaults in the future -- on stable branches we will want "latest" on x86 but "quarterly" elsewhere. Discussed with: gjb MFC after: 3 days X-MFC: After MFCing this I'll make a direct commit to stable/* to switch non-x86 architectures to "quarterly".
This commit is contained in:
parent
351a56b116
commit
0b18e008cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346628
16
usr.sbin/pkg/FreeBSD.conf.quarterly
Normal file
16
usr.sbin/pkg/FreeBSD.conf.quarterly
Normal file
|
@ -0,0 +1,16 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
# To disable this repository, instead of modifying or removing this file,
|
||||
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
|
||||
#
|
||||
# mkdir -p /usr/local/etc/pkg/repos
|
||||
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
#
|
||||
|
||||
FreeBSD: {
|
||||
url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
|
||||
mirror_type: "srv",
|
||||
signature_type: "fingerprints",
|
||||
fingerprints: "/usr/share/keys/pkg",
|
||||
enabled: yes
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
CONFS= FreeBSD.conf
|
||||
PKGCONFBRANCH?= latest
|
||||
CONFS= FreeBSD.conf.${PKGCONFBRANCH}
|
||||
CONFSNAME= FreeBSD.conf
|
||||
CONFSDIR= /etc/pkg
|
||||
CONFSMODE= 644
|
||||
PROG= pkg
|
||||
|
|
Loading…
Reference in a new issue