]>
Commit | Line | Data |
---|---|---|
c3731ed2 DM |
1 | |
2 | DOCDIR=/usr/share/doc/pve-manager/ | |
3 | ||
f0f173e8 DM |
4 | TRUSTED_KEYS= \ |
5 | support@proxmox.com.pubkey \ | |
6 | proxmox-release-5.x.pubkey \ | |
7 | release@turnkeylinux.com.pubkey | |
8 | ||
c3731ed2 DM |
9 | all: |
10 | ||
11 | .PHONY: install | |
a8ff10b8 | 12 | install: aplinfo.dat trustedkeys.gpg |
c3731ed2 | 13 | install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat |
a8ff10b8 | 14 | install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg |
c3731ed2 | 15 | |
d23172fb DM |
16 | .PHONY: update |
17 | update: | |
18 | rm -f aplinfo.dat | |
19 | wget http://download.proxmox.com/images/aplinfo.dat -O aplinfo.dat.tmp | |
20 | mv aplinfo.dat.tmp aplinfo.dat | |
21 | ||
a8ff10b8 | 22 | # Default list of GPG keys allowed to sign aplinfo |
f0f173e8 DM |
23 | # pub 1024D/5CAC72FE 2004-06-24 |
24 | # Key fingerprint = 9ABD 7E02 AD24 3AD3 C2FB BCCC B0C1 CC22 5CAC 72FE | |
25 | # uid Proxmox Support Team <support@proxmox.com> | |
26 | # pub 4096R/E2EF0603 2016-08-29 [expires: 2026-08-27] | |
27 | # Key fingerprint = 359E 9596 5E2C 3D64 3159 CD30 0D9A 1950 E2EF 0603 | |
28 | # uid Proxmox Virtual Environment 5.x Release Key <proxmox-release@proxmox.com> | |
29 | # pub 2048R/A16EB94D 2008-08-15 [expires: 2023-08-12] | |
30 | # Key fingerprint = 694C FF26 795A 29BA E07B 4EB5 85C2 5E95 A16E B94D | |
31 | # uid Turnkey Linux Release Key <release@turnkeylinux.com> | |
32 | trustedkeys.gpg: ${TRUSTED_KEYS} | |
a8ff10b8 FG |
33 | rm -Rf tempgpg |
34 | mkdir tempgpg | |
35 | chmod 700 tempgpg | |
f0f173e8 | 36 | gpg --fingerprint --batch --no-tty --homedir tempgpg --import ${TRUSTED_KEYS} |
a8ff10b8 FG |
37 | gpg --batch --no-tty --homedir tempgpg --export > trustedkeys.gpg |
38 | ||
c3731ed2 DM |
39 | .PHONY: clean |
40 | clean: | |
a8ff10b8 | 41 | rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg |