mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
pkg: add fingerprint for repository signing
This commit is contained in:
parent
6ddea6d408
commit
a87c82fee2
4
Makefile
4
Makefile
@ -23,6 +23,10 @@ install:
|
||||
@echo /usr/local/etc/pkg/repos/OPNsense.conf
|
||||
@cp ${.CURDIR}/pkg/pkg.conf ${DESTDIR}/usr/local/etc
|
||||
@echo /usr/local/etc/pkg.conf
|
||||
@mkdir -p ${DESTDIR}/usr/local/etc/pkg/fingerprints/OPNsense/trusted
|
||||
@cp ${.CURDIR}/pkg/trusted/pkg.opnsense.org.20150402 \
|
||||
${DESTDIR}/usr/local/etc/pkg/fingerprints/OPNsense/trusted
|
||||
@echo /usr/local/etc/pkg/fingerprints/OPNsense/trusted/pkg.opnsense.org.20150402
|
||||
# finally pretty-print a list of files present
|
||||
@(cd ${.CURDIR}/src; find * -type f) | \
|
||||
xargs -n1 printf "/usr/local/%s\n"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
OPNsense: {
|
||||
url: "pkg+http://pkg.opnsense.org/${ABI}/latest",
|
||||
signature_type: "fingerprints",
|
||||
mirror_type: "srv",
|
||||
priority: 11,
|
||||
enabled: yes
|
||||
|
||||
2
pkg/trusted/pkg.opnsense.org.20150402
Normal file
2
pkg/trusted/pkg.opnsense.org.20150402
Normal file
@ -0,0 +1,2 @@
|
||||
function: "sha256"
|
||||
fingerprint: "598b5faf596474e7fe97280b0527edaefd978f16ba941799126030dc55c1f8b8"
|
||||
Loading…
x
Reference in New Issue
Block a user