From 7407f797a611bef3cdc5cc095ef2b8100d698818 Mon Sep 17 00:00:00 2001 From: Thomas Perale Date: Mon, 4 Aug 2025 23:01:32 +0200 Subject: [PATCH] package/apache: update mirror url While the 2.4.65 release of this package is available on https://dlcdn.apache.org/httpd older version are removed from this location in favour of https://archive.apache.org/dist/httpd. In 2025.02.x branch the apache package hasn't been bumped to the latest version yet so the following error started appearing on the autobuilder: ``` >>> apache 2.4.64 Downloading wget -nd -t 3 --no-check-certificate -O '/workdir/instance-0/output-1/build/.httpd-2.4.64.tar.bz2.hfXgDB/output' 'https://dlcdn.apache.org/httpd/httpd-2.4.64.tar.bz2' WARNING: The certificate is NOT trusted. The certificate issuer is unknown. [0] Downloading 'https://dlcdn.apache.org/httpd/httpd-2.4.64.tar.bz2' ... HTTP ERROR response 404 [https://dlcdn.apache.org/httpd/httpd-2.4.64.tar.bz2] make: *** [package/pkg-generic.mk:179: /workdir/instance-0/output-1/build/apache-2.4.64/.stamp_downloaded] Error 1 make: Leaving directory '/workdir/instance-0/buildroot' ``` To avoid running in the same error once the next package version is released this patch update the site to the archive mirror with all the releases. Fixes: https://autobuild.buildroot.org/results/7a0/7a0982bcf9db4dcbcf4f6cf31b9f19571c061ee4/build-end.log Signed-off-by: Thomas Perale Signed-off-by: Peter Korsgaard --- package/apache/apache.hash | 2 +- package/apache/apache.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apache/apache.hash b/package/apache/apache.hash index ca9d1580ad..5b0aab0af2 100644 --- a/package/apache/apache.hash +++ b/package/apache/apache.hash @@ -1,4 +1,4 @@ -# From https://downloads.apache.org/httpd/httpd-2.4.65.tar.bz2.{sha256,sha512} +# From https://archive.apache.org/dist/httpd/httpd-2.4.65.tar.bz2.{sha256,sha512} sha256 58b8be97d9940ec17f7656c0c6b9f41b618aac468b894b534148e3296c53b8b3 httpd-2.4.65.tar.bz2 sha512 202f8bfe2aafcfbcd7315191d466e9c10b9a8c0abafb7864510b6e1abe4cb660aaacc2456aa77d43e48ef7a49e591d0b54170d3daf67abc3e06c3da1c63fdffc httpd-2.4.65.tar.bz2 # Locally computed diff --git a/package/apache/apache.mk b/package/apache/apache.mk index cb029274c5..23332f3e85 100644 --- a/package/apache/apache.mk +++ b/package/apache/apache.mk @@ -6,7 +6,7 @@ APACHE_VERSION = 2.4.65 APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 -APACHE_SITE = https://dlcdn.apache.org/httpd +APACHE_SITE = https://archive.apache.org/dist/httpd APACHE_LICENSE = Apache-2.0 APACHE_LICENSE_FILES = LICENSE APACHE_CPE_ID_VENDOR = apache