summaryrefslogtreecommitdiff
path: root/system/amanda/amanda.SlackBuild
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2011-03-03 22:17:52 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-03 22:17:52 -0300
commitb8c0588edd76779acc46aa6a32461617b6ebfdd6 (patch)
treecdd9c68fac869d852e88065f00d8767da044acf5 /system/amanda/amanda.SlackBuild
parent4d3fb96c4c1f38532698cc8fc3410463e78fe097 (diff)
downloadslackbuilds-b8c0588edd76779acc46aa6a32461617b6ebfdd6.tar.gz
system/amanda: Updated for version 3.2.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/amanda/amanda.SlackBuild')
-rw-r--r--system/amanda/amanda.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild
index b75c34141c..d46ed47606 100644
--- a/system/amanda/amanda.SlackBuild
+++ b/system/amanda/amanda.SlackBuild
@@ -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