diff options
Diffstat (limited to 'system/restic')
-rw-r--r-- | system/restic/doinst.sh | 15 | ||||
-rw-r--r-- | system/restic/restic.SlackBuild | 8 | ||||
-rw-r--r-- | system/restic/restic.info | 10 |
3 files changed, 10 insertions, 23 deletions
diff --git a/system/restic/doinst.sh b/system/restic/doinst.sh deleted file mode 100644 index 4564772e86..0000000000 --- a/system/restic/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config usr/share/bash-completion/completions/restic.new -config usr/share/zsh/site-functions/_restic.new diff --git a/system/restic/restic.SlackBuild b/system/restic/restic.SlackBuild index 26bb78ef1e..84611495bf 100644 --- a/system/restic/restic.SlackBuild +++ b/system/restic/restic.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for restic -# Copyright 2020-2021 Ebben Aries <slackbuilds@dscp.org> +# Copyright 2020-2024 Ebben Aries <slackbuilds@dscp.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=restic -VERSION=${VERSION:-0.13.1} +VERSION=${VERSION:-0.17.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,6 +85,9 @@ install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/man/man1 $PKG/usr/bin/$PRGNAM generate --man $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 + mkdir -p $PKG/usr/share/bash-completion/completions $PKG/usr/bin/$PRGNAM generate --bash-completion $PKG/usr/share/bash-completion/completions/restic @@ -96,7 +99,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/restic/restic.info b/system/restic/restic.info index aafdbab3ab..f91ede449d 100644 --- a/system/restic/restic.info +++ b/system/restic/restic.info @@ -1,10 +1,10 @@ PRGNAM="restic" -VERSION="0.13.1" +VERSION="0.17.1" HOMEPAGE="https://restic.net/" -DOWNLOAD="https://github.com/restic/restic/releases/download/v0.13.1/restic_0.13.1_linux_386.bz2" -MD5SUM="db10f73c92ef13b08cfba1d5e3f7a690" -DOWNLOAD_x86_64="https://github.com/restic/restic/releases/download/v0.13.1/restic_0.13.1_linux_amd64.bz2" -MD5SUM_x86_64="ae612f2d5f74a087bd6b6652393d5e72" +DOWNLOAD="https://github.com/restic/restic/releases/download/v0.17.1/restic_0.17.1_linux_386.bz2" +MD5SUM="aa34b044cb391c2174a5fee3000d19c4" +DOWNLOAD_x86_64="https://github.com/restic/restic/releases/download/v0.17.1/restic_0.17.1_linux_amd64.bz2" +MD5SUM_x86_64="e7d2c888ec4893660460f4db54cbc8b8" REQUIRES="" MAINTAINER="Ebben Aries" EMAIL="slackbuilds@dscp.org" |