mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
acpid: update with gentoo
This commit is contained in:
parent
d0e57082d5
commit
af730fc6a5
4 changed files with 98 additions and 0 deletions
|
|
@ -1,11 +1,15 @@
|
|||
AUX acpid-1.0.4-default 663 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 SHA1 e74b2f7388c303fc3d3e33c0500d4b8185474dce SHA256 2b18111978043d68848983a54dfc946dd9b9b15592d0f4dc33491599dbe24b23
|
||||
AUX acpid-1.0.6-conf.d 156 RMD160 a7c8822a88b51f185c8740b075c968d0c045791d SHA1 497f35e98f1f499d2223c52f4491218b3def489a SHA256 5dfc6dbf687a47e853b0a9f9ed491cb1778b0d99195df5e7a5de849d269ca28c
|
||||
AUX acpid-1.0.6-default.sh 1214 RMD160 1d656cee490664931062cb6a8f6ee968b48f28d1 SHA1 52b7a36da5915dfb72636cf554d5b0aa99779ecc SHA256 9d95f204b39129758de47bd0b003ff47501759db98a8641034e1203130ea1f52
|
||||
AUX acpid-2.0.11-init.d 705 RMD160 4be48a2621d676b5a3e0d224f453f2ca76e1239a SHA1 26c0bf6cf54eb7f1722a7d3bda4d2e1231b0323b SHA256 f1f818f7e085ecd8b46992a89ff0471558bb8ddbebbaa677089dcabb993c286d
|
||||
AUX acpid-2.0.3-init.d 668 RMD160 66d460850e02e8e817c3dbabef120a0d0e53758f SHA1 f4fc04c345215eb4c1ec971d284cb18a9405a0e8 SHA256 70d0ffc4cc11046e4445619784e187c009a97273b9826e7f62a0b7c92aa330d0
|
||||
AUX acpid-2.0.3.patch 881 RMD160 81a32d23d72e3104d67c37863f14aa88fe8b5b39 SHA1 ea9c629cbfed5f2e3e34c4d242fcff2b69fda51d SHA256 d313d9645e705221ef9f4610a0b127ee38240125d5e2f39554537bde38a7a813
|
||||
AUX acpid-pentoo-1.0.6-default.sh 1401 RMD160 2f6af4a0ad19dabebafee52ee793ce8c0a7a471b SHA1 50e3d9ccc85e24829e29a32deb6caf458534f6bd SHA256 d9e9f6d3b309f995d986d611149e1a5d252cbde33d62732bf6e5ac713fe9d3ab
|
||||
AUX acpid.service 135 RMD160 dee559a0c4e8ae4372002851e518f1477ff1d1eb SHA1 47f40dee8d2e341b9c96f70a61439b6a1837dd52 SHA256 c01b8cc2532c4a130c020f042ab9e9be9a9ff075ad7c2e9c9f971a57b40b5cc6
|
||||
DIST acpid-2.0.12.tar.gz 76333 RMD160 f81377fee79a8150c262255a9f00eafe528eb1f7 SHA1 21a0fccb8ec13badb8a9a7d2907020309159c4ca SHA256 dc8c600f6a7f0ceb423099874e66c6e091ae73eb2227dc5f771dacac50a1b6eb
|
||||
DIST acpid-2.0.6.tar.gz 74689 RMD160 d22a43998c795a8a2058cd53a06f6d336fc6220e SHA1 d2f5fdb80c6cee8b49250435d66828a4610b0846 SHA256 89db450ab9c740f24fb8324f75efebf38096afa0f4c5cabc4072441659059a33
|
||||
DIST acpid-2.0.9.tar.gz 75552 RMD160 45352e7e2a318c68e4464b29537b9f3b00a87155 SHA1 b64ed84c53997a33650205f1582bf60a68688d53 SHA256 f02a4931083ef52e6785c989d9d44720387c1d65a42bdcd364e3b06cd588ba65
|
||||
EBUILD acpid-2.0.12.ebuild 1420 RMD160 db405ef6f68550edbc86cd468063315b15a6ab31 SHA1 405ad155c297040ee8fdc6a8a8da075c8ca483e1 SHA256 6d8d6a08ddadd4f3211bd61be1fefe58a1a0fd5a85f905a516e8a2c103ec1075
|
||||
EBUILD acpid-2.0.6.ebuild 1396 RMD160 7ebb98d9da4219ee8547e18039f6a71049701e33 SHA1 c223e0208fb1f513e694f6c2d544427411ee32a8 SHA256 54175c529bdaf7243258b7b05969bd8d0c2f748e5418b8e4eefe5e78cb4ef7ea
|
||||
EBUILD acpid-2.0.9.ebuild 1320 RMD160 7dbda34cd6a8da17ca17c797eceaf5243cab2528 SHA1 cf0f5f0d13fa458ba57ddc9e8d8b3c329d501a8d SHA256 684a9e36d9f34dd9fad3edf3b787446c78439046a3f6414ac4a0df6265a44392
|
||||
MISC metadata.xml 161 RMD160 a5e1f234c4886ff31d39f229a0cf30d0bfcea869 SHA1 3876fd42cd9e63a7edb04c5025d53d773aa80bc3 SHA256 838bd208a7f948ea9b4e2b8869464622bc64a2f02468de4c3d7f6c2530e28e89
|
||||
|
|
|
|||
57
sys-power/acpid/acpid-2.0.12.ebuild
Normal file
57
sys-power/acpid/acpid-2.0.12.ebuild
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.12.ebuild,v 1.3 2011/10/04 21:40:15 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
|
||||
HOMEPAGE="http://tedfelix.com/linux/acpid-netlink.html"
|
||||
SRC_URI="http://tedfelix.com/linux/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 -ppc x86"
|
||||
IUSE="pentoo"
|
||||
|
||||
RDEPEND="!<sys-apps/openrc-0.6.0"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.3.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CPP
|
||||
emake
|
||||
emake -C kacpimon
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install
|
||||
|
||||
dobin kacpimon/kacpimon
|
||||
newdoc kacpimon/README README.kacpimon
|
||||
|
||||
exeinto /etc/acpi
|
||||
if use pentoo; then
|
||||
newexe "${FILESDIR}"/${PN}-pentoo-1.0.6-default.sh default.sh
|
||||
else
|
||||
newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
|
||||
fi
|
||||
insinto /etc/acpi/events
|
||||
newins "${FILESDIR}"/${PN}-1.0.4-default default
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-2.0.11-init.d acpid
|
||||
newconfd "${FILESDIR}"/${PN}-1.0.6-conf.d acpid
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You may wish to read the Gentoo Linux Power Management Guide,"
|
||||
elog "which can be found online at:"
|
||||
elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
|
||||
elog
|
||||
}
|
||||
28
sys-power/acpid/files/acpid-2.0.11-init.d
Normal file
28
sys-power/acpid/files/acpid-2.0.11-init.d
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-2.0.11-init.d,v 1.6 2011/08/05 08:47:40 ssuominen Exp $
|
||||
|
||||
extra_commands="reload"
|
||||
command="/usr/sbin/acpid"
|
||||
command_args="${ACPID_OPTIONS}"
|
||||
start_stop_daemon_args="--quiet"
|
||||
description="Daemon for Advanced Configuration and Power Interface"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use logger
|
||||
}
|
||||
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
start() {
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading acpid configuration"
|
||||
start-stop-daemon --exec $command --signal HUP
|
||||
eend $?
|
||||
}
|
||||
9
sys-power/acpid/files/acpid.service
Normal file
9
sys-power/acpid/files/acpid.service
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=ACPI Event Daemon
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/acpid -f
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in a new issue