system/amanda: Updated for version 3.2.1.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Christopher Walker 2011-03-03 22:17:52 -03:00 committed by Niels Horn
parent 4d3fb96c4c
commit b8c0588edd
5 changed files with 26 additions and 25 deletions

View file

@ -1,14 +1,14 @@
AMANDA, the Advanced Maryland Autoamatic Network Disk Archiver, is a backup
system that allows the administrator of a LAN to set up a single master backup
server to back up multiple hosts to a single large capacity tape drive.
AMANDA uses native dump and/or GNU tar facilities and can back up a large
number of workstations running multiple versions of Unix. Recent versions
can also use SAMBA to back up Microsoft Windows hosts.
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
backup system that allows the administrator of a LAN to set up a single
master backup server to back up multiple hosts to a single large capacity
tape drive. AMANDA uses native dump and/or GNU tar facilities and can
back up a large number of workstations running multiple versions of Unix.
Recent versions can also use SAMBA to back up Microsoft Windows hosts.
You will need to have a special user and group created for AMANDA to use;
this defaults to user and group of "amanda" but you can specify whatever
group you wish - see the build script for more information.
After installing, see the /usr/doc/amanda-2.6.1p1/README.SLACKWARE for more
information on how to modify inetd.conf to start the the Amanda daemons
automatically at boot.
After installing, see the /usr/doc/amanda-3.2.1/README.Slackware for
more information on how to modify inetd.conf to start the the Amanda
daemons automatically at boot.

View file

@ -1,4 +1,4 @@
README.SLACKWARE
README.Slackware
Written by Christopher Walker <kris240376@gmail.com>
You'll need to start the Amanda indexing services at boot.

View file

@ -32,16 +32,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=amanda
VERSION=${VERSION:-2.6.1p1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1}
TAG=${TAB:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -107,7 +105,9 @@ CXXFLAGS="$SLKCFLAGS" \
--with-user=$AMANDAUSR \
--with-group=$AMANDAGRP\
--with-owner=root \
--with-bsdtcp-security \
--with-bsdudp-security \
--with-rsh-security \
--with-ssh-security \
--with-bsdtcp-security \
--disable-static \
@ -123,9 +123,9 @@ chown -R root:root $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/etc/$PRGNAM
for i in 3hole.ps 8.5x11.ps DIN-A4.ps DLT.ps EXB-8500.ps \
HP-DAT.ps amanda-client.conf amanda.conf chg-mcutil.conf \
chg-multi.conf chg-scsi.conf disklist ; do
for i in 3hole.ps 8.5x11.ps DIN-A4.ps DLT-A4.ps DLT.ps EXB-8500.ps \
HP-DAT.ps amanda-client-postgresql.conf amanda-client.conf \
amanda.conf chg-multi.conf chg-scsi.conf disklist ; do
cat example/$i > $PKG/etc/$PRGNAM/$i.new ;
done
@ -134,13 +134,13 @@ chown -R $AMANDAUSR:$AMANDAGRP $PKG/var/lib/amanda
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
cat $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/usr/doc/$PRGNAM-$VERSION
for i in template.d example ChangeLog COPYRIGHT NEWS ReleaseNotes ; do
ln -s ../../share/amanda/$i $i ;
done
)
cd -
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,10 +1,10 @@
PRGNAM="amanda"
VERSION="2.6.1p1"
VERSION="3.2.1"
HOMEPAGE="http://www.amanda.org/"
DOWNLOAD="http://downloads.sourceforge.net/amanda/amanda-2.6.1p1.tar.gz"
MD5SUM="eae0a75f21aa708a8dccf9ea7ac1c631"
DOWNLOAD="http://downloads.sourceforge.net/amanda/amanda-3.2.1.tar.gz"
MD5SUM="52448420a04d27b8ce47ef397b0a7061"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Christopher Walker"
EMAIL="kris240376@gmail.com"
APPROVED="dsomero"
APPROVED="Niels Horn"

View file

@ -14,12 +14,13 @@ config() {
config etc/amanda/3hole.ps.new
config etc/amanda/8.5x11.ps.new
config etc/amanda/DIN-A4.ps.new
config etc/amanda/DLT-A4.ps.new
config etc/amanda/DLT.ps.new
config etc/amanda/EXB-8500.ps.new
config etc/amanda/HP-DAT.ps.new
config etc/amanda/amanda-client-postgresql.conf.new
config etc/amanda/amanda-client.conf.new
config etc/amanda/amanda.conf.new
config etc/amanda/chg-mcutil.conf.new
config etc/amanda/chg-multi.conf.new
config etc/amanda/chg-scsi.conf.new
config etc/amanda/disklist.new