diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2023-07-11 12:17:56 +0200 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2023-07-17 17:57:41 +0200 |
commit | e3d08dfcd40041417e25193dd13e7a03fb3e39df (patch) | |
tree | af545878b8563090455fa2b9d723f67597c0688c | |
parent | a6af8f3ba0784015e5cdc75f70c73341df342097 (diff) | |
download | freebsd-ports-e3d08dfcd40041417e25193dd13e7a03fb3e39df.zip |
lang/rust: Update to 1.71.0
Announce: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.71.0
PR: 272449
Tested by: mikael,pkubaj,vishwin
-rw-r--r-- | Mk/Uses/cargo.mk | 2 | ||||
-rw-r--r-- | Mk/bsd.gecko.mk | 2 | ||||
-rw-r--r-- | lang/rust-bootstrap/Makefile | 2 | ||||
-rw-r--r-- | lang/rust-bootstrap/distinfo | 6 | ||||
-rw-r--r-- | lang/rust/Makefile | 8 | ||||
-rw-r--r-- | lang/rust/distinfo | 102 | ||||
-rw-r--r-- | lang/rust/files/patch-vendor_openssl-sys_build_main.rs | 14 |
7 files changed, 61 insertions, 75 deletions
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 11816296f3bc..432958129fea 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -97,7 +97,7 @@ WRKSRC_crate_${_crate}= ${WRKDIR}/${_wrksrc} CARGO_BUILDDEP?= yes . if ${CARGO_BUILDDEP:tl} == "yes" -BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.70.0:lang/${RUST_DEFAULT} +BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.71.0:lang/${RUST_DEFAULT} . elif ${CARGO_BUILDDEP:tl} == "any-version" BUILD_DEPENDS+= ${RUST_DEFAULT}>=0:lang/${RUST_DEFAULT} . endif diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 5b8b46c9aa6d..0eb9c8b841c2 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -81,7 +81,7 @@ BUNDLE_LIBS= yes BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \ rust-cbindgen>=0.24.3:devel/rust-cbindgen \ - ${RUST_DEFAULT}>=1.70.0:lang/${RUST_DEFAULT} \ + ${RUST_DEFAULT}>=1.71.0:lang/${RUST_DEFAULT} \ node:www/node LIB_DEPENDS+= libdrm.so:graphics/libdrm RUN_DEPENDS+= ${LOCALBASE}/lib/libpci.so:devel/libpci diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile index 1398b5cedbec..2615ca545546 100644 --- a/lang/rust-bootstrap/Makefile +++ b/lang/rust-bootstrap/Makefile @@ -2,7 +2,7 @@ # to upload them to ~/public_distfiles on freefall in preparation # for the next lang/rust update. PORTNAME= rust -PORTVERSION= 1.70.0 +PORTVERSION= 1.71.0 CATEGORIES= lang MASTER_SITES= https://static.rust-lang.org/dist/ PKGNAMEPREFIX= ${FLAVOR:S/_/-/g}- diff --git a/lang/rust-bootstrap/distinfo b/lang/rust-bootstrap/distinfo index 5dffcd71bd61..91c023340c42 100644 --- a/lang/rust-bootstrap/distinfo +++ b/lang/rust-bootstrap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685689095 -SHA256 (rust/rustc-1.70.0-src.tar.xz) = bb8e9c564566b2d3228d95de9063a9254182446a161353f1d843bfbaf5c34639 -SIZE (rust/rustc-1.70.0-src.tar.xz) = 140736896 +TIMESTAMP = 1689063077 +SHA256 (rust/rustc-1.71.0-src.tar.xz) = 9bfc6a949b33bd5f136790b304b41f4d87898b11d1e5da1d12400f7c87d0227c +SIZE (rust/rustc-1.71.0-src.tar.xz) = 151987536 diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 71d8416d34b8..5163c8e7d970 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -1,6 +1,6 @@ PORTNAME= rust -PORTVERSION?= 1.70.0 -PORTREVISION?= 1 +PORTVERSION?= 1.71.0 +PORTREVISION?= 0 CATEGORIES= lang MASTER_SITES= https://static.rust-lang.org/dist/:src \ https://dev-static.rust-lang.org/dist/:src \ @@ -68,8 +68,8 @@ WASM_VARS= _COMPONENTS+="rust-analysis-${_PACKAGE_VERS}-wasm32-unknown-unknown WASM_VARS_OFF= _RUST_BUILD_WASM=false # See WRKSRC/src/stage0.json for the date and version values -BOOTSTRAPS_DATE?= 2023-04-20 -RUST_BOOTSTRAP_VERSION?= 1.69.0 +BOOTSTRAPS_DATE?= 2023-06-01 +RUST_BOOTSTRAP_VERSION?= 1.70.0 CARGO_VENDOR_DIR?= ${WRKSRC}/vendor diff --git a/lang/rust/distinfo b/lang/rust/distinfo index 7d1eaa2476f9..b3f97f4627ec 100644 --- a/lang/rust/distinfo +++ b/lang/rust/distinfo @@ -1,51 +1,51 @@ -TIMESTAMP = 1685689176 -SHA256 (rust/rustc-1.70.0-src.tar.xz) = bb8e9c564566b2d3228d95de9063a9254182446a161353f1d843bfbaf5c34639 -SIZE (rust/rustc-1.70.0-src.tar.xz) = 140736896 -SHA256 (rust/2023-04-20/rustc-1.69.0-aarch64-unknown-freebsd.tar.xz) = 92b3f4dedcfdcda92cb1c1ebda063186419073c30d16c9b11724f853dcf97822 -SIZE (rust/2023-04-20/rustc-1.69.0-aarch64-unknown-freebsd.tar.xz) = 43631168 -SHA256 (rust/2023-04-20/rust-std-1.69.0-aarch64-unknown-freebsd.tar.xz) = 494768811a56ea575fb8f1edf28959f7bf46f1a9e27bd6c22b762dd48ce13a38 -SIZE (rust/2023-04-20/rust-std-1.69.0-aarch64-unknown-freebsd.tar.xz) = 25018204 -SHA256 (rust/2023-04-20/cargo-1.69.0-aarch64-unknown-freebsd.tar.xz) = 9cad0a1ea3373c52f9013d24d72bbc2cf0ee9242c80b08f97014c7589ee853cf -SIZE (rust/2023-04-20/cargo-1.69.0-aarch64-unknown-freebsd.tar.xz) = 5152596 -SHA256 (rust/2023-04-20/rustc-1.69.0-x86_64-unknown-freebsd.tar.xz) = b715225e5e31965c5274358b4b54843a8ab13811cfd2feb2541e738bc4bf6151 -SIZE (rust/2023-04-20/rustc-1.69.0-x86_64-unknown-freebsd.tar.xz) = 38964604 -SHA256 (rust/2023-04-20/rust-std-1.69.0-x86_64-unknown-freebsd.tar.xz) = f8ee23f08e9f64ea267f5a8b2a1fb80abcf44af0f1dd1d240569953ca64d97aa -SIZE (rust/2023-04-20/rust-std-1.69.0-x86_64-unknown-freebsd.tar.xz) = 25655756 -SHA256 (rust/2023-04-20/cargo-1.69.0-x86_64-unknown-freebsd.tar.xz) = f996be4105c54679c200dec2422b5492f444256d19e41c491f3d1b3fef946bbf -SIZE (rust/2023-04-20/cargo-1.69.0-x86_64-unknown-freebsd.tar.xz) = 5838552 -SHA256 (rust/2023-04-20/rustc-1.69.0-armv7-unknown-freebsd.tar.xz) = 0f7e7f33eed4832410ccc96d94c21545a7e5c87a827a9aed07a635bfa3b11635 -SIZE (rust/2023-04-20/rustc-1.69.0-armv7-unknown-freebsd.tar.xz) = 43041632 -SHA256 (rust/2023-04-20/rust-std-1.69.0-armv7-unknown-freebsd.tar.xz) = a3e7ba0c6f8ee2e500762782fe99a8ac992ae1b47903ac2febaac084e5e62a5b -SIZE (rust/2023-04-20/rust-std-1.69.0-armv7-unknown-freebsd.tar.xz) = 24121976 -SHA256 (rust/2023-04-20/cargo-1.69.0-armv7-unknown-freebsd.tar.xz) = 7964642abf7e0834a460d51d769905e04ed9dd55ec492a2e1644008e2f1bf4aa -SIZE (rust/2023-04-20/cargo-1.69.0-armv7-unknown-freebsd.tar.xz) = 5039304 -SHA256 (rust/2023-04-20/rustc-1.69.0-i686-unknown-freebsd.tar.xz) = 705f95918f151d4d8b4f05b8bd410ef0c5938da690e2ad7bbd55cc1c42f42cfc -SIZE (rust/2023-04-20/rustc-1.69.0-i686-unknown-freebsd.tar.xz) = 49395736 -SHA256 (rust/2023-04-20/rust-std-1.69.0-i686-unknown-freebsd.tar.xz) = 6275a43741edf00586e5a1d00c365fbd05c5ba1304bf7d1161f17048127d851f -SIZE (rust/2023-04-20/rust-std-1.69.0-i686-unknown-freebsd.tar.xz) = 25436824 -SHA256 (rust/2023-04-20/cargo-1.69.0-i686-unknown-freebsd.tar.xz) = aa8147ca8519fe3b2a92878dc45ddaf39b603b5200b0f2bc56712b238b581b35 -SIZE (rust/2023-04-20/cargo-1.69.0-i686-unknown-freebsd.tar.xz) = 6077544 -SHA256 (rust/2023-04-20/rustc-1.69.0-powerpc-unknown-freebsd.tar.xz) = 0764a54c3ef73d84d3c6edf7faaf2fdb9742d02a4c5cc4f6dbde1b54460dcde2 -SIZE (rust/2023-04-20/rustc-1.69.0-powerpc-unknown-freebsd.tar.xz) = 46058648 -SHA256 (rust/2023-04-20/rust-std-1.69.0-powerpc-unknown-freebsd.tar.xz) = 3df1c1ba2651b86e5d6050939a476e5c5f04cde4c361f224b67f4a759ecae10d -SIZE (rust/2023-04-20/rust-std-1.69.0-powerpc-unknown-freebsd.tar.xz) = 23061456 -SHA256 (rust/2023-04-20/cargo-1.69.0-powerpc-unknown-freebsd.tar.xz) = a3d1afb8e11c24f047970158e64b6ce94b2390fa765410f8bdd0f73f9b33c45f -SIZE (rust/2023-04-20/cargo-1.69.0-powerpc-unknown-freebsd.tar.xz) = 5515820 -SHA256 (rust/2023-04-20/rustc-1.69.0-powerpc64-unknown-freebsd.tar.xz) = 9ea98ce7acd562af6fb241cb16b4ff904a86fb883ed08bd36a6e29ff956aba0a -SIZE (rust/2023-04-20/rustc-1.69.0-powerpc64-unknown-freebsd.tar.xz) = 43909140 -SHA256 (rust/2023-04-20/rust-std-1.69.0-powerpc64-unknown-freebsd.tar.xz) = e518be4f3dde952cd7075b5b04de1aa36503e3d3674e16635731a43dc81656f6 -SIZE (rust/2023-04-20/rust-std-1.69.0-powerpc64-unknown-freebsd.tar.xz) = 23289560 -SHA256 (rust/2023-04-20/cargo-1.69.0-powerpc64-unknown-freebsd.tar.xz) = 0286ef95e8dec27153df1440d3f83bf66f5e7a57e1ddd26adc5288bf12639bd3 -SIZE (rust/2023-04-20/cargo-1.69.0-powerpc64-unknown-freebsd.tar.xz) = 5309608 -SHA256 (rust/2023-04-20/rustc-1.69.0-powerpc64le-unknown-freebsd.tar.xz) = 290cea8150670cbc2c71b3abb729be664e7dd8cbc756662187bc6cfe78554aae -SIZE (rust/2023-04-20/rustc-1.69.0-powerpc64le-unknown-freebsd.tar.xz) = 45985568 -SHA256 (rust/2023-04-20/rust-std-1.69.0-powerpc64le-unknown-freebsd.tar.xz) = f329fe724aface21c3205a5351586927dae17e0a6ef6a86a4eee4b2d75b61e01 -SIZE (rust/2023-04-20/rust-std-1.69.0-powerpc64le-unknown-freebsd.tar.xz) = 23554456 -SHA256 (rust/2023-04-20/cargo-1.69.0-powerpc64le-unknown-freebsd.tar.xz) = 2cccfd33e51c2b2dd99b9ae21715f7568ae61761332a6d610f1e2e685b1e550f -SIZE (rust/2023-04-20/cargo-1.69.0-powerpc64le-unknown-freebsd.tar.xz) = 5618596 -SHA256 (rust/2023-04-20/rustc-1.69.0-riscv64gc-unknown-freebsd.tar.xz) = bee372643e976e38883d119cd839701304eccf8c15cf187be390e79991b7820a -SIZE (rust/2023-04-20/rustc-1.69.0-riscv64gc-unknown-freebsd.tar.xz) = 58605668 -SHA256 (rust/2023-04-20/rust-std-1.69.0-riscv64gc-unknown-freebsd.tar.xz) = ff121aeb7f3c7c03d2f9bab8e7439989c948c3310c60293b2a6862d318fb6f6a -SIZE (rust/2023-04-20/rust-std-1.69.0-riscv64gc-unknown-freebsd.tar.xz) = 23467276 -SHA256 (rust/2023-04-20/cargo-1.69.0-riscv64gc-unknown-freebsd.tar.xz) = 3c235e811908a9452d5d465f6deddd610f56f40100368f1210ca8e55f966baaa -SIZE (rust/2023-04-20/cargo-1.69.0-riscv64gc-unknown-freebsd.tar.xz) = 7059164 +TIMESTAMP = 1689063076 +SHA256 (rust/rustc-1.71.0-src.tar.xz) = 9bfc6a949b33bd5f136790b304b41f4d87898b11d1e5da1d12400f7c87d0227c +SIZE (rust/rustc-1.71.0-src.tar.xz) = 151987536 +SHA256 (rust/2023-06-01/rustc-1.70.0-aarch64-unknown-freebsd.tar.xz) = 33af1e77bec478cfe6dcb0e30d1bd31e5be42fc727883c28f22435d268a19a71 +SIZE (rust/2023-06-01/rustc-1.70.0-aarch64-unknown-freebsd.tar.xz) = 54609348 +SHA256 (rust/2023-06-01/rust-std-1.70.0-aarch64-unknown-freebsd.tar.xz) = 98c3a6f77385dfc973908bbcf76d211ed98b9d24188729ab825a83e431df3260 +SIZE (rust/2023-06-01/rust-std-1.70.0-aarch64-unknown-freebsd.tar.xz) = 27462124 +SHA256 (rust/2023-06-01/cargo-1.70.0-aarch64-unknown-freebsd.tar.xz) = 82a43b70bbe89343023aca5e65eb5090e67c4ecfd35f2f9884ceb58bba069edc +SIZE (rust/2023-06-01/cargo-1.70.0-aarch64-unknown-freebsd.tar.xz) = 6971132 +SHA256 (rust/2023-06-01/rustc-1.70.0-x86_64-unknown-freebsd.tar.xz) = 67543c83f80c4a62145be86f33e987f1c547a02a3041032028c3f3e545390f6f +SIZE (rust/2023-06-01/rustc-1.70.0-x86_64-unknown-freebsd.tar.xz) = 46958780 +SHA256 (rust/2023-06-01/rust-std-1.70.0-x86_64-unknown-freebsd.tar.xz) = 8f84ee49ce6b2adf13ee3eafe2bbf5054b2e9e5722f182554c5577d16e9acd53 +SIZE (rust/2023-06-01/rust-std-1.70.0-x86_64-unknown-freebsd.tar.xz) = 28643904 +SHA256 (rust/2023-06-01/cargo-1.70.0-x86_64-unknown-freebsd.tar.xz) = 906d407d0f59a45e69248fd79bb38d0edc5e91a36e41be9e0186059d23362af9 +SIZE (rust/2023-06-01/cargo-1.70.0-x86_64-unknown-freebsd.tar.xz) = 7802220 +SHA256 (rust/2023-06-01/rustc-1.70.0-armv7-unknown-freebsd.tar.xz) = 646f01ad696d2845d8bbaec93d117eaf3b0c85a03115b3674c5d4489e3707ec7 +SIZE (rust/2023-06-01/rustc-1.70.0-armv7-unknown-freebsd.tar.xz) = 53498340 +SHA256 (rust/2023-06-01/rust-std-1.70.0-armv7-unknown-freebsd.tar.xz) = 4c4cd3500e7a7caf5876913dfbe3916770fa2869c1d1356764af91b2aceff9b8 +SIZE (rust/2023-06-01/rust-std-1.70.0-armv7-unknown-freebsd.tar.xz) = 26769716 +SHA256 (rust/2023-06-01/cargo-1.70.0-armv7-unknown-freebsd.tar.xz) = 67d95e5184d21aa6b3ed07d42dc9e579b20bf36cfdf8dd08e5c677d6c8c9427a +SIZE (rust/2023-06-01/cargo-1.70.0-armv7-unknown-freebsd.tar.xz) = 6853756 +SHA256 (rust/2023-06-01/rustc-1.70.0-i686-unknown-freebsd.tar.xz) = adc7c5370331fe62522717b856caf98c23d8887b001ba412063e85034147e168 +SIZE (rust/2023-06-01/rustc-1.70.0-i686-unknown-freebsd.tar.xz) = 62272900 +SHA256 (rust/2023-06-01/rust-std-1.70.0-i686-unknown-freebsd.tar.xz) = 78da20e57d8f7c0374eb551bf90ef44a8e1347bd63675d5ff43c30d73e7f8dd7 +SIZE (rust/2023-06-01/rust-std-1.70.0-i686-unknown-freebsd.tar.xz) = 28539308 +SHA256 (rust/2023-06-01/cargo-1.70.0-i686-unknown-freebsd.tar.xz) = aeb266e05c9bc15692372ec6f3c967beb9982822897e21a8ecb7a8f30b6d2fbf +SIZE (rust/2023-06-01/cargo-1.70.0-i686-unknown-freebsd.tar.xz) = 8176172 +SHA256 (rust/2023-06-01/rustc-1.70.0-powerpc-unknown-freebsd.tar.xz) = 9d276d19fcfafba0a76a900e41f116639aed75eb21723cf21aecc2b0449be8e6 +SIZE (rust/2023-06-01/rustc-1.70.0-powerpc-unknown-freebsd.tar.xz) = 59984324 +SHA256 (rust/2023-06-01/rust-std-1.70.0-powerpc-unknown-freebsd.tar.xz) = 771bfb0febdc77a2b49333a8f1a633342721f3085fd45186d4955207968be9b6 +SIZE (rust/2023-06-01/rust-std-1.70.0-powerpc-unknown-freebsd.tar.xz) = 25604004 +SHA256 (rust/2023-06-01/cargo-1.70.0-powerpc-unknown-freebsd.tar.xz) = 39ccb11db9d803ecc0c2a0e766c367201e61fd438ce7a3f55261525729978ee3 +SIZE (rust/2023-06-01/cargo-1.70.0-powerpc-unknown-freebsd.tar.xz) = 8050096 +SHA256 (rust/2023-06-01/rustc-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 33baa4146df872ee0baf49615e581a5313dde4b4395904dea4b9acc3a71994cd +SIZE (rust/2023-06-01/rustc-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 58795560 +SHA256 (rust/2023-06-01/rust-std-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 09c7dfc89fc075def735d11c2dc870c1a5c14be0467e4b1873d12d8444ec3b2c +SIZE (rust/2023-06-01/rust-std-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 25812720 +SHA256 (rust/2023-06-01/cargo-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 3e88823bdca116dad12e8455d4bcdceca1f24bd6d0ea0a607c4de4d852df4e9c +SIZE (rust/2023-06-01/cargo-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 7681024 +SHA256 (rust/2023-06-01/rustc-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = ff75ea29a0453ab6d4ffeb1b3f60133f476cef716e1a294fecc55786f4559b9e +SIZE (rust/2023-06-01/rustc-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 60346412 +SHA256 (rust/2023-06-01/rust-std-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 23719ffd7a8a73b2a04bde9fd209d2ad50f5535406a1b7872cea9c1c63383c29 +SIZE (rust/2023-06-01/rust-std-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 25924168 +SHA256 (rust/2023-06-01/cargo-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = f8ad9d8cb2c8fb9d5f8d38dac0a40469982ba3ed7ec1128c3f1b61dd9f56f92d +SIZE (rust/2023-06-01/cargo-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 7889448 +SHA256 (rust/2023-06-01/rustc-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 559fff7bdf05b2425392633a02c0a94002e2e7632cd9da5f454197c230bdf973 +SIZE (rust/2023-06-01/rustc-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 69599072 +SHA256 (rust/2023-06-01/rust-std-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 74e4dc88b27b8d35b85631af46593281fcf7359961f58146a8e1447b634fb4c3 +SIZE (rust/2023-06-01/rust-std-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 26041376 +SHA256 (rust/2023-06-01/cargo-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 1c66eeed462c796845d92016ec314e6d6b84a5dc6b93daf3156bce67ab7edaf8 +SIZE (rust/2023-06-01/cargo-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 9630176 diff --git a/lang/rust/files/patch-vendor_openssl-sys_build_main.rs b/lang/rust/files/patch-vendor_openssl-sys_build_main.rs deleted file mode 100644 index f6d42f920789..000000000000 --- a/lang/rust/files/patch-vendor_openssl-sys_build_main.rs +++ /dev/null @@ -1,14 +0,0 @@ -LibreSSL >3.7.1 isn't explicitly supported. - -Index: vendor/openssl-sys/build/main.rs ---- vendor/openssl-sys/build/main.rs.orig -+++ vendor/openssl-sys/build/main.rs -@@ -284,7 +284,7 @@ See rust-openssl documentation for more information: - (3, 6, _) => ('3', '6', 'x'), - (3, 7, 0) => ('3', '7', '0'), - (3, 7, 1) => ('3', '7', '1'), -- _ => version_error(), -+ _ => ('3', '7', '1'), - }; - - println!("cargo:libressl=true"); |