mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-30 10:41:01 +02:00
acpid: bump
This commit is contained in:
parent
20030a3e28
commit
ed0335b08d
6 changed files with 105 additions and 0 deletions
|
|
@ -2,12 +2,18 @@ AUX acpid-1.0.4-default 663 RMD160 5e40661ec9112c3cc675a0d283e96311d2d159f1 SHA1
|
|||
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.16-conf.d 153 RMD160 7fe99acb5ca6327bbd80369000bad2c9771fe7d2 SHA1 c12160dbcb231e8976f7c40d0a2ab60a6a984e26 SHA256 3755d4eb8bb64a1304e5defedb949305ac550565da36fe4f94d5f31beee821ba
|
||||
AUX acpid-2.0.16-init.d 587 RMD160 0b8da06e95f82c3d472fcc55c586af61ee717248 SHA1 a7d3149979703270570cbc74b3df3b46b5fcec02 SHA256 980468e6bf96c7677898330cadbcff165b4d15f1197cd544548bd0f8c376983d
|
||||
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 1745 RMD160 6ba0e9854d57f6be3cd17d83baea954aa71090c3 SHA1 3729d8fd08007557b3af28e35067e89138606f9c SHA256 20de3dc055b389c0a35c9e6d619d72ff7af9c36fe3a4cbad30c43c0b1e2453b0
|
||||
AUX acpid.service 135 RMD160 dee559a0c4e8ae4372002851e518f1477ff1d1eb SHA1 47f40dee8d2e341b9c96f70a61439b6a1837dd52 SHA256 c01b8cc2532c4a130c020f042ab9e9be9a9ff075ad7c2e9c9f971a57b40b5cc6
|
||||
AUX systemd/acpid.service 146 RMD160 bdee34d178a0e5ea8859d3651ef99fad7bb7266e SHA1 6ac9e67277ae3dfd6bef1af72111956b238f714e SHA256 41348a7d944d72eabb82a21ee55026b4d63fc3008cd0e44dd2c9dcde769ce689
|
||||
AUX systemd/acpid.socket 127 RMD160 946eb954ad076f1154171aaf209f66b70f9793d7 SHA1 9d9e5b68cb717ee238f571babb2b0cd787e3990e SHA256 24c9d33b3ca4e5532a8dee84365d35b0aadbd6750bb4022f160c9def9f00104c
|
||||
DIST acpid-2.0.12.tar.gz 76333 RMD160 f81377fee79a8150c262255a9f00eafe528eb1f7 SHA1 21a0fccb8ec13badb8a9a7d2907020309159c4ca SHA256 dc8c600f6a7f0ceb423099874e66c6e091ae73eb2227dc5f771dacac50a1b6eb
|
||||
DIST acpid-2.0.14.tar.gz 77395 RMD160 9ddd5018b92619b1d7434cbd219dc7a60bc56d82 SHA1 029d8c5045f417af1b2dd91462a263cfb1b3554a SHA256 88158b889280017072362b37a4b378826285756489857b93fc5888acf5b4db0b
|
||||
DIST acpid-2.0.16.tar.xz 148196 RMD160 240729f721dae0f5f5aab03573f536b6bd29177f SHA1 e795a5db1ba663417f91923154d0526212d37269 SHA256 94df0e73813a5dbaa1d7ae1049b3216b0cfd9d0843c89241080699ca62569808
|
||||
EBUILD acpid-2.0.12.ebuild 1420 RMD160 db405ef6f68550edbc86cd468063315b15a6ab31 SHA1 405ad155c297040ee8fdc6a8a8da075c8ca483e1 SHA256 6d8d6a08ddadd4f3211bd61be1fefe58a1a0fd5a85f905a516e8a2c103ec1075
|
||||
EBUILD acpid-2.0.14.ebuild 1394 RMD160 62bbbf677e5b5ecfbe4e4800c94bf3432908a279 SHA1 4613ad11cf1fbbdb4bb6b89ab28e02607656dd29 SHA256 e62d1d389a3267162caf5b69c25171b6572114ab67c41f23b79e21857306ca58
|
||||
EBUILD acpid-2.0.16-r1.ebuild 1546 RMD160 a2877e19450158495618d1b2bab8188107c00921 SHA1 959cddc3dac98b9687c7e2b2cc7ffba129aea88e SHA256 861dcc28cfcb83859eded0aee0d981cc259d951231b36c1cce780f8fa0a7166a
|
||||
MISC metadata.xml 161 RMD160 a5e1f234c4886ff31d39f229a0cf30d0bfcea869 SHA1 3876fd42cd9e63a7edb04c5025d53d773aa80bc3 SHA256 838bd208a7f948ea9b4e2b8869464622bc64a2f02468de4c3d7f6c2530e28e89
|
||||
|
|
|
|||
57
sys-power/acpid/acpid-2.0.16-r1.ebuild
Normal file
57
sys-power/acpid/acpid-2.0.16-r1.ebuild
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.16-r1.ebuild,v 1.3 2012/06/07 17:31:11 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
|
||||
HOMEPAGE="http://tedfelix.com/linux/acpid-netlink.html"
|
||||
SRC_URI="http://tedfelix.com/linux/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 -ppc x86"
|
||||
IUSE="pentoo"
|
||||
|
||||
src_configure() {
|
||||
econf --docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newdoc kacpimon/README README.kacpimon
|
||||
dodoc -r samples
|
||||
rm -f "${D}"/usr/share/doc/${PF}/COPYING
|
||||
|
||||
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.16-init.d ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket}
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
# files/systemd/acpid.socket -> ListenStream=/run/acpid.socket
|
||||
mkdir -p "${ROOT}"/run
|
||||
|
||||
if ! grep -qs "^tmpfs.*/run " "${ROOT}"/proc/mounts ; then
|
||||
echo
|
||||
ewarn "You should reboot the system now to get /run mounted with tmpfs!"
|
||||
fi
|
||||
}
|
||||
6
sys-power/acpid/files/acpid-2.0.16-conf.d
Normal file
6
sys-power/acpid/files/acpid-2.0.16-conf.d
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# /etc/conf.d/acpid: config file for /etc/init.d/acpid
|
||||
|
||||
# Options to pass to the acpid daemon.
|
||||
# See the acpid(8) man page for more info.
|
||||
|
||||
ACPID_ARGS=""
|
||||
21
sys-power/acpid/files/acpid-2.0.16-init.d
Normal file
21
sys-power/acpid/files/acpid-2.0.16-init.d
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 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.16-init.d,v 1.1 2012/05/19 09:53:59 ssuominen Exp $
|
||||
|
||||
extra_started_commands="reload"
|
||||
command="/usr/sbin/acpid"
|
||||
command_args="${ACPID_ARGS}"
|
||||
start_stop_daemon_args="--quiet"
|
||||
description="Daemon for Advanced Configuration and Power Interface"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use logger
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading acpid configuration"
|
||||
start-stop-daemon --exec $command --signal HUP
|
||||
eend $?
|
||||
}
|
||||
7
sys-power/acpid/files/systemd/acpid.service
Normal file
7
sys-power/acpid/files/systemd/acpid.service
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=ACPI Event Daemon
|
||||
Requires=acpid.socket
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/conf.d/acpid
|
||||
ExecStart=/usr/sbin/acpid -f $ACPID_ARGS
|
||||
8
sys-power/acpid/files/systemd/acpid.socket
Normal file
8
sys-power/acpid/files/systemd/acpid.socket
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=ACPI Event Daemon Listen Socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/acpid.socket
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Loading…
Reference in a new issue