Subject: CVS commit: pkgsrc/net/rclone
From: Leonardo Taccari
Date: 2022-07-07 15:27:20
Message id: 20220707132720.3DD92FB1A@cvs.NetBSD.org

Log Message:
rclone: Update to 1.58.1

Changes:
## v1.58.1 - 2022-04-29
* Bug Fixes
    * build: Update github.com/billziss-gh to github.com/winfsp
      (Nick Craig-Wood)
    * filter: Fix timezone of `--min-age`/`-max-age` from UTC to local as
      documented (Nick Craig-Wood)
    * rc/js: Correct RC method names (Sơn Trần-Nguyễn)
    * docs
        * Fix some links to command pages (albertony)
        * Add `--multi-thread-streams` note to `--transfers`. (Zsolt Ero)
* Mount
    * Fix `--devname` and fusermount: unknown option 'fsname' when mounting
      via rc (Nick Craig-Wood)
* VFS
    * Remove wording which suggests VFS is only for mounting (Nick Craig-Wood)
* Dropbox
    * Fix retries of multipart uploads with incorrect_offset error
      (Nick Craig-Wood)
* Google Cloud Storage
    * Use the s3 pacer to speed up transactions (Nick Craig-Wood)
    * pacer: Default the Google pacer to a burst of 100 to fix gcs pacing
      (Nick Craig-Wood)
* Jottacloud
    * Fix scope in token request (albertony)
* Netstorage
    * Fix unescaped HTML in documentation (Nick Craig-Wood)
    * Make levels of headings consistent (Nick Craig-Wood)
    * Add support contacts to netstorage doc (Nil Alexandrov)
* Onedrive
    * Note that sharepoint also changes web files (.html, .aspx) (GH)
* Putio
    * Handle rate limit errors (Berkan Teber)
    * Fix multithread download and other ranged requests (rafma0)
* S3
    * Add ChinaMobile EOS to provider list (GuoXingbin)
    * Sync providers in config description with providers (Nick Craig-Wood)
* SFTP
    * Fix OpenSSH 8.8+ RSA keys incompatibility (KARBOWSKI Piotr)
    * Note that Scaleway C14 is deprecating SFTP in favor of S3
      (Adrien Rey-Jarthon)
* Storj
    * Fix bucket creation on Move (Nick Craig-Wood)
* WebDAV
    * Don't override Referer if user sets it (Nick Craig-Wood)

## v1.58.0 - 2022-03-18
* New backends
    * Akamai Netstorage (Nil Alexandrov)
    * Seagate Lyve, SeaweedFS, Storj, RackCorp via s3 backend
    * Storj (renamed from Tardigrade - your old config files will continue
      working)
* New commands
    * bisync - experimental bidirectional cloud sync
      (Ivan Andreev, Chris Nelson)
* New Features
    * build
        * Add `windows/arm64` build (`rclone mount` not supported yet)
	  (Nick Craig-Wood)
        * Raise minimum go version to go1.15 (Nick Craig-Wood)
    * config: Allow dot in remote names and improve config editing (albertony)
    * dedupe: Add quit as a choice in interactive mode (albertony)
    * dlna: Change icons to the newest ones. (Alain Nussbaumer)
    * filter: Add [`{{ regexp }}` syntax] to pattern matches (Nick Craig-Wood)
    * fshttp: Add prometheus metrics for HTTP status code (Michał Matczuk)
    * hashsum: Support creating hash from data received on stdin (albertony)
    * librclone
        * Allow empty string or null input instead of empty json object
	  (albertony)
        * Add support for mount commands (albertony)
    * operations: Add server-side moves to stats (Ole Frost)
    * rc: Allow user to disable authentication for web gui (negative0)
    * tree: Remove obsolete `--human` replaced by global `--human-readable`
      (albertony)
    * version: Report correct friendly-name for newer Windows 10/11 versions \ 
