Red Hat Bugzilla – Bug 185659
Last modified: 2014-08-31 19:28:08 EDT
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.
Created attachment 126242 [details]
amanda 2.5.0 spec file
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.
Created attachment 126838 [details]
Updated amanda spec
The final 2.5.0 release, just in case it's useful. Fixes some permissions and
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
I'll be testing your amanda-2.5.0-2 package on FC5 shortly. Just an FYI, I
dropped the following:
> libtoolize --copy --force
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.
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
@@ -85,15 +85,11 @@
%patch0 -p1 -b .bug18322
%patch1 -p1 -b .pie
%patch2 -p1 -b .overflow
-libtoolize --copy --force
export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"
%configure --enable-shared \
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.
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
Created attachment 129251 [details]
Patch to fix amcheck behavior when no good tape is found in the changer.