On Fri, 2006-02-03 at 10:19 +0000, Francesco Riosa wrote: > Ok, I've been realized that having a slotted mysql is not the dream of > every end user ... or developer. > > Anyway I prefere too keep the possibility to do a similar install. > > A good solution should be to add the "multislot" USE flag to the ebuild > and let it to decide whenever make it slotted or not, sorry, this is not > viable, yes it's already used by other important packages but not well > supported by portage and should be used only in particular situations. > > The only thing that came in mind to me is to provide two series of > ebuilds, with different revision ranges. > The use flag "multislot" will still have a role, to make the ebuild fail > during pkg_setup() if set on the wrong ebuild. > It's possible to define the default ebuild to merge, assigning a greater > revision number will make an ebuild the default installed, I suggest the > un-slotted version to be the default. > > example: > > mysql-4.1.16-r[0..49] Need "+multislot" > mysql-4.1.16-r[50..99] Need "-multislot" > mysql-5.1.18-r[0..49] Need "+multislot" > mysql-5.1.18-r[50..99] Need "-multislot" > > whoever want to have a slot version will need to mask revisions between > 50 and 99 . > > The change will happen soon, between today and tomorrow, so toughts, > flames and insults are well accepted. > > - Francesco R. I really don't like this... It will give users more work to maintain their systems... Managing /etc/portage/ isn't easy, and forcing the users to use it, isn't good too. I speak for mysql: [EMAIL PROTECTED] ~ $ cat /etc/portage/package.keywords | wc -l 53 ^^ And this was about 100 before i did a cleanup to it.
What i sugest is to create a diferent package, mysql-{slotted,}. You guys from the mysql herd can use the same ebuils to both packages (the content i mean) and just check the ${PN} for the slotted word to see if the package is slotted or not.... Just my 0.02€ -- Carlos "r3pek" Silva Gentoo Developer (kernel/amd64/mobile-phone)
signature.asc
Description: This is a digitally signed message part