diff --git a/system/bareos-client/README b/system/bareos-client/README deleted file mode 100644 index c6edc8cbcd..0000000000 --- a/system/bareos-client/README +++ /dev/null @@ -1,10 +0,0 @@ -Bareos (Manage backup, recovery) - Client only - -Bareos is a set of computer programs that permit you (or the system admin) to -manage backup, recovery, and verification of computer data across a network -of computers of different kinds. In technical terms, it is a network -Client/Server based backup program. Bareos is relatively easy to use and -efficient, while offering many advanced storage management features that make -it easy to find and recover lost or damaged files. Due to its modular design, -Bareos is scalable from small single computer systems to systems consisting -of hundreds of computers located over a large network. diff --git a/system/bareos-client/bareos-client.SlackBuild b/system/bareos-client/bareos-client.SlackBuild deleted file mode 100644 index 84078c16a3..0000000000 --- a/system/bareos-client/bareos-client.SlackBuild +++ /dev/null @@ -1,130 +0,0 @@ -#!/bin/bash - -# Slackware build script for bareos-client -# Copyright 2016 Henry Jensen Germany -# based on Slackware build script for bacula-client -# Copyright 2010, 2012, 2013 Mario Preksavec, Zagreb, HR -# 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. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=bareos-client -VERSION=${VERSION:-15.2.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=bareos-Release - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz -cd $SRCNAM-$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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-working-dir=/var/lib/bareos \ - --with-scriptdir=/var/lib/bareos/scripts \ - --with-logdir=/var/log/bareos \ - --with-plugindir=/var/lib/bareos/plugins \ - --enable-smartalloc \ - --enable-client-only \ - --enable-acl \ - --enable-xattr \ - --with-fd-user=root \ - --with-fd-group=root \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -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 - -# Copy init script -install -D -m0755 -oroot -groot scripts/bareos $PKG/etc/rc.d/rc.bareos.new - -# Append .new to config files -for i in $PKG/etc/bareos/*.conf ; do mv $i $i.new ; done - -# Remove useless tmp dir -rmdir $PKG/tmp - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AGPL-3.0.txt AUTHORS LICENSE README.* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/bareos-client/bareos-client.info b/system/bareos-client/bareos-client.info deleted file mode 100644 index ecbb8f5528..0000000000 --- a/system/bareos-client/bareos-client.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="bareos-client" -VERSION="15.2.3" -HOMEPAGE="http://www.bareos.org" -DOWNLOAD="https://github.com/bareos/bareos/archive/Release/15.2.3.tar.gz" -MD5SUM="b15872bcda22363ea9a87be7a2e3201a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Henry Jensen" -EMAIL="hjensen@connochaetos.org" diff --git a/system/bareos-client/doinst.sh b/system/bareos-client/doinst.sh deleted file mode 100644 index cd8176a934..0000000000 --- a/system/bareos-client/doinst.sh +++ /dev/null @@ -1,27 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -preserve_perms etc/rc.d/rc.bareos.new -config etc/bareos/bareos-fd.conf.new -config etc/bareos/bconsole.conf.new diff --git a/system/bareos-client/slack-desc b/system/bareos-client/slack-desc deleted file mode 100644 index 5cc6b918e3..0000000000 --- a/system/bareos-client/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -bareos-client: bareos-client (managed backup and recovery - Client only) -bareos-client: -bareos-client: bareos is a set of computer programs that permit you (or the system -bareos-client: administrator) to manage backup, recovery, and verification of -bareos-client: computer data across a network of computers of different kinds. -bareos-client: -bareos-client: Homepage: http://www.bareos.org -bareos-client: -bareos-client: -bareos-client: -bareos-client: