The bacula-5.0.2 package for Gentoo became available today.  There is
one minor problem with the ebuild, which will cause configuration to
fail (because of no database specified) if you are building the FD and
SD but not the Director.  (Which is to say, if you USE bacula-nodir but
not bacula-clientonly or bacula-nosd).

It's an extremely easy fix though.  A patch is attached.  To build using
this patch, do the following:

save the attached patch (say, to /tmp)

# cd /usr/portage/app-backup/bacula/
# patch -p0 < /tmp/bacula-5.0.2-ebuild.diff
# ebuild /usr/portage/app-backup/bacula/bacula-5.0.2.ebuild manifest
# emerge -av app-backup/bacula

The ebuild manifest step is *important*.  If you do not update the
manifest after patching, the ebuild checksum will be wrong, and portage
will helpfully re-download the ebuild for you, undoing your work.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.
--- bacula-5.0.2.ebuild.orig    2010-05-11 02:50:19.000000000 -0400
+++ bacula-5.0.2.ebuild 2010-05-13 08:54:37.622249278 -0400
@@ -153,11 +153,12 @@
                                --with-${mydbtype} \
                                --enable-batch-insert \
                                $(use_enable static static-dir)"
                fi
                if ! use bacula-nosd; then
-                       myconf="${myconf} $(use_enable static static-sd)"
+                       myconf="${myconf} $(use_enable static static-sd) \
+                               --with-${mydbtype}"
                fi
        fi
 
        if use qt4 && has_version '<x11-libs/qwt-5'; then
                eerror "x11-libs/qwt found in a version < 5, thus the"
------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to