Bug 242152 - The net/delegate port mistakenly marked as broken: unfetchable
Summary: The net/delegate port mistakenly marked as broken: unfetchable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-22 08:57 UTC by shrdlu19
Modified: 2019-11-24 19:04 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danilo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shrdlu19 2019-11-22 08:57:55 UTC
I encountered the inability to set the net/delegate port, and found that it was marked as "broken: unfetchable".
I edited the Makefile and deleted the line

BROKEN=         unfetchable

After that, the port safely downloaded, compiled and installed.

What is the reason for marking a port as broken?
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-11-24 06:29:33 UTC
(In reply to shrdlu19 from comment #0)

A number of ports were recently marked BROKEN because they no longer fetch from the listed mastersites.  FreeBSD.org should not be the only place that a distfile is available -- it should be from an author or other upstream maintainer.

In this case it seems that this is exactly the case -- although it may just be that the ftp:// part has been taken down.  I suggest looking through http://www.delegate.org/delegate/download/ to see if there is an alternate method.
Comment 2 shrdlu19 2019-11-24 07:40:02 UTC
(In reply to Mark Linimon from comment #1)

I looked again at the contents of the net/delegate port's Makefile. The mastersite address is ftp://ftp.delegate.org/pub/DeleGate/, and it is available.
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2019-11-24 17:56:49 UTC
The download is failing because it seems that the FTP server is not working with passive FTP connections. Adding this "FETCH_ARGS= -Fr --no-passive" to the Makefile fixed the issue.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-11-24 19:03:26 UTC
A commit references this bug:

Author: danilo
Date: Sun Nov 24 19:02:59 UTC 2019
New revision: 518351
URL: https://svnweb.freebsd.org/changeset/ports/518351

Log:
  - Add --no-passive to FETCH_ARGS. It seems that this FTP server doesn't work with passive FTP
  - Remove BROKEN (unfetchable)

  PR:		242152

Changes:
  head/net/delegate/Makefile
Comment 5 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2019-11-24 19:04:26 UTC
Fixed. Thanks!