]> git.proxmox.com Git - pve-manager.git/blame - aplinfo/Makefile
aplinfo: add generated trustedkeys.gpg
[pve-manager.git] / aplinfo / Makefile
CommitLineData
beb651ee
DM
1
2DOCDIR=/usr/share/doc/pve-manager/
3
4all:
5
6.PHONY: install
868801cb 7install: aplinfo.dat trustedkeys.gpg
beb651ee 8 install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat
868801cb 9 install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg
beb651ee 10
68097d8c
DM
11.PHONY: update
12update:
13 rm -f aplinfo.dat
14 wget http://download.proxmox.com/images/aplinfo.dat -O aplinfo.dat.tmp
15 mv aplinfo.dat.tmp aplinfo.dat
16
868801cb
FG
17# Default list of GPG keys allowed to sign aplinfo
18#
19#pub 1024D/5CAC72FE 2004-06-24
20# Key fingerprint = 9ABD 7E02 AD24 3AD3 C2FB BCCC B0C1 CC22 5CAC 72FE
21#uid Proxmox Support Team <support@proxmox.com>
22#pub 2048R/A16EB94D 2008-08-15 [expires: 2023-08-12]
23# Key fingerprint = 694C FF26 795A 29BA E07B 4EB5 85C2 5E95 A16E B94D
24#uid Turnkey Linux Release Key <release@turnkeylinux.com>
25trustedkeys.gpg: support@proxmox.com.pubkey release@turnkeylinux.com.pubkey
26 rm -Rf tempgpg
27 mkdir tempgpg
28 chmod 700 tempgpg
29 gpg --fingerprint --batch --no-tty --homedir tempgpg --import support@proxmox.com.pubkey release@turnkeylinux.com.pubkey
30 gpg --batch --no-tty --homedir tempgpg --export > trustedkeys.gpg
31
beb651ee
DM
32.PHONY: distclean
33distclean: clean
34
35.PHONY: clean
36clean:
868801cb 37 rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg