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

Unified Diff: chromeos-base/update_engine/update_engine-9999.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 | « chromeos-base/crash-reporter/crash-reporter-9999.ebuild ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-base/update_engine/update_engine-9999.ebuild
diff --git a/chromeos-base/update_engine/update_engine-9999.ebuild b/chromeos-base/update_engine/update_engine-9999.ebuild
index 64d60efb05c256dbdaad44853dc95e294787c3cc..3d75473a2cd4b10d9c4869360fdaf80655265c27 100644
--- a/chromeos-base/update_engine/update_engine-9999.ebuild
+++ b/chromeos-base/update_engine/update_engine-9999.ebuild
@@ -13,6 +13,7 @@ IUSE="-delta_generator"
KEYWORDS="~amd64 ~arm ~x86"
RDEPEND="app-arch/bzip2
+ chromeos-base/chromeos-ca-certificates
chromeos-base/libchrome
chromeos-base/metrics
chromeos-base/verity
@@ -82,22 +83,4 @@ src_install() {
insinto /usr/include/chromeos/update_engine
doins update_engine.dbusserver.h
doins update_engine.dbusclient.h
-
- # 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/update_engine/ca-certificates
- insinto "${CA_CERT_DIR}"
- for cert in \
- Equifax_Secure_Certificate_Authority \
- GeoTrustGlobalCA_crosssigned \
- GoogleInternetAuthority; do
- newins certs/$cert.crt $cert.pem
- done
- c_rehash "${D}/${CA_CERT_DIR}"
}
« no previous file with comments | « chromeos-base/crash-reporter/crash-reporter-9999.ebuild ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698