diff options
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/Manifest.gz | bin | 4892 -> 4888 bytes | |||
-rw-r--r-- | sys-power/acpid/Manifest | 2 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.34.ebuild | 56 |
3 files changed, 58 insertions, 0 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz Binary files differindex 7973aeb767d3..cfcd6496bc56 100644 --- a/sys-power/Manifest.gz +++ b/sys-power/Manifest.gz diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest index 2ffca76e0198..ed23379f1326 100644 --- a/sys-power/acpid/Manifest +++ b/sys-power/acpid/Manifest @@ -5,5 +5,7 @@ AUX acpid-2.0.26-init.d 436 BLAKE2B de812b8d63f8427fc32b5d177f39d80cfdc8b92918cf AUX acpid.service 155 BLAKE2B 763b5f0ad5d03e91098ec9e71a17c5d0a52c90f1935381722513ef9ff5e53c4d1c98a989632a73707af006bf6a4fbd54f8e251b188eb84bfa8bf34c9cb8d5df8 SHA512 51c1e2a10968bd6555debf237c064dec7a347a5adfe0e8612e9ad49168e727d0779744ae8c2842b2e943dd46ab310343aeebb9eb6c9e85cb77123d966e8561b1 AUX acpid.socket 115 BLAKE2B 9d869f1fd573b2dc885a3328e5e70fcc28922343a7a408e71a1a59ee8b60e3f86e01a73f7bba76a87b5148eeee67728efd117b8a533b1f4997b2e6dcdaed7a0d SHA512 33de08516aefdb881c55843384407ebcae60a6c4c14af1e12678ae2cf6b7cde4122e916d10df8d24e78c80c50e41e0f1f94f67f4e09cef7631507cf3be83f5e0 DIST acpid-2.0.33.tar.xz 156580 BLAKE2B 72a0835f3d88f4ccae44016809fdb930977f6b02dae6f74068186a8c850237764a1e8cd69a478e5af42115d5f630a9f91cd77b35b8cf01854e24b7e06bbdd536 SHA512 491a58c62fcad44dc57cbd9294437fbc215c2ec99a030286601cd1956ea504e723e61b11b315983073d66aace1997bc40e6421475f6073298f60b8dcda2add75 +DIST acpid-2.0.34.tar.xz 159924 BLAKE2B 1379978f8c5816febcde2d3bb641f8a51736ae0caed97a45caa990576d314608a455307df11f6abafa2ef8bbaa47554f581605aa9c1af150ee64b9eb684fee15 SHA512 2bf92295b55bb44fe83074b3e0c1ae639f63edaeea84b2184ae95b38852be40f380d5413110b8c0fcb2efc2ec01bf4764e1dcb97022fc724bebbfc35c0b63c81 EBUILD acpid-2.0.33.ebuild 1500 BLAKE2B 1dea84343f87e457edec570258436550cc7abbb6e77919060b6ec0ce611cc3c0a212a6507b0953c0705521a49ba6a6f78880e8b1b3cda48d540c3f037c441f2c SHA512 d649af8cbf409e4193b9511f0642b376231cfdbde6c10af309c0e62914a3e50e7700a35119517bc831517118270235f66e1f314a1bef2fd1472643570a74779d +EBUILD acpid-2.0.34.ebuild 1503 BLAKE2B bb63586858dfd32e85e447c6159e17a9b9b3def75bd648c7a76169096765a233f556c1144b343234b76990fa6457ce018232308743c60302ed72bad4271364cd SHA512 b7621431ec5eb53eda0801e64d23a36edfcfabe05c378b5fc38337a6251576798d361ed563b3c7ad2dc9c1fa4923baae3df1e3e8e6c7f1543704911d4fc69319 MISC metadata.xml 322 BLAKE2B 8b701e7a97b323471ea98b4eb2ffcd6d6b195182e2aa1aa07cbcdafc7d0ae9afb7d24b55982adb183c7c73c33cbedb8a82232b6531ebb2fce30d22cb29a0cdee SHA512 0e5ea0b0d6f75b99babbd2578e1fb2b2fff20584699c3a762cb8395cb52c141509f109ed2894e5c3fb4c338ce32297a67a31f313c5141b5a23c758c7a21586f9 diff --git a/sys-power/acpid/acpid-2.0.34.ebuild b/sys-power/acpid/acpid-2.0.34.ebuild new file mode 100644 index 000000000000..ec53324174f6 --- /dev/null +++ b/sys-power/acpid/acpid-2.0.34.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info systemd + +DESCRIPTION="Daemon for Advanced Configuration and Power Interface" +HOMEPAGE="https://sourceforge.net/projects/acpid2/" +SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86" +IUSE="selinux" + +RDEPEND="selinux? ( sec-policy/selinux-apm )" +DEPEND=">=sys-kernel/linux-headers-3" + +pkg_pretend() { + local CONFIG_CHECK="~INPUT_EVDEV" + local WARNING_INPUT_EVDEV="CONFIG_INPUT_EVDEV is required for ACPI button event support." + [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config +} + +pkg_setup() { :; } + +src_install() { + emake DESTDIR="${D}" install + + newdoc kacpimon/README README.kacpimon + dodoc -r samples + rm -f "${D}"/usr/share/doc/${PF}/COPYING || die + + exeinto /etc/acpi + newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh + exeinto /etc/acpi/actions + newexe samples/powerbtn/powerbtn.sh powerbtn.sh + insinto /etc/acpi/events + newins "${FILESDIR}"/${PN}-1.0.4-default default + + newinitd "${FILESDIR}"/${PN}-2.0.26-init.d ${PN} + newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN} + + systemd_dounit "${FILESDIR}"/${PN}.{service,socket} +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "You may wish to read the Gentoo Linux Power Management Guide," + elog "which can be found online at:" + elog "https://wiki.gentoo.org/wiki/Power_management/Guide" + elog + fi +} |