changeset 5090:5d9ca8338640

* src/popt.mk: update update and download url for rpm.org
author John Donoghue
date Tue, 11 Jun 2019 08:30:11 -0400
parents 5862b845d5b1
children 7c08ac22cb86
files src/popt.mk
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/popt.mk	Mon Jun 10 08:24:36 2019 -0400
+++ b/src/popt.mk	Tue Jun 11 08:30:11 2019 -0400
@@ -7,14 +7,14 @@
 $(PKG)_CHECKSUM := cfe94a15a2404db85858a81ff8de27c8ff3e235e
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://rpm5.org/files/popt/$($(PKG)_FILE)
+$(PKG)_URL      := http://ftp.rpm.org/mirror/popt/$($(PKG)_FILE)
 $(PKG)_URL_2    := http://ftp.debian.org/debian/pool/main/p/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz
 $(PKG)_DEPS     := libiconv gettext
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://rpm5.org/files/popt/' | \
+    $(WGET) -q -O- 'http://ftp.rpm.org/mirror/popt/' | \
     grep 'popt-' | \
-    $(SED) -n 's,.*popt-\([0-9][^>]*\)\.tar.*,\1,p' | \
+    $(SED) -n 's,.*>popt-\([0-9][^>]*\)\.tar.*,\1,p' | \
     tail -1
 endef