Bug 185659 - amanda 2.5.0
Summary: amanda 2.5.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-16 19:05 UTC by Orion Poplawski
Modified: 2014-08-31 23:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-09 20:18:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
amanda 2.5.0 spec file (21.73 KB, text/plain)
2006-03-16 19:05 UTC, Orion Poplawski
no flags Details
Updated amanda spec (21.71 KB, text/plain)
2006-03-27 18:06 UTC, Orion Poplawski
no flags Details
Patch to fix amcheck behavior when no good tape is found in the changer. (626 bytes, patch)
2006-05-16 18:10 UTC, Jason Tibbitts
no flags Details | Diff

Description Orion Poplawski 2006-03-16 19:05:11 UTC
Jay -

  Don't know if you are tracking amanda 2.5.0, but I thought I'd post my spec
for the latest snapshot in case it is useful.   I haven't done much testing yet,
but it basically builds and runs.
  The krb stuff doesn't compile on FC5 because of amanda's use of depecrated
interfaces.  I reported upstream, but I don't know anything about kerberos to
port the calls forward.

Comment 1 Orion Poplawski 2006-03-16 19:05:12 UTC
Created attachment 126242 [details]
amanda 2.5.0 spec file

Comment 2 Jay Fenlason 2006-03-16 19:12:03 UTC
I'm planning on building it into dist-fc6 shortly after the official 2.5.0 
tarball is released.  That should be Real Soon Now.  I haven't decided about 
backporting it to FC5 or FC4.  I'll have to experiment and see how backward 
compatable it is. 

Comment 3 Orion Poplawski 2006-03-27 18:06:42 UTC
Created attachment 126838 [details]
Updated amanda spec

The final 2.5.0 release, just in case it's useful.  Fixes some permissions and
sub-package locations.

What I still don't understand is why almost all of the files are installed with
amandauser/amandagroup ownership.  A straight amanada 2.5.0 doesn't do this,
don't know if 2.4.5 used to.  Certainly some files probably need to be, but not
all.

Comment 4 Orion Poplawski 2006-04-12 14:56:54 UTC
I'll be testing your amanda-2.5.0-2 package on FC5 shortly.  Just an FYI, I
dropped the following:

> libtoolize --copy --force
> aclocal
> automake
> autoconf

without any apparent difficulty from the spec I was previously using.

Also, /usr/bin/Mail should be left as a BuildRequires as well (fails to build in
mock).  Alternatively, you can set:

export MAILER=/usr/bin/Mail  (or mail)

before running configure.


Comment 5 Orion Poplawski 2006-04-12 15:40:08 UTC
In case it's useful.

--- amanda.spec 10 Apr 2006 19:52:13 -0000      1.29
+++ amanda.spec 12 Apr 2006 15:20:47 -0000
@@ -29,7 +29,7 @@
 Prereq: fileutils grep initscripts
 BuildRequires: dump gnuplot cups samba-client tar grep fileutils
 BuildRequires: libtool automake autoconf gcc-c++ readline-devel
-Requires: tar /usr/bin/Mail
+Requires: tar /bin/mail
 BuildRoot: %{_tmppath}/%{name}-%{version}-root

 %description
@@ -85,15 +85,11 @@
 %patch0 -p1 -b .bug18322
 %patch1 -p1 -b .pie
 %patch2 -p1 -b .overflow
-libtoolize --copy --force
-aclocal
-automake
-autoconf

 %build
 export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"
 export SED=sed
-
+export MAILER=/bin/mail
 %configure --enable-shared \
        --disable-static \
        --disable-dependency-tracking \


Comment 6 Orion Poplawski 2006-05-16 17:16:12 UTC
Looks like 2.5.0p2 is out with an important bug fix.  It also has the overflow
patch applied.  The above patch continues to work for me too, although you
should also be able to drop the BR on libtool, automake, and autoconf.

Comment 7 Jason Tibbitts 2006-05-16 17:53:02 UTC
There's another important (for me at least) patch that needs to be added to even
2.5.0p2, which I'll attach.  Without the patch, amcheck will go through a
changer, not find an acceptable tape for the next run, and fail to complain
about it.

Comment 8 Jason Tibbitts 2006-05-16 18:10:58 UTC
Created attachment 129251 [details]
Patch to fix amcheck behavior when no good tape is found in the changer.


Note You need to log in before you can comment on or make changes to this bug.