summarylogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
downloadaur-ca-certificates-spi.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
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')