]> git.proxmox.com Git - pve-manager.git/blame - aplinfo/Makefile
bump version to 5.4-15
[pve-manager.git] / aplinfo / Makefile
CommitLineData
beb651ee
DM
1
2DOCDIR=/usr/share/doc/pve-manager/
3
d16531e3
DM
4TRUSTED_KEYS= \
5 support@proxmox.com.pubkey \
6 proxmox-release-5.x.pubkey \
7 release@turnkeylinux.com.pubkey
8
beb651ee
DM
9all:
10
11.PHONY: install
868801cb 12install: aplinfo.dat trustedkeys.gpg
beb651ee 13 install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat
868801cb 14 install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg
beb651ee 15
68097d8c
DM
16.PHONY: update
17update:
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
868801cb 22# Default list of GPG keys allowed to sign aplinfo
d16531e3
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>
32trustedkeys.gpg: ${TRUSTED_KEYS}
868801cb
FG
33 rm -Rf tempgpg
34 mkdir tempgpg
35 chmod 700 tempgpg
d16531e3 36 gpg --fingerprint --batch --no-tty --homedir tempgpg --import ${TRUSTED_KEYS}
868801cb
FG
37 gpg --batch --no-tty --homedir tempgpg --export > trustedkeys.gpg
38
beb651ee
DM
39.PHONY: clean
40clean:
868801cb 41 rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg