diff options
author | bapt <bapt@FreeBSD.org> | 2015-09-08 21:25:36 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-09-08 21:25:36 +0000 |
commit | 57a6813e1e1c4dbe9eb54329ffaf8fef38b016f3 (patch) | |
tree | 138ccb41661e15419adeb8f9a340f4d9569a550c /usr.sbin/pkg/Makefile | |
parent | 61177b5cd0efaf9efd60822a8ec834a9d810f96d (diff) | |
download | FreeBSD-src-57a6813e1e1c4dbe9eb54329ffaf8fef38b016f3.zip FreeBSD-src-57a6813e1e1c4dbe9eb54329ffaf8fef38b016f3.tar.gz |
Implement pubkey support for the bootstrap
Note that to not interfer with finger print it expects a signature on pkg itself
which is named pkg.txz.pubkeysign
To genrate it:
echo -n "$(sha256 -q pkg.txz)" | openssl dgst -sha256 -sign /thekey \
-binary -out ./pkg.txz.pubkeysig
Note the "echo -n" which prevent signing the '\n' one would get otherwise
PR: 202622
MFC after: 1 week
Diffstat (limited to 'usr.sbin/pkg/Makefile')
-rw-r--r-- | usr.sbin/pkg/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/Makefile b/usr.sbin/pkg/Makefile index 0884b6b..d149fd3 100644 --- a/usr.sbin/pkg/Makefile +++ b/usr.sbin/pkg/Makefile @@ -6,6 +6,6 @@ MAN= pkg.7 CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include .PATH: ${.CURDIR}/../../contrib/libucl/include -LIBADD= archive fetch ucl sbuf crypto +LIBADD= archive fetch ucl sbuf crypto ssl .include <bsd.prog.mk> |