pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
trurl: Import trurl-0.15 as wip/trurl
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Sep 2 17:25:27 2024 +0200
Changeset: 7d21befd6876397037595b6173b0b824e72d12d6
Added Files:
trurl/DESCR
trurl/Makefile
trurl/PLIST
trurl/distinfo
Log Message:
trurl: Import trurl-0.15 as wip/trurl
trurl is a tool in a similar spirit of tr but for URLs. Here, 'tr'
stands for translate or transpose.
trurl is a command line tool that parses and manipulates URLs, 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.
trurl uses libcurl URL parser and will thus parse and understand URLs
exactly the same as curl the command line tool does - making it the
perfect companion tool.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7d21befd6876397037595b6173b0b824e72d12d6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
trurl/DESCR | 14 ++++++++++++++
trurl/Makefile | 24 ++++++++++++++++++++++++
trurl/PLIST | 3 +++
trurl/distinfo | 5 +++++
4 files changed, 46 insertions(+)
diffs:
diff --git a/trurl/DESCR b/trurl/DESCR
new file mode 100644
index 0000000000..1f18bcd4d7
--- /dev/null
+++ b/trurl/DESCR
@@ -0,0 +1,14 @@
+trurl is a tool in a similar spirit of tr but for URLs. Here, 'tr'
+stands for translate or transpose.
+
+trurl is a command line tool that parses and manipulates URLs, 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.
+
+trurl uses libcurl URL parser and will thus parse and understand URLs
+exactly the same as curl the command line tool does - making it the
+perfect companion tool.
diff --git a/trurl/Makefile b/trurl/Makefile
new file mode 100644
index 0000000000..8ca3494b61
--- /dev/null
+++ b/trurl/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME= trurl-0.15
+CATEGORIES= www
+MASTER_SITES= https://curl.se/trurl/dl/
+
+MAINTAINER= leot%NetBSD.org@localhost
+HOMEPAGE= https://curl.se/trurl/
+COMMENT= Command line tool for URL parsing and manipulation
+# not completely, but near enough
+LICENSE= mit
+
+USE_TOOLS+= gmake
+
+INSTALL_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+
+BUILD_TARGET= trurl
+TEST_TARGET= test
+
+PYTHON_FOR_BUILD_ONLY= test
+
+.include "../../lang/python/application.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/trurl/PLIST b/trurl/PLIST
new file mode 100644
index 0000000000..97b9cc57ee
--- /dev/null
+++ b/trurl/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/trurl
+man/man1/trurl.1
diff --git a/trurl/distinfo b/trurl/distinfo
new file mode 100644
index 0000000000..8a96bdd1ab
--- /dev/null
+++ b/trurl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (trurl-0.15.tar.gz) = 9d561502d27ca5d99a9600fdf7dc65a7beefa0b6ec3e08828bf81b4607f4942f
+SHA512 (trurl-0.15.tar.gz) = 5d3a5bd659e361b73bc0518d1faf95c38f067fde6206624711018a6e5d8d4de88059ac3ee3c8cfe386535d8c28c1e343ce8182d691483ecdf3457af30485b08a
+Size (trurl-0.15.tar.gz) = 53909 bytes
Home |
Main Index |
Thread Index |
Old Index