Created attachment 176614 [details]
error messages when I tried "make fetch" on devel/noweb
The master site of devel/noweb (ftp://www.eecs.harvard.edu) employs extended passive mode. Therefore we have to use command EPRT instead of PORT. However, fetch(1) doesn't support extended passive mode and failed to connect to the master site.
ftp(1) supports extended passive mode (and has the commands "EPSV" and "EPRT"). So I tried add the following two lines into Makefile and fetch distfiles.
However, I got errors described in the attached file "noweb_errors.txt" because ports(7) appends the option "-S" which is not available for ftp(1).
I'm afraid that I don't have any patch to resolve this issue. I think there are two options as follows:
1. append functions for extended passive mode into libfetch,
2. revise ports/Mk/Scripts/do-fetch.sh to avoid option "-S"
Unfortunately, I don't have enough skill to do those. I hope that this article would be helpful.
DISABLE_SIZE does that for you. If you use this port, it would be nice of you to contact the upstream and ask them to provide working (preferrably, plain http) mirror.
A commit references this bug:
Date: Thu Dec 29 13:03:32 UTC 2016
New revision: 429905
- Fix fetch: the only ftp MASTER_SITE requires extended passive mode support from fetcher, so use ftp(1) to fetch
Submitted by: firstname.lastname@example.org