-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thomas

On 22-07-2010 16:20, Thomas Beierlein wrote:
> Did not see the mail here and replied only with p.m. to darkside.
> 
> So please find here teh attached copy to keep the discussion on the
> right list.
> 
> Thomas.
> 
> Begin forwarded message:
> 
> Date: Thu, 22 Jul 2010 18:07:40 +0200
> From: Thomas Beierlein <tom...@gentoo.org>
> To: Jeremy Olexa <darks...@gentoo.org>
> Subject: Re: [gentoo-commits] gentoo-x86 commit in app-backup/bacula:
> bacula-5.0.2-r2.ebuild ChangeLog
> 
> 
> On Thu, 22 Jul 2010 10:57:32 -0500
> Jeremy Olexa <darks...@gentoo.org> wrote:
> 
>> On Thu, 22 Jul 2010 15:48:51 +0000 (UTC), "Thomas Beierlein (tomjbe)"
>> <tom...@gentoo.org> wrote:
>>> <snip>
>>>             elif [[ "${dbnum}" -gt 1 ]]; then
>>>                     eerror
>>>                     eerror "You have set ${P} to use multiple
>>> database types." eerror "I don't know which to set as the default!"
>>>                     eerror "You can
>>> use /etc/portage/package.use to set per-package USE flags" eerror
>>> "Set it so only one database type, mysql, postgres, sqlite3" eerror
>>>                     die "Multiple database types selected."
>>
>> Hello Thomas,
>> I've just noticed this code snippet. Please don't die here, instead
>> pick a default if there are conflicting choices in USE.
>>
>> For reference, please see "Conflicting USE Flags" section on this
>> page,
>> http://devmanual.gentoo.org/general-concepts/use-flags/index.html
>>
>> Thanks,
>> Jeremy
> 
> Hi Jeremy,
> 
> thanks for pointing it out.
> 
> That is old heritage from former maintainer. I tried to fix the ebuild
> step by step and that was atm not on my 'urgent' list :).
> 
> So maybe as sqlite3 use flag is default now. I should also default to
> that database here.
> 
> Regards,
>       Thomas.

If you want to use sqlite3 as default and assuming your prefer postgres
over mysql, you can use the following and drop the die from pkg_setup.

DEPEND="
    dev-libs/gmp
    sys-libs/ncurses
    >=sys-libs/zlib-1.1.4
    !bacula-clientonly? (
        sqlite3? (
            app-backup/bacula[-mysql.-postgres]
            dev-db/sqlite:3
        )
        !sqlite3? (
            postgres? (
                mysql? ( app-backup/bacula[-mysql] )
                dev-db/postgresql-base[threads]
            )
            !postgres? (
                mysql? ( virtual/mysql )
                !mysql? ( app-backup/bacula[sqlite3] )
            )
            !bacula-nodir? ( virtual/mta )
    )
    logwatch? ( sys-apps/logwatch )
    python? ( dev-lang/python[threads] )
    qt4? (
        x11-libs/qt-svg:4
        >=x11-libs/qwt-5
    )
    readline? ( >=sys-libs/readline-4.1 )
    ssl? ( dev-libs/openssl )
    tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
"

- -- 
Regards,

Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / KDE / Elections
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMSIhLAAoJEC8ZTXQF1qEPrJkP/1UxpBirLBwfK67MS6o1ydgy
LnrW17cz1kSSOAyrLAKG3Ef0gOLUSTKDvcaSDWg/J/eyQR9zTE88jO8bZggUmZNp
idZpdBHu8KTtcKG+VJ4Y9xqNF1kBJ+qIU3SaY8bmclKo9xL0Obro24daxHD6TzdH
aqcoU+CcK64kV2xOGefOFkW6z5SrsqabDIDut19/g3kNK2vt/9R6U6ZaFPFbxNFn
ZakHsLCkb8klAmxQPOdH82UXMZ6AJTBBOoaKSbhlNaUqE1bKns8Y2oemoSTQfPrA
KFf26pKjLKALvnDuFWLC/k/mBPBtzTiDDY96ux4jJuKGfJM9UcbhqKLt1M6LnpSG
WF4S+DK9RaHGpFCIVI5vwb+G+ZTl4CFWDCz/rJMCO+n7wuTMuytG7UdumaYMdND1
9G6LcHCos+49q1NkpJ+6PO0p2OTmSqNGAx8j92wK1sOaBGJ8GKv6kei+QH0VfWU+
kGTUq3F0kelPtK0YE06U6xIPTaBZcJH5NJOxaWJ0C3uLru1rtw2aOQvauLezAPWZ
WfeDPz09IuPxRSLRrqgwwUnFGZoJr4e9ALNftwxFvoaVKqYRE/7YgsCsztcmZ0h9
QMahFvYidDK+nDJ8bPVwXNqK6/m/ND+j42fGNA0vHu/wakSrBzzLzotALFRxtMYB
rpkyNyJC7DtpzqWnEycX
=46dt
-----END PGP SIGNATURE-----

Reply via email to