diff options
Diffstat (limited to 'network/rclone')
-rw-r--r-- | network/rclone/README | 26 | ||||
-rw-r--r-- | network/rclone/rclone.SlackBuild | 57 | ||||
-rw-r--r-- | network/rclone/rclone.info | 14 | ||||
-rw-r--r-- | network/rclone/slack-desc | 10 |
4 files changed, 46 insertions, 61 deletions
diff --git a/network/rclone/README b/network/rclone/README index 77de1242a6048..5eebbe99e5405 100644 --- a/network/rclone/README +++ b/network/rclone/README @@ -1,26 +1,18 @@ -Rclone is a command line program to sync files and directories to and from - - Google Drive - Amazon S3 - Openstack Swift / Rackspace cloud files / Memset Memstore - Dropbox - Google Cloud Storage - Amazon Drive - Microsoft One Drive - Hubic - Backblaze B2 - Yandex Disk - SFTP - The local filesystem +Rclone ("rsync for cloud storage") is a command line program to sync files +and directories to and from different cloud storage providers. Features - MD5/SHA1 hashes checked at all times for file integrity + MD5/SHA-1 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 + Can sync to and from network, e.g. two different cloud accounts + Optional large file chunking (Chunker) Optional encryption (Crypt) - Optional FUSE mount + Optional cache (Cache) + Optional FUSE mount (rclone mount) + Multi-threaded downloads to local disk + Can serve local or remote files over HTTP/WebDav/FTP/SFTP/dlna diff --git a/network/rclone/rclone.SlackBuild b/network/rclone/rclone.SlackBuild index 8cb280b95d80a..2c836702d26ba 100644 --- a/network/rclone/rclone.SlackBuild +++ b/network/rclone/rclone.SlackBuild @@ -1,7 +1,6 @@ #!/bin/sh -# Slackware build script for rclone - +# Copyright 2019-2020 Andrew Payne, Boston MA <phalange@komputermatrix.com> # Copyright 2017-2018 Rodrigo Gimenez <estrod[at]zoho[dot]com> # All rights reserved. # @@ -22,12 +21,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Version History +# 4-29-2020 update to version 1.50 PRGNAM=rclone -VERSION=${VERSION:-1.42} +VERSION=${VERSION:-1.51.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +set -e + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -36,52 +39,42 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then - SUFFIX="linux-386" -elif [ "$ARCH" = "x86_64" ]; then - SUFFIX="linux-amd64" -elif [ "$ARCH" = "arm" ]; then - SUFFIX="linux-arm" +if [ "$ARCH" = "x86_64" ]; then + BIT="64bit" else - echo "$ARCH is not supported." >&2 + echo "$ARCH is not supported." exit 1 fi -set -e - -rm -rf $PKG +TMP=${TMP:-/tmp/SBo} +CWD=$(pwd) +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-v$VERSION-$SUFFIX -unzip $CWD/$PRGNAM-v$VERSION-$SUFFIX.zip -cd $PRGNAM-v$VERSION-$SUFFIX +rm -rf $PRGNAM-$VERSION +unzip -o $CWD/$PRGNAM-v$VERSION-linux-amd64.zip +cd $PRGNAM-v$VERSION-linux-amd64 chown -R root:root . + find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -install -Ddm755 $PKG/usr/bin -install -m 775 rclone $PKG/usr/bin - -install -Ddm 755 $PKG/usr/man/man1 -cp rclone.1 $PKG/usr/man/man1 +rm -rf $PKG +mkdir -p $PKG/usr/bin/ +mkdir -p $PKG/usr/man/man1/ +cp rclone $PKG/usr/bin/ +cp rclone.1 $PKG/usr/man/man1/ find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +for i in $( find $PKG/usr/ -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - -cp -a \ - README.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/rclone/rclone.info b/network/rclone/rclone.info index 9d55eef852e55..70eedb524ad38 100644 --- a/network/rclone/rclone.info +++ b/network/rclone/rclone.info @@ -1,10 +1,10 @@ PRGNAM="rclone" -VERSION="1.42" +VERSION="1.51.0" HOMEPAGE="https://rclone.org" -DOWNLOAD="https://downloads.rclone.org/v1.42/rclone-v1.42-linux-386.zip" -MD5SUM="a7cb1d96382d010f8bc2b19e237f917e" -DOWNLOAD_x86_64="https://downloads.rclone.org/v1.42/rclone-v1.42-linux-amd64.zip" -MD5SUM_x86_64="f9892658a2c311ef288261095a0d3377" +DOWNLOAD="https://github.com/rclone/rclone/releases/download/v1.51.0/rclone-v1.51.0-linux-386.zip" +MD5SUM="19f4942a0d531f86561d32640293c585" +DOWNLOAD_x86_64="https://github.com/rclone/rclone/releases/download/v1.51.0/rclone-v1.51.0-linux-amd64.zip" +MD5SUM_x86_64="ce394fa8b020edd5fabd4fbcb18ea60d" REQUIRES="" -MAINTAINER="Rodrigo Gimenez" -EMAIL="estrod[at]zoho[dot]com" +MAINTAINER="Andrew Payne" +EMAIL="phalange@komputermatrix.com" diff --git a/network/rclone/slack-desc b/network/rclone/slack-desc index a7e2b07cc270e..a21c250f16d3d 100644 --- a/network/rclone/slack-desc +++ b/network/rclone/slack-desc @@ -8,11 +8,11 @@ |-----handy-ruler------------------------------------------------------| rclone: rclone (rsync for cloud storage) rclone: -rclone: Rclone is a command line program to sync files and directories to -rclone: and from Google Drive, Amazon S3, Openstack Swift / Rackspace -rclone: cloud files / Memset Memstore, Dropbox, Google Cloud Storage, -rclone: Amazon Drive, Microsoft One Drive, Hubic, Backblaze B2, Yandex Disk, -rclone: SFTP and the local filesystem. +rclone: Rclone ("rsync for cloud storage") is a command line program to sync +rclone: files and directories to and from different cloud storage providers. +rclone: +rclone: Homepage: https://rclone.org/ +rclone: rclone: rclone: rclone: |