OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
3 | 3 |
4 EAPI=2 | 4 EAPI=2 |
5 inherit toolchain-funcs cros-debug cros-workon | 5 inherit toolchain-funcs cros-debug cros-workon |
6 | 6 |
7 DESCRIPTION="Chrome OS Update Engine." | 7 DESCRIPTION="Chrome OS Update Engine." |
8 HOMEPAGE="http://src.chromium.org" | 8 HOMEPAGE="http://src.chromium.org" |
9 SRC_URI="" | 9 SRC_URI="" |
10 LICENSE="BSD" | 10 LICENSE="BSD" |
11 SLOT="0" | 11 SLOT="0" |
12 IUSE="-delta_generator" | 12 IUSE="-delta_generator" |
13 KEYWORDS="~amd64 ~arm ~x86" | 13 KEYWORDS="~amd64 ~arm ~x86" |
14 | 14 |
15 RDEPEND="app-arch/bzip2 | 15 RDEPEND="app-arch/bzip2 |
| 16 chromeos-base/chromeos-ca-certificates |
16 chromeos-base/libchrome | 17 chromeos-base/libchrome |
17 chromeos-base/metrics | 18 chromeos-base/metrics |
18 chromeos-base/verity | 19 chromeos-base/verity |
19 dev-cpp/gflags | 20 dev-cpp/gflags |
20 dev-libs/glib | 21 dev-libs/glib |
21 dev-libs/libpcre | 22 dev-libs/libpcre |
22 dev-libs/libxml2 | 23 dev-libs/libxml2 |
23 dev-libs/protobuf | 24 dev-libs/protobuf |
24 dev-util/bsdiff | 25 dev-util/bsdiff |
25 net-misc/curl | 26 net-misc/curl |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 76 |
76 insinto /usr/share/dbus-1/services | 77 insinto /usr/share/dbus-1/services |
77 doins org.chromium.UpdateEngine.service | 78 doins org.chromium.UpdateEngine.service |
78 | 79 |
79 insinto /etc/dbus-1/system.d | 80 insinto /etc/dbus-1/system.d |
80 doins UpdateEngine.conf | 81 doins UpdateEngine.conf |
81 | 82 |
82 insinto /usr/include/chromeos/update_engine | 83 insinto /usr/include/chromeos/update_engine |
83 doins update_engine.dbusserver.h | 84 doins update_engine.dbusserver.h |
84 doins update_engine.dbusclient.h | 85 doins update_engine.dbusclient.h |
85 | |
86 # c_rehash (OpenSSL 0.9.8l 5 Nov 2009) is processing just .pem files so | |
87 # rename the certificates from .crt to .pem. An alternative is to use | |
88 # openssl directly to create the hash symlinks: | |
89 # | |
90 # ln -s $cert.crt $(openssl x509 -noout -hash < $cert.crt).0 | |
91 # | |
92 # However, c_rehash has smarts about incrementing the .0 extension if | |
93 # necessary. | |
94 CA_CERT_DIR=/usr/share/update_engine/ca-certificates | |
95 insinto "${CA_CERT_DIR}" | |
96 for cert in \ | |
97 Equifax_Secure_Certificate_Authority \ | |
98 GeoTrustGlobalCA_crosssigned \ | |
99 GoogleInternetAuthority; do | |
100 newins certs/$cert.crt $cert.pem | |
101 done | |
102 c_rehash "${D}/${CA_CERT_DIR}" | |
103 } | 86 } |
OLD | NEW |