diff options
author | Viktor Szakats <commit@vszakats.net> | 2019-10-19 19:23:24 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2019-10-20 02:01:57 (GMT) |
commit | 9ea0397bfc51c8f1b36d391b5b1ec28afeb3be18 (patch) | |
tree | e1b0e40f035b25c4e4c426b5b8dcb9d86a13d1a9 /src/file.mk | |
parent | 663a68f30be8ae6652567631ac8e605224ddf50c (diff) | |
download | mxe-9ea0397bfc51c8f1b36d391b5b1ec28afeb3be18.zip mxe-9ea0397bfc51c8f1b36d391b5b1ec28afeb3be18.tar.gz mxe-9ea0397bfc51c8f1b36d391b5b1ec28afeb3be18.tar.bz2 |
secure URLs
* also remove the last ftp:// URL, which was a mirror
Diffstat (limited to 'src/file.mk')
-rw-r--r-- | src/file.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/file.mk b/src/file.mk index 6362845..662b23f 100644 --- a/src/file.mk +++ b/src/file.mk @@ -7,13 +7,12 @@ $(PKG)_VERSION := 5.24 $(PKG)_CHECKSUM := 802cb3de2e49e88ef97cdcb52cd507a0f25458112752e398445cea102bc750ce $(PKG)_SUBDIR := file-$($(PKG)_VERSION) $(PKG)_FILE := file-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://distfiles.macports.org/file/$($(PKG)_FILE) -# astron.com is down -# $(PKG)_URL_2 := ftp://ftp.astron.com/pub/file/$($(PKG)_FILE) +$(PKG)_URL := https://astron.com/pub/file/$($(PKG)_FILE) +$(PKG)_URL_2 := https://distfiles.macports.org/file/$($(PKG)_FILE) $(PKG)_DEPS := cc libgnurx define $(PKG)_UPDATE - $(WGET) -q -O- 'https://distfiles.macports.org/file/' | \ + $(WGET) -q -O- 'https://astron.com/pub/file/' | \ grep 'file-' | \ $(SED) -n 's,.*file-\([0-9][^>]*\)\.tar.*,\1,p' | \ tail -1 |