summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim2015-10-11 09:38:18 +0200
committerJörg Thalheim2015-10-11 09:38:48 +0200
commit90007f2802fb21aeae661f7c26af073e15164c66 (patch)
tree8bc5e8cf2539a5a516bdb4d746869e1d6b451a5a
downloadaur-ca-certificates-spi.tar.gz
first commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
-rw-r--r--install11
-rw-r--r--spi-cacert.crt46
4 files changed, 97 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bed378b741e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ca-certificates-spi
+ pkgdesc = SPI CA root certificate
+ pkgver = 20150513
+ pkgrel = 1
+ url = http://www.spi-inc.org/ca/
+ install = install
+ arch = any
+ license = custom:RDL
+ depends = ca-certificates-utils
+ source = spi-cacert.crt
+ md5sums = fa268b79e0ef3ef5085a9a2303303e59
+ sha1sums = 09862292e3b649d3eb94c4dafd62420918f29836
+ sha256sums = 167d78086e9e96632b774a182dd14588e9dd32e2c7ba2aa5f9500791a0dd64ab
+
+pkgname = ca-certificates-spi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6085b0a26a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname=ca-certificates-spi
+pkgver=20150513
+pkgrel=1
+pkgdesc="SPI CA root certificate"
+arch=(any)
+url="http://www.spi-inc.org/ca/"
+license=('custom:RDL')
+depends=(ca-certificates-utils)
+install=install
+source=(spi-cacert.crt)
+
+package() {
+ local certdir="$pkgdir/etc/ca-certificates/trust-source/anchors/"
+ install -d "$certdir"
+ install -t "$certdir" -m644 spi-cacert.crt
+
+ echo "Compare fingerprint with http://www.spi-inc.org/ca/"
+ openssl x509 -fingerprint -noout -in spi-cacert.crt
+ openssl x509 -md5 -fingerprint -noout -in spi-cacert.crt
+ openssl x509 -sha256 -fingerprint -noout -in spi-cacert.crt
+}
+md5sums=('fa268b79e0ef3ef5085a9a2303303e59')
+sha1sums=('09862292e3b649d3eb94c4dafd62420918f29836')
+sha256sums=('167d78086e9e96632b774a182dd14588e9dd32e2c7ba2aa5f9500791a0dd64ab')
diff --git a/install b/install
new file mode 100644
index 00000000000..4bdd5fe3069
--- /dev/null
+++ b/install
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/trust extract-compat
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ post_install
+}
diff --git a/spi-cacert.crt b/spi-cacert.crt
new file mode 100644
index 00000000000..b735d1c3716
--- /dev/null
+++ b/spi-cacert.crt
@@ -0,0 +1,46 @@
+-----BEGIN CERTIFICATE-----
+MIIIDjCCBfagAwIBAgIJAOiOtsn4KhQoMA0GCSqGSIb3DQEBBQUAMIG8MQswCQYD
+VQQGEwJVUzEQMA4GA1UECBMHSW5kaWFuYTEVMBMGA1UEBxMMSW5kaWFuYXBvbGlz
+MSgwJgYDVQQKEx9Tb2Z0d2FyZSBpbiB0aGUgUHVibGljIEludGVyZXN0MRMwEQYD
+VQQLEwpob3N0bWFzdGVyMR4wHAYDVQQDExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkx
+JTAjBgkqhkiG9w0BCQEWFmhvc3RtYXN0ZXJAc3BpLWluYy5vcmcwHhcNMDgwNTEz
+MDgwNzU2WhcNMTgwNTExMDgwNzU2WjCBvDELMAkGA1UEBhMCVVMxEDAOBgNVBAgT
+B0luZGlhbmExFTATBgNVBAcTDEluZGlhbmFwb2xpczEoMCYGA1UEChMfU29mdHdh
+cmUgaW4gdGhlIFB1YmxpYyBJbnRlcmVzdDETMBEGA1UECxMKaG9zdG1hc3RlcjEe
+MBwGA1UEAxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MSUwIwYJKoZIhvcNAQkBFhZo
+b3N0bWFzdGVyQHNwaS1pbmMub3JnMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC
+CgKCAgEA3DbmR0LC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