urfkill is a new handler for rfkill switch in userspace, with support for dbus, glib and polkit. This ebuild has a small check for CONFIG_RFKILL, a simple init script (it covers only start and stop functions) and startup files for X sessions. Reproducible: Always
Created attachment 272951 [details] urfkill ebuild
Created attachment 272953 [details] init.d urfkill script
Created attachment 272955 [details] xdg autostart file
Created attachment 272957 [details] startup script for X session
i'm pretty sure samuli said in another bug (i think pambase, consolekit and CONFIG_AUDITSYSCALL related) that current policy is not to die on missing kernel configuration options. looks like we're dying here with missing CONFIG_RFKILL.
econf will also die because of the commented line: config.status: executing po/stamp-it commands /var/tmp/portage/net-wireless/urfkill-0.1.1/temp/environment: line 3010: --disable-dependency-tracking: command not found * ERROR: net-wireless/urfkill-0.1.1 failed (configure phase): * econf failed
Created attachment 273477 [details] urfkill ebuild fixed
Fixed. Thanks :)
ebuild isn't creating /etc/init.d/urfkilld for me, isn't that what newinitd is supposed to do?
Created attachment 273491 [details] new fix for urfkill ebuild
Created attachment 273493 [details] init.d urfkilld script fixed
Forgot a parameter for newinitd in ebuild, and fixed init script too.
I see that it's marked only for ~x86; Could be emerging on amd64 problematic?
(In reply to comment #13) > I see that it's marked only for ~x86; Could be emerging on amd64 problematic? No, it shouldn't be problematic. If it works for you I'll add ~amd64 in a later revision of ebuild.