]> git.proxmox.com Git - pve-manager.git/blob - aplinfo/Makefile
aplinfo: update from aplinfo-pve-6.dat
[pve-manager.git] / aplinfo / Makefile
1
2 DOCDIR=/usr/share/doc/pve-manager/
3
4 TRUSTED_KEYS= \
5 proxmox-release-5.x.pubkey \
6 proxmox-release-6.x.pubkey \
7 release@turnkeylinux.com.pubkey
8
9 all:
10
11 .PHONY: install
12 install: aplinfo.dat trustedkeys.gpg
13 install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat
14 install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg
15
16 .PHONY: update
17 update:
18 rm -f aplinfo.dat
19 wget http://download.proxmox.com/images/aplinfo-pve-6.dat -O aplinfo.dat.tmp
20 mv aplinfo.dat.tmp aplinfo.dat
21
22 # Default list of GPG keys allowed to sign aplinfo
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}
33 rm -Rf tempgpg
34 mkdir tempgpg
35 chmod 700 tempgpg
36 gpg --fingerprint --batch --no-tty --homedir tempgpg --import ${TRUSTED_KEYS}
37 gpg --batch --no-tty --homedir tempgpg --export > trustedkeys.gpg
38
39 .PHONY: clean
40 clean:
41 rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg