Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/rclone rclone: Import rclone-1.51.0 as net/rclone



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dc369723c9a
branches:  trunk
changeset: 429484:6dc369723c9a
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Apr 20 19:50:54 2020 +0000

description:
rclone: Import rclone-1.51.0 as net/rclone

Rclone is a command line program to sync files and directories to and from:

 Amazon Drive, Amazon S3, Backblaze B2, Box, Ceph, DigitalOcean Spaces,
 Dreamhost, Dropbox, FTP, Google Cloud Storage, Google Drive, HTTP, Hubic,
 Memset Memstore, Microsoft Azure Blob Storage, Microsoft OneDrive, Minio,
 Nextcloud, OVH, Openstack Swift, Oracle Cloud Storage, Owncloud, pCloud,
 put.io, QingStor, Rackspace Cloud Files, SFTP, Wasabi, WebDAV, Yandex Disk,
 The local filesystem

Features:

 - MD5/SHA1 hashes checked at all times for file integrity
 - Timestamps preserved on files
 - Partial syncs supported on a whole file basis
 - Copy mode to just copy new/changed files
 - Sync (one way) mode to make a directory identical
 - Check mode to check for file hash equality
 - Can sync to and from network, eg two different cloud accounts
 - Optional encryption (Crypt)
 - Optional cache (Cache)
 - Optional FUSE mount (rclone mount)

Packaged in pkgsrc-wip by myself and <yhardy>.

diffstat:

 net/rclone/DESCR                                                    |  21 +++++++
 net/rclone/Makefile                                                 |  27 ++++++++++
 net/rclone/PLIST                                                    |   3 +
 net/rclone/distinfo                                                 |   8 ++
 net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go |  12 ++++
 net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go      |  12 ++++
 6 files changed, 83 insertions(+), 0 deletions(-)

diffs (107 lines):

diff -r deb0e158d871 -r 6dc369723c9a net/rclone/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rclone/DESCR  Mon Apr 20 19:50:54 2020 +0000
@@ -0,0 +1,21 @@
+Rclone is a command line program to sync files and directories to and from:
+
+ Amazon Drive, Amazon S3, Backblaze B2, Box, Ceph, DigitalOcean Spaces,
+ Dreamhost, Dropbox, FTP, Google Cloud Storage, Google Drive, HTTP, Hubic,
+ Memset Memstore, Microsoft Azure Blob Storage, Microsoft OneDrive, Minio,
+ Nextcloud, OVH, Openstack Swift, Oracle Cloud Storage, Owncloud, pCloud,
+ put.io, QingStor, Rackspace Cloud Files, SFTP, Wasabi, WebDAV, Yandex Disk,
+ The local filesystem
+
+Features:
+
+ - MD5/SHA1 hashes checked at all times for file integrity
+ - Timestamps preserved on files
+ - Partial syncs supported on a whole file basis
+ - Copy mode to just copy new/changed files
+ - Sync (one way) mode to make a directory identical
+ - Check mode to check for file hash equality
+ - Can sync to and from network, eg two different cloud accounts
+ - Optional encryption (Crypt)
+ - Optional cache (Cache)
+ - Optional FUSE mount (rclone mount)
diff -r deb0e158d871 -r 6dc369723c9a net/rclone/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rclone/Makefile       Mon Apr 20 19:50:54 2020 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/04/20 19:50:54 leot Exp $
+
+# When updating changelog is available in
+# ${WRKSRC}/docs/content/changelog.md
+DISTNAME=      rclone-1.51.0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=rclone/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    leot%NetBSD.org@localhost
+HOMEPAGE=      https://rclone.org/
+COMMENT=       Rsync for cloud storage
+LICENSE=       mit
+
+GO_DIST_BASE=          ${DISTNAME}
+GO_SRCPATH=            github.com/rclone/rclone
+
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
+
+CHECK_RELRO_SKIP+=     bin/rclone
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKDIR}/bin/rclone ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/rclone.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r deb0e158d871 -r 6dc369723c9a net/rclone/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rclone/PLIST  Mon Apr 20 19:50:54 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/20 19:50:54 leot Exp $
+bin/rclone
+man/man1/rclone.1
diff -r deb0e158d871 -r 6dc369723c9a net/rclone/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rclone/distinfo       Mon Apr 20 19:50:54 2020 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/04/20 19:50:54 leot Exp $
+
+SHA1 (rclone-1.51.0.tar.gz) = 91c7f7220506ccc7591fd2949f922e14ade2a070
+RMD160 (rclone-1.51.0.tar.gz) = 5af21f20657e3e47a4805e652d1eea0b043029ab
+SHA512 (rclone-1.51.0.tar.gz) = b0881e09b75093abe4d31e95425a90513aed4a16d9e2dbf79023c9dc68875b90a1332204879530c450a16ab9cac475d967f7657d6f810a1e0f0d84b88d7de916
+Size (rclone-1.51.0.tar.gz) = 18835242 bytes
+SHA1 (patch-cmd_mountlib_mounttest_write__non__unix.go) = 8c6222c6f3e7a24243e94b768b20e5f686763cf6
+SHA1 (patch-cmd_mountlib_mounttest_write__unix.go) = eeddb2e8bba6f455d8069758dc37227f2f389a25
diff -r deb0e158d871 -r 6dc369723c9a net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go       Mon Apr 20 19:50:54 2020 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_mountlib_mounttest_write__non__unix.go,v 1.1 2020/04/20 19:50:54 leot Exp $
+
+NetBSD and OpenBSD are non-Unix-like operating systems.
+
+--- cmd/mountlib/mounttest/write_non_unix.go.orig      2020-02-01 10:40:01.000000000 +0000
++++ cmd/mountlib/mounttest/write_non_unix.go
+@@ -1,4 +1,4 @@
+-// +build !linux,!darwin,!freebsd
++// +build !linux,!darwin,!freebsd,!netbsd,!openbsd
+ 
+ package mounttest
+ 
diff -r deb0e158d871 -r 6dc369723c9a net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go    Mon Apr 20 19:50:54 2020 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-cmd_mountlib_mounttest_write__unix.go,v 1.1 2020/04/20 19:50:54 leot Exp $
+
+NetBSD and OpenBSD are Unix-like operating systems.
+
+--- cmd/mountlib/mounttest/write_unix.go.orig  2020-02-01 10:40:01.000000000 +0000
++++ cmd/mountlib/mounttest/write_unix.go
+@@ -1,4 +1,4 @@
+-// +build linux darwin freebsd
++// +build linux darwin freebsd netbsd openbsd
+ 
+ package mounttest
+ 



Home | Main Index | Thread Index | Old Index