changeset 4815:62a50e15a0b3

bzip2: update url for unused domain * src/bzip2.mk: use fedora url, disable update rules
author John Donoghue
date Thu, 23 Aug 2018 14:06:07 -0400
parents 3cb0c4f3e842
children c0b65a0f3b3f
files src/bzip2.mk
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/bzip2.mk	Thu Aug 23 12:45:34 2018 -0400
+++ b/src/bzip2.mk	Thu Aug 23 14:06:07 2018 -0400
@@ -7,14 +7,12 @@
 $(PKG)_CHECKSUM := 3f89f861209ce81a6bab1fd1998c0ef311712002
 $(PKG)_SUBDIR   := bzip2-$($(PKG)_VERSION)
 $(PKG)_FILE     := bzip2-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.bzip.org/$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_URL      := https://src.fedoraproject.org/repo/pkgs/$(PKG)/$($(PKG)_FILE)/00b516f4704d4a7cb50a1d97e6e8e15b/$($(PKG)_FILE)
 $(PKG)_DEPS     :=
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.bzip.org/downloads.html' | \
-    grep 'bzip2-' | \
-    $(SED) -n 's,.*bzip2-\([0-9][^>]*\)\.tar.*,\1,p' | \
-    head -1
+    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
+    echo $($(PKG)_VERSION)
 endef
 
 ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),)