Created attachment 241390 [details] Patch for tnftp - Switch to DISTVERSION as suggested by Porters Handbook - Make use of NetBSD's CDN and add a few additional mirrors
(In reply to Daniel Engberg from comment #0) > Switch to DISTVERSION as suggested by Porters Handbook Reading handbook again, it seams that we should use PORTVERSION in specific cases like when it contains letters or for compability issues. OK > Make use of NetBSD's CDN and add a few additional mirrors Nice to have CDN here and switch from ftp:// to http:// in some links. OK While we are here, do you have a suggestion for WWW:? From README: WHAT IS TNFTP? -------------- `tnftp' is a `port' of the NetBSD FTP client to other systems. See http://www.NetBSD.org/ for more details about NetBSD. So, I'm thinking adding WWW: https://www.netbsd.org/ Any thoughts? Cheers
(In reply to Nuno Teixeira from comment #1) There's a table in Porters Handbook that covers most scenarios, search for "Table 2. Package Naming Examples". As for WWW most other distros seems to use https://ftp.netbsd.org/pub/NetBSD/misc/tnftp/ Best regards, Daniel
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d6dc94b6f986651c9fcfe6721b02ef5e2e988d2 commit 7d6dc94b6f986651c9fcfe6721b02ef5e2e988d2 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-04-10 09:29:08 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-04-10 09:32:11 +0000 ftp/tnftp: Add mirrors and switch to DISTVERSION - Switch to DISTVERSION as suggested by Porters Handbook - Make use of NetBSD's CDN and add a few additional mirrors while here: - Add WWW url PR: 270732 ftp/tnftp/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Committed, thanks!