Gentoo Archives: gentoo-dev

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@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 12:28:46
Message-Id: 4C498AE5.2020608@gentoo.org
In Reply to: Re: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog by "Tiziano Müller"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 23-07-2010 09:31, Tiziano Müller wrote:
5 > Am Freitag, den 23.07.2010, 09:06 +0200 schrieb Thomas Beierlein:
6 >> -----BEGIN PGP SIGNED MESSAGE-----
7 >> Hash: SHA1
8 >>
9 >> Hi Jorge,
10 >>
11 >> On Thu, 22 Jul 2010 18:04:59 +0000
12 >> "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o> wrote:
13 >>> If you want to use sqlite3 as default and assuming your prefer
14 >>> postgres over mysql, you can use the following and drop the die from
15 >>> pkg_setup.
16 >>>
17 >>> DEPEND="
18 >> ... snip ...
19 >>> !bacula-clientonly? (
20 >>> sqlite3? (
21 >>> app-backup/bacula[-mysql.-postgres]
22 >>> dev-db/sqlite:3
23 >>> )
24 >>> !sqlite3? (
25 >>> postgres? (
26 >>> mysql? ( app-backup/bacula[-mysql] )
27 >>> dev-db/postgresql-base[threads]
28 >>> )
29 >>> !postgres? (
30 >>> mysql? ( virtual/mysql )
31 >>> !mysql? ( app-backup/bacula[sqlite3] )
32 >>> )
33 >>> !bacula-nodir? ( virtual/mta )
34 >>> )
35 >> ... snip ...
36 >>> "
37 >>
38 >> interesting. I did not know that an ebuild can use-depend on itself.
39 >> Good to know.
40 > No, not good. It doesn't make any sense.
41
42 You may not like it, but saying it doesn't make sense is wrong. It does
43 make sense and ensures what Tom was trying to get and is already being
44 used in the tree.
45
46 > We will have a solution for such cases somewhere in the future, but at
47 > the moment you should just display a warning that even though the user
48 > specified more than one db only is going to be used.
49
50 Nothing prevents us from using the above, which already produces the
51 same output as basic use dependencies, so users should be getting used
52 to it by now. It would be great if PMs could produce more detailed
53 warnings to the user, but that can wait (may have to wait?) for the new
54 solutions.
55
56 > Cheers,
57 > Tiziano
58 >
59
60 - --
61 Regards,
62
63 Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
64 Gentoo- forums / Userrel / Devrel / KDE / Elections
65 -----BEGIN PGP SIGNATURE-----
66 Version: GnuPG v2.0.16 (GNU/Linux)
67 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
68
69 iQIcBAEBAgAGBQJMSYrlAAoJEC8ZTXQF1qEPW7oP/0Ct9gGS3xeFjkX1EI2PwkL6
70 uu9ZMQOnKIrfeWkmN3XCtTB/CHoBKLQlnspiOh47O3Rm+dsOcaWg+sjTp+4UJqO9
71 ldTjEltcEbAk7PdpVceg4c3vvXJBsVyVWCYY2tXCQA7MQMamLZ12GxaqfB9un+hl
72 BuqUwqdvLaZ3EFkOyZR4UfSGd4sRPGaTQjHGtk0/P8LJXOy9RjfMPCYTfyKuSuHG
73 B0OU5y+GPcjEQtfkIDCQpUoKH/K3IhIwlkNGd9+nmS+x1ny9GZ0XSr4YiR+lVpLq
74 TU2iHW75HFJa6g0f4HGE01gwRfYy7QX9EZsjenrEiN6dkvI2BOIB92VWXj9Y5Ppa
75 ZBQey9MfQ7m26V4fJtlzM+PP25uJkIJLHBTPlrE44xuCWxMwKXjtGcFGrAkn1Uof
76 xJC94OhzGglcGxBcj8oKNRsdLPcPSajctbZgnxyLMUYpQhpQ2tAg7/loH1MUdbOE
77 rj943cw4kucHSz/AOBMZVV1nOdqnSvuO7WnbTxjynxe4wDzI+66bg7pEtFfqXaO+
78 rMPGhp6kUl29j7SIQnGzNcZCOZ4Dm/MXW4BQygFYkVZUsz+AFkCR3AZocrkMMpD2
79 dXJfn9QHsVaN8t8crYGLI6ya9M+bXYb5yh9O2QEmmJrIHbSweHGeb/nwAs+BtMJH
80 Gig3dsa7gH19pNYRBoKP
81 =zddJ
82 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>