Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: chromeos-base/chromeos-ca-certificates/chromeos-ca-certificates-0.0.1-r1.ebuild

Issue 5138004: chromiumos-overlay: Use restricted HTTPS CAs when sending crashes (Closed) Base URL: http://git.chromium.org/git/chromiumos-overlay.git@master
Patch Set: Change location Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos-base/chromeos-ca-certificates/files/Equifax_Secure_Certificate_Authority.crt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-base/chromeos-ca-certificates/chromeos-ca-certificates-0.0.1-r1.ebuild
diff --git a/chromeos-base/chromeos-ca-certificates/chromeos-ca-certificates-0.0.1-r1.ebuild b/chromeos-base/chromeos-ca-certificates/chromeos-ca-certificates-0.0.1-r1.ebuild
new file mode 100644
index 0000000000000000000000000000000000000000..fce15100a58a9f5e576fa9ba01f3b232adf10f3a
--- /dev/null
+++ b/chromeos-base/chromeos-ca-certificates/chromeos-ca-certificates-0.0.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+DESCRIPTION="Chrome OS restricted set of certificates."
+HOMEPAGE="http://src.chromium.org"
+SRC_URI=""
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm x86"
+
+src_install() {
+ # c_rehash (OpenSSL 0.9.8l 5 Nov 2009) is processing just .pem files so
+ # rename the certificates from .crt to .pem. An alternative is to use
+ # openssl directly to create the hash symlinks:
+ #
+ # ln -s $cert.crt $(openssl x509 -noout -hash < $cert.crt).0
+ #
+ # However, c_rehash has smarts about incrementing the .0 extension if
+ # necessary.
+ CA_CERT_DIR=/usr/share/chromeos-ca-certificates
+ insinto "${CA_CERT_DIR}"
+ for cert in \
+ Equifax_Secure_Certificate_Authority \
+ GeoTrustGlobalCA_crosssigned \
+ GoogleInternetAuthority; do
+ newins ${FILESDIR}/$cert.crt $cert.pem
+ done
+ c_rehash "${D}/${CA_CERT_DIR}"
+}
« no previous file with comments | « no previous file | chromeos-base/chromeos-ca-certificates/files/Equifax_Secure_Certificate_Authority.crt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698