blob: 269429c6fd9c902089db2c20cdbe9eb0f6114589 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname='local-certificates'
arch=('any')
pkgver=2021.11.04.19.08.05
pkgrel=1
pkgdesc='Certificate for local version of https://arch.eckner.net'
license=('GPL')
install='local-certificates.install'
url='https://eckner.net/certs'
source=(
'https://eckner.net/certs/2020-05-31T20:30:22.opennic_root_ca.old.crt'
'https://eckner.net/certs/2020-11-30T23:50:55.opennic_root_ca.old.crt'
'https://eckner.net/certs/2021-05-26T20:27:31.opennic_root_ca.old.crt'
'https://eckner.net/certs/2021-07-18T15:21:29.root-ca.old.crt'
'https://eckner.net/certs/2021-07-18T18:04:41.root-ca.crt'
'https://eckner.net/certs/2021-11-04T19:08:05.opennic_root_ca.crt'
)
sha512sums=(
'05599a55243839294d6f158193b8f124a6e8db0394dbf03b67978251c7dfb989373ae5b1de532db8d345da573c484bcf1b18a5d51ec7173fad1b1e98a8c414f7'
'eb6c517ba5a7e5e30bc7e64cc241af93497aa95419d199d611608777e8ac2302b574c89854cd9f293862bd7fa9ea920a248461d9ef8690a96d8da2346b65f87e'
'ae16c1aab7a88dbfb6982ed54b6dc0878f4204e5b9d501757c305d46aa752ab1ee936ce8c6941a6249fffa8f5d32b22abd1ca397bcc3e083964b5299dbfe8ca6'
'4ff579eb9665de04da9c7b672e5a1182508f3c09cef715d5ecdd5b8ed8e764d86cf6b9171e8743b0af0e10b9aabe01d4798bdd5d005b5c2b80295c31a0cd0c39'
'f6e314d97829d0f8436935c7eb850c00569ef393f0b62044b65da1f0518769e3326b2ae888e0e2dd48048fd07b1652c72d19cb8c361b70e1417cbfdced7c986e'
'f793b5d0cb66b8a3d1d181867b3d9592886941018cd9c0d5c2ea0945d7af0394cd98ad28b48bd3275166bdc11c0715ea05a5671a33562cc965cd9972bfc40ec1'
)
package() {
cd "${srcdir}"
install -d "${pkgdir}/usr/share/ca-certificates/trust-source/anchors"
for s in *{,.old}.cert.pem *{,.old}.crt; do
[ -f "$s" ] || continue
install \
"${s}" \
"${pkgdir}/usr/share/ca-certificates/trust-source/anchors/${s#????-??-??T??:??:??.}"
done
}
|