From owner-svn-ports-all@freebsd.org Fri Feb 19 11:13:03 2021 Return-Path: Delivered-To: svn-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 C38095456F4; Fri, 19 Feb 2021 11:13:03 +0000 (UTC) (envelope-from dch@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 4DhppR5Chgz3nNX; Fri, 19 Feb 2021 11:13:03 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B71725FB; Fri, 19 Feb 2021 11:13:03 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11JBD3r0038264; Fri, 19 Feb 2021 11:13:03 GMT (envelope-from dch@FreeBSD.org) Received: (from dch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11JBD2Rt038259; Fri, 19 Feb 2021 11:13:02 GMT (envelope-from dch@FreeBSD.org) Message-Id: <202102191113.11JBD2Rt038259@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dch set sender to dch@FreeBSD.org using -f From: Dave Cottlehuber Date: Fri, 19 Feb 2021 11:13:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566045 - in head/www: . gurl X-SVN-Group: ports-head X-SVN-Commit-Author: dch X-SVN-Commit-Paths: in head/www: . gurl X-SVN-Commit-Revision: 566045 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2021 11:13:03 -0000 Author: dch Date: Fri Feb 19 11:13:02 2021 New Revision: 566045 URL: https://svnweb.freebsd.org/changeset/ports/566045 Log: www/gurl: new port of cURL-like tool in go, for humans. A cURL-like tool for humans, written in go. gURL can be used for testing, debugging, and generally interacting with HTTP servers. It makes using headers and JSON delightful. Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D28784 Added: head/www/gurl/ head/www/gurl/Makefile (contents, props changed) head/www/gurl/distinfo (contents, props changed) head/www/gurl/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Feb 19 10:18:18 2021 (r566044) +++ head/www/Makefile Fri Feb 19 11:13:02 2021 (r566045) @@ -227,6 +227,7 @@ SUBDIR += gtkhtml4 SUBDIR += guacamole-client SUBDIR += guile-www + SUBDIR += gurl SUBDIR += gwsocket SUBDIR += h2o SUBDIR += h2o-devel Added: head/www/gurl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/gurl/Makefile Fri Feb 19 11:13:02 2021 (r566045) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= gurl +DISTVERSION= 0.2.1 +CATEGORIES= www + +MAINTAINER= dch@FreeBSD.org +COMMENT= Terminal cURL-like HTTP tool with delightful JSON & header support + +LICENSE= APACHE20 + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= skunkwerks + +PLIST_FILES= bin/gurl + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gurl + # find ${WRKDIR}/target -name "bat.1" -exec cp {} ${WRKSRC}/doc/bat.1 \; + # ${INSTALL_MAN} ${WRKSRC}/doc/bat.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include Added: head/www/gurl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/gurl/distinfo Fri Feb 19 11:13:02 2021 (r566045) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613731022 +SHA256 (skunkwerks-gurl-0.2.1_GH0.tar.gz) = 7ae447cd8302a260c06521066437d2619edf97c5bff51c30910ec73fd8aaa5f7 +SIZE (skunkwerks-gurl-0.2.1_GH0.tar.gz) = 115018 Added: head/www/gurl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/gurl/pkg-descr Fri Feb 19 11:13:02 2021 (r566045) @@ -0,0 +1,14 @@ +command-line cURL-like tool for humans, written in go. gURL can be used +for testing, debugging, and generally interacting with HTTP servers. It +makes using headers and JSON a delight. + +A simple GET with custom header: +$ gurl httpbin.org/get x-header:custom + +An automatic choice of POST, with content-type and JSON body: +$ gurl httpbin.org/post bool=true key=value + +A PUT to HTTPS site from stdin: +$ gurl PUT https://httpbin.org/put < /etc/os-release + +WWW: https://github.com/skunkwerks/gurl