diff --git a/net/Makefile b/net/Makefile index 836e24a602b4..885bad92c7ce 100644 --- a/net/Makefile +++ b/net/Makefile @@ -94,6 +94,7 @@ SUBDIR += courier-authlib-ldap SUBDIR += courier-sox SUBDIR += cppzmq + SUBDIR += croc SUBDIR += cryptcat SUBDIR += csocks SUBDIR += ctrace diff --git a/net/croc/Makefile b/net/croc/Makefile new file mode 100644 index 000000000000..bd6c7bb53353 --- /dev/null +++ b/net/croc/Makefile @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= croc +PORTVERSION= 8.3.2 +DISTVERSIONPREFIX= v +CATEGORIES= net + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Tool to simply and securely transfer files and folders + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +USE_GITHUB= yes +GH_ACCOUNT= schollz +GH_TUPLE= cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \ + cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + denisbrodbeck:machineid:v1.0.1:denisbrodbeck_machineid/vendor/github.com/denisbrodbeck/machineid \ + fatih:color:v1.9.0:fatih_color/vendor/github.com/fatih/color \ + go-yaml:yaml:v2.2.7:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + golang:crypto:5c72a883971a:golang_crypto/vendor/golang.org/x/crypto \ + golang:net:62affa334b73:golang_net/vendor/golang.org/x/net \ + golang:sys:dbad9cb7cb7a:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.3.3:golang_text/vendor/golang.org/x/text \ + kalafut:imohash:v1.0.0:kalafut_imohash/vendor/github.com/kalafut/imohash \ + mattn:go-colorable:v0.1.7:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ + mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ + mitchellh:colorstring:d06e56a500db:mitchellh_colorstring/vendor/github.com/mitchellh/colorstring \ + pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ + russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ + schollz:logger:v1.2.0:schollz_logger/vendor/github.com/schollz/logger \ + schollz:mnemonicode:v1.0.1:schollz_mnemonicode/vendor/github.com/schollz/mnemonicode \ + schollz:pake:v2.0.4:schollz_pake_v2/vendor/github.com/schollz/pake/v2 \ + schollz:peerdiscovery:v1.6.0:schollz_peerdiscovery/vendor/github.com/schollz/peerdiscovery \ + schollz:progressbar:v3.5.1:schollz_progressbar_v3/vendor/github.com/schollz/progressbar/v3 \ + schollz:spinner:6bbc5f7804f9:schollz_spinner/vendor/github.com/schollz/spinner \ + shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ + spaolacci:murmur3:v1.1.0:spaolacci_murmur3/vendor/github.com/spaolacci/murmur3 \ + stretchr:testify:v1.4.0:stretchr_testify/vendor/github.com/stretchr/testify \ + tscholl2:siec:8da93652b094:tscholl2_siec/vendor/github.com/tscholl2/siec \ + urfave:cli:v2.2.0:urfave_cli_v2/vendor/github.com/urfave/cli/v2 + +PLIST_FILES= bin/croc + +.include diff --git a/net/croc/distinfo b/net/croc/distinfo new file mode 100644 index 000000000000..b665fdb727e5 --- /dev/null +++ b/net/croc/distinfo @@ -0,0 +1,59 @@ +TIMESTAMP = 1601111243 +SHA256 (schollz-croc-v8.3.2_GH0.tar.gz) = 6a7e2267fab4ae79eb241ef5d98f2cd8fa3d2fe6715550749b31f10fdffd64ae +SIZE (schollz-croc-v8.3.2_GH0.tar.gz) = 497473 +SHA256 (cespare-xxhash-v1.1.0_GH0.tar.gz) = 9418be390574092f0ca989b9ae2f5450270ead8125a635a100850b28c8c9c495 +SIZE (cespare-xxhash-v1.1.0_GH0.tar.gz) = 8200 +SHA256 (cpuguy83-go-md2man-v2.0.0_GH0.tar.gz) = 50537880d42fc28b9c2e9aaa36b137349d43cc73d46436a499f8c928cd2fc576 +SIZE (cpuguy83-go-md2man-v2.0.0_GH0.tar.gz) = 52021 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (denisbrodbeck-machineid-v1.0.1_GH0.tar.gz) = 0a01d2b131419cb2b9f7d910a2c90b824449bd91005b47efb235dc707665337a +SIZE (denisbrodbeck-machineid-v1.0.1_GH0.tar.gz) = 27807 +SHA256 (fatih-color-v1.9.0_GH0.tar.gz) = f5a6372ff7c87d22baaa2089e5cdd8a218fb3a9be047195c0ab421d5340f6f3f +SIZE (fatih-color-v1.9.0_GH0.tar.gz) = 1230941 +SHA256 (go-yaml-yaml-v2.2.7_GH0.tar.gz) = 74afe4be0fa4482de73cfaf952dc6c8d41088b687c3f9de4a7ced86d2bbe0cb4 +SIZE (go-yaml-yaml-v2.2.7_GH0.tar.gz) = 72651 +SHA256 (golang-crypto-5c72a883971a_GH0.tar.gz) = 2b8df0754ba64c95786bc5fe2071cadf4757f754e774f5985d725c1aaa6cb3d8 +SIZE (golang-crypto-5c72a883971a_GH0.tar.gz) = 1732429 +SHA256 (golang-net-62affa334b73_GH0.tar.gz) = abc8bc764836181f0b510d48efcfbaaf9ad8858f799b23e4bbc6fa73291ffd23 +SIZE (golang-net-62affa334b73_GH0.tar.gz) = 1179195 +SHA256 (golang-sys-dbad9cb7cb7a_GH0.tar.gz) = fd4e4d99c3740c278111074895ee24985287e91c4ce843a196ef155df2906fe2 +SIZE (golang-sys-dbad9cb7cb7a_GH0.tar.gz) = 1062900 +SHA256 (golang-text-v0.3.3_GH0.tar.gz) = 1604233637e3593749fbbb13b5069b08e6feba6d2b55a02fd3148793d5871185 +SIZE (golang-text-v0.3.3_GH0.tar.gz) = 7747332 +SHA256 (kalafut-imohash-v1.0.0_GH0.tar.gz) = 0b8076ce6625fac361f01e8fae31965cf924ecec17b7edda0230fde26de5f821 +SIZE (kalafut-imohash-v1.0.0_GH0.tar.gz) = 7211 +SHA256 (mattn-go-colorable-v0.1.7_GH0.tar.gz) = e394441b47cb26bb0c60ffdf2c60d57facbbc39f7a60763fdb1ec752cb460abf +SIZE (mattn-go-colorable-v0.1.7_GH0.tar.gz) = 9560 +SHA256 (mattn-go-isatty-v0.0.12_GH0.tar.gz) = addbdc341d7685ed4cc8d2d8a8fd2bd9b784bde00d0ea99fb251039fc10c611c +SIZE (mattn-go-isatty-v0.0.12_GH0.tar.gz) = 4548 +SHA256 (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 4f20a337ad06e071f29535afe9c5207d3e8840c8c86672bbc5f9837c6229c835 +SIZE (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 16714 +SHA256 (mitchellh-colorstring-d06e56a500db_GH0.tar.gz) = 2093d564392b9d6b752471ad0506ee20d4f8648cd96c179536fcb17a9b4d4137 +SIZE (mitchellh-colorstring-d06e56a500db_GH0.tar.gz) = 4677 +SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda +SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398 +SHA256 (russross-blackfriday-v2.0.1_GH0.tar.gz) = 5a0f38a36b6f3b2d59b72d713451a895a4d3a4406b3533882483782e37797cff +SIZE (russross-blackfriday-v2.0.1_GH0.tar.gz) = 79613 +SHA256 (schollz-logger-v1.2.0_GH0.tar.gz) = d3dd19c9e21b534bebc5a44a8699542f6e537dfdd7d67979fb6551a3053ed695 +SIZE (schollz-logger-v1.2.0_GH0.tar.gz) = 3253 +SHA256 (schollz-mnemonicode-v1.0.1_GH0.tar.gz) = 5eb5ef0f90c07ba14677274ff59908150e7cfa861cc7c89355d1ac61d80adc0b +SIZE (schollz-mnemonicode-v1.0.1_GH0.tar.gz) = 18193 +SHA256 (schollz-pake-v2.0.4_GH0.tar.gz) = 12393acdae970a97ed69da9e8cbe73d9f8dee67bf4cb69853857fb8d72169438 +SIZE (schollz-pake-v2.0.4_GH0.tar.gz) = 6329 +SHA256 (schollz-peerdiscovery-v1.6.0_GH0.tar.gz) = 6e35896e62f82c95ec67ab1fb0e91eee3cbc9c043e7b9370172916cd6c01f339 +SIZE (schollz-peerdiscovery-v1.6.0_GH0.tar.gz) = 8996 +SHA256 (schollz-progressbar-v3.5.1_GH0.tar.gz) = 435d4d7f90c87295af4d8604eb6dcdd25cec8f776b4402d186830db311c5c1bc +SIZE (schollz-progressbar-v3.5.1_GH0.tar.gz) = 601553 +SHA256 (schollz-spinner-6bbc5f7804f9_GH0.tar.gz) = 871cdcc399a617247a0c991127fca398984d97021263cd7ff39931c9e3c35108 +SIZE (schollz-spinner-6bbc5f7804f9_GH0.tar.gz) = 12919 +SHA256 (shurcooL-sanitized_anchor_name-v1.0.0_GH0.tar.gz) = 7e11964980f9b8595c17bc8970f0174621afe464920e38df7f8d77e45058388f +SIZE (shurcooL-sanitized_anchor_name-v1.0.0_GH0.tar.gz) = 2143 +SHA256 (spaolacci-murmur3-v1.1.0_GH0.tar.gz) = 73e99fdaadf177427cefb2aff93e4c35d8b1fcf20a4eac6feab73b5d55a9d243 +SIZE (spaolacci-murmur3-v1.1.0_GH0.tar.gz) = 7391 +SHA256 (stretchr-testify-v1.4.0_GH0.tar.gz) = 3ae072321569a8cd6d77de8f3be774165e136198ce808df0a31589237ba59698 +SIZE (stretchr-testify-v1.4.0_GH0.tar.gz) = 110085 +SHA256 (tscholl2-siec-8da93652b094_GH0.tar.gz) = 7437ad6885707c3d14f7dc7a1896812a517c710282d330fc763a7d4ea70979b9 +SIZE (tscholl2-siec-8da93652b094_GH0.tar.gz) = 63751 +SHA256 (urfave-cli-v2.2.0_GH0.tar.gz) = 5c3717e403ec924011513cfb7542360c156ef1e4222ca21697198ca47f5ca731 +SIZE (urfave-cli-v2.2.0_GH0.tar.gz) = 3404022 diff --git a/net/croc/pkg-descr b/net/croc/pkg-descr new file mode 100644 index 000000000000..406e30bb91a5 --- /dev/null +++ b/net/croc/pkg-descr @@ -0,0 +1,14 @@ +croc is a tool that allows any two computers to simply and securely +transfer files and folders. + +Features: + + * allows any two computers to transfer data (using a relay) + * provides end-to-end encryption (using PAKE) + * enables easy cross-platform transfers (Windows, Linux, Mac) + * allows multiple file transfers + * allows resuming transfers that are interrupted + * local server or port-forwarding not needed + * ipv6-first with ipv4 fallback + +WWW: https://github.com/schollz/croc