summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-08-04 17:01:47 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-08-04 17:01:47 +0000
commit9de336f3551746875c71f64d705915b1908e07a1 (patch)
tree81e8da41a6ec90bb770c3241ca7b00df17ddcc1f /sys-power
parentRevision bump to ensure that users update to the new tarballs, which install ... (diff)
downloadhistorical-9de336f3551746875c71f64d705915b1908e07a1.tar.gz
historical-9de336f3551746875c71f64d705915b1908e07a1.tar.bz2
historical-9de336f3551746875c71f64d705915b1908e07a1.zip
Version bump. Install systemd unit file wrt #375269 by Michał Górny. Remove deprecated --oknodo from initd script wrt #377761. Remove support for sys-apps/hal and drop "before hald" from initd script.
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/acpid/ChangeLog10
-rw-r--r--sys-power/acpid/Manifest14
-rw-r--r--sys-power/acpid/acpid-2.0.11.ebuild50
-rw-r--r--sys-power/acpid/files/acpid-2.0.11-init.d29
-rw-r--r--sys-power/acpid/files/acpid.service9
5 files changed, 106 insertions, 6 deletions
diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog
index 810f13c179f0..03e75572c9c2 100644
--- a/sys-power/acpid/ChangeLog
+++ b/sys-power/acpid/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-power/acpid
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.65 2011/06/12 14:31:34 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.66 2011/08/04 17:01:47 ssuominen Exp $
+
+*acpid-2.0.11 (04 Aug 2011)
+
+ 04 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> +acpid-2.0.11.ebuild,
+ +files/acpid-2.0.11-init.d, +files/acpid.service:
+ Version bump. Install systemd unit file wrt #375269 by Michał Górny. Remove
+ deprecated --oknodo from initd script wrt #377761. Remove support for
+ sys-apps/hal and drop "before hald" from initd script.
12 Jun 2011; Raúl Porcel <armin76@gentoo.org> acpid-2.0.9.ebuild:
ia64 stable wrt #368233
diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest
index 80f4fa5d93fa..50826f1564e2 100644
--- a/sys-power/acpid/Manifest
+++ b/sys-power/acpid/Manifest
@@ -1,23 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
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 647 RMD160 f9cd9caa8ee0f4760a309f96e0f35940de45ad1c SHA1 bcf5070ce627c3b457ce143a5fac706e090f849d SHA256 a1bd7337b00974d25d8eaab8925902fae670be12953109a8a0fa782a9ecde9a3
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.service 135 RMD160 dee559a0c4e8ae4372002851e518f1477ff1d1eb SHA1 47f40dee8d2e341b9c96f70a61439b6a1837dd52 SHA256 c01b8cc2532c4a130c020f042ab9e9be9a9ff075ad7c2e9c9f971a57b40b5cc6
DIST acpid-2.0.10.tar.gz 76092 RMD160 2ad6e92d6deff0bc72283dac9e4781b6bd2500ab SHA1 11a4b4fbeae22fcb6c39ab0fe9bf1ff63ab39a49 SHA256 ef7e4ed2f3594dd02a50a92fc47dc0e1fea80c07fab8a5f3d1040ee76fae0acb
+DIST acpid-2.0.11.tar.gz 76308 RMD160 c7c40795f8556ceb63fc25891680dfccabd0814f SHA1 f136038ffecb0f9195708df0b04524f0b993b669 SHA256 2fcd7da9c439dfd6dca3f4bfab2ae39d4210bf61d72050632c2933fef96c281d
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.10.ebuild 1220 RMD160 1f96c4f267c145ba3cc4d47254bbaf694ba77cfe SHA1 c4e8a746f11dd6b16b07b28cdb0e3887b335615e SHA256 fdfa27c0d6e05ebf4c0f800d688858f7bb0f8bc36e07a5514a7c29a4a52bf94c
+EBUILD acpid-2.0.11.ebuild 1274 RMD160 79629ca984242f0ba45011809407643d25ecbee8 SHA1 e295f90c6b792474b2df77fecba13628b9ba394c SHA256 5bd632317e182f162e31ff4432cc95275fc643759617d9b086aae47dbc5d6eb1
EBUILD acpid-2.0.6.ebuild 1286 RMD160 228c812eb42aeaedd167e8f7a9a2bb0cb0e934f7 SHA1 01152b4e36fb864d08a6dee37193d0ec9af5a956 SHA256 df5dabe5ead816768af113c1ae31538d461c5585cb43fdb153122a79f42540c7
EBUILD acpid-2.0.9.ebuild 1214 RMD160 e6cc05c528bb6c4b7ddfa6dfc05e3ff0b5398519 SHA1 d89b836ae420746465f258206a3c6d0f90410f13 SHA256 262f50be888f11155eaaf1b3bdd6a551da0e80ef543390f21b2812ad2adfa5ea
-MISC ChangeLog 12844 RMD160 4c64c394cf09023c9bbc9d8e855a638cc59600aa SHA1 8d8dfe33d69cb19b020b2f892b6f5b1f3fd1bada SHA256 443deb04aa56e5b0d772d05605c4894598e9b6b94cd382502415edd8d6583710
+MISC ChangeLog 13213 RMD160 6542550ddcbefd09ea82ecc6b13d2008f8dd0716 SHA1 14c02f6c7feaae974418657f2ea80a5846e46f7f SHA256 d42ee82521e3c8570cdb63c2a200247c9fc1be79a14c56b76bbdccd44db21a8b
MISC metadata.xml 161 RMD160 a5e1f234c4886ff31d39f229a0cf30d0bfcea869 SHA1 3876fd42cd9e63a7edb04c5025d53d773aa80bc3 SHA256 838bd208a7f948ea9b4e2b8869464622bc64a2f02468de4c3d7f6c2530e28e89
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk30zcsACgkQuQc30/atMkDfdgCgpVoGnrFamhWBPv0A3ADyIbV4
-CXgAoKQYZsOEPyYFbl5LoErhgdmm79J6
-=/dY4
+iF4EAREIAAYFAk46z8wACgkQXkR9YqOcLPH06wEApcxrjFObxkF6yUfdlWRlfCoE
+QrhDEHMkC9EBTicrSjgA/3ab08d28drd0tyt8NW774KfGhBIXe8gjPDIhQYQ1qJV
+=yExh
-----END PGP SIGNATURE-----
diff --git a/sys-power/acpid/acpid-2.0.11.ebuild b/sys-power/acpid/acpid-2.0.11.ebuild
new file mode 100644
index 000000000000..281fc1e2640a
--- /dev/null
+++ b/sys-power/acpid/acpid-2.0.11.ebuild
@@ -0,0 +1,50 @@
+# 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.11.ebuild,v 1.1 2011/08/04 17:01:47 ssuominen 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=""
+
+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
+ newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
+ 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
+}
diff --git a/sys-power/acpid/files/acpid-2.0.11-init.d b/sys-power/acpid/files/acpid-2.0.11-init.d
new file mode 100644
index 000000000000..1f2c68e3c9c5
--- /dev/null
+++ b/sys-power/acpid/files/acpid-2.0.11-init.d
@@ -0,0 +1,29 @@
+#!/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.1 2011/08/04 17:01:47 ssuominen Exp $
+
+opts="reload"
+
+depend() {
+ need localmount
+ use logger
+}
+
+start() {
+ ebegin "Starting acpid"
+ start-stop-daemon --start --quiet --exec /usr/sbin/acpid -- ${ACPID_OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping acpid"
+ start-stop-daemon --stop --exec /usr/sbin/acpid
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading acpid configuration"
+ start-stop-daemon --stop --exec /usr/sbin/acpid --signal HUP
+ eend $?
+}
diff --git a/sys-power/acpid/files/acpid.service b/sys-power/acpid/files/acpid.service
new file mode 100644
index 000000000000..4e224ebe62e8
--- /dev/null
+++ b/sys-power/acpid/files/acpid.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=ACPI Event Daemon
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/acpid -f
+
+[Install]
+WantedBy=multi-user.target