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
1 Am Freitag, den 23.07.2010, 09:06 +0200 schrieb Thomas Beierlein:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Hi Jorge,
6 >
7 > On Thu, 22 Jul 2010 18:04:59 +0000
8 > "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o> wrote:
9 > > If you want to use sqlite3 as default and assuming your prefer
10 > > postgres over mysql, you can use the following and drop the die from
11 > > pkg_setup.
12 > >
13 > > DEPEND="
14 > ... snip ...
15 > > !bacula-clientonly? (
16 > > sqlite3? (
17 > > app-backup/bacula[-mysql.-postgres]
18 > > dev-db/sqlite:3
19 > > )
20 > > !sqlite3? (
21 > > postgres? (
22 > > mysql? ( app-backup/bacula[-mysql] )
23 > > dev-db/postgresql-base[threads]
24 > > )
25 > > !postgres? (
26 > > mysql? ( virtual/mysql )
27 > > !mysql? ( app-backup/bacula[sqlite3] )
28 > > )
29 > > !bacula-nodir? ( virtual/mta )
30 > > )
31 > ... snip ...
32 > > "
33 >
34 > interesting. I did not know that an ebuild can use-depend on itself.
35 > Good to know.
36 No, not good. It doesn't make any sense.
37 We will have a solution for such cases somewhere in the future, but at
38 the moment you should just display a warning that even though the user
39 specified more than one db only is going to be used.
40
41 Cheers,
42 Tiziano
43
44 --
45 Tiziano Müller
46 Gentoo Linux Developer
47 Areas of responsibility:
48 Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor
49 E-Mail : dev-zero@g.o
50 GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30

Attachments

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

Replies