system/tarsnap: Script cleanup.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
AW Green 2017-08-13 10:22:35 +07:00 committed by Willy Sudiarto Raharjo
parent 4631219470
commit f192dfb176
3 changed files with 17 additions and 11 deletions

View file

@ -1,5 +1,11 @@
Tarsnap is a secure cloud-based backup service featuring client-side 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 The recommended cache directory for Slackware is /var/cache/tarsnap, but
subscriber to use the service. 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.

View file

@ -6,10 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
tarsnap: tarsnap (Client software for Tarsnap backup service) tarsnap: tarsnap (Client software for Tarsnap)
tarsnap: tarsnap:
tarsnap: Tarsnap is a secure cloud-based backup service featuring client-side 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:
tarsnap: https://www.tarsnap.com tarsnap: https://www.tarsnap.com
tarsnap: tarsnap:

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# SlackBuild for Tarsnap, 9 August 2017 # SlackBuild for Tarsnap, 12 August 2017
# AW Green <awg@posteo.us> # AW Green <awg@posteo.us>
# All rights reserved. # All rights reserved.
# #
@ -17,8 +17,8 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
## The Tarsnap client itself remains a copyrighted work. Please see the ## The Tarsnap client itself remains a copyrighted work.
## file COPYING in the Tarsnap client source distribution. ## Please see the file COPYING in the Tarsnap source distribution.
PRGNAM=tarsnap PRGNAM=tarsnap
VERSION=${VERSION:-1.0.39} VERSION=${VERSION:-1.0.39}
@ -38,8 +38,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
# we can omit the usual block here for passing ARCH-specific flags, # we can omit the usual block here for passing ARCH-specific flags
# since tarsnap's configure script handles this on its own. # since tarsnap's configure handles this on its own.
set -e set -e
@ -56,7 +56,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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 patch -p1 < $CWD/$PRGNAM.patch
./configure \ ./configure \