summaryrefslogtreecommitdiff
path: root/system/rdiff-backup
diff options
context:
space:
mode:
Diffstat (limited to 'system/rdiff-backup')
-rw-r--r--system/rdiff-backup/rdiff-backup.SlackBuild16
-rw-r--r--system/rdiff-backup/rdiff-backup.info10
2 files changed, 14 insertions, 12 deletions
diff --git a/system/rdiff-backup/rdiff-backup.SlackBuild b/system/rdiff-backup/rdiff-backup.SlackBuild
index 84f6cff150..1c3a983b22 100644
--- a/system/rdiff-backup/rdiff-backup.SlackBuild
+++ b/system/rdiff-backup/rdiff-backup.SlackBuild
@@ -24,13 +24,13 @@
# Modified by the SlackBuilds.org project
PRGNAM=rdiff-backup
-VERSION=1.2.5
-ARCH=noarch
+VERSION=1.2.8
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
TMP=${TMP:-/tmp/SBo}
-CWD=$(pwd)
+CWD=$(pwd)
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,14 +43,14 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+rw,go-w+r .
-sed -i 's|share/man/|man/|g' setup.py
-python setup.py install --prefix=/usr --root=$PKG
+sed -i 's|share/man/|man/|g' setup.py || exit 1
+python setup.py install --prefix=/usr --root=$PKG || exit 1
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ xargs strip --strip-unneeded 2> /dev/null || true
)
( cd $PKG/usr/man
@@ -68,4 +68,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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/rdiff-backup/rdiff-backup.info b/system/rdiff-backup/rdiff-backup.info
index a130ae915c..75f11d68fe 100644
--- a/system/rdiff-backup/rdiff-backup.info
+++ b/system/rdiff-backup/rdiff-backup.info
@@ -1,8 +1,10 @@
PRGNAM="rdiff-backup"
-VERSION="1.2.5"
+VERSION="1.2.8"
HOMEPAGE="http://rdiff-backup.nongnu.org/"
-DOWNLOAD="http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.5.tar.gz"
-MD5SUM="28c9f45afd0e4a250ecc95e555995e48"
+DOWNLOAD="http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.2.8.tar.gz"
+MD5SUM="1a94dc537fcf74d6a3a80bd27808e77b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
-APPROVED="rworkman"
+APPROVED="dsomero"