summaryrefslogtreecommitdiffstats
path: root/etc/pkg
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-10-29 18:36:44 +0000
committerbdrewery <bdrewery@FreeBSD.org>2013-10-29 18:36:44 +0000
commit7046958142fcbc1e0f447f73cf6049ffc395b5ca (patch)
treef40ea8ace6b95a21e03808d27d810254044c9a8f /etc/pkg
parent2d60d1851a80cfae2603a0ed8a5b19372d8b77ba (diff)
downloadFreeBSD-src-7046958142fcbc1e0f447f73cf6049ffc395b5ca.zip
FreeBSD-src-7046958142fcbc1e0f447f73cf6049ffc395b5ca.tar.gz
MFC: r256770,r257142,r257145,r257146,r257147,r257148,
r257149,r257150,r257158,r257159,r257164,r257168, r257193 - Support checking signature for pkg bootstrap from remote and for 'pkg add ./pkg.txz' - Be verbose on where pkg is being bootstrapped from. - Add support for reading configuration files from /etc/pkg. For now only /etc/pkg/FreeBSD.conf is supported. - Add test package signing key fingerprint into /etc/keys/pkg/trusted. - Disable fingerprint checking by default for now as the official packages are not yet signed. Approved by: bapt Approved by: re (glebius)
Diffstat (limited to 'etc/pkg')
-rw-r--r--etc/pkg/FreeBSD.conf8
-rw-r--r--etc/pkg/Makefile10
2 files changed, 18 insertions, 0 deletions
diff --git a/etc/pkg/FreeBSD.conf b/etc/pkg/FreeBSD.conf
new file mode 100644
index 0000000..435bcba
--- /dev/null
+++ b/etc/pkg/FreeBSD.conf
@@ -0,0 +1,8 @@
+# $FreeBSD$
+FreeBSD: {
+ url: "pkg+http://pkg.freebsd.org/${ABI}/latest",
+ mirror_type: "srv",
+ signature_type: "none",
+ fingerprints: "/etc/keys/pkg",
+ enabled: "yes"
+}
diff --git a/etc/pkg/Makefile b/etc/pkg/Makefile
new file mode 100644
index 0000000..abc8c64
--- /dev/null
+++ b/etc/pkg/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+NO_OBJ=
+
+FILES= FreeBSD.conf
+
+FILESDIR= /etc/pkg
+FILESMODE= 644
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud