Gentoo Archives: gentoo-dev

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog
Date: Fri, 23 Jul 2010 09:32:10
Message-Id: 1279877490.16887.2.camel@neuromancer.dev-zero.ch
In Reply to: Re: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog by Thomas Beierlein
Am Freitag, den 23.07.2010, 09:06 +0200 schrieb Thomas Beierlein:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Jorge, > > On Thu, 22 Jul 2010 18:04:59 +0000 > "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o> wrote: > > 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=" > ... snip ... > > !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 ) > > ) > ... snip ... > > " > > interesting. I did not know that an ebuild can use-depend on itself. > Good to know.
No, not good. It doesn't make any sense. We will have a solution for such cases somewhere in the future, but at the moment you should just display a warning that even though the user specified more than one db only is going to be used. Cheers, Tiziano -- Tiziano Müller Gentoo Linux Developer Areas of responsibility: Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor E-Mail : dev-zero@g.o GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies