git: 3eabef8641db - main - www/tusc: add new port

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Sun, 31 Oct 2021 23:12:18 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3eabef8641db64178929541801693a04c46f04cf

commit 3eabef8641db64178929541801693a04c46f04cf
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2021-10-31 23:11:36 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2021-10-31 23:11:36 +0000

    www/tusc: add new port
    
    Command line (tusc) is a small static binary for both server and
    client of tus resumable upload protocol.
---
 www/tusc/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 www/tusc/distinfo  | 21 +++++++++++++++++++++
 www/tusc/pkg-descr |  4 ++++
 3 files changed, 59 insertions(+)

diff --git a/www/tusc/Makefile b/www/tusc/Makefile
new file mode 100644
index 000000000000..f748ac1ddcfe
--- /dev/null
+++ b/www/tusc/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	tusc
+DISTVERSION=	0.4.7
+CATEGORIES=	www
+
+MAINTAINER=	osa@FreeBSD.org
+COMMENT=	TUS Command line client and server
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jackhftang
+GH_TUPLE=	\
+		Acconut:lockfile:v1.1.0:acconut_lockfile/vendor/gopkg.in/Acconut/lockfile.v1 \
+		bmizerany:pat:6226ea591a40:bmizerany_pat/vendor/github.com/bmizerany/pat \
+		docopt:docopt.go:ee0de3bc6815:docopt_docopt_go/vendor/github.com/docopt/docopt_go \
+		dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
+		eventials:go-tus:9db47421f6a0:eventials_go_tus/vendor/github.com/eventials/go-tus \
+		golang:net:da137c7871d7:golang_net/vendor/golang.org/x/net \
+		golang:snappy:2e65f85255db:golang_snappy/vendor/github.com/golang/snappy \
+		syndtr:goleveldb:v1.0.0:syndtr_goleveldb/vendor/github.com/syndtr/goleveldb \
+		tus:tusd:30811b6579c5:tus_tusd/vendor/github.com/tus/tusd
+
+GO_TARGET=	cmd/tusc.go:tusc
+
+PLIST_FILES=	bin/tusc
+
+post-extract:
+	( cd ${WRKSRC} && ${MV} vendor/github.com/docopt/docopt_go \
+		vendor/github.com/docopt/docopt-go )
+
+.include <bsd.port.mk>
diff --git a/www/tusc/distinfo b/www/tusc/distinfo
new file mode 100644
index 000000000000..f204b8664277
--- /dev/null
+++ b/www/tusc/distinfo
@@ -0,0 +1,21 @@
+TIMESTAMP = 1635718837
+SHA256 (jackhftang-tusc-0.4.7_GH0.tar.gz) = 46e220b12742c2b87b062a45e82bbbe3d9a360e278a1ac8743ea6c35d1d8ac1e
+SIZE (jackhftang-tusc-0.4.7_GH0.tar.gz) = 11049
+SHA256 (Acconut-lockfile-v1.1.0_GH0.tar.gz) = 3eddfde3e46bd7c90907f59785c0d9e6d5d9febb811966ecaa7ed5f190ab320d
+SIZE (Acconut-lockfile-v1.1.0_GH0.tar.gz) = 5871
+SHA256 (bmizerany-pat-6226ea591a40_GH0.tar.gz) = a6504edb0215f793394b2cd15d6711d760446e7e5964720b0aa7848f66204384
+SIZE (bmizerany-pat-6226ea591a40_GH0.tar.gz) = 6313
+SHA256 (docopt-docopt.go-ee0de3bc6815_GH0.tar.gz) = ba02d30f7be6ff0f486c9ea8cacd84255d643cf58397a6926b805c76ed6da43a
+SIZE (docopt-docopt.go-ee0de3bc6815_GH0.tar.gz) = 30673
+SHA256 (dustin-go-humanize-v1.0.0_GH0.tar.gz) = e4540bd50ac855143b4f2e509313079c50cf5d8774f09cc10dbca5ae9803d8ba
+SIZE (dustin-go-humanize-v1.0.0_GH0.tar.gz) = 17260
+SHA256 (eventials-go-tus-9db47421f6a0_GH0.tar.gz) = 12bd002c8f09856813fe127d18b1d8a8b12a0bf7a5ee971c7ddbd74d76ca473d
+SIZE (eventials-go-tus-9db47421f6a0_GH0.tar.gz) = 7774
+SHA256 (golang-net-da137c7871d7_GH0.tar.gz) = 543c21f0d8b70fbfadb8b629e74ed620daf8514f94d7c0bf743e68ab9252d4ab
+SIZE (golang-net-da137c7871d7_GH0.tar.gz) = 1099325
+SHA256 (golang-snappy-2e65f85255db_GH0.tar.gz) = 3f0d9ed5fbea9b10b33c38321afe9a9e8a45dc3f0dbed9c3c1b640e69da05f76
+SIZE (golang-snappy-2e65f85255db_GH0.tar.gz) = 62580
+SHA256 (syndtr-goleveldb-v1.0.0_GH0.tar.gz) = c80191f7f77b41d6cb3d1c6de1d42a9b8177656ee49c256d2df2b95a893cf8b8
+SIZE (syndtr-goleveldb-v1.0.0_GH0.tar.gz) = 142710
+SHA256 (tus-tusd-30811b6579c5_GH0.tar.gz) = da68acdb0bb601817a245319e6917e888eea4bf911b2a3f609e635d124651cdd
+SIZE (tus-tusd-30811b6579c5_GH0.tar.gz) = 2360511
diff --git a/www/tusc/pkg-descr b/www/tusc/pkg-descr
new file mode 100644
index 000000000000..ea580beff71c
--- /dev/null
+++ b/www/tusc/pkg-descr
@@ -0,0 +1,4 @@
+TUS Command line (tusc) is a small static binary for both server
+and client of tus resumable upload protocol.
+
+WWW: https://github.com/jackhftang/tusc