--- amanda-2.4.4_p3.ebuild.orig 2004-09-30 10:15:46.000000000 -0400 +++ amanda-2.4.4_p3.ebuild 2004-10-01 16:00:16.000000000 -0400 @@ -23,7 +23,8 @@ samba? ( net-fs/samba ) berkdb? ( sys-libs/db ) gdbm? ( sys-libs/gdbm ) - !sparc? ( xfs? ( sys-fs/xfsdump ) )" + !sparc? ( xfs? ( sys-fs/xfsdump ) ) + afs? ( net-fs/openafs app-admin/amanda-afs )" DEPEND="${RDEPEND} sys-devel/autoconf @@ -31,7 +32,7 @@ #dev-lang/perl sys-apps/gawk? -IUSE="pic debug gdbm berkdb samba xfs" +IUSE="pic debug gdbm berkdb samba xfs afs" S=${WORKDIR}/${P/_/} MYFILESDIR=${WORKDIR}/files @@ -167,6 +168,9 @@ # Where to put our files myconf="${myconf} --localstatedir=${AMANDA_USER_HOMEDIR}" + # AFS Gnu tar wrapper + use afs && myconf="${myconf} --with-gnutar=/usr/sbin/gtar-wrapper.pl" + # Samba support use samba && myconf="${myconf} --with-smbclient=/usr/bin/smbclient" || myconf="${myconf} --without-smbclient" @@ -261,6 +265,8 @@ docinto example2 newdoc ${S}/example/amanda.conf amanda.conf newdoc ${S}/example/disklist disklist + # AFS volume example disklist + use afs && docinto afs_example && newdoc ${FILESDIR}/example_afs_disklist disklist # Compress it all prepalldocs