summaryrefslogtreecommitdiffstats
path: root/src/file.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-07-27 04:17:57 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-07-27 04:24:19 (GMT)
commita5f7c3744eb87cbf860ad24683429d5e0a4254ac (patch)
tree6918430ae2e042778059ad5068ba157489bff0e0 /src/file.mk
parent34d2cb0286e34d8c8730714597a9f77bb2b6dc61 (diff)
downloadmxe-a5f7c3744eb87cbf860ad24683429d5e0a4254ac.zip
mxe-a5f7c3744eb87cbf860ad24683429d5e0a4254ac.tar.gz
mxe-a5f7c3744eb87cbf860ad24683429d5e0a4254ac.tar.bz2
file: update and fix downloading
Fixes #773.
Diffstat (limited to 'src/file.mk')
-rw-r--r--src/file.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/file.mk b/src/file.mk
index 3e2e11e..b53d789 100644
--- a/src/file.mk
+++ b/src/file.mk
@@ -3,16 +3,17 @@
PKG := file
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 5.23
-$(PKG)_CHECKSUM := c817fb4c27f01934993ece3b013adbdc4deab67e
+$(PKG)_VERSION := 5.24
+$(PKG)_CHECKSUM := 152daac79ccb4560dc65d5aaf754196ec1536f1d
$(PKG)_SUBDIR := file-$($(PKG)_VERSION)
$(PKG)_FILE := file-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := http://ftp.cross-lfs.org/pub/clfs/conglomeration/file/$($(PKG)_FILE)
-$(PKG)_URL_2 := ftp://ftp.astron.com/pub/file/$($(PKG)_FILE)
+$(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)_DEPS := gcc libgnurx
define $(PKG)_UPDATE
- $(WGET) -q -O- 'ftp://ftp.astron.com/pub/file/' | \
+ $(WGET) -q -O- 'https://distfiles.macports.org/file/' | \
grep 'file-' | \
$(SED) -n 's,.*file-\([0-9][^>]*\)\.tar.*,\1,p' | \
tail -1