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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=2
5
6 DESCRIPTION="Chrome OS restricted set of certificates."
7 HOMEPAGE="http://src.chromium.org"
8 SRC_URI=""
9 LICENSE="BSD"
10 SLOT="0"
11 KEYWORDS="amd64 arm x86"
12
13 src_install() {
14 # c_rehash (OpenSSL 0.9.8l 5 Nov 2009) is processing just .pem files so
15 # rename the certificates from .crt to .pem. An alternative is to use
16 # openssl directly to create the hash symlinks:
17 #
18 # ln -s $cert.crt $(openssl x509 -noout -hash < $cert.crt).0
19 #
20 # However, c_rehash has smarts about incrementing the .0 extension if
21 # necessary.
22 CA_CERT_DIR=/usr/share/chromeos-ca-certificates
23 insinto "${CA_CERT_DIR}"
24 for cert in \
25 Equifax_Secure_Certificate_Authority \
26 GeoTrustGlobalCA_crosssigned \
27 GoogleInternetAuthority; do
28 newins ${FILESDIR}/$cert.crt $cert.pem
29 done
30 c_rehash "${D}/${CA_CERT_DIR}"
31 }
OLDNEW
« 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