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

View file

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

View file

@ -1,10 +1,10 @@
PRGNAM="amanda" PRGNAM="amanda"
VERSION="2.6.1p1" VERSION="3.2.1"
HOMEPAGE="http://www.amanda.org/" HOMEPAGE="http://www.amanda.org/"
DOWNLOAD="http://downloads.sourceforge.net/amanda/amanda-2.6.1p1.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/amanda/amanda-3.2.1.tar.gz"
MD5SUM="eae0a75f21aa708a8dccf9ea7ac1c631" MD5SUM="52448420a04d27b8ce47ef397b0a7061"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Christopher Walker" MAINTAINER="Christopher Walker"
EMAIL="kris240376@gmail.com" 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/3hole.ps.new
config etc/amanda/8.5x11.ps.new config etc/amanda/8.5x11.ps.new
config etc/amanda/DIN-A4.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/DLT.ps.new
config etc/amanda/EXB-8500.ps.new config etc/amanda/EXB-8500.ps.new
config etc/amanda/HP-DAT.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-client.conf.new
config etc/amanda/amanda.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-multi.conf.new
config etc/amanda/chg-scsi.conf.new config etc/amanda/chg-scsi.conf.new
config etc/amanda/disklist.new config etc/amanda/disklist.new