pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/rclone



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Apr 20 19:50:54 UTC 2020

Added Files:
        pkgsrc/net/rclone: DESCR Makefile PLIST distinfo
        pkgsrc/net/rclone/patches:
            patch-cmd_mountlib_mounttest_write__non__unix.go
            patch-cmd_mountlib_mounttest_write__unix.go

Log Message:
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>.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/rclone/DESCR pkgsrc/net/rclone/Makefile \
    pkgsrc/net/rclone/PLIST pkgsrc/net/rclone/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go \
    pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/rclone/DESCR
diff -u /dev/null pkgsrc/net/rclone/DESCR:1.1
--- /dev/null   Mon Apr 20 19:50:54 2020
+++ pkgsrc/net/rclone/DESCR     Mon Apr 20 19:50:54 2020
@@ -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)
Index: pkgsrc/net/rclone/Makefile
diff -u /dev/null pkgsrc/net/rclone/Makefile:1.1
--- /dev/null   Mon Apr 20 19:50:54 2020
+++ pkgsrc/net/rclone/Makefile  Mon Apr 20 19:50:54 2020
@@ -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"
Index: pkgsrc/net/rclone/PLIST
diff -u /dev/null pkgsrc/net/rclone/PLIST:1.1
--- /dev/null   Mon Apr 20 19:50:54 2020
+++ pkgsrc/net/rclone/PLIST     Mon Apr 20 19:50:54 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/20 19:50:54 leot Exp $
+bin/rclone
+man/man1/rclone.1
Index: pkgsrc/net/rclone/distinfo
diff -u /dev/null pkgsrc/net/rclone/distinfo:1.1
--- /dev/null   Mon Apr 20 19:50:54 2020
+++ pkgsrc/net/rclone/distinfo  Mon Apr 20 19:50:54 2020
@@ -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

Index: pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go
diff -u /dev/null pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go:1.1
--- /dev/null   Mon Apr 20 19:50:54 2020
+++ pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__non__unix.go  Mon Apr 20 19:50:54 2020
@@ -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
+ 
Index: pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go
diff -u /dev/null pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go:1.1
--- /dev/null   Mon Apr 20 19:50:54 2020
+++ pkgsrc/net/rclone/patches/patch-cmd_mountlib_mounttest_write__unix.go       Mon Apr 20 19:50:54 2020
@@ -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