diff options
author | Stuart Shelton <stuart@shelton.me> | 2013-10-14 20:30:30 +0100 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2013-10-14 20:30:30 +0100 |
commit | 7a37f1acb851c059ca05d2ca2135021c444c1a3f (patch) | |
tree | 20125d7386deae70bedbb2ddf650b0db1d804ebc /sys-power | |
parent | www-servers/lighttpd-1.4.32-r2 (diff) | |
download | srcshelton-7a37f1acb851c059ca05d2ca2135021c444c1a3f.tar.gz srcshelton-7a37f1acb851c059ca05d2ca2135021c444c1a3f.tar.bz2 srcshelton-7a37f1acb851c059ca05d2ca2135021c444c1a3f.zip |
sys-power/acpid-2.0.20
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/acpid/Manifest | 8 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.17-r1.ebuild | 14 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.18.ebuild | 14 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.19.ebuild | 18 | ||||
-rw-r--r-- | sys-power/acpid/acpid-2.0.20.ebuild | 62 |
5 files changed, 105 insertions, 11 deletions
diff --git a/sys-power/acpid/Manifest b/sys-power/acpid/Manifest index aec2cf34..7f3983b6 100644 --- a/sys-power/acpid/Manifest +++ b/sys-power/acpid/Manifest @@ -7,6 +7,8 @@ AUX systemd/acpid.socket 119 SHA256 a6ea89749651e38ba79598d286fd252dc814461a2cb3 DIST acpid-2.0.17.tar.xz 149440 SHA256 36b7d2c7deb6a44ae87b28026ff368f96e66b3ee8dd6b6cef4de2c3dbea17a3e SHA512 b7f3a16782db801c32b1b6195b95e5b960afd9c5acdf029445aebf98c7aea3d6677a8e75232f4702a81578faf7adb3e42844b724f4c92a09708b4cc2d74a2a84 WHIRLPOOL 6e488d5e5bd0479f811d95e69c5970ab44b8a01c64c27c9544c95dbe4f1fbc5f57188e082ed42f125720798723a78f38f9b99bf2250bec6cd6c25f332dea795e DIST acpid-2.0.18.tar.xz 150476 SHA256 1bc565250c6d8003267ab9c4cef18ea660b87b8df6296fe693b57001ffaf0a79 SHA512 b139f1d9b9c61f0366a46d47d8fb28fc5e19a34c4d69114b851563781c457042ed3776e93f4b654035c96d55f95b2b65eab93d422af579bb1de151b3245c928b WHIRLPOOL 27c532dcb95ca24d6c4e05bde271043aac47bfbc13072ccc2f34d978148138d8cc9f42f4910dc69a1b6b5ed612749aa805d20b5e96ffc7dbbcd239420c02dafb DIST acpid-2.0.19.tar.xz 150972 SHA256 ce503bf3f36002b45a465dc8a2490c16c553abd5bc2c1c8ece86247ec281dcde SHA512 8ebc738ce6b28f805d2ebdbd4680d31477972d6485ab84d58ba112c40a5935eb4a8fed838a21a82dc6e58b77769d47f7f538b4dd75193c2a7e8dcb479908403d WHIRLPOOL a73548af6915580b4e3af8baf14b948acbdb2983ffc170e79744c4a2ed67431c4f1c36390d05c34fe5d62940c813b71c48ced9cf555c9b34300faead0c075af3 -EBUILD acpid-2.0.17-r1.ebuild 1406 SHA256 a587fba43aca9c5f31a98ef0339f0039ff1e08b94e6c1dc87ba1d942fd2d6a31 SHA512 524eac082a66c6076309394df127b41d868c3028dcddfcbd457e923e71889fc626468ce5e3c52871e1c030721c09541016fd9e0d81de4f7c8f25be02d85e256d WHIRLPOOL c7d387509285b7580047bc754a64a54d65c935d0fcdab33b8963f5e9207c45fec8df1267aa0b684481618b99c302e1fd27e9a4ba5021ab7749141a713ad5fb0d -EBUILD acpid-2.0.18.ebuild 1404 SHA256 0d6aa76642d4d35e0e2d88951d76e0b2acf658d3855d4f0c58e25506c6810af6 SHA512 968cbb46a06e9b5000ba07aa599834e79c8f2d17f618f00b33c5ae26f7736731a2af2686e261e60fac64292a5757726197373ce78dc15d689714b7659c78f58d WHIRLPOOL bff1a9190534cf42712f60f993de42ead869427ea49a342f725a5f900943c3a33dc051964d6520042274a16f5adf0e8bed3f9f94314d2bc4264c9a57aabebf30 -EBUILD acpid-2.0.19.ebuild 1411 SHA256 8512fc86468085cf665676e6f1b77317fefb8e2e79d9ceb1ba17c025a1161182 SHA512 5ff4bbf3ada8ad823f6ebd27cbfd2d1f9b71d2af13318a4a7b65c2d36d6ec32d11cc51c15e21c3b632b4879f4bc8643ecccf26df7e5d3e8fb780e455766ce873 WHIRLPOOL 2da5526729006b8878d8dcb96284f1799a29795e836da6088af501c490b319ea50f8deeb93a3218239c634b7881dfbae9156bad3d60f745b7d19c1d8d16b3a17 +DIST acpid-2.0.20.tar.xz 151380 SHA256 6a1ebaf52c6bef0f3d6da24a364e5f9401004d60ef4f42ec2a23057799fcf750 SHA512 f1c1a91cd5db45c1da6b3f698671bb55b629eb149e09a680cc061a7cf921499f8486ce471d4789dd98f548247ecf1afffc0127fdfb120b3d3adfe0cfa35d172b WHIRLPOOL b22e1578b337e69e6ebbecd3a5e9fdcef9ba0a87e3364e23545f9db2a91bf77a40e70f8e772f85dbdda574c06efdf65848ca7dc75bb773f410a679c73fea4f9e +EBUILD acpid-2.0.17-r1.ebuild 1698 SHA256 80f5e4e328d83aa06d7dd3785cfbe53ec925df4bc6bc9ea38425bbf940fde546 SHA512 fc8f94b951039322fd17584b4a4fe90149fa9535224a18d4a793695a7533b962a4dfc35f27d5e424854d256c66fc717c16182796b396f262a535f01dee495a86 WHIRLPOOL 9b964a5336a1945d060f2de0ae57bb99b7abfb353758f7ccc286ba3adcff828b5f81dfa1edc0aa746d8cd184a7fe442bcffb8ed98e2a0ab88ac7010bd917297a +EBUILD acpid-2.0.18.ebuild 1696 SHA256 e5ab405d7e9a158896c0e15057256e3c2319fbd827b9915a3e345e85db5bce87 SHA512 dceaabca442bb679be7536581f83a76a42a7cf4733d6f6a2a57ed31b1b121d970040ac0ff2590a2034c9d7fdf5a3089616262b31a51d2ae779957af08b24146b WHIRLPOOL ad820e147806555cf559de27e52089ca7894f2ac833e59aa70b2c48f42be5a1cbcf8348063423240aff2ac8a572e7e1d911e043d5993ac1e84ba34835322b1e1 +EBUILD acpid-2.0.19.ebuild 1698 SHA256 8d4a183e548e52a6939ff60ed9b9e0a66a8828d9f45f9343868b77221d1293b7 SHA512 2f77dde2c6ff7c18eec164de07d1a4e450bb23c3700f23b0cff4258a46c70a3780c46bffc34c92f83a3e8d676c5579186da203b883c08822c595db42ac396796 WHIRLPOOL 163b5322e140e9f3ece88a1333add063b2d204f21f59a2c5f6e9fb9f8dadfd1f8b854cce629e64c3b436e50a7ae5fd0eeee23b8be74adeb35b564c8b5bfa4684 +EBUILD acpid-2.0.20.ebuild 1706 SHA256 df01ac5dc05102778a75bafc3e98edd01a3cd7b63b83d7b668d88d86078d0f61 SHA512 2bf5a16d58493c7ab8d402a8cc32c1bd7ce83bffad3f48928fa003b7a2f74d71153d741470c0d0840c9efb812d1a1fddf2e043be83a3e6dba7e2ac5ab2bd9671 WHIRLPOOL 73347705692917c01b30d7030ef207a7862ea99c2e27c269f8d2258392b9f9b812f1b692ef86151343f452055682d0f0e1367da09c880f1e35dc9119f34baf59 diff --git a/sys-power/acpid/acpid-2.0.17-r1.ebuild b/sys-power/acpid/acpid-2.0.17-r1.ebuild index 94923fea..51f77ad0 100644 --- a/sys-power/acpid/acpid-2.0.17-r1.ebuild +++ b/sys-power/acpid/acpid-2.0.17-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://tedfelix.com/linux/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ia64 -ppc x86" -IUSE="selinux" +IUSE="selinux systemd" RDEPEND="selinux? ( sec-policy/selinux-apm )" DEPEND="${RDEPEND}" @@ -38,7 +38,7 @@ src_install() { 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} + use systemd && systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket} } pkg_postinst() { @@ -49,4 +49,14 @@ pkg_postinst() { elog "http://www.gentoo.org/doc/en/power-management-guide.xml" elog fi + + if use systemd; then + # 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 + fi } diff --git a/sys-power/acpid/acpid-2.0.18.ebuild b/sys-power/acpid/acpid-2.0.18.ebuild index 6ea3b443..f1698768 100644 --- a/sys-power/acpid/acpid-2.0.18.ebuild +++ b/sys-power/acpid/acpid-2.0.18.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ia64 -ppc ~x86" -IUSE="selinux" +IUSE="selinux systemd" RDEPEND="selinux? ( sec-policy/selinux-apm )" DEPEND="${RDEPEND}" @@ -38,7 +38,7 @@ src_install() { 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} + use systemd && systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket} } pkg_postinst() { @@ -49,4 +49,14 @@ pkg_postinst() { elog "http://www.gentoo.org/doc/en/power-management-guide.xml" elog fi + + if use systemd; then + # 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 + fi } diff --git a/sys-power/acpid/acpid-2.0.19.ebuild b/sys-power/acpid/acpid-2.0.19.ebuild index 08d8d975..ccdbe639 100644 --- a/sys-power/acpid/acpid-2.0.19.ebuild +++ b/sys-power/acpid/acpid-2.0.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.19.ebuild,v 1.1 2013/07/26 18:39:51 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.19.ebuild,v 1.3 2013/09/30 17:16:00 ago Exp $ EAPI=5 inherit systemd @@ -11,8 +11,8 @@ SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ia64 -ppc ~x86" -IUSE="selinux" +KEYWORDS="amd64 ~ia64 -ppc x86" +IUSE="selinux systemd" RDEPEND="selinux? ( sec-policy/selinux-apm )" DEPEND="${RDEPEND}" @@ -38,7 +38,7 @@ src_install() { 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} + use systemd && systemd_dounit "${FILESDIR}"/systemd/${PN}.{service,socket} } pkg_postinst() { @@ -49,4 +49,14 @@ pkg_postinst() { elog "http://www.gentoo.org/doc/en/power-management-guide.xml" elog fi + + if use systemd; then + # 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 + fi } diff --git a/sys-power/acpid/acpid-2.0.20.ebuild b/sys-power/acpid/acpid-2.0.20.ebuild new file mode 100644 index 00000000..c8779c31 --- /dev/null +++ b/sys-power/acpid/acpid-2.0.20.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.20.ebuild,v 1.1 2013/09/25 08:09:29 ssuominen Exp $ + +EAPI=5 +inherit systemd + +DESCRIPTION="Daemon for Advanced Configuration and Power Interface" +HOMEPAGE="http://sourceforge.net/projects/acpid2" +SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 -ppc ~x86" +IUSE="selinux systemd" + +RDEPEND="selinux? ( sec-policy/selinux-apm )" +DEPEND="${RDEPEND}" + +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 || 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.16-init.d ${PN} + newconfd "${FILESDIR}"/${PN}-2.0.16-conf.d ${PN} + + use systemd && systemd_dounit "${FILESDIR}"/systemd/${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 "http://www.gentoo.org/doc/en/power-management-guide.xml" + elog + fi + + if use systemd; then + # 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 + fi +} |