aboutsummaryrefslogtreecommitdiff
path: root/net/cloudflared
diff options
context:
space:
mode:
Diffstat (limited to 'net/cloudflared')
-rw-r--r--net/cloudflared/Makefile31
-rw-r--r--net/cloudflared/distinfo3
-rw-r--r--net/cloudflared/pkg-descr8
3 files changed, 42 insertions, 0 deletions
diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile
new file mode 100644
index 000000000000..84047a791db9
--- /dev/null
+++ b/net/cloudflared/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= cloudflared
+DISTVERSION= 2019.11.0
+CATEGORIES= net www
+
+MAINTAINER= egypcio@FreeBSD.org
+COMMENT= Cloudflare's Argo Tunnel client
+
+LICENSE= cloudflare
+LICENSE_NAME= cloudflare
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= no-dist-sell no-pkg-sell
+
+RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
+
+USES= cpe go:modules
+
+USE_GITHUB= yes
+GH_ACCOUNT= cloudflare
+
+CPE_VENDOR= cloudflare
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_TARGET= ${GO_PKGNAME}/cmd/cloudflared
+GO_BUILDFLAGS+= -ldflags '-s -w -X main.Version=${PORTVERSION}'
+
+PLIST_FILES= bin/${PORTNAME}
+RESTRICTED= Not sure if we are allowed to redistribute it.
+
+.include <bsd.port.mk>
diff --git a/net/cloudflared/distinfo b/net/cloudflared/distinfo
new file mode 100644
index 000000000000..b5f4bb97ba4e
--- /dev/null
+++ b/net/cloudflared/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1573825365
+SHA256 (cloudflare-cloudflared-2019.11.0_GH0.tar.gz) = ac48a3667f8f697a6bf9d29b4e71efb6aa5d4ee7e39ec64665f4f87f1ad12908
+SIZE (cloudflare-cloudflared-2019.11.0_GH0.tar.gz) = 4672810
diff --git a/net/cloudflared/pkg-descr b/net/cloudflared/pkg-descr
new file mode 100644
index 000000000000..40316fea8c08
--- /dev/null
+++ b/net/cloudflared/pkg-descr
@@ -0,0 +1,8 @@
+cloudflared is the command-line client for Argo Tunnel, a tunneling daemon
+that proxies any local webserver through the cloudflare network.
+
+Argo Tunnel exposes applications running on your local web server, on any
+network with an Internet connection, without adding DNS records or configuring
+a firewall or router. It just works.
+
+WWW: https://developers.cloudflare.com/argo-tunnel/