From 222a1bed794c83298ae6e7dfddbe0eed7dcab0fc Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Tue, 8 Jul 2025 14:57:58 -0400 Subject: [PATCH] tools/gnulib: use git archive as download source Snapshot downloads, whether from GNU cgit or GNU gitweb, are becoming more unreliable and unstable. Use the GNU gnulib git repository server for downloads because GNU has disabled cgit server snapshots due to performance issues. Other possible options include GNU gitweb snapshot or a git bundle download but these methods either may also have similar performance issues or require additions to the build system to handle the method beyond the previous commit. In case snapshots are to be used again for build tools in the future, the previous commit reduces the tarball generation attempts for the original source of snapshots in order to reduce server impact. A conversation regarding server performance issues and alternatives is linked. Link: https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00124.html Signed-off-by: Michael Pratt Link: https://github.com/openwrt/openwrt/pull/16522 Signed-off-by: Robert Marko --- tools/gnulib/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/gnulib/Makefile b/tools/gnulib/Makefile index 245ba6be7d7..33e6aba1cce 100644 --- a/tools/gnulib/Makefile +++ b/tools/gnulib/Makefile @@ -2,11 +2,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gnulib PKG_CPE_ID:=cpe:/a:gnu:$(PKG_NAME) -PKG_VERSION:=320db6ee7a3cd44ee77f09d30c8a9002159beb4b# # stable-202407 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://git.savannah.gnu.org/cgit/$(PKG_NAME).git/snapshot -PKG_HASH:=0be734e8c5f88e259bd593d63da2be275b93aedb551ccdcd78db9825bddeb94e +PKG_SOURCE_URL=git://git.git.savannah.gnu.org/$(PKG_NAME).git +PKG_SOURCE_DATE:=2025-05-03 +PKG_SOURCE_VERSION:=320db6ee7a3cd44ee77f09d30c8a9002159beb4b# # stable-202407 +PKG_MIRROR_HASH:=0c3d39a0d26381b042ac8e95d22b88bda99bc8cc3974b151b1de184c0f4ac1bf include $(INCLUDE_DIR)/host-build.mk -- 2.47.2