From owner-dev-commits-ports-all@freebsd.org Mon Aug 23 08:13:07 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E99E066681A; Mon, 23 Aug 2021 08:13:07 +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 4GtQ3R69LPz3PZm; Mon, 23 Aug 2021 08:13:07 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 BBF1A11093; Mon, 23 Aug 2021 08:13:07 +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 17N8D7H3075641; Mon, 23 Aug 2021 08:13:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17N8D7Ur075640; Mon, 23 Aug 2021 08:13:07 GMT (envelope-from git) Date: Mon, 23 Aug 2021 08:13:07 GMT Message-Id: <202108230813.17N8D7Ur075640@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 4c31ba907d01 - main - www/h2c: Add a new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4c31ba907d019165606b96b0f636bbf68e1e0c5a Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 08:13:08 -0000 The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c31ba907d019165606b96b0f636bbf68e1e0c5a commit 4c31ba907d019165606b96b0f636bbf68e1e0c5a Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-08-23 06:05:05 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-08-23 08:13:07 +0000 www/h2c: Add a new port h2c stands for headers 2 curl. Provided a set of HTTP request headers, it outputs the curl command line for generating the desired request. WWW: https://curl.se/h2c/ --- www/Makefile | 1 + www/h2c/Makefile | 25 +++++++++++++++++++++++++ www/h2c/distinfo | 3 +++ www/h2c/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) diff --git a/www/Makefile b/www/Makefile index fe5854b5cbb9..c7ca045a6dc5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -221,6 +221,7 @@ SUBDIR += guile-www SUBDIR += gurl SUBDIR += gwsocket + SUBDIR += h2c SUBDIR += h2o SUBDIR += h2o-devel SUBDIR += habari diff --git a/www/h2c/Makefile b/www/h2c/Makefile new file mode 100644 index 000000000000..c3489031f0b0 --- /dev/null +++ b/www/h2c/Makefile @@ -0,0 +1,25 @@ +PORTNAME= h2c +DISTVERSION= 1.0 +CATEGORIES= www + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Provided a set of HTTP request headers, output a curl command line + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 shebangfix +USE_GITHUB= yes +GH_ACCOUNT= curl +USE_PERL5= run +SHEBANG_FILES= ${PORTNAME} + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin + +.include diff --git a/www/h2c/distinfo b/www/h2c/distinfo new file mode 100644 index 000000000000..4f9f71410539 --- /dev/null +++ b/www/h2c/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1629697915 +SHA256 (curl-h2c-1.0_GH0.tar.gz) = 1c5e4d76131abb5151c89cc54945256509dad9d12cab36205aa5bcd7f8a311af +SIZE (curl-h2c-1.0_GH0.tar.gz) = 6418 diff --git a/www/h2c/pkg-descr b/www/h2c/pkg-descr new file mode 100644 index 000000000000..fbd8e6a5eaad --- /dev/null +++ b/www/h2c/pkg-descr @@ -0,0 +1,4 @@ +h2c stands for headers 2 curl. Provided a set of HTTP request headers, +it outputs the curl command line for generating the desired request. + +WWW: https://curl.se/h2c/