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

View file

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

View file

@ -1,6 +1,6 @@
#!/bin/sh
# SlackBuild for Tarsnap, 9 August 2017
# SlackBuild for Tarsnap, 12 August 2017
# AW Green <awg@posteo.us>
# 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 \