summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2025-11-21 18:16:35 +0100
committerRobert Nagy <rnagy@FreeBSD.org>2025-11-21 18:17:03 +0100
commit20c7b181756694ab40853de90d1430c0571d9dcf (patch)
tree78414483e2c8c354f9458ab86852cb875b82e02a
parentbenchmarks/iperf3: Add patch for documentation fix in iperf3 relnotes. (diff)
www/ungoogled-chromium: update to 142.0.7444.175
switch to the -lite upstream tarball to save space Security: https://vuxml.freebsd.org/freebsd/ca5d4e87-c465-11f0-b3f7-a8a1599412c6.html
-rw-r--r--www/ungoogled-chromium/Makefile7
-rw-r--r--www/ungoogled-chromium/distinfo14
-rw-r--r--www/ungoogled-chromium/files/patch-build_linux_strip__binary.gni13
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc8
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h6
-rw-r--r--www/ungoogled-chromium/files/patch-gpu_webgpu_dawn__commit__hash.h11
6 files changed, 30 insertions, 29 deletions
diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile
index c9ca44079825..5b63b440743a 100644
--- a/www/ungoogled-chromium/Makefile
+++ b/www/ungoogled-chromium/Makefile
@@ -1,13 +1,12 @@
PORTNAME= ungoogled-chromium
-PORTVERSION= 142.0.7444.162
-PORTREVISION= 1
+PORTVERSION= 142.0.7444.175
PULSEMV= 16
PULSEV= ${PULSEMV}.1
UGVERSION= ${DISTVERSION}-1
CATEGORIES= www wayland
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:goo \
https://freedesktop.org/software/pulseaudio/releases/:pulseaudio
-DISTFILES= chromium-${DISTVERSION}${EXTRACT_SUFX}:goo \
+DISTFILES= chromium-${DISTVERSION}-lite${EXTRACT_SUFX}:goo \
pulseaudio-${PULSEV}.tar.gz:pulseaudio
USE_GITHUB= yes
@@ -140,7 +139,6 @@ GN_ARGS+= build_with_tflite_lib=false \
enable_backup_ref_ptr_support=false \
enable_hangout_services_extension=false \
enable_mdns=false \
- enable_reading_list=false \
enable_remoting=false \
enable_reporting=false \
enable_service_discovery=false \
@@ -327,6 +325,7 @@ pre-configure:
.endfor
touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h
@${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \
+ ${WRKSRC}/build/linux/strip_binary.gni \
${WRKSRC}/build/rust/rust_bindgen.gni \
${WRKSRC}/build/rust/rust_bindgen_generator.gni
diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo
index a9891d777397..d6c293f46d27 100644
--- a/www/ungoogled-chromium/distinfo
+++ b/www/ungoogled-chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1762969883
-SHA256 (chromium-142.0.7444.162.tar.xz) = dbe84fedf3496ea1d47f0b19c60cbb442418f0f2191a78f54039cfd04b087b42
-SIZE (chromium-142.0.7444.162.tar.xz) = 7577065240
+TIMESTAMP = 1763744483
+SHA256 (chromium-142.0.7444.175-lite.tar.xz) = 619b37ab0273f72fac859fff8dd89fbf1b7ae7e7ccb8d67bc79281b24f683bc9
+SIZE (chromium-142.0.7444.175-lite.tar.xz) = 1711108684
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
SIZE (pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (chromium-142.0.7444.162-testdata.tar.xz) = 7cd14d54a6343eff62eb44aa49227c82f26df3b44123211eb7b8c824891315e8
-SIZE (chromium-142.0.7444.162-testdata.tar.xz) = 932493864
-SHA256 (ungoogled-software-ungoogled-chromium-142.0.7444.162-142.0.7444.162-1_GH0.tar.gz) = 0db5f8a557400dc10538f60610328c9bb636135197db75feab753a23a96aadce
-SIZE (ungoogled-software-ungoogled-chromium-142.0.7444.162-142.0.7444.162-1_GH0.tar.gz) = 650873
+SHA256 (chromium-142.0.7444.175-testdata.tar.xz) = 0db5f8a557400dc10538f60610328c9bb636135197db75feab753a23a96aadce
+SIZE (chromium-142.0.7444.175-testdata.tar.xz) = 650873
+SHA256 (ungoogled-software-ungoogled-chromium-142.0.7444.175-142.0.7444.175-1_GH0.tar.gz) = ec3584995b6a69373fc06f6230602c1ebc68f802feedba44c962dc25bb896e33
+SIZE (ungoogled-software-ungoogled-chromium-142.0.7444.175-142.0.7444.175-1_GH0.tar.gz) = 650884
diff --git a/www/ungoogled-chromium/files/patch-build_linux_strip__binary.gni b/www/ungoogled-chromium/files/patch-build_linux_strip__binary.gni
new file mode 100644
index 000000000000..e20656832e14
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-build_linux_strip__binary.gni
@@ -0,0 +1,13 @@
+--- build/linux/strip_binary.gni.orig 2025-11-21 17:02:17 UTC
++++ build/linux/strip_binary.gni
+@@ -21,8 +21,8 @@ template("strip_binary") {
+ "testonly",
+ ])
+ action("${target_name}") {
+- llvm_strip_binary = "${clang_base_path}/bin/llvm-strip"
+- llvm_objcopy_binary = "${clang_base_path}/bin/llvm-objcopy"
++ llvm_strip_binary = "${LOCALBASE}/llvm${MODCLANG_VERSION}/bin/llvm-strip"
++ llvm_objcopy_binary = "${LOCALBASE}/llvm${MODCLANG_VERSION}/bin/llvm-objcopy"
+ script = "//build/linux/strip_binary.py"
+
+ if (defined(invoker.stripped_binary_output)) {
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
index 0cc45b4bd118..6e7b31b73fc6 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
@@ -1,4 +1,4 @@
---- chrome/common/chrome_features.cc.orig 2025-11-01 06:40:37 UTC
+--- chrome/common/chrome_features.cc.orig 2025-11-21 17:02:17 UTC
+++ chrome/common/chrome_features.cc
@@ -86,7 +86,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims, base::FEA
#endif // BUILDFLAG(IS_MAC)
@@ -36,7 +36,7 @@
// Controls whether Chrome Apps are supported. See https://crbug.com/1221251.
// If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome
// Apps will not launch and will be marked in the UI as deprecated.
-@@ -627,7 +627,7 @@ BASE_FEATURE(kGlicDisableWarming, base::FEATURE_ENABLE
+@@ -625,7 +625,7 @@ BASE_FEATURE(kGlicWarming, base::FEATURE_DISABLED_BY_D
// Killswitch that controls whether the guest WebContents visibility state is
// set to hidden when the Glic panel is warming.
BASE_FEATURE(kGlicGuestContentsVisibilityState,
@@ -45,7 +45,7 @@
base::FEATURE_ENABLED_BY_DEFAULT);
#else
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -1088,7 +1088,7 @@ BASE_FEATURE(kKAnonymityServiceOHTTPRequests, base::FE
+@@ -1086,7 +1086,7 @@ BASE_FEATURE(kKAnonymityServiceOHTTPRequests, base::FE
// public keys.
BASE_FEATURE(kKAnonymityServiceStorage, base::FEATURE_ENABLED_BY_DEFAULT);
@@ -54,7 +54,7 @@
BASE_FEATURE(kLinuxLowMemoryMonitor, base::FEATURE_DISABLED_BY_DEFAULT);
// Values taken from the low-memory-monitor documentation and also apply to the
// portal API:
-@@ -1099,7 +1099,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
+@@ -1097,7 +1097,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
&kLinuxLowMemoryMonitor, "critical_level", 255};
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
index 481073ed7c0b..d97f17375af3 100644
--- a/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
+++ b/www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
@@ -1,4 +1,4 @@
---- chrome/common/chrome_features.h.orig 2025-11-01 06:40:37 UTC
+--- chrome/common/chrome_features.h.orig 2025-11-21 17:02:17 UTC
+++ chrome/common/chrome_features.h
@@ -83,13 +83,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims);
#endif // BUILDFLAG(IS_MAC)
@@ -25,7 +25,7 @@
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kShortcutsNotApps);
-@@ -808,7 +808,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests);
+@@ -806,7 +806,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests);
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kKAnonymityServiceStorage);
@@ -34,7 +34,7 @@
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor);
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel;
-@@ -816,7 +816,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
+@@ -814,7 +814,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel;
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/www/ungoogled-chromium/files/patch-gpu_webgpu_dawn__commit__hash.h b/www/ungoogled-chromium/files/patch-gpu_webgpu_dawn__commit__hash.h
deleted file mode 100644
index b71fe1e25e53..000000000000
--- a/www/ungoogled-chromium/files/patch-gpu_webgpu_dawn__commit__hash.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpu/webgpu/dawn_commit_hash.h.orig 2025-11-01 06:40:37 UTC
-+++ gpu/webgpu/dawn_commit_hash.h
-@@ -0,0 +1,8 @@
-+/* Generated by lastchange.py, do not edit.*/
-+
-+#ifndef GPU_WEBGPU_DAWN_COMMIT_HASH_H_
-+#define GPU_WEBGPU_DAWN_COMMIT_HASH_H_
-+
-+#define DAWN_COMMIT_HASH "cee9cb0d67e749bf42f5e90cb3b8a6f525dbb920"
-+
-+#endif // GPU_WEBGPU_DAWN_COMMIT_HASH_H_