diff options
author | mario <mario@slackverse.org> | 2010-06-16 06:25:31 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-16 06:25:31 -0500 |
commit | 53952012d1c465875ac024e1cc24a4af9dcb8e7e (patch) | |
tree | 312c3522e1a492160a8b782eb9f038d4063f6dd3 /system/bacula-client/bacula-client.SlackBuild | |
parent | b505e602e9cc28f2ce0f0046e48285f1ba1b9a3c (diff) | |
download | slackbuilds-53952012d1c465875ac024e1cc24a4af9dcb8e7e.tar.gz |
system/bacula-client: Updated for version 5.0.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/bacula-client/bacula-client.SlackBuild')
-rw-r--r-- | system/bacula-client/bacula-client.SlackBuild | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/system/bacula-client/bacula-client.SlackBuild b/system/bacula-client/bacula-client.SlackBuild index 8c23d7a347..6ebb90e595 100644 --- a/system/bacula-client/bacula-client.SlackBuild +++ b/system/bacula-client/bacula-client.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=bacula-client SRCNAM=bacula -VERSION=${VERSION:-5.0.1} +VERSION=${VERSION:-5.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -93,28 +93,24 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Copy init script +install -D -m0755 -oroot -groot scripts/bacula $PKG/etc/rc.d/rc.bacula.new + +# Append .new to config files +for i in $PKG/etc/bacula/*.conf ; do mv $i $i.new ; done + +# Remove useless tmp dir +rm -rf $PKG/tmp + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ABOUT-NLS ChangeLog COPYING INSTALL README ReleaseNotes VERIFYING \ + ChangeLog COPYING INSTALL README ReleaseNotes VERIFYING \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -# Copy rc script -install -D -m0755 -oroot -groot scripts/bacula $PKG/etc/rc.d/rc.bacula.new - -# Append .new to config files -cd $PKG/etc/bacula || exit 1 -for i in *.conf ; do mv $i $i.new ; done - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -# Remove useless tmp dir -if [ -d $PKG/tmp ]; then - rm -rf $PKG/tmp -fi - cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |