1 |
commit: 869b017b3da84423a900358c6d58feb507c89016 |
2 |
Author: Stefan Strogin <stefan.strogin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Feb 20 19:11:26 2019 +0000 |
4 |
Commit: Stefan Strogin <stefan.strogin <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Feb 20 19:11:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=869b017b |
7 |
|
8 |
dev-lang/rust: drop; libressl support is in main tree |
9 |
|
10 |
Package-Manager: Portage-2.3.61, Repoman-2.3.12 |
11 |
Signed-off-by: Stefan Strogin <stefan.strogin <AT> gmail.com> |
12 |
|
13 |
dev-lang/rust/Manifest | 14 -- |
14 |
dev-lang/rust/files/1.29.2-clippy-sysroot.patch | 62 ----- |
15 |
dev-lang/rust/files/1.30.1-clippy-sysroot.patch | 62 ----- |
16 |
dev-lang/rust/files/1.31.0-libressl.patch | 16 -- |
17 |
dev-lang/rust/metadata.xml | 16 -- |
18 |
dev-lang/rust/rust-1.31.0.ebuild | 300 ------------------------ |
19 |
6 files changed, 470 deletions(-) |
20 |
|
21 |
diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest |
22 |
deleted file mode 100644 |
23 |
index a64d13e..0000000 |
24 |
--- a/dev-lang/rust/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1,14 +0,0 @@ |
27 |
-DIST rust-1.30.1-aarch64-unknown-linux-gnu.tar.xz 114223904 BLAKE2B ca3f93d8cb59f5ecc8680ab018f8666a5c0df1bf671af4220c39178a946ce77a05588d91709facd42a1d693120c46c472c4d6dc0b6a5e7d3330b9f0807ff3fcc SHA512 5fb9cb0281cd76b1995bcd6c4dd824f8a4d4c1ffc61a0a54f62b45340b98a7b41cf5ec3d4a8ec370c2603c14f9dc5451ae1a47ea96ebbd520770dfd22cf0ffdc |
28 |
-DIST rust-1.30.1-arm-unknown-linux-gnueabi.tar.xz 120865688 BLAKE2B 18934c592882ad3608b82ab9aac68412790d02c148c2af0a37a5027ebe059ff697a8556c4dcbf0ac5cf37c6fbd37c51abbf88a3f0ce274742ff1d7ec94f96f04 SHA512 871e0b036273ec62e28712fe1d5d1c74b061eabb59f9cc852e8924df1aaa3797af28d51dde643010920321fa71382ddd70f2d97d25c06999d5663f5209ffc6b7 |
29 |
-DIST rust-1.30.1-arm-unknown-linux-gnueabihf.tar.xz 121114868 BLAKE2B 6410c16e3019b67d2e299b06527db6d7291a1426c4606012234bd8e93b3e3738dda5907aa6d9e48ac25f2a7e06a441f7e42095ec81de01408c235577e0df2df5 SHA512 73ac63f81a86b70ea0378e859b6a913f3f6e2044f1ddcb056c53a18d3f32011a47abf29bf2a84f3a9d6732bec348741662448104e320bcaebf2a3667209fcedb |
30 |
-DIST rust-1.30.1-armv7-unknown-linux-gnueabihf.tar.xz 122390768 BLAKE2B 39c38b9bf96e94023b9c6d81fce8c341e789f182b59bf1b540a6d22be24e0498c638d0d3aa1433f49e52048795f91f5f4ca707dd8fcb998ea51caa932537b74e SHA512 88f9f23f431cc34d6b7ddc51c2321905df03dc714aab0b3a5e067390de5092b472f8092ba25a5c09666ad9b138efc2f4b625ca86dbe10ddeea213b8e9d70c9b3 |
31 |
-DIST rust-1.30.1-i686-unknown-linux-gnu.tar.xz 143689500 BLAKE2B 0b654570e295c785b074625c8fe7649e1841327fba790e38e08e912ad0602440e08a205318e637c903989bd19bab4c0a726583f2ab457d75ff71e96524251aa0 SHA512 66c56107fd8c83f9c1948137aee09c67633f6f472823696719a22b5f0b0e28925b0a6b6545b8fe4d741b8473ddc49db30fe112fc5b0e6fc63439901ff5462a86 |
32 |
-DIST rust-1.30.1-mips-unknown-linux-gnu.tar.xz 112662912 BLAKE2B ded8631f76ac5fc16cae298f5a7afdb8c451ff95af03c827959bd19484d513066ac387e956577f5ee42369fc5d68c1e2cbf4cfc72c364739eea31643844ba936 SHA512 8a1681f054a57d62050a2d11ae3109e7be4f6638319b059d10612f0be073de63f2dffea79bb29452763fad8a64274367d9bbe5ca0636e78c34a6cdce542118a0 |
33 |
-DIST rust-1.30.1-mips64-unknown-linux-gnuabi64.tar.xz 117355424 BLAKE2B fcc583d99a6b17e1d38d26a48d39768b09c52e6a6fa3cd36d9513bd9385fd4560d06c3a737b69c396b5bb465ae261321dbbaf7bda4378d7e4be165bc889d8b2d SHA512 c18cd513021753d2b8e1a9ea2bf0bd73817e2c81dcf246993b52c7055b3b18d9f20c935dec4281acbd2792a6964dbfb0c05b5cb2075703aaa444352ef8f06d50 |
34 |
-DIST rust-1.30.1-mipsel-unknown-linux-gnu.tar.xz 114622708 BLAKE2B 5d62f6744cb1bf69d7047bb18e246623ee98c94bfa083fd5269bdcf8dd1c2c0824747dd641f703931f0b22fd513ee8a65a4dec103bf479f6a00e72098541a1aa SHA512 3d084c5c986ba379a3213c9662bc6a0e24c9d3a1c4ae4e28c3f807841eacb15dd8fb42bcb190967ba4a9e8e5397b63e6bbd3990bd9826d52a127bd71ac5b361e |
35 |
-DIST rust-1.30.1-powerpc-unknown-linux-gnu.tar.xz 110375696 BLAKE2B 6ffa7b6b7ae569c7ebf6b0ab43287421e4a5e2ea8654638902e61df42f7e3de7f14c14f2e585d7b3e140f2ebc7a0e1149b814fd5a6d6c0374f9d8059ff3369c3 SHA512 ebbd2c2b160e6e36a03eee205a333cddf0a36cd0ce42135a7e4119469be41b76cedda143cf9e9491ae0d9aaf65e2e927550e2e0358401fc5f657ee02b37959b4 |
36 |
-DIST rust-1.30.1-powerpc64-unknown-linux-gnu.tar.xz 118698168 BLAKE2B 58905ab6c62d4b7fca8954fc507f9105537cdfc2a55a6585b4784a41ce721046c41606eae6066a173a548c4d065db497e187b2e8c9c6cbc0ee589e7731c8f106 SHA512 7eddabec2e1e01ddbc8c7b0c55f2753e506786867f78e79e47d4f273e7c02170caa24470e0f2ecf6c473cfc8c023e189017454e2ad0f3faa96465fdd22bdfd6d |
37 |
-DIST rust-1.30.1-powerpc64le-unknown-linux-gnu.tar.xz 121569444 BLAKE2B d4d390ea24298cd88d224efe3c1a1dc3a802b678d977bc0aa26197e291547a6ca823a0fe5e35491204a649cb6a5419343a825ef32408aa2638d057b209b1c15c SHA512 b4595f031a006335ac778ec6a07c398fd6cce78ed3c0ed5730a5c06fa3a390dbab1afda0468756330783baa86dafb2f0c7ca7c75b735eb532c268027e22975e6 |
38 |
-DIST rust-1.30.1-s390x-unknown-linux-gnu.tar.xz 124025168 BLAKE2B b4a8df333b093ae111136a6b9005aca7f424f209d629041c4fce1efc7e19b176f6e6325bf3552e8de93faa311ebf065ad4b9f104de3ee412b2a3fda70156c2b0 SHA512 592764d3d5b4d8a2a7628f4969ba5204da4ea63ca92efc17d4f9339274fce00aecc4d1ebb1f4d0499da8559375ad205054b26e12775af622a7112b20b8c8d4fb |
39 |
-DIST rust-1.30.1-x86_64-unknown-linux-gnu.tar.xz 145148116 BLAKE2B e70d667d880656209c036b72f619b1bd29679878ff4b8865f0453c064c4a8a53a96e73994509637312032e1260eeb0e53f7372ca1526760b1631846ed6a4c571 SHA512 05238b65b5184e3df81dbcf1cc1035a03054ef09a8563fe60877e4f078d0d2cad71aec73c1451196171f39f8e729059e91c7eed7b1402e03801c0b7e81815885 |
40 |
-DIST rustc-1.31.0-src.tar.xz 96914112 BLAKE2B 5e4c5d7724033c756f57794bda273f5c6b481a4a310afc73cafa6a67c2fe3e56cf08ca828e822d91890a6fda917e4c05d4b20f598e50805431d2926a4f1add9c SHA512 38fb8c759a517defd64ca75a22d5deb1fa543fc13f127c73010741c40bc00935bf3b46743a95a22e98e37df5aa21d72203acabaecf8c0b23439e3b5c68f2fbec |
41 |
|
42 |
diff --git a/dev-lang/rust/files/1.29.2-clippy-sysroot.patch b/dev-lang/rust/files/1.29.2-clippy-sysroot.patch |
43 |
deleted file mode 100644 |
44 |
index 6a527e5..0000000 |
45 |
--- a/dev-lang/rust/files/1.29.2-clippy-sysroot.patch |
46 |
+++ /dev/null |
47 |
@@ -1,62 +0,0 @@ |
48 |
---- a/src/tools/clippy/src/driver.rs 2018-10-04 16:30:42.438486058 +0300 |
49 |
-+++ b/src/tools/clippy/src/driver.rs 2018-10-04 16:31:45.044484028 +0300 |
50 |
-@@ -20,54 +20,22 @@ |
51 |
- return; |
52 |
- } |
53 |
- |
54 |
-- let sys_root = option_env!("SYSROOT") |
55 |
-- .map(String::from) |
56 |
-- .or_else(|| std::env::var("SYSROOT").ok()) |
57 |
-- .or_else(|| { |
58 |
-- let home = option_env!("RUSTUP_HOME").or(option_env!("MULTIRUST_HOME")); |
59 |
-- let toolchain = option_env!("RUSTUP_TOOLCHAIN").or(option_env!("MULTIRUST_TOOLCHAIN")); |
60 |
-- home.and_then(|home| toolchain.map(|toolchain| format!("{}/toolchains/{}", home, toolchain))) |
61 |
-- }) |
62 |
-- .or_else(|| { |
63 |
-- Command::new("rustc") |
64 |
-- .arg("--print") |
65 |
-- .arg("sysroot") |
66 |
-- .output() |
67 |
-- .ok() |
68 |
-- .and_then(|out| String::from_utf8(out.stdout).ok()) |
69 |
-- .map(|s| s.trim().to_owned()) |
70 |
-- }) |
71 |
-- .expect("need to specify SYSROOT env var during clippy compilation, or use rustup or multirust"); |
72 |
-- |
73 |
- // Setting RUSTC_WRAPPER causes Cargo to pass 'rustc' as the first argument. |
74 |
- // We're invoking the compiler programmatically, so we ignore this/ |
75 |
-- let mut orig_args: Vec<String> = env::args().collect(); |
76 |
-- if orig_args.len() <= 1 { |
77 |
-+ let mut args: Vec<String> = env::args().collect(); |
78 |
-+ if args.len() <= 1 { |
79 |
- std::process::exit(1); |
80 |
- } |
81 |
-- if orig_args[1] == "rustc" { |
82 |
-+ if args[1] == "rustc" { |
83 |
- // we still want to be able to invoke it normally though |
84 |
-- orig_args.remove(1); |
85 |
-+ args.remove(1); |
86 |
- } |
87 |
-- // this conditional check for the --sysroot flag is there so users can call |
88 |
-- // `clippy_driver` directly |
89 |
-- // without having to pass --sysroot or anything |
90 |
-- let mut args: Vec<String> = if orig_args.iter().any(|s| s == "--sysroot") { |
91 |
-- orig_args.clone() |
92 |
-- } else { |
93 |
-- orig_args |
94 |
-- .clone() |
95 |
-- .into_iter() |
96 |
-- .chain(Some("--sysroot".to_owned())) |
97 |
-- .chain(Some(sys_root)) |
98 |
-- .collect() |
99 |
-- }; |
100 |
- |
101 |
- // this check ensures that dependencies are built but not linted and the final |
102 |
- // crate is |
103 |
- // linted but not built |
104 |
- let clippy_enabled = env::var("CLIPPY_TESTS").ok().map_or(false, |val| val == "true") |
105 |
-- || orig_args.iter().any(|s| s == "--emit=dep-info,metadata"); |
106 |
-+ || args.iter().any(|s| s == "--emit=dep-info,metadata"); |
107 |
- |
108 |
- if clippy_enabled { |
109 |
- args.extend_from_slice(&["--cfg".to_owned(), r#"feature="cargo-clippy""#.to_owned()]); |
110 |
|
111 |
diff --git a/dev-lang/rust/files/1.30.1-clippy-sysroot.patch b/dev-lang/rust/files/1.30.1-clippy-sysroot.patch |
112 |
deleted file mode 100644 |
113 |
index d38f8ba..0000000 |
114 |
--- a/dev-lang/rust/files/1.30.1-clippy-sysroot.patch |
115 |
+++ /dev/null |
116 |
@@ -1,62 +0,0 @@ |
117 |
---- a/src/tools/clippy/src/driver.rs 2018-10-25 20:09:06.143109996 +0300 |
118 |
-+++ b/src/tools/clippy/src/driver.rs 2018-10-25 20:11:09.204106005 +0300 |
119 |
-@@ -29,54 +29,22 @@ |
120 |
- exit(0); |
121 |
- } |
122 |
- |
123 |
-- let sys_root = option_env!("SYSROOT") |
124 |
-- .map(String::from) |
125 |
-- .or_else(|| std::env::var("SYSROOT").ok()) |
126 |
-- .or_else(|| { |
127 |
-- let home = option_env!("RUSTUP_HOME").or(option_env!("MULTIRUST_HOME")); |
128 |
-- let toolchain = option_env!("RUSTUP_TOOLCHAIN").or(option_env!("MULTIRUST_TOOLCHAIN")); |
129 |
-- home.and_then(|home| toolchain.map(|toolchain| format!("{}/toolchains/{}", home, toolchain))) |
130 |
-- }) |
131 |
-- .or_else(|| { |
132 |
-- Command::new("rustc") |
133 |
-- .arg("--print") |
134 |
-- .arg("sysroot") |
135 |
-- .output() |
136 |
-- .ok() |
137 |
-- .and_then(|out| String::from_utf8(out.stdout).ok()) |
138 |
-- .map(|s| s.trim().to_owned()) |
139 |
-- }) |
140 |
-- .expect("need to specify SYSROOT env var during clippy compilation, or use rustup or multirust"); |
141 |
-- |
142 |
- // Setting RUSTC_WRAPPER causes Cargo to pass 'rustc' as the first argument. |
143 |
- // We're invoking the compiler programmatically, so we ignore this/ |
144 |
-- let mut orig_args: Vec<String> = env::args().collect(); |
145 |
-- if orig_args.len() <= 1 { |
146 |
-+ let mut args: Vec<String> = env::args().collect(); |
147 |
-+ if args.len() <= 1 { |
148 |
- std::process::exit(1); |
149 |
- } |
150 |
-- if Path::new(&orig_args[1]).file_stem() == Some("rustc".as_ref()) { |
151 |
-+ if Path::new(&args[1]).file_stem() == Some("rustc".as_ref()) { |
152 |
- // we still want to be able to invoke it normally though |
153 |
-- orig_args.remove(1); |
154 |
-+ args.remove(1); |
155 |
- } |
156 |
-- // this conditional check for the --sysroot flag is there so users can call |
157 |
-- // `clippy_driver` directly |
158 |
-- // without having to pass --sysroot or anything |
159 |
-- let mut args: Vec<String> = if orig_args.iter().any(|s| s == "--sysroot") { |
160 |
-- orig_args.clone() |
161 |
-- } else { |
162 |
-- orig_args |
163 |
-- .clone() |
164 |
-- .into_iter() |
165 |
-- .chain(Some("--sysroot".to_owned())) |
166 |
-- .chain(Some(sys_root)) |
167 |
-- .collect() |
168 |
-- }; |
169 |
- |
170 |
- // this check ensures that dependencies are built but not linted and the final |
171 |
- // crate is |
172 |
- // linted but not built |
173 |
- let clippy_enabled = env::var("CLIPPY_TESTS").ok().map_or(false, |val| val == "true") |
174 |
-- || orig_args.iter().any(|s| s == "--emit=dep-info,metadata"); |
175 |
-+ || args.iter().any(|s| s == "--emit=dep-info,metadata"); |
176 |
- |
177 |
- if clippy_enabled { |
178 |
- args.extend_from_slice(&["--cfg".to_owned(), r#"feature="cargo-clippy""#.to_owned()]); |
179 |
|
180 |
diff --git a/dev-lang/rust/files/1.31.0-libressl.patch b/dev-lang/rust/files/1.31.0-libressl.patch |
181 |
deleted file mode 100644 |
182 |
index a6cb6e7..0000000 |
183 |
--- a/dev-lang/rust/files/1.31.0-libressl.patch |
184 |
+++ /dev/null |
185 |
@@ -1,16 +0,0 @@ |
186 |
---- a/src/vendor/openssl-sys/build/main.rs 2018-12-12 21:20:52.654853383 -0500 |
187 |
-+++ b/src/vendor/openssl-sys/build/main.rs 2018-12-12 21:25:57.242099308 -0500 |
188 |
-@@ -500,6 +500,7 @@ |
189 |
- (7, _) => ('7', 'x'), |
190 |
- (8, 0) => ('8', '0'), |
191 |
- (8, 1) => ('8', '1'), |
192 |
-+ (8, _) => ('8', 'x'), |
193 |
- _ => version_error(), |
194 |
- }; |
195 |
- |
196 |
---- a/src/vendor/openssl-sys/.cargo-checksum.json 2018-12-12 22:18:51.416492300 -0500 |
197 |
-+++ b/src/vendor/openssl-sys/.cargo-checksum.json 2018-12-12 22:19:32.125006252 -0500 |
198 |
-@@ -1 +1 @@ |
199 |
--{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Cargo.toml":"e40f8c3ccf6a2b34f50ae9cee3396ac398944ee253c1e5dabac802ee89732ba2","Cargo.toml.orig":"82cf41fb8d0886217e4efe5b7bd69ac9d687ddd38d002b5aeeb5fc073abc0e17","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"96a414be6e7e061a21a9e39a61449039f6791225264032641dd044a1a9b88111","build/cfgs.rs":"fae5176c2b149d190c9611b58c5882312b5c0e483d1a404cfdf850473314a58f","build/main.rs":"f509c63668156ce48b93d05d5483a5bfb112dc8f786ff6296f7801add2db7452","src/aes.rs":"660efd70f809cb2f5dbbf527be8f9592911776bab7dafa1fc4cc72dd9a576b67","src/asn1.rs":"4f12d2f4c2a493888db669d1ecfd55df40861a78cae65957f801ed91dc2cae30","src/bio.rs":"5c6f394a78f258af3babb68330fa3571610476c4c3ba3404359db928f2f706ee","src/bn.rs":"c71b9c79f704a94a889d27bf75e7e5b1f9f10b0df0aeb485aef509cf05d7467f","src/cms.rs":"29aa053b67b47515fd15812aa0a90ff35dd9fa347da2beeba96d6deafeb9d945","src/conf.rs":"5 |
200 |
11e008c18039f54d856d70b80009426fc7f4ce34fe4304e2c58ebf465031de0","src/crypto.rs":"f6e8a116940755b2b53e3d0d49d1b451fc6e4269831fd1cfcee9d6ed404cf487","src/dh.rs":"520b282b92fa372a75bc16696dc3ee7a9a5752e517a18862182a3e9f5a976d28","src/dsa.rs":"3c294c5c45235497396ac803b723b3a0cb5bd3609f5dec18338b5b014c2adeb9","src/dtls1.rs":"45e1dbf94a42d587fd948d553dc30187aa6aa2b5b82d554cf725ff36df768aa0","src/ec.rs":"b22d27b01a70652384866b3d0d01d2f7a0421b2ba2db9268ed379fef4b1ac034","src/err.rs":"81230711e081277e0b6dae4ff21266052d075688c758c2b0720001849ef9192d","src/evp.rs":"57f094c7fee0a6b0611e7f8829663bff525a607e11a35eb77dc30eb159b2139a","src/hmac.rs":"fa3976d94a1383f300bdec228270afb8b47c97bb019d727c7d59ba783be3c42e","src/lib.rs":"17b5a1faa0fe3ab777c8cb0039a3dffd8922b211bf1330c2cd0c3e02f624353c","src/macros.rs":"a7c95174fd4cfeb42f730c7c0744194009520249888dbf43968571219fd6dfa1","src/obj_mac.rs":"9c20609db7115c9edb99185375426169cb5b7caee839d892b556e92285e65309","src/object.rs":"7539eb2164c3fe2162a339ef |
201 |
5b45f1c835010a1522307803815779a01825eed7","src/ocsp.rs":"1db59566d2f072f7ae981f0c07e1604fcdf60e66845afe0689d588f8e4272115","src/ossl_typ.rs":"619177f939328597e4bcf9c41fdf4d0aa9207d779c6e0dafddbe2eab9b1a6a98","src/pem.rs":"3ae1c53dbc126a04c188575294111cc04c215c2f3e031192d5cc05952f011ddf","src/pkcs12.rs":"93aab2820008ad90dc346a7dcc02f9201d94bff0bb7d1d71031c097850287c50","src/pkcs7.rs":"5370c8d4bfbf1502fa33aff635cb730e7c87814580f1df9bdb1412a492377813","src/rand.rs":"156e605ecb45d4e1b7a7c404003ccd19c4a2226cbfe47938ad1dce240ed4369f","src/rsa.rs":"a0bf64f1f8ff9f6e5dbed6c38d8fa2d3d1c5dfcfe6dd3ff79f7737b072ce4681","src/safestack.rs":"6c39e28565d34efad707d77561d4caa99e3f028fcac3a2ef6fd403a78de1190c","src/sha.rs":"05044d221d8d205010a4e3760c0b5c0e2e923e165db0d65f9a8c9bcedaad9961","src/srtp.rs":"306047f3f31828fe7d15de154b375f071ae07012a94c0b5c909f5fe57962a11b","src/ssl.rs":"e69d3b9b8f2f8ae1ed3905a4dbe064ad1b7c1eaf21d7eabb86ecdb5b41e2120a","src/ssl3.rs":"9336c816e00847d552dea22587d4ac72ff3cbd469 |
202 |
fa5ff750423a19ea11e68eb","src/stack.rs":"1a509907283e5a2bf88cf193ce607f49ce7d2d95547c2ce2abc0fd4567aad334","src/tls1.rs":"fd85a1683064def0a9e07d803b90102229adc1d58fa19cf4e56976f0dd7425b9","src/x509.rs":"839be2feb74755ab7df66a024ad27dfa70ce4f7889229d9152ba999f3a54b914","src/x509_vfy.rs":"5609f6300ab37a4d4755c81f7af1e6bb93a2f1a6f333c6e42f1e73ebf83ddc05","src/x509v3.rs":"66fd646ea4caf5ce81e3c881e88d85462519c4e97a7f82e82ca8ac52ea830ad2"},"package":"ff3d1b390ab1b9700f682ad95a30dc9c0f40dd212ca57266012cfc678b0e365a"} |
203 |
-\ No newline at end of file |
204 |
-+{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","Cargo.toml":"e40f8c3ccf6a2b34f50ae9cee3396ac398944ee253c1e5dabac802ee89732ba2","Cargo.toml.orig":"82cf41fb8d0886217e4efe5b7bd69ac9d687ddd38d002b5aeeb5fc073abc0e17","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"96a414be6e7e061a21a9e39a61449039f6791225264032641dd044a1a9b88111","build/cfgs.rs":"fae5176c2b149d190c9611b58c5882312b5c0e483d1a404cfdf850473314a58f","build/main.rs":"f1aa4121f55966d3f98360f1d91e5773f45831647a070fd80e47069d43873c52","src/aes.rs":"660efd70f809cb2f5dbbf527be8f9592911776bab7dafa1fc4cc72dd9a576b67","src/asn1.rs":"4f12d2f4c2a493888db669d1ecfd55df40861a78cae65957f801ed91dc2cae30","src/bio.rs":"5c6f394a78f258af3babb68330fa3571610476c4c3ba3404359db928f2f706ee","src/bn.rs":"c71b9c79f704a94a889d27bf75e7e5b1f9f10b0df0aeb485aef509cf05d7467f","src/cms.rs":"29aa053b67b47515fd15812aa0a90ff35dd9fa347da2beeba96d6deafeb9d945","src/conf.rs":"5 |
205 |
11e008c18039f54d856d70b80009426fc7f4ce34fe4304e2c58ebf465031de0","src/crypto.rs":"f6e8a116940755b2b53e3d0d49d1b451fc6e4269831fd1cfcee9d6ed404cf487","src/dh.rs":"520b282b92fa372a75bc16696dc3ee7a9a5752e517a18862182a3e9f5a976d28","src/dsa.rs":"3c294c5c45235497396ac803b723b3a0cb5bd3609f5dec18338b5b014c2adeb9","src/dtls1.rs":"45e1dbf94a42d587fd948d553dc30187aa6aa2b5b82d554cf725ff36df768aa0","src/ec.rs":"b22d27b01a70652384866b3d0d01d2f7a0421b2ba2db9268ed379fef4b1ac034","src/err.rs":"81230711e081277e0b6dae4ff21266052d075688c758c2b0720001849ef9192d","src/evp.rs":"57f094c7fee0a6b0611e7f8829663bff525a607e11a35eb77dc30eb159b2139a","src/hmac.rs":"fa3976d94a1383f300bdec228270afb8b47c97bb019d727c7d59ba783be3c42e","src/lib.rs":"17b5a1faa0fe3ab777c8cb0039a3dffd8922b211bf1330c2cd0c3e02f624353c","src/macros.rs":"a7c95174fd4cfeb42f730c7c0744194009520249888dbf43968571219fd6dfa1","src/obj_mac.rs":"9c20609db7115c9edb99185375426169cb5b7caee839d892b556e92285e65309","src/object.rs":"7539eb2164c3fe2162a339ef |
206 |
5b45f1c835010a1522307803815779a01825eed7","src/ocsp.rs":"1db59566d2f072f7ae981f0c07e1604fcdf60e66845afe0689d588f8e4272115","src/ossl_typ.rs":"619177f939328597e4bcf9c41fdf4d0aa9207d779c6e0dafddbe2eab9b1a6a98","src/pem.rs":"3ae1c53dbc126a04c188575294111cc04c215c2f3e031192d5cc05952f011ddf","src/pkcs12.rs":"93aab2820008ad90dc346a7dcc02f9201d94bff0bb7d1d71031c097850287c50","src/pkcs7.rs":"5370c8d4bfbf1502fa33aff635cb730e7c87814580f1df9bdb1412a492377813","src/rand.rs":"156e605ecb45d4e1b7a7c404003ccd19c4a2226cbfe47938ad1dce240ed4369f","src/rsa.rs":"a0bf64f1f8ff9f6e5dbed6c38d8fa2d3d1c5dfcfe6dd3ff79f7737b072ce4681","src/safestack.rs":"6c39e28565d34efad707d77561d4caa99e3f028fcac3a2ef6fd403a78de1190c","src/sha.rs":"05044d221d8d205010a4e3760c0b5c0e2e923e165db0d65f9a8c9bcedaad9961","src/srtp.rs":"306047f3f31828fe7d15de154b375f071ae07012a94c0b5c909f5fe57962a11b","src/ssl.rs":"e69d3b9b8f2f8ae1ed3905a4dbe064ad1b7c1eaf21d7eabb86ecdb5b41e2120a","src/ssl3.rs":"9336c816e00847d552dea22587d4ac72ff3cbd469 |
207 |
fa5ff750423a19ea11e68eb","src/stack.rs":"1a509907283e5a2bf88cf193ce607f49ce7d2d95547c2ce2abc0fd4567aad334","src/tls1.rs":"fd85a1683064def0a9e07d803b90102229adc1d58fa19cf4e56976f0dd7425b9","src/x509.rs":"839be2feb74755ab7df66a024ad27dfa70ce4f7889229d9152ba999f3a54b914","src/x509_vfy.rs":"5609f6300ab37a4d4755c81f7af1e6bb93a2f1a6f333c6e42f1e73ebf83ddc05","src/x509v3.rs":"66fd646ea4caf5ce81e3c881e88d85462519c4e97a7f82e82ca8ac52ea830ad2"},"package":"ff3d1b390ab1b9700f682ad95a30dc9c0f40dd212ca57266012cfc678b0e365a"} |
208 |
|
209 |
diff --git a/dev-lang/rust/metadata.xml b/dev-lang/rust/metadata.xml |
210 |
deleted file mode 100644 |
211 |
index f201b57..0000000 |
212 |
--- a/dev-lang/rust/metadata.xml |
213 |
+++ /dev/null |
214 |
@@ -1,16 +0,0 @@ |
215 |
-<?xml version="1.0" encoding="UTF-8"?> |
216 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
217 |
-<pkgmetadata> |
218 |
- <maintainer type="project"> |
219 |
- <email>rust@g.o</email> |
220 |
- <name>Rust Project</name> |
221 |
- </maintainer> |
222 |
- <use> |
223 |
- <flag name="clippy">Install clippy component</flag> |
224 |
- <flag name="system-llvm">Use the system LLVM install</flag> |
225 |
- <flag name="rls">Install rls component</flag> |
226 |
- <flag name="rustfmt">Install rustfmt component</flag> |
227 |
- <flag name="wasm">Build support for the wasm32-unknown-unknown |
228 |
- target</flag> |
229 |
- </use> |
230 |
-</pkgmetadata> |
231 |
|
232 |
diff --git a/dev-lang/rust/rust-1.31.0.ebuild b/dev-lang/rust/rust-1.31.0.ebuild |
233 |
deleted file mode 100644 |
234 |
index 263ba55..0000000 |
235 |
--- a/dev-lang/rust/rust-1.31.0.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,300 +0,0 @@ |
238 |
-# Copyright 1999-2018 Gentoo Authors |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
- |
241 |
-EAPI=6 |
242 |
- |
243 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) |
244 |
- |
245 |
-inherit check-reqs eapi7-ver estack flag-o-matic llvm multiprocessing multilib-build python-any-r1 rust-toolchain toolchain-funcs |
246 |
- |
247 |
-if [[ ${PV} = *beta* ]]; then |
248 |
- betaver=${PV//*beta} |
249 |
- BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}" |
250 |
- MY_P="rustc-beta" |
251 |
- SLOT="beta/${PV}" |
252 |
- SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz" |
253 |
-else |
254 |
- ABI_VER="$(ver_cut 1-2)" |
255 |
- SLOT="stable/${ABI_VER}" |
256 |
- MY_P="rustc-${PV}" |
257 |
- SRC="${MY_P}-src.tar.xz" |
258 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
259 |
-fi |
260 |
- |
261 |
-RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1" |
262 |
- |
263 |
-DESCRIPTION="Systems programming language from Mozilla" |
264 |
-HOMEPAGE="https://www.rust-lang.org/" |
265 |
- |
266 |
-SRC_URI="https://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.xz |
267 |
- $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION})" |
268 |
- |
269 |
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 |
270 |
- NVPTX PowerPC Sparc SystemZ X86 XCore ) |
271 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
272 |
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
273 |
- |
274 |
-LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" |
275 |
- |
276 |
-IUSE="clippy cpu_flags_x86_sse2 debug doc +jemalloc libressl rls rustfmt system-llvm wasm ${ALL_LLVM_TARGETS[*]}" |
277 |
- |
278 |
-COMMON_DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425 |
279 |
- jemalloc? ( dev-libs/jemalloc ) |
280 |
- sys-libs/zlib |
281 |
- !libressl? ( dev-libs/openssl:0= ) |
282 |
- libressl? ( dev-libs/libressl:0= ) |
283 |
- net-libs/libssh2 |
284 |
- net-libs/http-parser:= |
285 |
- net-misc/curl[ssl] |
286 |
- system-llvm? ( >=sys-devel/llvm-6:= )" |
287 |
-DEPEND="${COMMON_DEPEND} |
288 |
- ${PYTHON_DEPS} |
289 |
- || ( |
290 |
- >=sys-devel/gcc-4.7 |
291 |
- >=sys-devel/clang-3.5 |
292 |
- ) |
293 |
- dev-util/cmake" |
294 |
-RDEPEND="${COMMON_DEPEND} |
295 |
- !dev-util/cargo |
296 |
- rustfmt? ( !dev-util/rustfmt )" |
297 |
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) |
298 |
- x86? ( cpu_flags_x86_sse2 )" |
299 |
- |
300 |
-S="${WORKDIR}/${MY_P}-src" |
301 |
- |
302 |
-PATCHES=( |
303 |
- "${FILESDIR}"/1.30.1-clippy-sysroot.patch |
304 |
- "${FILESDIR}"/1.31.0-libressl.patch |
305 |
-) |
306 |
- |
307 |
-toml_usex() { |
308 |
- usex "$1" true false |
309 |
-} |
310 |
- |
311 |
-pre_build_checks() { |
312 |
- CHECKREQS_DISK_BUILD="7G" |
313 |
- CHECKREQS_MEMORY="4G" |
314 |
- eshopts_push -s extglob |
315 |
- if is-flagq '-g?(gdb)?([1-9])'; then |
316 |
- CHECKREQS_DISK_BUILD="10G" |
317 |
- CHECKREQS_MEMORY="16G" |
318 |
- fi |
319 |
- eshopts_pop |
320 |
- check-reqs_pkg_setup |
321 |
-} |
322 |
- |
323 |
-pkg_pretend() { |
324 |
- pre_build_checks |
325 |
-} |
326 |
- |
327 |
-pkg_setup() { |
328 |
- pre_build_checks |
329 |
- python-any-r1_pkg_setup |
330 |
- if use system-llvm; then |
331 |
- llvm_pkg_setup |
332 |
- fi |
333 |
-} |
334 |
- |
335 |
-src_prepare() { |
336 |
- local rust_stage0_root="${WORKDIR}"/rust-stage0 |
337 |
- |
338 |
- local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)" |
339 |
- |
340 |
- "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die |
341 |
- |
342 |
- default |
343 |
-} |
344 |
- |
345 |
-src_configure() { |
346 |
- local rust_target="" rust_targets="" arch_cflags |
347 |
- |
348 |
- # Collect rust target names to compile standard libs for all ABIs. |
349 |
- for v in $(multilib_get_enabled_abi_pairs); do |
350 |
- rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\"" |
351 |
- done |
352 |
- if use wasm; then |
353 |
- rust_targets="${rust_targets},\"wasm32-unknown-unknown\"" |
354 |
- fi |
355 |
- rust_targets="${rust_targets#,}" |
356 |
- |
357 |
- local extended="true" tools="\"cargo\"," |
358 |
- if use clippy; then |
359 |
- tools="\"clippy\",$tools" |
360 |
- fi |
361 |
- if use rls; then |
362 |
- tools="\"rls\",\"analysis\",\"src\",$tools" |
363 |
- fi |
364 |
- if use rustfmt; then |
365 |
- tools="\"rustfmt\",$tools" |
366 |
- fi |
367 |
- |
368 |
- local rust_stage0_root="${WORKDIR}"/rust-stage0 |
369 |
- |
370 |
- rust_target="$(rust_abi)" |
371 |
- |
372 |
- cat <<- EOF > "${S}"/config.toml |
373 |
- [llvm] |
374 |
- optimize = $(toml_usex !debug) |
375 |
- release-debuginfo = $(toml_usex debug) |
376 |
- assertions = $(toml_usex debug) |
377 |
- targets = "${LLVM_TARGETS// /;}" |
378 |
- link-shared = $(toml_usex system-llvm) |
379 |
- [build] |
380 |
- build = "${rust_target}" |
381 |
- host = ["${rust_target}"] |
382 |
- target = [${rust_targets}] |
383 |
- cargo = "${rust_stage0_root}/bin/cargo" |
384 |
- rustc = "${rust_stage0_root}/bin/rustc" |
385 |
- docs = $(toml_usex doc) |
386 |
- submodules = false |
387 |
- python = "${EPYTHON}" |
388 |
- locked-deps = true |
389 |
- vendor = true |
390 |
- extended = ${extended} |
391 |
- tools = [${tools}] |
392 |
- [install] |
393 |
- prefix = "${EPREFIX}/usr" |
394 |
- libdir = "$(get_libdir)/${P}" |
395 |
- docdir = "share/doc/${P}" |
396 |
- mandir = "share/${P}/man" |
397 |
- [rust] |
398 |
- optimize = $(toml_usex !debug) |
399 |
- debuginfo = $(toml_usex debug) |
400 |
- debug-assertions = $(toml_usex debug) |
401 |
- use-jemalloc = $(toml_usex jemalloc) |
402 |
- default-linker = "$(tc-getCC)" |
403 |
- channel = "stable" |
404 |
- rpath = false |
405 |
- lld = $(toml_usex wasm) |
406 |
- EOF |
407 |
- |
408 |
- for v in $(multilib_get_enabled_abi_pairs); do |
409 |
- rust_target=$(rust_abi $(get_abi_CHOST ${v##*.})) |
410 |
- arch_cflags="$(get_abi_CFLAGS ${v##*.})" |
411 |
- |
412 |
- cat <<- EOF >> "${S}"/config.env |
413 |
- CFLAGS_${rust_target}=${arch_cflags} |
414 |
- EOF |
415 |
- |
416 |
- cat <<- EOF >> "${S}"/config.toml |
417 |
- [target.${rust_target}] |
418 |
- cc = "$(tc-getBUILD_CC)" |
419 |
- cxx = "$(tc-getBUILD_CXX)" |
420 |
- linker = "$(tc-getCC)" |
421 |
- ar = "$(tc-getAR)" |
422 |
- EOF |
423 |
- if use system-llvm; then |
424 |
- cat <<- EOF >> "${S}"/config.toml |
425 |
- llvm-config = "$(get_llvm_prefix)/bin/llvm-config" |
426 |
- EOF |
427 |
- fi |
428 |
- done |
429 |
- |
430 |
- if use wasm; then |
431 |
- cat <<- EOF >> "${S}"/config.toml |
432 |
- [target.wasm32-unknown-unknown] |
433 |
- linker = "rust-lld" |
434 |
- EOF |
435 |
- fi |
436 |
-} |
437 |
- |
438 |
-src_compile() { |
439 |
- env $(cat "${S}"/config.env)\ |
440 |
- "${EPYTHON}" ./x.py build --config="${S}"/config.toml -j$(makeopts_jobs) \ |
441 |
- --exclude src/tools/miri || die # https://github.com/rust-lang/rust/issues/52305 |
442 |
-} |
443 |
- |
444 |
-src_install() { |
445 |
- local rust_target abi_libdir |
446 |
- |
447 |
- env DESTDIR="${D}" "${EPYTHON}" ./x.py install || die |
448 |
- |
449 |
- mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die |
450 |
- mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die |
451 |
- mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die |
452 |
- mv "${D}/usr/bin/rust-lldb" "${D}/usr/bin/rust-lldb-${PV}" || die |
453 |
- mv "${D}/usr/bin/cargo" "${D}/usr/bin/cargo-${PV}" || die |
454 |
- if use clippy; then |
455 |
- mv "${D}/usr/bin/clippy-driver" "${D}/usr/bin/clippy-driver-${PV}" || die |
456 |
- mv "${D}/usr/bin/cargo-clippy" "${D}/usr/bin/cargo-clippy-${PV}" || die |
457 |
- fi |
458 |
- if use rls; then |
459 |
- mv "${D}/usr/bin/rls" "${D}/usr/bin/rls-${PV}" || die |
460 |
- fi |
461 |
- if use rustfmt; then |
462 |
- mv "${D}/usr/bin/rustfmt" "${D}/usr/bin/rustfmt-${PV}" || die |
463 |
- mv "${D}/usr/bin/cargo-fmt" "${D}/usr/bin/cargo-fmt-${PV}" || die |
464 |
- fi |
465 |
- |
466 |
- # Copy shared library versions of standard libraries for all targets |
467 |
- # into the system's abi-dependent lib directories because the rust |
468 |
- # installer only does so for the native ABI. |
469 |
- for v in $(multilib_get_enabled_abi_pairs); do |
470 |
- if [ ${v##*.} = ${DEFAULT_ABI} ]; then |
471 |
- continue |
472 |
- fi |
473 |
- abi_libdir=$(get_abi_LIBDIR ${v##*.}) |
474 |
- rust_target=$(rust_abi $(get_abi_CHOST ${v##*.})) |
475 |
- mkdir -p "${D}/usr/${abi_libdir}" |
476 |
- cp "${D}/usr/$(get_libdir)/${P}/rustlib/${rust_target}/lib"/*.so \ |
477 |
- "${D}/usr/${abi_libdir}" || die |
478 |
- done |
479 |
- |
480 |
- dodoc COPYRIGHT |
481 |
- |
482 |
- # FIXME: |
483 |
- # Really not sure if that env is needed, specailly LDPATH |
484 |
- cat <<-EOF > "${T}"/50${P} |
485 |
- LDPATH="/usr/$(get_libdir)/${P}" |
486 |
- MANPATH="/usr/share/${P}/man" |
487 |
- EOF |
488 |
- doenvd "${T}"/50${P} |
489 |
- |
490 |
- cat <<-EOF > "${T}/provider-${P}" |
491 |
- /usr/bin/rustdoc |
492 |
- /usr/bin/rust-gdb |
493 |
- /usr/bin/rust-lldb |
494 |
- EOF |
495 |
- echo /usr/bin/cargo >> "${T}/provider-${P}" |
496 |
- if use clippy; then |
497 |
- echo /usr/bin/clippy-driver >> "${T}/provider-${P}" |
498 |
- echo /usr/bin/cargo-clippy >> "${T}/provider-${P}" |
499 |
- fi |
500 |
- if use rls; then |
501 |
- echo /usr/bin/rls >> "${T}/provider-${P}" |
502 |
- fi |
503 |
- if use rustfmt; then |
504 |
- echo /usr/bin/rustfmt >> "${T}/provider-${P}" |
505 |
- echo /usr/bin/cargo-fmt >> "${T}/provider-${P}" |
506 |
- fi |
507 |
- dodir /etc/env.d/rust |
508 |
- insinto /etc/env.d/rust |
509 |
- doins "${T}/provider-${P}" |
510 |
-} |
511 |
- |
512 |
-pkg_postinst() { |
513 |
- eselect rust update --if-unset |
514 |
- |
515 |
- elog "Rust installs a helper script for calling GDB and LLDB," |
516 |
- elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}." |
517 |
- |
518 |
- ewarn "cargo is now installed from dev-lang/rust{,-bin} instead of dev-util/cargo." |
519 |
- ewarn "This might have resulted in a dangling symlink for /usr/bin/cargo on some" |
520 |
- ewarn "systems. This can be resolved by calling 'sudo eselect rust set ${P}'." |
521 |
- |
522 |
- if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then |
523 |
- elog "install app-emacs/rust-mode to get emacs support for rust." |
524 |
- fi |
525 |
- |
526 |
- if has_version app-editors/gvim || has_version app-editors/vim; then |
527 |
- elog "install app-vim/rust-vim to get vim support for rust." |
528 |
- fi |
529 |
- |
530 |
- if has_version 'app-shells/zsh'; then |
531 |
- elog "install app-shells/rust-zshcomp to get zsh completion for rust." |
532 |
- fi |
533 |
-} |
534 |
- |
535 |
-pkg_postrm() { |
536 |
- eselect rust unset --if-invalid |
537 |
-} |