From f192dfb1769e5fc1fb22fc56746cf7ac5ffccc44 Mon Sep 17 00:00:00 2001 From: AW Green Date: Sun, 13 Aug 2017 10:22:35 +0700 Subject: [PATCH] system/tarsnap: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- system/tarsnap/README | 12 +++++++++--- system/tarsnap/slack-desc | 4 ++-- system/tarsnap/tarsnap.SlackBuild | 12 ++++++------ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/system/tarsnap/README b/system/tarsnap/README index 0d998b61a7..fa842367a0 100644 --- a/system/tarsnap/README +++ b/system/tarsnap/README @@ -1,5 +1,11 @@ Tarsnap is a secure cloud-based backup service featuring client-side -encryption and deduplication created by Colin Percival. +encryption and de-duplication created by Colin Percival. You will need +to be a Tarsnap subscriber to use this software. -This is only the client software. You will need to be a tarsnap -subscriber to use the service. +The recommended cache directory for Slackware is /var/cache/tarsnap, but +this can be changed in /etc/tarsnap.conf to suit your file scheme. + +Even casual backups may contain sensitive data! Before running the +build, please take a moment to verify the source tarball. The Tarsnap +website has instructions for checking your copy against the release hash +and Tarsnap code signing key. diff --git a/system/tarsnap/slack-desc b/system/tarsnap/slack-desc index 3d20f482d7..af8d25366f 100644 --- a/system/tarsnap/slack-desc +++ b/system/tarsnap/slack-desc @@ -6,10 +6,10 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -tarsnap: tarsnap (Client software for Tarsnap backup service) +tarsnap: tarsnap (Client software for Tarsnap) tarsnap: tarsnap: Tarsnap is a secure cloud-based backup service featuring client-side -tarsnap: encryption and deduplication created by Colin Percival. +tarsnap: encryption and de-duplication created by Colin Percival. tarsnap: tarsnap: https://www.tarsnap.com tarsnap: diff --git a/system/tarsnap/tarsnap.SlackBuild b/system/tarsnap/tarsnap.SlackBuild index 9dfae49766..4c78c0ac48 100644 --- a/system/tarsnap/tarsnap.SlackBuild +++ b/system/tarsnap/tarsnap.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# SlackBuild for Tarsnap, 9 August 2017 +# SlackBuild for Tarsnap, 12 August 2017 # AW Green # All rights reserved. # @@ -17,8 +17,8 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -## The Tarsnap client itself remains a copyrighted work. Please see the -## file COPYING in the Tarsnap client source distribution. +## The Tarsnap client itself remains a copyrighted work. +## Please see the file COPYING in the Tarsnap source distribution. PRGNAM=tarsnap VERSION=${VERSION:-1.0.39} @@ -38,8 +38,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# we can omit the usual block here for passing ARCH-specific flags, -# since tarsnap's configure script handles this on its own. +# we can omit the usual block here for passing ARCH-specific flags +# since tarsnap's configure handles this on its own. set -e @@ -56,7 +56,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# patch stock path in tarsnap.conf.sample. +# change stock path in tarsnap.conf.sample. patch -p1 < $CWD/$PRGNAM.patch ./configure \