summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/rdiff-backup/README1
-rw-r--r--system/rdiff-backup/rdiff-backup.SlackBuild9
-rw-r--r--system/rdiff-backup/rdiff-backup.info2
-rw-r--r--system/rdiff-backup/slack-desc10
4 files changed, 15 insertions, 7 deletions
diff --git a/system/rdiff-backup/README b/system/rdiff-backup/README
index 0e78f2aadb..e0df0f6c0e 100644
--- a/system/rdiff-backup/README
+++ b/system/rdiff-backup/README
@@ -13,4 +13,3 @@ be transmitted. Finally, rdiff-backup is easy to use and settings
have sensical defaults.
Dependencies: librsync (from slackbuilds.org)
-
diff --git a/system/rdiff-backup/rdiff-backup.SlackBuild b/system/rdiff-backup/rdiff-backup.SlackBuild
index b929dcf195..2f884f57d2 100644
--- a/system/rdiff-backup/rdiff-backup.SlackBuild
+++ b/system/rdiff-backup/rdiff-backup.SlackBuild
@@ -43,8 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PKGNAME-$VERSION
-tar -xvzf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
-tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
cd $PKGNAME-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+rw,go-w+r .
@@ -54,8 +53,10 @@ sed -i 's|share/man/|man/|g' setup.py
python setup.py build
python setup.py install --prefix=/usr --root=$PKG
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/$PKGNAME-$VERSION $PKG/usr/doc
diff --git a/system/rdiff-backup/rdiff-backup.info b/system/rdiff-backup/rdiff-backup.info
index af58ae618e..11d72229de 100644
--- a/system/rdiff-backup/rdiff-backup.info
+++ b/system/rdiff-backup/rdiff-backup.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-1.0.5.ta
MD5SUM="fa2a165fa07a94be52c52e3545bc7758"
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
-APPROVED="robw810"
+APPROVED="rworkman"
diff --git a/system/rdiff-backup/slack-desc b/system/rdiff-backup/slack-desc
index e6bfcc9d63..5590d216f1 100644
--- a/system/rdiff-backup/slack-desc
+++ b/system/rdiff-backup/slack-desc
@@ -1,4 +1,12 @@
-rdiff-backup: rdiff-backup
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+rdiff-backup: rdiff-backup (backup tool)
rdiff-backup:
rdiff-backup: rdiff-backup backs up one directory to another, possibly over a
rdiff-backup: network. The target directory ends up a copy of the source