Page MenuHomeFreeBSD

D28784.diff
No OneTemporary

D28784.diff

Index: head/www/Makefile
===================================================================
--- head/www/Makefile
+++ head/www/Makefile
@@ -227,6 +227,7 @@
SUBDIR += gtkhtml4
SUBDIR += guacamole-client
SUBDIR += guile-www
+ SUBDIR += gurl
SUBDIR += gwsocket
SUBDIR += h2o
SUBDIR += h2o-devel
Index: head/www/gurl/Makefile
===================================================================
--- head/www/gurl/Makefile
+++ head/www/gurl/Makefile
@@ -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 <bsd.port.mk>
Index: head/www/gurl/distinfo
===================================================================
--- head/www/gurl/distinfo
+++ head/www/gurl/distinfo
@@ -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
Index: head/www/gurl/pkg-descr
===================================================================
--- head/www/gurl/pkg-descr
+++ head/www/gurl/pkg-descr
@@ -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

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 27, 10:09 PM (15 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29043177
Default Alt Text
D28784.diff (1 KB)

Event Timeline