system/rclone: Updated for version 1.51.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Payne 2020-05-02 11:44:41 +07:00 committed by Willy Sudiarto Raharjo
parent f914ec8933
commit 792c18b3f3
4 changed files with 46 additions and 61 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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: