Bug 292318 - shells/mksh fails to fetch from mastersites
Summary: shells/mksh fails to fetch from mastersites
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-10 03:36 UTC by Mark Linimon
Modified: 2026-03-02 18:08 UTC (History)
2 users (show)

See Also:
schaiba: maintainer-feedback+


Attachments
Updates to a TLS 1.2 mirror, after speaking to the developer (486 bytes, patch)
2026-01-12 14:14 UTC, Rares Aioanei
schaiba: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2026-01-10 03:36:35 UTC
Although I have not yet investigated more thoroughly (I was looking at
metadata in another Problem Report, the MASTER_SITES seem to be inactive:

=> mksh-R59c.tgz doesn't seem to exist in /home/freebsd/freebsd-ports/distfiles.
=> Attempting to fetch https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R59c.tgz
0020619718390000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:/usr/src/crypto/openssl/ssl/statem/extensions.c:894:
fetch: https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R59c.tgz: Authentication error
=> Attempting to fetch https://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-R59c.tgz
fetch: https://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-R59c.tgz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/mksh-R59c.tgz
mksh-R59c.tgz                                          432 kB 1015 kBps    00s
Comment 1 Rares Aioanei 2026-01-10 12:01:32 UTC
Thanks for opening the issue. Indeed I can confirm it, most likely due to the site not supporting modern security protocols, such as TLS 1.2 . I will bring this to the attention of the developer.
Comment 2 Rares Aioanei 2026-01-12 14:14:17 UTC
Created attachment 267083 [details]
Updates to a TLS 1.2 mirror, after speaking to the developer
Comment 3 Yusuf Yaman freebsd_committer freebsd_triage 2026-02-27 14:27:35 UTC
Hi,

(In reply to Rares Aioanei from comment #2)
Thank you for your submission. In the patch there is no need to add "mksh-R59c.tgz" to end of the new URL since it's the same as $DISTNAME value. I also have seen that allbsd.org URL (the second MASTER_SITE) still works fine, so I have only changed the first dead URL with the new one you provided in my patch from here:

https://reviews.freebsd.org/D55543

I am waiting for your approval of the new patch.

Thank you.
Comment 4 Rares Aioanei 2026-03-02 08:37:01 UTC
(In reply to Yusuf Yaman from comment #3)
Approved.
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-03-02 18:07:19 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fe05b2a0e098632c9531e48dcab476ad60467de

commit 8fe05b2a0e098632c9531e48dcab476ad60467de
Author:     Rares Aioanei <schaiba@gmail.com>
AuthorDate: 2026-02-26 21:07:56 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-03-02 18:05:16 +0000

    shells/mksh: Fix MASTER_SITES

    Replace 1st site with up-to-date one and keep
    the 2nd site as a potential backup for now.

    PR:             292318
    Reported by:    linimon@
    Authored by:    schaiba@gmail.com (maintainer)
    Reviewed by:    osa, vvd (mentors)
    Approved by:    vvd (mentor)
    Differential Revision: https://reviews.freebsd.org/D55543

 shells/mksh/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Yusuf Yaman freebsd_committer freebsd_triage 2026-03-02 18:08:52 UTC
Fixed by review D55543, thank you.