From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Oc09E-00089s-K4 for garchives@archives.gentoo.org; Thu, 22 Jul 2010 18:05:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5E82E0A10; Thu, 22 Jul 2010 18:05:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D19B3E0ADB for ; Thu, 22 Jul 2010 18:05:14 +0000 (UTC) Received: from [192.168.1.69] (bl11-26-65.dsl.telepac.pt [85.244.26.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 880BC1B4041 for ; Thu, 22 Jul 2010 18:05:13 +0000 (UTC) Message-ID: <4C48884B.7030203@gentoo.org> Date: Thu, 22 Jul 2010 18:04:59 +0000 From: "Jorge Manuel B. S. Vicetto" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100714 Thunderbird/3.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog References: <20100722182029.145a15bb@ham> In-Reply-To: <20100722182029.145a15bb@ham> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: e2d7a83c-b3a5-489f-a2ca-e4064b9de4ce X-Archives-Hash: fbee942ab925172273f96062cadaddea -----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 > To: Jeremy Olexa > 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 wrote: > >> On Thu, 22 Jul 2010 15:48:51 +0000 (UTC), "Thomas Beierlein (tomjbe)" >> wrote: >>> >>> 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-----