2 DOCDIR
=/usr
/share
/doc
/pve-manager
/
5 proxmox-release-5.x.pubkey \
6 proxmox-release-6.x.pubkey \
7 release@turnkeylinux.com.pubkey
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
19 wget http
://download.proxmox.com
/images
/aplinfo-pve-6.dat
-O aplinfo.dat.tmp
20 mv aplinfo.dat.tmp aplinfo.dat
22 # Default list of GPG keys allowed to sign aplinfo, generated with:
23 # gpg --import-options show-only --import trustedkeys.gpg
24 # pub rsa4096 2016-08-29 [SC] [expires: 2026-08-27]
25 # 359E95965E2C3D643159CD300D9A1950E2EF0603
26 # uid Proxmox Virtual Environment 5.x Release Key <proxmox-release@proxmox.com>
28 # pub rsa4096 2018-11-19 [SC] [expires: 2028-11-16]
29 # 353479F83781D7F8ED5F5AC57BF2812E8A6E88E0
30 # uid Proxmox Virtual Environment 6.x Release Key <proxmox-release@proxmox.com>
32 # pub rsa2048 2008-08-15 [SC] [expires: 2023-08-12]
33 # 694CFF26795A29BAE07B4EB585C25E95A16EB94D
34 # uid Turnkey Linux Release Key <release@turnkeylinux.com>
35 trustedkeys.gpg
: ${TRUSTED_KEYS}
39 gpg
--fingerprint
--batch
--no-tty
--homedir tempgpg
--import
${TRUSTED_KEYS}
40 gpg
--batch
--no-tty
--homedir tempgpg
--export > trustedkeys.gpg
44 rm -rf
*~ aplinfo.dat.gz aplinfo.dat.asc tempgpg