Skip to content

Commit 5209fb5

Browse files
committed
chore(depends): update dependency download mirrors to reliable sources
Update download URLs for boost, expat, gmp, qrencode, and zlib packages to use more reliable and maintained sources, replacing deprecated or unstable mirrors (bintray, sourceforge, etc.) with GitHub releases, GNU FTP, and official archives.
1 parent c54e1f8 commit 5209fb5

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

depends/packages/boost.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package=boost
2-
$(package)_version=1_64_0
3-
$(package)_download_path=https://dl.bintray.com/boostorg/release/1.64.0/source/
4-
$(package)_file_name=$(package)_$($(package)_version).tar.bz2
2+
$(package)_version=1.64.0
3+
$(package)_download_path=https://archives.boost.io/release/$($(package)_version)/source/
4+
$(package)_file_name=boost_$(subst .,_,$($(package)_version)).tar.bz2
55
$(package)_sha256_hash=7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332
66

77
define $(package)_set_vars

depends/packages/expat.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package=expat
22
$(package)_version=2.2.1
3-
$(package)_download_path=https://downloads.sourceforge.net/project/expat/expat/$($(package)_version)
3+
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$($(package)_version))/
44
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
55
$(package)_sha256_hash=1868cadae4c82a018e361e2b2091de103cd820aaacb0d6cfa49bd2cd83978885
66

depends/packages/gmp.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package=gmp
22
$(package)_version=6.1.2
3-
$(package)_download_path=https://gmplib.org/download/gmp
3+
$(package)_download_path=https://ftp.gnu.org/gnu/gmp
44
$(package)_file_name=gmp-$($(package)_version).tar.bz2
55
$(package)_sha256_hash=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2
66

depends/packages/qrencode.mk

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
package=qrencode
22
$(package)_version=3.4.4
3-
$(package)_download_path=https://fukuchi.org/works/qrencode/
4-
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
5-
$(package)_sha256_hash=efe5188b1ddbcbf98763b819b146be6a90481aac30cfc8d858ab78a19cde1fa5
3+
$(package)_download_path=https://github.com/fukuchi/libqrencode/archive/refs/tags/
4+
$(package)_download_file=v$($(package)_version).tar.gz
5+
$(package)_file_name=$(package)-$($(package)_version).tar.gz
6+
$(package)_sha256_hash=ab7cdf84e3707573a39e116ebd33faa513b306201941df3f5e691568368d87bf
7+
8+
define $(package)_preprocess_cmds
9+
./autogen.sh
10+
endef
611

712
define $(package)_set_vars
813
$(package)_config_opts=--disable-shared -without-tools --disable-sdltest

depends/packages/zlib.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package=zlib
22
$(package)_version=1.2.11
3-
$(package)_download_path=http://www.zlib.net
3+
$(package)_download_path=https://www.zlib.net/fossils/
44
$(package)_file_name=$(package)-$($(package)_version).tar.gz
55
$(package)_sha256_hash=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
66

0 commit comments

Comments
 (0)