Add infrastructure for installing pkg(8) keys into /etc/keys/pkg and add

the current test key that packages will be signed with until 10.0-RELEASE.

Approved by:	bapt
Discussed by:	bapt with des
MFC after:	2 days
This commit is contained in:
Bryan Drewery 2013-10-26 03:53:24 +00:00
parent 52cb76fe60
commit 24a2212906
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257150
7 changed files with 44 additions and 1 deletions

View File

@ -224,6 +224,7 @@ distribution:
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
${_+_}cd ${.CURDIR}/keys; ${MAKE} install
${_+_}cd ${.CURDIR}/periodic; ${MAKE} install
.if ${MK_PKGBOOTSTRAP} != "no"
${_+_}cd ${.CURDIR}/pkg; ${MAKE} install

5
etc/keys/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR= pkg
.include <bsd.subdir.mk>

5
etc/keys/pkg/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR= trusted
.include <bsd.subdir.mk>

View File

@ -0,0 +1,10 @@
# $FreeBSD$
NO_OBJ=
FILES= pkg.freebsd.org.2013102301
FILESDIR= /etc/keys/pkg/trusted
FILESMODE= 644
.include <bsd.prog.mk>

View File

@ -0,0 +1,5 @@
# $FreeBSD$
# This key is for testing purposes only and will be revoked before 10.0-RELEASE
function: "sha256"
fingerprint: "b0170035af3acc5f3f3ae1859dc717101b4e6c1d0a794ad554928ca0cbb2f438"

View File

@ -34,6 +34,14 @@
..
gss
..
keys
pkg
revoked
..
trusted
..
..
..
mail
..
mtree

View File

@ -32,7 +32,7 @@
.\" @(#)hier.7 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
.Dd October 19, 2013
.Dd October 23, 2013
.Dt HIER 7
.Os
.Sh NAME
@ -94,6 +94,15 @@ bluetooth configuration files
gnats configuration files;
see
.Xr send-pr 1
.It Pa keys/
known trusted and revoked keys.
.Pp
.Bl -tag -width ".Pa keys/pkg/" -compact
.It Pa keys/pkg/
fingerprints for
.Xr pkg 8
.El
.Pp
.It Pa localtime
local timezone information;
see