Index | Thread | Search

From:
David Leadbeater <dgl@dgl.cx>
Subject:
[NEW] net/trurl
To:
ports@openbsd.org
Cc:
naddy@openbsd.org
Date:
Wed, 22 Oct 2025 16:37:59 +1100

Download raw body.

Thread
  • David Leadbeater:

    [NEW] net/trurl

[cc: naddy@ as curl maintainer]

I'm proposing a new port for trurl[1], a companion tool to curl for
url manipulation. Tested on 7.8-current on amd64, make test and
portcheck are good.

There was a previous try at this[2], but I made this from scratch as
there have been many changes. The patches are all for and from things
fixed upstream, so should go away once there is a release. ok?

minor: I put the license comment as "MIT" per the curl port, although
the curl license actually is the first paragraph from ISC (pre
"and/or") followed by a paragraph from MIT, which some places call its
own license.

David

---
trurl is a tool in a similar spirit of tr but for URLs. Here, 'tr' stands for
translate or transpose.

It is designed to help shell script authors everywhere. URLs are tricky to
parse and there are numerous security problems in software because of this.
trurl wants to help soften this problem by taking away the need for script and
command line authors everywhere to re-invent the wheel over and over.
---

[1]: https://curl.se/trurl/
[2]: https://marc.info/?l=openbsd-ports&m=168160930027203