diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:07:54 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:07:54 +0200 |
commit | efed70088625be918a89c55814297e848f00a1cb (patch) | |
tree | 4040cc86e2db3aad02625cc3aee9ccacd722e4c0 /libraries/amanda | |
parent | 18fdf38c75e8302f9de295f1d5b4788c42d42b15 (diff) | |
download | slackbuilds-efed70088625be918a89c55814297e848f00a1cb.tar.gz |
libraries/amanda: Removed from 13.0 repository
Diffstat (limited to 'libraries/amanda')
-rw-r--r-- | libraries/amanda/README | 14 | ||||
-rw-r--r-- | libraries/amanda/README-SLACKWARE | 16 | ||||
-rw-r--r-- | libraries/amanda/amanda.SlackBuild | 104 | ||||
-rw-r--r-- | libraries/amanda/amanda.info | 8 | ||||
-rw-r--r-- | libraries/amanda/doinst.sh | 26 | ||||
-rw-r--r-- | libraries/amanda/slack-desc | 19 |
6 files changed, 0 insertions, 187 deletions
diff --git a/libraries/amanda/README b/libraries/amanda/README deleted file mode 100644 index be93970494..0000000000 --- a/libraries/amanda/README +++ /dev/null @@ -1,14 +0,0 @@ -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. - -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.5.2p1/README-SLACKWARE for more -information on how to modify inetd.conf to start the the Amanda daemons -automatically at boot. diff --git a/libraries/amanda/README-SLACKWARE b/libraries/amanda/README-SLACKWARE deleted file mode 100644 index e58e92e4b7..0000000000 --- a/libraries/amanda/README-SLACKWARE +++ /dev/null @@ -1,16 +0,0 @@ -README-SLACKWARE -Written by Christopher Walker <kris240376@gmail.com> - -You'll need to start the Amanda indexing services at boot. -The recommended way of doing this is to add the following to your /etc/inetd.conf -file (note that lines below may be wrapped): - - amandaidx stream tcp nowait amanda /usr/libexec/amindexd amindexd -auth=bsdtcp amdump amindexd amidxtaped - amidxtape stream tcp nowait amanda /usr/libexec/amidxtaped amidxtaped -auth=bsdtcp amdump amindexd amidxtaped - -You'll also need to start the Amanda client services at boot. -The recommended way of doing this is to add the following to /etc/inetd.conf -(note that the line may be wrapped): - - amanda stream tcp nowait amanda /usr/libexec/amandad amandad -auth=bsdtcp amdump amindexd amidxtaped - diff --git a/libraries/amanda/amanda.SlackBuild b/libraries/amanda/amanda.SlackBuild deleted file mode 100644 index bb6af9177a..0000000000 --- a/libraries/amanda/amanda.SlackBuild +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/sh - -# Slackware build script for amanda -# Written by Christopher Walker <kris240376@gmail.com> - -PRGNAM=amanda -VERSION=${VERSION:-2.5.2p1} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAB:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -AMANDAUSR=${AMANDAUSR:-amanda} -AMANDAGRP=${AMANDAGRP:-amanda} -AMANDAUID=${AMANDAUID:-211} -AMANDAGID=${AMANDAGID:-211} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -do_exit() { - echo ; echo "You must have the ${AMANDAUSR} user and ${AMANDAGRP} group in" - echo "order to build amanda. Sample lines to do so are below:" - echo "# groupadd -g ${AMANDAGID} ${AMANDAGRP}" - echo "# useradd -u ${AMANDAUID} -d /var/lib/amanda -s /bin/false -g ${AMANDAGRP} ${AMANDAUSR}" - echo "Exiting..." ; echo ; exit 1 -} - -# Check for Amanada user and group availability -if ! grep -q ^${AMANDAGRP}: /etc/group 2>/dev/null ; then - do_exit ; -elif ! grep -q ^${AMANDAUSR}: /etc/passwd 2>/dev/null ; then - do_exit ; -fi - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R a-s,u+w,go+r-w . - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --with-user=$AMANDAUSR \ - --with-group=$AMANDAGRP\ - --with-owner=root \ - --with-bsdudp-security \ - --with-ssh-security \ - --with-bsdtcp-security \ - --disable-static - -make || exit 1 -make install DESTDIR=$PKG || exit 1 - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -chown -R root:root $PKG/usr/man -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYRIGHT COPYRIGHT-APACHE COPYRIGHT-REGEX ChangeLog INSTALL \ - NEWS README ReleaseNotes $CWD/README-SLACKWARE $PKG/usr/doc/$PRGNAM-$VERSION -# Move documentation to Slackware'esque location -mv $PKG/usr/share/amanda/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* - -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 - cp -a example/$i $PKG/etc/$PRGNAM/$i.new; -done - -chown -R root.root $PKG/etc/$PRGNAM -chmod 644 $PKG/etc/$PRGNAM/* - -mkdir -p $PKG/var/lib/amanda -chown -R $AMANDAUSR:$AMANDAGRP $PKG/var/lib/amanda - -mkdir $PKG/install -cp $CWD/doinst.sh $CWD/slack-desc $PKG/install - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/libraries/amanda/amanda.info b/libraries/amanda/amanda.info deleted file mode 100644 index 34fa23cbea..0000000000 --- a/libraries/amanda/amanda.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="amanda" -VERSION="2.5.2p1" -HOMEPAGE="http://www.amanda.org/" -DOWNLOAD="http://downloads.sourceforge.net/amanda/amanda-2.5.2p1.tar.gz" -MD5SUM="da1234b12e1e34f8535f1c6269d27788" -MAINTAINER="Christopher Walker" -EMAIL="kris240376@gmail.com" -APPROVED="rworkman" diff --git a/libraries/amanda/doinst.sh b/libraries/amanda/doinst.sh deleted file mode 100644 index 6910610d70..0000000000 --- a/libraries/amanda/doinst.sh +++ /dev/null @@ -1,26 +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... -} - -config etc/amanda/3hole.ps.new -config etc/amanda/8.5x11.ps.new -config etc/amanda/DIN-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.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 - diff --git a/libraries/amanda/slack-desc b/libraries/amanda/slack-desc deleted file mode 100644 index 3912407eb4..0000000000 --- a/libraries/amanda/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 ':'. - - |-----handy-ruler------------------------------------------------------| -amanda: amanda (Advanced Maryland Autoamatic Network Disk Archiver) -amanda: -amanda: AMANDA, the Advanced Maryland Autoamatic Network Disk Archiver, -amanda: is a backup system that allows the administrator of a LAN to set -amanda: up a single master backup server to back up multiple hosts to a -amanda: single large capacity tape drive. AMANDA uses native dump -amanda: and/or GNU tar facilities and can back up a large number of -amanda: workstations running multiple versions of Unix. Recent versions -amanda: can also use SAMBA to back up Microsoft Windows hosts. -amanda: -amanda: |