summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-01-20 13:15:03 (EST)
committer P. J. McDermott <pjm@nac.net>2014-01-20 13:15:03 (EST)
commitf7e98d5eefc65949b867ced55a5d7d9be54402e9 (patch)
tree6ade455878cc22502316615a4017895f04a6dd6f
parent7932e013d922fcfc74183bd82bfd920e077b41a1 (diff)
source.mk: Avoid PASV error on IANA FTP site.
In passive mode, IANA's FTP server is now rejecting RETR commands with a 425 error: $ nc ftp.iana.org 21 220 IANA FTP Server USER anonymous 331 Please specify the password. PASS 230 Login successful. CWD /tz/releases 250 Directory successfully changed. PASV 227 Entering Passive Mode (192,0,32,8,38,63) [at this point I connected to 192.0.32.8 on port 9791] RETR tzcode2013i.tar.gz 425 Security: Bad IP connecting. 500 OOPS: close 500 OOPS: child died
-rw-r--r--source.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source.mk b/source.mk
index 87681c4..a16fb89 100644
--- a/source.mk
+++ b/source.mk
@@ -1,7 +1,7 @@
# The tz archives have no top-level directory, as opkbuild requires.
upstream_archive = $(OPK_SOURCE)$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
-upstream_url = ftp://ftp.iana.org/tz/releases/$(upstream_archive)
+upstream_url = https://www.iana.org/time-zones/repository/releases/$(upstream_archive)
source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz
keys = 62AA7E34