(albertony)
* Bug Fixes
    * build
        * Fix ARM architecture version in .deb packages after nfpm change
	  (Nick Craig-Wood)
        * Hard fork `github.com/jlaffaye/ftp` to fix
	  `go get github.com/rclone/rclone` (Nick Craig-Wood)
    * oauthutil: Fix crash when webrowser requests `/robots.txt`
      (Nick Craig-Wood)
    * operations: Fix goroutine leak in case of copy retry (Ankur Gupta)
    * rc:
        * Fix `operations/publiclink` default for `expires` parameter
	  (Nick Craig-Wood)
        * Fix missing computation of `transferQueueSize` when summing up
	  statistics group (Carlo Mion)
        * Fix missing `StatsInfo` fields in the computation of the group sum
	  (Carlo Mion)
    * sync: Fix `--max-duration` so it doesn't retry when the duration is
      exceeded (Nick Craig-Wood)
    * touch: Fix issue where a directory is created instead of a file
      (albertony)
* Mount
    * Add `--devname` to set the device name sent to FUSE for mount
      display (Nick Craig-Wood)
* VFS
    * Add `vfs/stats` remote control to show statistics (Nick Craig-Wood)
    * Fix `failed to _ensure cache internal error: downloaders is nil error`
      (Nick Craig-Wood)
    * Fix handling of special characters in file names (Bumsu Hyeon)
* Local
    * Fix hash invalidation which caused errors with local crypt mount
      (Nick Craig-Wood)
* Crypt
    * Add `base64` and `base32768` filename encoding options
      (Max Sum, Sinan Tan)
* Azure Blob
    * Implement `--azureblob-upload-concurrency` parameter to speed
      uploads (Nick Craig-Wood)
    * Remove 100MB upper limit on `chunk_size` as it is no longer
      needed (Nick Craig-Wood)
    * Raise `--azureblob-upload-concurrency` to 16 by default (Nick Craig-Wood)
    * Fix crash with SAS URL and no container (Nick Craig-Wood)
* Compress
    * Fix crash if metadata upload failed (Nick Craig-Wood)
    * Fix memory leak (Nick Craig-Wood)
* Drive
    * Added `--drive-copy-shortcut-content` (Abhiraj)
    * Disable OAuth OOB flow (copy a token) due to Google deprecation
      (Nick Craig-Wood)
        * See the deprecation note at
	  \ 
https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob.
    * Add `--drive-skip-dangling-shortcuts` flag (Nick Craig-Wood)
    * When using a link type `--drive-export-formats` shows all doc types
      (Nick Craig-Wood)
* Dropbox
    * Speed up directory listings by specifying 1000 items in a chunk
      (Nick Craig-Wood)
    * Save an API request when at the root (Nick Craig-Wood)
* Fichier
    * Implemented About functionality (Gourav T)
* FTP
    * Add `--ftp-ask-password` to prompt for password when needed
      (Borna Butkovic)
* Google Cloud Storage
    * Add missing regions (Nick Craig-Wood)
    * Disable OAuth OOB flow (copy a token) due to Google deprecation
      (Nick Craig-Wood)
* Googlephotos
    * Disable OAuth OOB flow (copy a token) due to Google deprecation
      (Nick Craig-Wood)
* Hasher
    * Fix crash on object not found (Nick Craig-Wood)
* Hdfs
    * Add file (Move) and directory move (DirMove) support (Andy Jackson)
* HTTP
    * Improved recognition of URL pointing to a single file (albertony)
* Jottacloud
    * Change API used by recursive list (ListR) (Kim)
    * Add support for Tele2 Cloud (Fredric Arklid)
* Koofr
    * Add Digistorage service as a Koofr provider. (jaKa)
* Mailru
    * Fix int32 overflow on arm32 (Ivan Andreev)
* Onedrive
    * Add config option for oauth scope `Sites.Read.All` (Charlie Jiang)
    * Minor optimization of quickxorhash (Isaac Levy)
    * Add `--onedrive-root-folder-id` flag (Nick Craig-Wood)
    * Do not retry on `400 pathIsTooLong` error (ctrl-q)
