From nobody Tue May 30 11:06:22 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVqMf3phDz4XJcC; Tue, 30 May 2023 11:06:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVqMf3Myxz4403; Tue, 30 May 2023 11:06:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685444782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DRpZM1EWaB46XVC/Te5R/r4NN2NsQeLQldk93n1xwk8=; b=qzV6BMO0lMIlEwy83roM4vfED8mGAemprq9Qn4Un+tmruoQbZPIVJWSa4CIcMhIULiOfQ4 G//tkMkB6/fJjcyXD3ATjtsGwr2lfzdBBKqbw4EzeAgMkftUrdaWccHKWJtN5CL8E9CVf6 6rvEF04hsuJvJXyLGdY8N5wibRiQq7gPGtvTB56VSDpJT1xg8NX/ifNAnBveG2BhLi707N +jg1V/x/jEH+f20VcC9LsnRbCr5O185PfpHOnR/fyM2AxTVvgDbMB1aHQIVs9D+vGGAbZk 7V8zXw5BJljR99a5Pd1jaNd2vBBliW8MZby4PJaMCYQP3TaDhDbd03FPLgiFYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685444782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DRpZM1EWaB46XVC/Te5R/r4NN2NsQeLQldk93n1xwk8=; b=U0XqxtdQysrpNqCAC/Qnkzw9FurFKcHZtToE+XgIbOQx3b8fVKFFwt3H0VJxS5WMdQlFAv Wb5UVlNNIUsfKps1BUcO47ZCpjTTfDqLYEwM7p2Z2/hmCY+H/ylswiX2jHG735FKWtd4Nr OGluClFlUpmS0kDpUEttcAiAeo3gJIbA22XHPXkusjooNyISE2qL/N/BIRcNdZOP8H96Pe U4dHhPZdRS1IfhcGqTkzZOPkryn6BMglaZSl8dp2jCeMYSA5bczourVc76RDdcU7cSlQLi 8kjypF7B8+SqvIwPJBLg1sQsn72yeoFAKYpo/W/bP+S7Z4ebFQSu7f5ukYqUEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685444782; a=rsa-sha256; cv=none; b=ZkxRlIsijwA8o5G37BGWI7youBPmQ/A7bAhXKAUgkep1WMh3dWkCgZCGj56IVdlQMPkYD2 vVGuUjTIFFjgWk7DkQWq2FKz2eBLb0BaHtV520u4HHh9ns7dSBXbdLIziznw+PlurreRHw MRcmjMdzAHHH6qW+0hO3zX2jyWDEAm//rbBaXckQ0xussjE227mqiycqjA6W/U4+Banuvz 8CfASvYHvt3iag19i1h4Rd0JrkRq7h/tuzxCQq9690YXaGbB2LSCDs3Zwyuzg6dgxvgnZP 5IUjPb3EYwq8UfbZ30qvfWOE4M0OufE8X5kXeRHJHi7jaggDZB1NqWHVVAl9KQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QVqMf2QSRzrFj; Tue, 30 May 2023 11:06:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34UB6M5j020071; Tue, 30 May 2023 11:06:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34UB6Mu3020070; Tue, 30 May 2023 11:06:22 GMT (envelope-from git) Date: Tue, 30 May 2023 11:06:22 GMT Message-Id: <202305301106.34UB6Mu3020070@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Renato Botelho Subject: git: 10debe049c27 - main - www/trurl: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 10debe049c2708ccd700e402d9007b07b338296c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/ports/commit/?id=10debe049c2708ccd700e402d9007b07b338296c commit 10debe049c2708ccd700e402d9007b07b338296c Author: Vidar Karlsen AuthorDate: 2023-05-27 12:06:05 +0000 Commit: Renato Botelho 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: 0:devel/py-packaging@${PY_FLAVOR} + +USES= python:test +USE_GITHUB= yes +GH_ACCOUNT= curl + +MAKE_ENV= MANDIR=${PREFIX}/man/man1 +ALL_TARGET= ${PORTNAME} +TEST_TARGET= test + +PLIST_FILES= bin/trurl \ + man/man1/trurl.1.gz + +post-patch: + @${REINPLACE_CMD} -e '/^CFLAGS/s/ *= */ += /' ${WRKSRC}/Makefile + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/trurl + +.include diff --git a/www/trurl/distinfo b/www/trurl/distinfo new file mode 100644 index 000000000000..a82443a33873 --- /dev/null +++ b/www/trurl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685363840 +SHA256 (curl-trurl-trurl-0.7_GH0.tar.gz) = 11616a4c3d255ff3347cb8fc65ea4f890526f327800ec556d78e88881e2cbfa7 +SIZE (curl-trurl-trurl-0.7_GH0.tar.gz) = 36624 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.