From 74444ec1f06dc917c7de8497defe3a1309df3ad0 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 8 Jan 2024 11:08:23 +0000 Subject: [PATCH] [Upstreamed] [RN][General] Fix boost link (#42175) --- packages/react-native/ReactAndroid/build.gradle | 2 +- packages/react-native/third-party-podspecs/boost.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/build.gradle b/packages/react-native/ReactAndroid/build.gradle index 2b35563cf87579..054da8a66d2217 100644 --- a/packages/react-native/ReactAndroid/build.gradle +++ b/packages/react-native/ReactAndroid/build.gradle @@ -249,7 +249,7 @@ task createNativeDepsDirectories { } task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) { - src("https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}${boostExtension}") + src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}${boostExtension}") onlyIfModified(true) overwrite(false) retries(5) diff --git a/packages/react-native/third-party-podspecs/boost.podspec b/packages/react-native/third-party-podspecs/boost.podspec index 4db21809a77aaa..a70d9e15e5c092 100644 --- a/packages/react-native/third-party-podspecs/boost.podspec +++ b/packages/react-native/third-party-podspecs/boost.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |spec| spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.' spec.authors = 'Rene Rivera' # PodToBuild does not support tar bz2 compression so we use tar.gz instead. - spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.gz', + spec.source = { :http => 'https://archives.boost.io/release/1.81.0/source/boost_1_81_0.tar.gz', :sha256 => '205666dea9f6a7cfed87c7a6dfbeb52a2c1b9de55712c9c1a87735d7181452b6' } # Pinning to the same version as React.podspec.