Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 65922

Summary: [EBUILD] new package: amanda-afs-0.0.4.ebuild
Product: Gentoo Linux Reporter: Steve-o <fnjordy>
Component: New packagesAssignee: App-Backup Team <app-backup>
Status: RESOLVED UPSTREAM    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.amanda.org/docs/howto-afs.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 65711    
Attachments: amanda-afs-0.0.3.ebuild
amanda-afs-0.0.3.diff
Amanda-AFS 0.0.3
amanda-afs-0.0.3-r3.ebuild
amanda-afs-0.0.4.diff
amanda-afs-0.0.4.ebuild

Description Steve-o 2004-09-30 07:51:43 UTC
New ebuild for amanda-afs.

Amanda-afs is an extra package of tools in order to use AMANDA (tape backup) with AFS Volumes similar to the "vos backup" command.

I suggest app-admin/amanda-afs because amanda lives in app-admin/amanda.  This ebuild depends on openafs, and there is a patch submitted so that Amanda with the afs USE flag will depend on this package.


Steve-o
Comment 1 Steve-o 2004-09-30 07:54:23 UTC
Created attachment 40790 [details]
amanda-afs-0.0.3.ebuild
Comment 2 Steve-o 2004-09-30 07:55:43 UTC
Created attachment 40791 [details, diff]
amanda-afs-0.0.3.diff

Patch to fix some typos and fix a bind function link problem.
Comment 3 Steve-o 2004-10-04 08:50:00 UTC
Created attachment 41074 [details]
Amanda-AFS 0.0.3

extra changes for hard coded links in gtar-wrapper.
Comment 4 Steve-o 2004-12-14 13:46:30 UTC
Created attachment 45991 [details]
amanda-afs-0.0.3-r3.ebuild

Updated ebuild to point to specific tarball version at Cornell.
Comment 5 Steve-o 2005-10-13 02:16:56 UTC
Created attachment 70535 [details, diff]
amanda-afs-0.0.4.diff
Comment 6 Steve-o 2005-10-13 02:17:50 UTC
Created attachment 70536 [details]
amanda-afs-0.0.4.ebuild

Sync with upstream v0.0.4 and patch to compile.
Comment 7 Steve-o 2005-10-13 02:24:13 UTC
Suggested location is now app-backup/amanda-afs to coincide with Amanda's move
in portage.
Comment 8 Steve-o 2005-10-14 22:40:05 UTC
The gentoo amanda ebuild isn't that useful without hacking, anyway to note
here's what I had to do to get the crontab to work, first assign a shell to user
amanda (/bin/false -> /bin/sh), then update /etc/cron.daily/amanda, replacing
DailySet1 with your profile:

NB: this is for a vtape setup, hence the mt command has been removed.

#!/bin/sh

# check tapes, error is mailed to admin, then backup

export GNUTAR=/usr/sbin/gtar-wrapper.pl

su -c amanda "/usr/sbin/amcheck -t -m DailySet1 && \
        ( /usr/sbin/amdump DailySet1 )"

And to get it running ensure it has the executable bit set.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-03-07 20:18:01 UTC
steve-o: please port for amanda-2.5 and give assurances that it is tested.

if there is no response in one month, I will be closing this bug as WONTFIX.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-10 10:36:11 UTC
no response about porting this to 2.5 series.
Closing as UPSTREAM, please take it to them instead.