Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421581 - net-misc/modemmanager: $FILESDIR/01-org.freedesktop.ModemManager.pkla unused with >=sys-auth/polkit-0.106
Summary: net-misc/modemmanager: $FILESDIR/01-org.freedesktop.ModemManager.pkla unused ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 14:29 UTC by Samuli Suominen (RETIRED)
Modified: 2012-07-04 07:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
01-org.freedesktop.ModemManager.rules (01-org.freedesktop.ModemManager.rules,294 bytes, text/plain)
2012-06-27 14:47 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2012-06-17 14:29:12 UTC
See bug 421577. Same applied here. 0.106 will use JavaScript based .rules files instead of .pkla files.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-06-27 14:42:24 UTC
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
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-06-27 14:47:55 UTC
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
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-07-04 06:54:00 UTC
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).
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-07-04 07:04:09 UTC
(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!