aboutsummaryrefslogtreecommitdiff
path: root/app/backup/backupninja/backupninja.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-12-03 02:34:13 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-12-03 02:34:13 +0000
commitec6b9e5736c2f17f0ef3e8151a6dc811076c487c (patch)
tree7743048f0af9ffad4a0222e4efc78a6dbabe2d95 /app/backup/backupninja/backupninja.SlackBuild
parent1f3a42cc5a2ea805eb29e816fdb1d09e2cba16c4 (diff)
downloadslackbuilds-ec6b9e5736c2f17f0ef3e8151a6dc811076c487c.tar.gz
slackbuilds-ec6b9e5736c2f17f0ef3e8151a6dc811076c487c.tar.bz2
backupninja: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1491 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/backup/backupninja/backupninja.SlackBuild')
-rwxr-xr-xapp/backup/backupninja/backupninja.SlackBuild42
1 files changed, 1 insertions, 41 deletions
diff --git a/app/backup/backupninja/backupninja.SlackBuild b/app/backup/backupninja/backupninja.SlackBuild
index b3057b4b..fd5dd81d 100755
--- a/app/backup/backupninja/backupninja.SlackBuild
+++ b/app/backup/backupninja/backupninja.SlackBuild
@@ -91,6 +91,7 @@ PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Configure
+./autogen.sh || exit $ERROR_CONF
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -160,44 +161,3 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO
if [ "$CLEANUP" == "yes" ]; then
rm -rf "$PKG_SRC" "$PKG"
fi
-# Configure
-./autogen.sh || exit $ERROR_CONF
-CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
-
-# Install
-make install DESTDIR="$PKG" || exit $ERROR_INSTALL
-
-# TODO: remove this line as long as the handler is added to the source tree
-cp $CWD/wget $PKG/usr/share/$PKG_NAME/
-
-# Cron tasks
-rm -rf $PKG/etc/cron.d
-mkdir $PKG/etc/cron.hourly
-cp $CWD/backupninja.cron $PKG/etc/cron.hourly/backupninja
-chmod +x $PKG/etc/cron.hourly/backupninja
-
-# Permissions
-mkdir $PKG/etc/backup.d
-chown -R root.root $PKG/*
-chmod 600 $PKG/etc/backup.d
-
-# Fix config files
-sed -e 's/\/usr\/var\/log/\/var\/log\/backup/g' $PKG/etc/backupninja.conf > $PKG/etc/backupninja.conf.new
-rm $PKG/etc/backupninja.conf
-sed -e 's/\/usr\/var\/log/\/var\/log\/backup/g' $PKG/etc/logrotate.d/backupninja > $PKG/etc/logrotate.d/backupninja.new
-mv $PKG/etc/logrotate.d/backupninja.new $PKG/etc/logrotate.d/backupninja
-
-backupninja: backupninja (a silent flower blossom death strike to lost data)
-backupninja:
-backupninja: Backupninja allows you to coordinate system backup by dropping a few
-backupninja: simple configuration files into /etc/backup.d/. Most programs you
-backupninja: might use for making backups don't have their own configuration file
-backupninja: format. Backupninja provides a centralized way to configure and
-backupninja: schedule many different backup utilities.
-backupninja:
-backupninja:
-backupninja:
-backupninja: