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: Thu, 22 Jul 2010 18:05:38
Message-Id: 4C48884B.7030203@gentoo.org
In Reply to: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog by Thomas Beierlein
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi Thomas
5
6 On 22-07-2010 16:20, Thomas Beierlein wrote:
7 > Did not see the mail here and replied only with p.m. to darkside.
8 >
9 > So please find here teh attached copy to keep the discussion on the
10 > right list.
11 >
12 > Thomas.
13 >
14 > Begin forwarded message:
15 >
16 > Date: Thu, 22 Jul 2010 18:07:40 +0200
17 > From: Thomas Beierlein <tomjbe@g.o>
18 > To: Jeremy Olexa <darkside@g.o>
19 > Subject: Re: [gentoo-commits] gentoo-x86 commit in app-backup/bacula:
20 > bacula-5.0.2-r2.ebuild ChangeLog
21 >
22 >
23 > On Thu, 22 Jul 2010 10:57:32 -0500
24 > Jeremy Olexa <darkside@g.o> wrote:
25 >
26 >> On Thu, 22 Jul 2010 15:48:51 +0000 (UTC), "Thomas Beierlein (tomjbe)"
27 >> <tomjbe@g.o> wrote:
28 >>> <snip>
29 >>> elif [[ "${dbnum}" -gt 1 ]]; then
30 >>> eerror
31 >>> eerror "You have set ${P} to use multiple
32 >>> database types." eerror "I don't know which to set as the default!"
33 >>> eerror "You can
34 >>> use /etc/portage/package.use to set per-package USE flags" eerror
35 >>> "Set it so only one database type, mysql, postgres, sqlite3" eerror
36 >>> die "Multiple database types selected."
37 >>
38 >> Hello Thomas,
39 >> I've just noticed this code snippet. Please don't die here, instead
40 >> pick a default if there are conflicting choices in USE.
41 >>
42 >> For reference, please see "Conflicting USE Flags" section on this
43 >> page,
44 >> http://devmanual.gentoo.org/general-concepts/use-flags/index.html
45 >>
46 >> Thanks,
47 >> Jeremy
48 >
49 > Hi Jeremy,
50 >
51 > thanks for pointing it out.
52 >
53 > That is old heritage from former maintainer. I tried to fix the ebuild
54 > step by step and that was atm not on my 'urgent' list :).
55 >
56 > So maybe as sqlite3 use flag is default now. I should also default to
57 > that database here.
58 >
59 > Regards,
60 > Thomas.
61
62 If you want to use sqlite3 as default and assuming your prefer postgres
63 over mysql, you can use the following and drop the die from pkg_setup.
64
65 DEPEND="
66 dev-libs/gmp
67 sys-libs/ncurses
68 >=sys-libs/zlib-1.1.4
69 !bacula-clientonly? (
70 sqlite3? (
71 app-backup/bacula[-mysql.-postgres]
72 dev-db/sqlite:3
73 )
74 !sqlite3? (
75 postgres? (
76 mysql? ( app-backup/bacula[-mysql] )
77 dev-db/postgresql-base[threads]
78 )
79 !postgres? (
80 mysql? ( virtual/mysql )
81 !mysql? ( app-backup/bacula[sqlite3] )
82 )
83 !bacula-nodir? ( virtual/mta )
84 )
85 logwatch? ( sys-apps/logwatch )
86 python? ( dev-lang/python[threads] )
87 qt4? (
88 x11-libs/qt-svg:4
89 >=x11-libs/qwt-5
90 )
91 readline? ( >=sys-libs/readline-4.1 )
92 ssl? ( dev-libs/openssl )
93 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
94 "
95
96 - --
97 Regards,
98
99 Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
100 Gentoo- forums / Userrel / Devrel / KDE / Elections
101 -----BEGIN PGP SIGNATURE-----
102 Version: GnuPG v2.0.16 (GNU/Linux)
103 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
104
105 iQIcBAEBAgAGBQJMSIhLAAoJEC8ZTXQF1qEPrJkP/1UxpBirLBwfK67MS6o1ydgy
106 LnrW17cz1kSSOAyrLAKG3Ef0gOLUSTKDvcaSDWg/J/eyQR9zTE88jO8bZggUmZNp
107 idZpdBHu8KTtcKG+VJ4Y9xqNF1kBJ+qIU3SaY8bmclKo9xL0Obro24daxHD6TzdH
108 aqcoU+CcK64kV2xOGefOFkW6z5SrsqabDIDut19/g3kNK2vt/9R6U6ZaFPFbxNFn
109 ZakHsLCkb8klAmxQPOdH82UXMZ6AJTBBOoaKSbhlNaUqE1bKns8Y2oemoSTQfPrA
110 KFf26pKjLKALvnDuFWLC/k/mBPBtzTiDDY96ux4jJuKGfJM9UcbhqKLt1M6LnpSG
111 WF4S+DK9RaHGpFCIVI5vwb+G+ZTl4CFWDCz/rJMCO+n7wuTMuytG7UdumaYMdND1
112 9G6LcHCos+49q1NkpJ+6PO0p2OTmSqNGAx8j92wK1sOaBGJ8GKv6kei+QH0VfWU+
113 kGTUq3F0kelPtK0YE06U6xIPTaBZcJH5NJOxaWJ0C3uLru1rtw2aOQvauLezAPWZ
114 WfeDPz09IuPxRSLRrqgwwUnFGZoJr4e9ALNftwxFvoaVKqYRE/7YgsCsztcmZ0h9
115 QMahFvYidDK+nDJ8bPVwXNqK6/m/ND+j42fGNA0vHu/wakSrBzzLzotALFRxtMYB
116 rpkyNyJC7DtpzqWnEycX
117 =46dt
118 -----END PGP SIGNATURE-----

Replies