Move /etc/keys to /usr/share/keys where users are less likely to modify them.

Requested by:	secteam (cperciva, des)
Approved by:	bapt
This commit is contained in:
bdrewery 2013-10-29 15:07:54 +00:00
parent b4eb281652
commit 20f6c909af
10 changed files with 22 additions and 21 deletions

View File

@ -224,7 +224,6 @@ 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

View File

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

View File

@ -478,6 +478,14 @@
..
info
..
keys
pkg
revoked
..
trusted
..
..
..
locale
UTF-8
..

View File

@ -3,6 +3,6 @@ FreeBSD: {
url: "pkg+http://pkg.freebsd.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "none",
fingerprints: "/etc/keys/pkg",
fingerprints: "/usr/share/keys/pkg",
enabled: "yes"
}

View File

@ -11,6 +11,7 @@ SUBDIR= ${_colldef} \
dtrace \
${_examples} \
${_i18n} \
keys \
${_man} \
${_me} \
misc \

View File

@ -4,7 +4,7 @@ NO_OBJ=
FILES= pkg.freebsd.org.2013102301
FILESDIR= /etc/keys/pkg/trusted
FILESDIR= /usr/share/keys/pkg/trusted
FILESMODE= 644
.include <bsd.prog.mk>

View File

@ -32,7 +32,7 @@
.\" @(#)hier.7 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
.Dd October 23, 2013
.Dd October 29, 2013
.Dt HIER 7
.Os
.Sh NAME
@ -94,15 +94,6 @@ 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
@ -556,6 +547,16 @@ ASCII text files used by various games
device description file for device name
.It Pa info/
GNU Info hypertext system
.It Pa keys/
known trusted and revoked keys.
.Bl -tag -width ".Pa keys/pkg/" -compact
.It Pa keys/pkg/
fingerprints for
.Xr pkg 7
and
.Xr pkg 8
.El
.Pp
.It Pa locale/
localization files;
see