See bug 421577. Same applied here. 0.106 will use JavaScript based .rules files instead of .pkla files.
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/modemmanager/modemmanager-0.5.2.0.ebuild?r1=1.3&r2=1.4 will wait for someone who is actually using modemanager to commit the updated .rules file
Created attachment 316449 [details] 01-org.freedesktop.ModemManager.rules insinto /etc/polkit-1/rules.d doins "${FILESDIR}"/01-org.freedesktop.ModemManager.rules completely untested and I'm unsure if ; is the correct separator for the action.id to list multiple ones... "man polkit" for more info
Fixed, thanks. (But the .rules file attached in comment 1 did not work and needed to be fixed; in javascript, that's not how you test a string against a list of strings.) >*modemmanager-0.5.2.0-r1 (04 Jul 2012) > > 04 Jul 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > +files/01-org.freedesktop.ModemManager.rules, > +modemmanager-0.5.2.0-r1.ebuild: > Install polkit-1/rules.d file for polkit-0.106 support (bug #421581, thanks > to Samuli Suominen).
(In reply to comment #3) > Fixed, thanks. (But the .rules file attached in comment 1 did not work and > needed to be fixed; in javascript, that's not how you test a string against > a list of strings.) That's what I said in Comment #2 ;-) Thanks!