* Pcloud
    * Add support for recursive list (ListR) (Niels van de Weem)
    * Fix pre-1970 time stamps (Nick Craig-Wood)
* S3
    * Use `ListObjectsV2` for faster listings (Felix Bünemann)
        * Fallback to `ListObject` v1 on unsupported providers
	  (Nick Craig-Wood)
    * Use the `ETag` on multipart transfers to verify the transfer was
      OK (Nick Craig-Wood)
        * Add `--s3-use-multipart-etag` provider quirk to disable this on
	  unsupported providers (Nick Craig-Wood)
    * New Providers
        * RackCorp object storage (bbabich)
        * Seagate Lyve Cloud storage (Nick Craig-Wood)
        * SeaweedFS (Chris Lu)
        * Storj Shared gateways (Márton Elek, Nick Craig-Wood)
    * Add Wasabi AP Northeast 2 endpoint info (lindwurm)
    * Add `GLACIER_IR` storage class (Yunhai Luo)
    * Document `Content-MD5` workaround for object-lock enabled buckets
      (Paulo Martins)
    * Fix multipart upload with `--no-head` flag (Nick Craig-Wood)
    * Simplify content length processing in s3 with download url
      (Logeshwaran Murugesan)
* SFTP
    * Add rclone to list of supported `md5sum`/`sha1sum` commands to look for
      (albertony)
    * Refactor so we only have one way of running remote commands
      (Nick Craig-Wood)
    * Fix timeout on hashing large files by sending keepalives
      (Nick Craig-Wood)
    * Fix unecessary seeking when uploading and downloading files
      (Nick Craig-Wood)
    * Update docs on how to create `known_hosts` file (Nick Craig-Wood)
* Storj
    * Rename tardigrade backend to storj backend (Nick Craig-Wood)
    * Implement server side Move for files (Nick Craig-Wood)
    * Update docs to explain differences between s3 and this backend
      (Elek, Márton)
* Swift
    * Fix About so it shows info about the current container only
      (Nick Craig-Wood)
* Union
    * Fix treatment of remotes with `//` in (Nick Craig-Wood)
    * Fix deadlock when one part of a multi-upload fails (Nick Craig-Wood)
    * Fix eplus policy returned nil (Vitor Arruda)
* Yandex
    * Add permanent deletion support (deinferno)

## v1.57.0 - 2021-11-01
* New backends
    * Sia: for Sia decentralized cloud
      (Ian Levesque, Matthew Sevey, Ivan Andreev)
    * Hasher: caches hashes and enable hashes for backends that don't support
      them (Ivan Andreev)
* New commands
    * lsjson --stat: to get info about a single file/dir and `operations/stat`
      api (Nick Craig-Wood)
    * config paths: show configured paths (albertony)
