summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pratt2025-07-08 18:57:58 +0000
committerRobert Marko2025-07-26 12:38:08 +0000
commit222a1bed794c83298ae6e7dfddbe0eed7dcab0fc (patch)
tree3382c31029cd35ad297cc7f6e0fdb4aafb7eb22f
parent685fc753a7fd0e87cf61204620348ec0b40ba426 (diff)
downloadopenwrt-222a1bed794c83298ae6e7dfddbe0eed7dcab0fc.tar.gz
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 <mcpratt@pm.me> Link: https://github.com/openwrt/openwrt/pull/16522 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--tools/gnulib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gnulib/Makefile b/tools/gnulib/Makefile
index 245ba6be7d..33e6aba1cc 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