FreeBSD Bugzilla – Attachment 241424 Details for
Bug 270770
www/trurl: new port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git format-patch, www/trurl
0001-www-trurl-new-port.patch (text/plain), 3.69 KB, created by
Vidar Karlsen
on 2023-04-11 21:04:23 UTC
(
hide
)
Description:
git format-patch, www/trurl
Filename:
MIME Type:
Creator:
Vidar Karlsen
Created:
2023-04-11 21:04:23 UTC
Size:
3.69 KB
patch
obsolete
>From 24db1d19c76a9452b0dfc06f5e398f6cf644e67e Mon Sep 17 00:00:00 2001 >From: Vidar Karlsen <vidar@karlsen.tech> >Date: Tue, 11 Apr 2023 22:49:53 +0200 >Subject: [PATCH] www/trurl: new port > >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 >--- > www/Makefile | 1 + > www/trurl/Makefile | 36 ++++++++++++++++++++++++++++++++++++ > www/trurl/distinfo | 3 +++ > www/trurl/pkg-descr | 15 +++++++++++++++ > 4 files changed, 55 insertions(+) > create mode 100644 www/trurl/Makefile > create mode 100644 www/trurl/distinfo > create mode 100644 www/trurl/pkg-descr > >diff --git a/www/Makefile b/www/Makefile >index 707e47291172..1dfa4135a557 100644 >--- a/www/Makefile >+++ b/www/Makefile >@@ -2314,6 +2314,7 @@ > SUBDIR += trafficserver > SUBDIR += transmission-web > SUBDIR += transproxy >+ SUBDIR += trurl > SUBDIR += tt-rss > SUBDIR += tuifeed > SUBDIR += tusc >diff --git a/www/trurl/Makefile b/www/trurl/Makefile >new file mode 100644 >index 000000000000..26a589d04aa2 >--- /dev/null >+++ b/www/trurl/Makefile >@@ -0,0 +1,36 @@ >+PORTNAME= trurl >+DISTVERSIONPREFIX= ${PORTNAME}- >+DISTVERSION= 0.4 >+CATEGORIES= www >+ >+MAINTAINER= vidar@karlsen.tech >+COMMENT= Parses, manipulates and outputs URLs and parts of URLs >+WWW= https://curl.se/trurl >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/COPYING >+ >+LIB_DEPENDS= libcurl.so:ftp/curl >+ >+USES= perl5 >+ >+USE_GITHUB= yes >+GH_ACCOUNT= curl >+USE_PERL5= test >+ >+TEST_TARGET= test >+ >+CFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib >+ >+PLIST_FILES= bin/trurl share/man/man1/trurl.1.gz >+ >+post-patch: >+ ${REINPLACE_CMD} 's|LDLIBS = -lcurl|LDLIBS = ${LDFLAGS} -lcurl|' \ >+ ${WRKSRC}/Makefile >+ ${REINPLACE_CMD} 's|CFLAGS :=|CFLAGS := ${CFLAGS}|' ${WRKSRC}/Makefile >+ >+do-build: >+ cd ${WRKSRC} && make >+ >+.include <bsd.port.mk> >diff --git a/www/trurl/distinfo b/www/trurl/distinfo >new file mode 100644 >index 000000000000..b9ed376ae699 >--- /dev/null >+++ b/www/trurl/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1681220884 >+SHA256 (curl-trurl-trurl-0.4_GH0.tar.gz) = e78f2397e9e60a73b106c12ef4cfd1fc766f50b36209c38df8a77cda48133e47 >+SIZE (curl-trurl-trurl-0.4_GH0.tar.gz) = 23602 >diff --git a/www/trurl/pkg-descr b/www/trurl/pkg-descr >new file mode 100644 >index 000000000000..77f110516274 >--- /dev/null >+++ b/www/trurl/pkg-descr >@@ -0,0 +1,15 @@ >+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. >-- >2.39.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270770
:
241424
|
242476