pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/amanda upgrade planned?



Torsten Harenberg <harenberg%physik.uni-wuppertal.de@localhost> writes:

> sorry if this is the wrong list to ask (don't want to annoy anybody).

The correct list is pkgsrc-users, not tech-pkg.  I've followed up there.

> I would like to take advantage of some of the new features of
> amanda-2.5.0 . It's not yet in pkgsrc (this is still 2.4.4p4). Are
> there any plans to upgrade so it's worth waiting? Or should I try to
> compile and run the newer version mayself and report on
> success/problems? I would try on an alpha.

I would suggest compiling it yourself for now.
I use the following script with 2.4.4 (that I have in CVS because for
a while the kerberos support was broken).

#!/bin/sh

INSTALL_PREFIX="/usr/amanda"
AMANDA_USER="amanda"
AMANDA_GROUP="operator"

COMMON_OPTIONS="\
--prefix=$INSTALL_PREFIX \
--with-user=$AMANDA_USER \
--with-group=$AMANDA_GROUP \
--without-rundump \
--with-fqdn \
--with-amandahosts \
--with-mmap \
--with-dump-honor-nodump \
--without-smbclient"

if test x`uname -s` = "xDarwin"
then COMMON_OPTIONS="$COMMON_OPTIONS --with-gnutar=/usr/hfstar/bin/tar"
fi


KRB_LOCATION="/usr"
KRB_KEYFILE="/etc/srvtab.amanda"
KRB_PRINCIPAL="amanda"
KRB_OPTIONS="\
--with-krb4-security=$KRB_LOCATION \
--with-client-principal=$KRB_PRINCIPAL \
--with-client-keyfile=$KRB_KEYFILE"

NO_SERVER_OPTIONS="--without-server"

build_server="no"
build_krb="no"

for i
  do case $i in

    --server)
        build_server="yes"
        ;;

    build-nokrb)
        build_krb="no"
        ;;

    build-krb)
        build_krb="yes"
        ;;

    install)
        make install
        ;;

    *)
        echo "Usage: IR.rules [--server] {build-nokrb|build-krb|install}"
        exit 1
        ;;

  esac
done

configure_options="$COMMON_OPTIONS"

if test x$build_server = "xno"; then
    configure_options="$configure_options $NO_SERVER_OPTIONS"
fi

if test x$build_krb = "xyes"; then
    configure_options="$configure_options $KRB_OPTIONS"
fi

# allow for CVSREAD=t (although these files should not be in CVS
for f in aclocal.m4 configure; do
    if [ -f $f ]; then
        chmod u+w $f
    fi
done

autoreconf

echo "./configure $configure_options"
./configure $configure_options

make



-- 
    Greg Troxel <gdt%ir.bbn.com@localhost>

Attachment: pgpmXowpZdei2.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index