[Bug 214206] Couldn't fetch distfiles of devel/noweb

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 4 11:17:43 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214206

            Bug ID: 214206
           Summary: Couldn't fetch distfiles of devel/noweb
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: une at edu.hkg.ac.jp

Created attachment 176614
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176614&action=edit
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.  

FETCH_CMD=      /usr/bin/ftp
FETCH_ARGS=

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" 
   when FETCH_CMD=="/usr/bin/ftp".

Unfortunately, I don't have enough skill to do those.  I hope that this article
would be helpful.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list