[arch-commits] Commit in ca-certificates/trunk (PKGBUILD update-ca-trust)
Jan Steffens
heftig at archlinux.org
Mon Dec 1 02:49:42 UTC 2014
Date: Monday, December 1, 2014 @ 03:49:42
Author: heftig
Revision: 227210
Turn the mode around again
Modified:
ca-certificates/trunk/PKGBUILD
ca-certificates/trunk/update-ca-trust
-----------------+
PKGBUILD | 1 -
update-ca-trust | 6 +++++-
2 files changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-01 02:47:18 UTC (rev 227209)
+++ PKGBUILD 2014-12-01 02:49:42 UTC (rev 227210)
@@ -37,7 +37,6 @@
install -d "${pkgdir}"/etc/{ssl/certs/java,${pkgbase}/extracted}
# Contrary to Fedora, the /etc/ssl/certs dir is generated
- chmod 0555 "${pkgdir}/etc/ssl/certs"
ln -srT "${pkgdir}"/etc/ssl/{certs/ca-certificates.crt,cert.pem}
}
Modified: update-ca-trust
===================================================================
--- update-ca-trust 2014-12-01 02:47:18 UTC (rev 227209)
+++ update-ca-trust 2014-12-01 02:49:42 UTC (rev 227210)
@@ -16,6 +16,10 @@
# Removes all files in /etc/ssl/certs, but not directories or files therein
trust extract --overwrite --format=openssl-directory --filter=certificates $SSL
-trust extract --overwrite --format=openssl-bundle --filter=certificates $SSL/ca-bundle.trust.crt
+
+# 'trust extract' makes everything it generated mode 0555; let's not do that for the directory
+chmod 0755 $SSL
+
+trust extract --overwrite --format=openssl-bundle --filter=certificates $SSL/ca-bundle.trust.crt
trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose server-auth $SSL/java/cacerts
ln -fsrT $DEST/tls-ca-bundle.pem $SSL/ca-certificates.crt
More information about the arch-commits
mailing list