# $FreeBSD$ PORTNAME= rclone DISTVERSIONPREFIX= v DISTVERSION= 1.53.2 CATEGORIES= net MAINTAINER= wg@FreeBSD.org COMMENT= Sync files to and from various cloud services LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= go:modules USE_GITHUB= yes GH_ACCOUNT= ncw GH_TUPLE= Azure:azure-pipeline-go:v0.2.2:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \ Azure:azure-storage-blob-go:v0.10.0:azure_azure_storage_blob_go/vendor/github.com/Azure/azure-storage-blob-go \ Unknwon:goconfig:860a72fb44fd:unknwon_goconfig/vendor/github.com/Unknwon/goconfig \ a8m:tree:6a0b80129de4:a8m_tree/vendor/github.com/a8m/tree \ aalpar:deheap:9a0c2883bd56:aalpar_deheap/vendor/github.com/aalpar/deheap \ abbot:go-http-auth:v0.4.0:abbot_go_http_auth/vendor/github.com/abbot/go-http-auth \ anacrolix:dms:v1.1.0:anacrolix_dms/vendor/github.com/anacrolix/dms \ atotto:clipboard:v0.1.2:atotto_clipboard/vendor/github.com/atotto/clipboard \ aws:aws-sdk-go:v1.32.11:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ bazil:fuse:5883e5a4b512:bazil_fuse/vendor/bazil.org/fuse \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ billziss-gh:cgofuse:v1.4.0:billziss_gh_cgofuse/vendor/github.com/billziss-gh/cgofuse \ btcsuite:btcutil:v1.0.2:btcsuite_btcutil/vendor/github.com/btcsuite/btcutil \ calebcase:tmpfile:v1.0.2:calebcase_tmpfile/vendor/github.com/calebcase/tmpfile \ census-instrumentation:opencensus-go:v0.22.4:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ coreos:go-semver:v0.3.0:coreos_go_semver/vendor/github.com/coreos/go-semver \ 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 \ dropbox:dropbox-sdk-go-unofficial:v5.6.0:dropbox_dropbox_sdk_go_unofficial/vendor/github.com/dropbox/dropbox-sdk-go-unofficial \ etcd-io:bbolt:v1.3.5:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ go-yaml:yaml:eeeca48fe776:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.3.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ gogo:protobuf:v1.3.1:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:appengine:v1.6.6:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:948cd5f35899:golang_crypto/vendor/golang.org/x/crypto \ golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \ golang:net:ab3426394381:golang_net/vendor/golang.org/x/net \ golang:oauth2:bf48bf16ab8d:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.4.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:6e8e738ad208:golang_sync/vendor/golang.org/x/sync \ golang:sys:cb9d2d5c5666:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.3:golang_text/vendor/golang.org/x/text \ golang:time:89c76fbcd5d1:golang_time/vendor/golang.org/x/time \ golang:tools:c8f393745106:golang_tools/vendor/golang.org/x/tools \ google:go-genproto:ee7919e894b5:google_go_genproto/vendor/google.golang.org/genproto \ google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \ google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \ googleapis:gax-go:v2.0.5:googleapis_gax_go_v2/vendor/github.com/googleapis/gax-go \ googleapis:google-api-go-client:v0.28.0:googleapis_google_api_go_client/vendor/google.golang.org/api \ googleapis:google-cloud-go:v0.59.0:googleapis_google_cloud_go/vendor/cloud.google.com/go \ grpc:grpc-go:v1.30.0:grpc_grpc_go/vendor/google.golang.org/grpc \ hanwen:go-fuse:v2.0.3:hanwen_go_fuse_v2/vendor/github.com/hanwen/go-fuse/v2 \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jlaffaye:ftp:13949d38913e:jlaffaye_ftp/vendor/github.com/jlaffaye/ftp \ jmespath:go-jmespath:v0.3.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ jzelinskie:whirlpool:c19460b8caa6:jzelinskie_whirlpool/vendor/github.com/jzelinskie/whirlpool \ kardianos:osext:2bc1f35cddc0:kardianos_osext/vendor/github.com/kardianos/osext \ klauspost:compress:v1.10.11:klauspost_compress/vendor/github.com/klauspost/compress \ konsorten:go-windows-terminal-sequences:v1.0.3:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ koofr:go-httpclient:93aa7c75b348:koofr_go_httpclient/vendor/github.com/koofr/go-httpclient \ koofr:go-koofrclient:8e5366da203a:koofr_go_koofrclient/vendor/github.com/koofr/go-koofrclient \ kr:fs:v0.1.0:kr_fs/vendor/github.com/kr/fs \ mattn:go-colorable:v0.1.7:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-ieproxy:v0.0.1:mattn_go_ieproxy/vendor/github.com/mattn/go-ieproxy \ 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 \ matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ minio:minio-go:v6.0.46:minio_minio_go/vendor/github.com/minio/minio-go/v6 \ minio:sha256-simd:v0.1.1:minio_sha256_simd/vendor/github.com/minio/sha256-simd \ mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ ncw:go-acd:887eb06ab6a2:ncw_go_acd/vendor/github.com/ncw/go-acd \ ncw:swift:v1.0.52:ncw_swift/vendor/github.com/ncw/swift \ nsf:termbox-go:38ba6e5628f1:nsf_termbox_go/vendor/github.com/nsf/termbox-go \ okzk:sdnotify:d9becc38acbd:okzk_sdnotify/vendor/github.com/okzk/sdnotify \ patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \ pengsrc:go-shared:1999055a4a14:pengsrc_go_shared/vendor/github.com/pengsrc/go-shared \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ pkg:sftp:v1.11.0:pkg_sftp/vendor/github.com/pkg/sftp \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ prometheus:client_golang:v1.7.1:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.10.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.1.3:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ putdotio:go-putio:16d982cac2b8:putdotio_go_putio_putio/vendor/github.com/putdotio/go-putio \ rfjakob:eme:v1.1.1:rfjakob_eme/vendor/github.com/rfjakob/eme \ russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ sevlyar:go-daemon:v0.1.5:sevlyar_go_daemon/vendor/github.com/sevlyar/go-daemon \ shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ sirupsen:logrus:v1.6.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ skratchdot:open-golang:eef842397966:skratchdot_open_golang/vendor/github.com/skratchdot/open-golang \ spacemonkeygo:monkit:072401d8c752:spacemonkeygo_monkit_v3/vendor/github.com/spacemonkeygo/monkit/v3 \ spf13:cobra:v1.0.0:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ src-d:go-git:v4.13.1:src_d_go_git/vendor/gopkg.in/src-d/go-git.v4 \ storj:common:4c1ddac6fa63:storj_common/vendor/storj.io/common \ storj:drpc:v0.0.14:storj_drpc/vendor/storj.io/drpc \ storj:uplink:v1.2.0:storj_uplink/vendor/storj.io/uplink \ stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify \ t3rm1n4l:go-mega:ffad7fcb44b8:t3rm1n4l_go_mega/vendor/github.com/t3rm1n4l/go-mega \ uber-go:atomic:v1.6.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:multierr:v1.5.0:uber_go_multierr/vendor/go.uber.org/multierr \ uber-go:zap:v1.15.0:uber_go_zap/vendor/go.uber.org/zap \ vivint:infectious:25a574ae18a3:vivint_infectious/vendor/github.com/vivint/infectious \ xanzy:ssh-agent:v0.2.1:xanzy_ssh_agent/vendor/github.com/xanzy/ssh-agent \ youmark:pkcs8:fad002e585ce:youmark_pkcs8/vendor/github.com/youmark/pkcs8 \ yunify:qingstor-sdk-go:v3.2.0:yunify_qingstor_sdk_go_v3/vendor/github.com/yunify/qingstor-sdk-go/v3 \ zeebo:errs:v1.2.2:zeebo_errs/vendor/github.com/zeebo/errs _GITEA_TUPLE= goftp:server:v0.4.0:vendor/goftp.io/server PLIST_FILES= bin/rclone .include .for account project tag subdir in ${_GITEA_TUPLE:S/:/ /g} MASTER_SITES+= https://gitea.com/${account}/${project}/archive/${tag}${EXTRACT_SUFX}?dummy=/:${account}_${project} DISTFILES+= ${account}-${project}-${tag}_GITEA0${EXTRACT_SUFX}:${account}_${project} .endfor post-extract: .for account project tag subdir in ${_GITEA_TUPLE:S/:/ /g} @${MKDIR} ${WRKSRC}/${subdir:H} @${RLN} ${WRKDIR}/${project} ${WRKSRC}/${subdir} .endfor .include