summaryrefslogtreecommitdiffstats
path: root/system/duplicity
diff options
context:
space:
mode:
Diffstat (limited to 'system/duplicity')
-rw-r--r--system/duplicity/README13
-rw-r--r--system/duplicity/duplicity.SlackBuild16
-rw-r--r--system/duplicity/duplicity.info4
3 files changed, 22 insertions, 11 deletions
diff --git a/system/duplicity/README b/system/duplicity/README
index 7f2d79d064..ee7d5ab755 100644
--- a/system/duplicity/README
+++ b/system/duplicity/README
@@ -1,8 +1,9 @@
duplicity - Encrypted bandwidth-efficient backup using rsync algorithm
-Duplicity backs up directories by producing encrypted tar-format volumes and
-uploading them to a remote or local file server. Because duplicity uses
-librsync, the incremental archives are space efficient and only record the
-parts of files that have changed since the last backup. Because duplicity
-uses GnuPG to encrypt and/or sign these archives, they will be safe from
-spying and/or modification by the server.
+Duplicity backs up directories by producing encrypted tar-format
+volumes and uploading them to a remote or local file server. Because
+duplicity uses librsync, the incremental archives are space efficient
+and only record the parts of files that have changed since the last
+backup. Because duplicity uses GnuPG to encrypt and/or sign these
+archives, they will be safe from spying and/or modification by the
+server.
diff --git a/system/duplicity/duplicity.SlackBuild b/system/duplicity/duplicity.SlackBuild
index 2630fa48a1..70ab63d1f8 100644
--- a/system/duplicity/duplicity.SlackBuild
+++ b/system/duplicity/duplicity.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for duplicity
# Written by Richard Ellis <rellis@dp100.com>
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=duplicity
VERSION=${VERSION:-0.7.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/duplicity/duplicity.info b/system/duplicity/duplicity.info
index a37512f9fa..5ea5d58961 100644
--- a/system/duplicity/duplicity.info
+++ b/system/duplicity/duplicity.info
@@ -1,10 +1,10 @@
PRGNAM="duplicity"
VERSION="0.7.19"
HOMEPAGE="http://duplicity.nongnu.org/"
-DOWNLOAD="https://code.launchpad.net/duplicity/0.7-series/0.7.19/+download/duplicity-0.7.19.tar.gz"
+DOWNLOAD="http://distcache.FreeBSD.org/ports-distfiles/duplicity-0.7.19.tar.gz"
MD5SUM="b4decdb60275c87b4fafab55c31dc5ce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="librsync lockfile fasteners rename six"
+REQUIRES="librsync python2-lockfile fasteners rename"
MAINTAINER="Jeff Parent"
EMAIL="jeff+SBo@sh0.xyz"