Bug 273302 - net/miniupnpc: Unable to fetch distinfo for 2.2.5—move to GH
Summary: net/miniupnpc: Unable to fetch distinfo for 2.2.5—move to GH
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 01:31 UTC by Alastair Hogge
Modified: 2023-08-23 19:22 UTC (History)
2 users (show)

See Also:
dinoex: maintainer-feedback+


Attachments
Fetch distfile from Github, and do some Makefile maintenance (1.40 KB, patch)
2023-08-23 01:31 UTC, Alastair Hogge
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2023-08-23 01:31:28 UTC
Created attachment 244293 [details]
Fetch distfile from Github, and do some Makefile maintenance

Hello,

miniupnp.free.fr. is down (again?), thus unreliable to fetch distfile for building. Attached is a diff to move the Port to GitHub for distfile fetching, including some minor port{clippy,fmt,lint} maintenance.

Thanks.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2023-08-23 04:19:12 UTC
unable to reproduce your problem:

# make clean fetch
===>  Cleaning for miniupnpc-current-2.2.5
===>  License BSD3CLAUSE accepted by the user
===>   miniupnpc-current-2.2.5 depends on file: /usr/local/sbin/pkg - found
=> miniupnpc-2.2.5.tar.gz doesn't seem to exist in /usr/ports/current/miniupnpc/.
=> Attempting to fetch http://miniupnp.free.fr/files/miniupnpc-2.2.5.tar.gz
miniupnpc-2.2.5.tar.gz                                 101 kB 2700 kBps    00s
===> Fetching all distfiles required by miniupnpc-current-2.2.5 for building
Comment 2 Alastair Hogge 2023-08-23 04:36:46 UTC
(In reply to Dirk Meyer from comment #1)

Hmm fair enuf, thanks for looking at that.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2023-08-23 04:39:45 UTC
Works for me too but I guess we could also add https://miniupnp.tuxfamily.org/files/miniupnpc-2.2.5.tar.gz as mirror?
Comment 4 Alastair Hogge 2023-08-23 05:19:18 UTC
Investigated the network and found that packets go missing at my ISP (Exetel in Perth, .au), I am able to revolve the name or traceroute the number from two other networks, one int Perth, and one in Sydney.
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-08-23 19:17:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9120af37a6891433f3655105ff33cae9a088f9ae

commit 9120af37a6891433f3655105ff33cae9a088f9ae
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-08-23 19:16:46 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-08-23 19:16:46 +0000

    net/miniupnpc: extend MASTER_SITES

    PR: 273302

 net/miniupnpc/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 6 Dirk Meyer freebsd_committer freebsd_triage 2023-08-23 19:22:52 UTC
The suggested distfile from Github is much bigger.
It contains the client and server and more stuff.

# ls -l

  103654 12 Juni 01:14 /usr/ports/distfiles/miniupnpc-2.2.5.tar.gz
  455893 23 Aug. 07:51 /usr/ports//miniupnp-miniupnp-2.2.5-miniupnpc_2_2_5_GH0.tar.gz

# ls miniupnp-miniupnpc_2_2_5/
CODE_OF_CONDUCT    README             minissdpd          miniupnpc-async    miniupnpd
CONTRIBUTING       SECURITY.md        miniupnp.podspec   miniupnpc-libevent
LICENSE            appveyor.yml       miniupnpc          miniupnpc-libuv

I will stay with the smaller releases for now