summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Luka Novsak2015-06-19 02:42:53 +0200
committer Willy Sudiarto Raharjo2015-06-19 02:42:53 +0200
commite8d72151f06b054dc2ddcf47e64daa2d55850124 (patch)
tree3594172fb634cb21428b048abc47a0ec3ee8e4f5
parentf71cf297fa22f826d2c1fe5cd52a96f75797b33c (diff)
downloadslackbuilds-e8d72151f06b054dc2ddcf47e64daa2d55850124.tar.gz
system/duplicity: Updated for version 0.6.26.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/duplicity/duplicity.SlackBuild32
-rw-r--r--system/duplicity/duplicity.info6
2 files changed, 27 insertions, 11 deletions
diff --git a/system/duplicity/duplicity.SlackBuild b/system/duplicity/duplicity.SlackBuild
index 8da1168df0..600788d9bc 100644
--- a/system/duplicity/duplicity.SlackBuild
+++ b/system/duplicity/duplicity.SlackBuild
@@ -4,10 +4,27 @@
# Written by Richard Ellis <rellis@dp100.com>
# Modified by Luka Novsak <lnovsak@gmail.com>
-# This script is hereby released into the public domain.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=duplicity
-VERSION=${VERSION:-0.6.24}
+VERSION=${VERSION:-0.6.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,15 +65,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
-# Strip binaries and libraries.
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr/
diff --git a/system/duplicity/duplicity.info b/system/duplicity/duplicity.info
index 2285f4f195..71e819c565 100644
--- a/system/duplicity/duplicity.info
+++ b/system/duplicity/duplicity.info
@@ -1,8 +1,8 @@
PRGNAM="duplicity"
-VERSION="0.6.24"
+VERSION="0.6.26"
HOMEPAGE="http://duplicity.nongnu.org/"
-DOWNLOAD="http://code.launchpad.net/duplicity/0.6-series/0.6.24/+download/duplicity-0.6.24.tar.gz"
-MD5SUM="5d4e9329a6d793880909d18b0736ff06"
+DOWNLOAD="http://code.launchpad.net/duplicity/0.6-series/0.6.26/+download/duplicity-0.6.26.tar.gz"
+MD5SUM="7c85e63f738761456b43feaa5931ba9a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="librsync pysetuptools lockfile"