Created attachment 241424 [details] git format-patch, www/trurl Description: trurl parses, manipulates and outputs URLs and parts of URLs. It uses the RFC 3986 definition of URLs and it uses libcurl's URL parser to do so, which includes a few "extensions". The URL support is limited to "hierarchical" URLs, the ones that use "://" separators after the scheme. Typically you pass in one or more URLs and decide what of that you want output. Posssibly modifying the URL as well. trurl knows URLs and every URL consists of up to ten separate and independent "components". These components can be extracted, removed and updated with trurl and they are referred to by their respective names: scheme, user, password, options, host, port, path, query, fragment and zoneid. WWW: https://curl.se/trurl QA: portclippy ok portlint ok poudriere testport 13.1-amd64 ok make test ok
I got my jails in order and got poudriere testport done on 12.4-i386, 12.4-amd64, 13.2-amd64. 13.2-arm64, all ok.
I'll take this one
Created attachment 242476 [details] New patch for 0.7 Hello Vidar! Before notice this PR I started working on trurl port and submitted a bugfix to upstream to use DESTDIR only on install targets. It made required changes to be small. Please take a look at proposed diff to be used instead of your original one and let me know if you find any problems. Otherwise, I'll get it committed and you set as maintainer. Thank you for your contribution!
(In reply to Renato Botelho from comment #3) Looks good to me! Thank you for the improvements, Renato!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=10debe049c2708ccd700e402d9007b07b338296c commit 10debe049c2708ccd700e402d9007b07b338296c Author: Vidar Karlsen <vidar@karlsen.tech> AuthorDate: 2023-05-27 12:06:05 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2023-05-30 11:05:22 +0000 www/trurl: New port trurl parses, manipulates and outputs URLs and parts of URLs. It uses the RFC 3986 definition of URLs and it uses libcurl's URL parser to do so, which includes a few "extensions". The URL support is limited to "hierarchical" URLs, the ones that use "://" separators after the scheme. Typically you pass in one or more URLs and decide what of that you want output. Posssibly modifying the URL as well. trurl knows URLs and every URL consists of up to ten separate and independent "components". These components can be extracted, removed and updated with trurl and they are referred to by their respective names: scheme, user, password, options, host, port, path, query, fragment and zoneid. PR: 270770 Sponsored by: <Rubicon Communications, LLC ("Netgate") www/Makefile | 1 + www/trurl/Makefile (new) | 33 +++++++++++++++++++++++++++++++++ www/trurl/distinfo (new) | 3 +++ www/trurl/pkg-descr (new) | 15 +++++++++++++++ 4 files changed, 52 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f25b5a4e9ace69e85390d02ae6587b72ebe9e15 commit 6f25b5a4e9ace69e85390d02ae6587b72ebe9e15 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2023-05-30 13:57:03 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2023-05-30 13:58:27 +0000 misc/trurl: Update to 0.7 - Update to 0.7 - Honor global CFLAGS and LDFLAGS - Introduce "test" target (based on [1]) PR: 270770 [1] misc/trurl/Makefile | 16 ++++++++++++---- misc/trurl/distinfo | 6 +++--- misc/trurl/files/patch-Makefile (new) | 11 +++++++++++ 3 files changed, 26 insertions(+), 7 deletions(-)