]> git.proxmox.com Git - pve-manager.git/blob - aplinfo/Makefile
aplinfo: add generated trustedkeys.gpg
[pve-manager.git] / aplinfo / Makefile
1
2 DOCDIR=/usr/share/doc/pve-manager/
3
4 all:
5
6 .PHONY: install
7 install: aplinfo.dat trustedkeys.gpg
8 install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat
9 install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg
10
11 .PHONY: update
12 update:
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
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>
25 trustedkeys.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
32 .PHONY: distclean
33 distclean: clean
34
35 .PHONY: clean
36 clean:
37 rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg