pkgsrc-WIP-changes archive

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

rclone: Import rclone-1.39 as wip/rclone



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Jan 20 18:39:41 2018 +0100
Changeset:	8971add8eaa493b4edb1250509787bc3a6bbee36

Modified Files:
	Makefile
Added Files:
	rclone/DESCR
	rclone/Makefile
	rclone/PLIST
	rclone/distinfo

Log Message:
rclone: Import rclone-1.39 as wip/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)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8971add8eaa493b4edb1250509787bc3a6bbee36

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

diffstat:
 Makefile        |  1 +
 rclone/DESCR    | 21 +++++++++++++++++++++
 rclone/Makefile | 36 ++++++++++++++++++++++++++++++++++++
 rclone/PLIST    |  4 ++++
 rclone/distinfo |  6 ++++++
 5 files changed, 68 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7d181e71ed..8f7de743cb 100644
--- a/Makefile
+++ b/Makefile
@@ -3917,6 +3917,7 @@ SUBDIR+=	raw
 SUBDIR+=	rawdog
 SUBDIR+=	rc.d.Interix
 SUBDIR+=	rc.subr
+SUBDIR+=	rclone
 SUBDIR+=	rdsn-git
 SUBDIR+=	rdup
 SUBDIR+=	re2-git
diff --git a/rclone/DESCR b/rclone/DESCR
new file mode 100644
index 0000000000..8795f6d54d
--- /dev/null
+++ b/rclone/DESCR
@@ -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 --git a/rclone/Makefile b/rclone/Makefile
new file mode 100644
index 0000000000..9f8639b2e4
--- /dev/null
+++ b/rclone/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD$
+
+DISTNAME=	rclone-1.39
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ncw/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://rclone.org/
+COMMENT=	Rsync for cloud storage
+LICENSE=	mit
+
+WRKSRC=		${WRKDIR}/src/github.com/ncw/rclone
+
+.include "../../lang/go/version.mk"
+
+BUILD_DEPENDS+=		go-${GO_VERSION}*:../../lang/go
+
+MAKE_ENV+=		GOPATH=${WRKDIR}:${PREFIX}/gopkg
+
+INSTALLATION_DIRS+=	bin share/doc/rclone
+
+post-extract:
+	${MKDIR} ${WRKSRC}
+	${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
+
+do-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+	    go build --ldflags "-s -X github.com/ncw/rclone/fs.Version=${PKGVERSION_NOREV}" -o bin/rclone
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/rclone ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/MANUAL.html ${DESTDIR}${PREFIX}/share/doc/rclone
+	${INSTALL_DATA} ${WRKSRC}/MANUAL.txt ${DESTDIR}${PREFIX}/share/doc/rclone
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/rclone/PLIST b/rclone/PLIST
new file mode 100644
index 0000000000..285c8ec4f8
--- /dev/null
+++ b/rclone/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/rclone
+share/doc/rclone/MANUAL.html
+share/doc/rclone/MANUAL.txt
diff --git a/rclone/distinfo b/rclone/distinfo
new file mode 100644
index 0000000000..42decc5ed3
--- /dev/null
+++ b/rclone/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (rclone-1.39.tar.gz) = 7084df4cfdf3aa730553d1ee3626e1399470a7f2
+RMD160 (rclone-1.39.tar.gz) = 87588bf232b02691e672d1e99b9c224cc0210543
+SHA512 (rclone-1.39.tar.gz) = 6e5e5f5e06510f36185d165986cbd3ed994d3cbf97055b4dea37c78af932f89ab8c89249006b829aad38ba43c77ff46f254ba56bcfbae7deca1ebcea555ad884
+Size (rclone-1.39.tar.gz) = 38015559 bytes


Home | Main Index | Thread Index | Old Index