* New Features
    * about: Make human-readable output more consistent with other commands
      (albertony)
    * build
        * Use go1.17 for building and make go1.14 the minimum supported
	  (Nick Craig-Wood)
        * Update Go to 1.16 and NDK to 22b for Android builds (x0b)
    * config
        * Support hyphen in remote name from environment variable (albertony)
        * Make temporary directory user-configurable (albertony)
        * Convert `--cache-dir` value to an absolute path (albertony)
        * Do not override MIME types from OS defaults (albertony)
    * docs
        * Toc styling and header levels cleanup (albertony)
        * Extend documentation on valid remote names (albertony)
        * Mention make for building and cmount tag for macos (Alex Chen)
        * ...and many more contributions to numerous to mention!
    * fs: Move with `--ignore-existing` will not delete skipped files
      (Nathan Collins)
    * hashsum
        * Treat hash values in sum file as case insensitive (Ivan Andreev)
        * Don't put `ERROR` or `UNSUPPORTED` in output (Ivan Andreev)
    * lib/encoder: Add encoding of square brackets (Ivan Andreev)
    * lib/file: Improve error message when attempting to create dir on
      nonexistent drive on windows (albertony)
    * lib/http: Factor password hash salt into options with default
      (Nolan Woods)
    * lib/kv: Add key-value database api (Ivan Andreev)
    * librclone
        * Add `RcloneFreeString` function (albertony)
        * Free strings in python example (albertony)
    * log: Optionally print pid in logs (Ivan Andreev)
    * ls: Introduce `--human-readable` global option to print human-readable
      sizes (albertony)
    * ncdu: Introduce key `u` to toggle human-readable (albertony)
    * operations: Add `rmdirs -v` output (Justin Winokur)
    * serve sftp
        * Generate an ECDSA server key as well as RSA (Nick Craig-Wood)
        * Generate an Ed25519 server key as well as ECDSA and RSA (albertony)
    * serve docker
        * Allow to customize proxy settings of docker plugin (Ivan Andreev)
        * Build docker plugin for multiple platforms (Thomas Stachl)
    * size: Include human-readable count (albertony)
    * touch: Add support for touching files in directory, with recursive
      option, filtering and `--dry-run`/`-i` (albertony)
    * tree: Option to print human-readable sizes removed in favor of global
      option (albertony)
* Bug Fixes
    * lib/http
        * Fix bad username check in single auth secret provider (Nolan Woods)
        * Fix handling of SSL credentials (Nolan Woods)
    * serve ftp: Ensure modtime is passed as UTC always to fix timezone
      oddities (Nick Craig-Wood)
    * serve sftp: Fix generation of server keys on windows (albertony)
    * serve docker: Fix octal umask (Ivan Andreev)
* Mount
    * Enable rclone to be run as mount helper direct from the fstab
      (Ivan Andreev)
    * Use procfs to validate mount on linux (Ivan Andreev)
    * Correctly daemonize for compatibility with automount (Ivan Andreev)
* VFS
    * Ensure names used in cache path are legal on current OS (albertony)
    * Ignore `ECLOSED` when truncating file handles to fix intermittent bad
      file descriptor error (Nick Craig-Wood)
* Local
    * Refactor default OS encoding out from local backend into shared encoder
      lib (albertony)
* Crypt
    * Return wrapped object even with `--crypt-no-data-encryption`
      (Ivan Andreev)
    * Fix uploads with `--crypt-no-data-encryption` (Nick Craig-Wood)
* Azure Blob
    * Add `--azureblob-no-head-object` (Tatsuya Noyori)
* Box
    * Make listings of heavily used directories more reliable (Nick Craig-Wood)
    * When doing cleanup delete as much as possible (Nick Craig-Wood)
    * Add `--box-list-chunk` to control listing chunk size (Nick Craig-Wood)
    * Delete items in parallel in cleanup using `--checkers` threads
      (Nick Craig-Wood)
    * Add `--box-owned-by` to only show items owned by the login passed
      (Nick Craig-Wood)
    * Retry `operation_blocked_temporary` errors (Nick Craig-Wood)
* Chunker
    * Md5all must create metadata if base hash is slow (Ivan Andreev)
* Drive
    * Speed up directory listings by constraining the API listing using the
      current filters (fotile96, Ivan Andreev)
    * Fix buffering for single request upload for files smaller than
      `--drive-upload-cutoff` (YenForYang)
    * Add `-o config` option to `backend drives` to make config for all shared
      drives (Nick Craig-Wood)
* Dropbox
    * Add `--dropbox-batch-commit-timeout` to control batch timeout
      (Nick Craig-Wood)
* Filefabric
    * Make backoff exponential for error_background to fix errors
      (Nick Craig-Wood)
    * Fix directory move after API change (Nick Craig-Wood)
* FTP
    * Enable tls session cache by default (Ivan Andreev)
    * Add option to disable tls13 (Ivan Andreev)
    * Fix timeout after long uploads (Ivan Andreev)
    * Add support for precise time (Ivan Andreev)
    * Enable CI for ProFtpd, PureFtpd, VsFtpd (Ivan Andreev)
