git: c20ff1e8bbaa - main - net/rclone: update to 1.59.2 and add a CMOUNT knob

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 20 Sep 2022 15:42:00 UTC
The branch main has been updated by fernape:

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

commit c20ff1e8bbaa948457c142c3c888671672ead528
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2022-09-20 05:51:15 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-09-20 15:38:32 +0000

    net/rclone: update to 1.59.2 and add a CMOUNT knob
    
    ChangeLog: https://rclone.org/changelog/#v1-59-2-2022-09-15
    
    * Bug Fixes
      config: Move locking to fix fatal error: concurrent map read and map write
    * Local
      Disable xattr support if the filesystems indicates it is not supported
    * Azure Blob
      Fix chunksize calculations producing too many parts
    * B2
      Fix chunksize calculations producing too many parts
    * S3
      Fix chunksize calculations producing too many parts
    
    PR:             266506
    Reported by:    tremere@cainites.net (maintainer)
---
 net/rclone/Makefile | 12 ++++++++++--
 net/rclone/distinfo | 10 +++++-----
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/net/rclone/Makefile b/net/rclone/Makefile
index 5f6034b7ac54..47ead81dcfbc 100644
--- a/net/rclone/Makefile
+++ b/net/rclone/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	rclone
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.59.1
-PORTREVISION=	1
+DISTVERSION=	1.59.2
 CATEGORIES=	net
 
 MAINTAINER=	tremere@cainites.net
@@ -16,9 +15,18 @@ RUN_DEPENDS=	ca_root_nss>=0:security/ca_root_nss
 USES=		cpe go:modules
 GO_MODULE=	github.com/rclone/rclone
 
+GO_BUILDFLAGS=	-ldflags -s
+
 PLIST_FILES=	bin/rclone \
 		man/man1/rclone.1.gz
 
+OPTIONS_DEFINE=	CMOUNT
+
+CMOUNT_DESC=	Enable cmount command (depends on fusefs-libs)
+
+CMOUNT_LIB_DEPENDS=	libfuse.so:sysutils/fusefs-libs
+CMOUNT_VARS=		GO_BUILDFLAGS+="-tags cmount"
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/rclone.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
diff --git a/net/rclone/distinfo b/net/rclone/distinfo
index b80929a95cec..be47c1c0f88c 100644
--- a/net/rclone/distinfo
+++ b/net/rclone/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1661270755
-SHA256 (go/net_rclone/rclone-v1.59.1/v1.59.1.mod) = 4df7a9573207486359a462ba33dd335e7b003e6584ca655450d171eac89dd761
-SIZE (go/net_rclone/rclone-v1.59.1/v1.59.1.mod) = 3505
-SHA256 (go/net_rclone/rclone-v1.59.1/v1.59.1.zip) = a18dcbc9f91ddc67568e758eda9cc48fbf9a111d35d8d44c37ca5a49ab9537e8
-SIZE (go/net_rclone/rclone-v1.59.1/v1.59.1.zip) = 16770597
+TIMESTAMP = 1663537749
+SHA256 (go/net_rclone/rclone-v1.59.2/v1.59.2.mod) = 4df7a9573207486359a462ba33dd335e7b003e6584ca655450d171eac89dd761
+SIZE (go/net_rclone/rclone-v1.59.2/v1.59.2.mod) = 3505
+SHA256 (go/net_rclone/rclone-v1.59.2/v1.59.2.zip) = 005c95298274243c8507c544094a96d93cbe8fdcb4ee4ad26b5671a3154c36de
+SIZE (go/net_rclone/rclone-v1.59.2/v1.59.2.zip) = 16771782