pkg: better fix, keep vanilla file, but don't install

This commit is contained in:
Franco Fichtner 2018-10-11 10:33:39 +02:00
parent 2e287ab695
commit 725649d96a
2 changed files with 17 additions and 1 deletions

16
etc/pkg/HardenedBSD.conf Normal file
View File

@ -0,0 +1,16 @@
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/HardenedBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "HardenedBSD: { enabled: no }" > /usr/local/etc/pkg/repos/HardenedBSD.conf
#
HardenedBSD: {
url: "pkg+http://pkgs.hardenedbsd.org/HardenedBSD/pkg/${ABI}",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}

View File

@ -2,7 +2,7 @@
NO_OBJ=
FILES= FreeBSD.conf HardenedBSD.conf
FILES= FreeBSD.conf
FILESDIR= /etc/pkg
FILESMODE= 644