Skip to content

user/acpid: new package

Ghost User requested to merge (removed):master into master

This merge requests adds the acpid daemon, which listens for ACPI events such as lid switches triggering or special purpose keyboard keys being pressed, and can be configured to take actions upon these events.

This is the first package I have made for Adelie, and the APKBUILD was created using newapkbuild(8) and is otherwise a mechanical conversion of Arch Linux's PKGBUILD with a sideways look at the APKBUILD of system/at for reference. Other distributions customarily include a default "catch-all" event handler which logs all ACPI events to syslog using logger(1), so I have included one as part of the package.

I have copied the OpenRC init script and configuration script from Gentoo's gitweb; acpid itself is GPL 2 or later (according to the comments in the source code), while the OpenRC init script appears to be GPL 2 only. I'm not sure how to proceed here, however I have marked the package licence as "GPL-2.0+" -- some guidance on this would be appreciated.

Merge request reports