freebsd-skq/usr.sbin/pkg/Makefile
bapt 57a6813e1e 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
2015-09-08 21:25:36 +00:00

12 lines
231 B
Makefile

# $FreeBSD$
PROG= pkg
SRCS= pkg.c dns_utils.c config.c
MAN= pkg.7
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
.PATH: ${.CURDIR}/../../contrib/libucl/include
LIBADD= archive fetch ucl sbuf crypto ssl
.include <bsd.prog.mk>