* Googlephotos
    * Use encoder for album names to fix albums with control characters
      (Parth Shukla)
* Jottacloud
    * Implement `SetModTime` to support modtime-only changes (albertony)
    * Improved error handling with `SetModTime` and corrupt files in general
      (albertony)
    * Add support for `UserInfo` (`rclone config userinfo`) feature (albertony)
    * Return direct download link from `rclone link` command (albertony)
* Koofr
    * Create direct share link (Dmitry Bogatov)
* Pcloud
    * Add sha256 support (Ken Enrique Morel)
* Premiumizeme
    * Fix directory listing after API changes (Nick Craig-Wood)
    * Fix server side move after API change (Nick Craig-Wood)
    * Fix server side directory move after API changes (Nick Craig-Wood)
* S3
    * Add support to use CDN URL to download the file (Logeshwaran)
    * Add AWS Snowball Edge to providers examples (r0kk3rz)
    * Use a combination of SDK retries and rclone retries (Nick Craig-Wood)
    * Fix IAM Role for Service Account not working and other auth problems
      (Nick Craig-Wood)
    * Fix `shared_credentials_file` auth after reverting incorrect fix
      (Nick Craig-Wood)
    * Fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph
      (Nick Craig-Wood)
* Seafile
    * Fix error when not configured for 2fa (Fred)
* SFTP
    * Fix timeout when doing MD5SUM of large file (Nick Craig-Wood)
* Swift
    * Update OCI URL (David Liu)
    * Document OVH Cloud Archive (HNGamingUK)
* Union
    * Fix rename not working with union of local disk and bucket based remote
      (Nick Craig-Wood)

## v1.56.2 - 2021-10-01
* Bug Fixes
    * serve http: Re-add missing auth to http service (Nolan Woods)
    * build: Update golang.org/x/sys to fix crash on macOS when compiled with
      go1.17 (Herby Gillot)
* FTP
    * Fix deadlock after failed update when concurrency=1 (Ivan Andreev)

## v1.56.1 - 2021-09-19
* Bug Fixes
    * accounting: Fix maximum bwlimit by scaling scale max token bucket size
      (Nick Craig-Wood)
    * rc: Fix speed does not update in core/stats (negative0)
    * selfupdate: Fix `--quiet` option, not quite quiet (yedamo)
    * serve http: Fix `serve http` exiting directly after starting (Cnly)
    * build
        * Apply gofmt from golang 1.17 (Ivan Andreev)
        * Update Go to 1.16 and NDK to 22b for android/any (x0b)
* Mount
    * Fix `--daemon` mode (Ivan Andreev)
* VFS
    * Fix duplicates on rename (Nick Craig-Wood)
    * Fix crash when truncating a just uploaded object (Nick Craig-Wood)
    * Fix issue where empty dirs would build up in cache meta dir (albertony)
* Drive
    * Fix instructions for auto config (Greg Sadetsky)
    * Fix lsf example without drive-impersonate (Greg Sadetsky)
* Onedrive
    * Handle HTTP 400 better in PublicLink (Alex Chen)
    * Clarification of the process for creating custom client_id
      (Mariano Absatz)
* Pcloud
    * Return an early error when Put is called with an unknown size
      (Nick Craig-Wood)
    * Try harder to delete a failed upload (Nick Craig-Wood)
* S3
    * Add Wasabi's AP-Northeast endpoint info (hota)
    * Fix typo in s3 documentation (Greg Sadetsky)
* Seafile
    * Fix 2fa config state machine (Fred)
* SFTP
    * Remove spurious error message on `--sftp-disable-concurrent-reads`
      (Nick Craig-Wood)
* Sugarsync
    * Fix initial connection after config re-arrangement (Nick Craig-Wood)

Files:
RevisionActionfile
1.36modifypkgsrc/net/rclone/Makefile
1.15modifypkgsrc/net/rclone/distinfo
1.7modifypkgsrc/net/rclone/go-modules.mk