* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2015-08-31 20:45 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2015-08-31 20:45 UTC (permalink / raw
To: gentoo-commits
commit: 079ade61884e052e6962a6e6b4d8c6d884f78cf1
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 31 20:44:48 2015 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Aug 31 20:44:48 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079ade61
app-laptop/laptop-mode-tools: version bump
Bug: 559266
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.68.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 10ccfc1..b34a16f 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,2 +1,3 @@
DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62 SHA512 8649f70ab63ca0a1e5edf5c4c69062b01dce97b34ef6686a2c044f177aaac59008d4275b237e2c97a2541b6b824c0513d32323c156a43684264ba6d2c5fc8b6c WHIRLPOOL 4fc981f00c4afd74da74e192beb292c5d39e2a3bcc23d77e5daf37c71b75acb4df81c70a68586c0704b47fbe08dce69b1921d0d151777b5451b8d6302bac5b0f
DIST laptop-mode-tools_1.67.tar.gz 111730 SHA256 5205e5b4fa0eddcbb14e06a496a9e405cf3873eb5065e03e6a1237e29c8f3cd0 SHA512 a0f8f5c6c2616bbdbe86f82b0dc7ad1bd4b4315fc074b7b97ad29a9dec4e63164d625da732f6b6b9a73dd039d415c06da51c83c5aa1056e7893b65691da1437f WHIRLPOOL 03fd0f7bc7300d7357d6b1f27a38aed54c7b77a7f8633910d3bfa6aede862f24238bde9322398cedea0e6b9d1bcd85b988e56ff1f2aeb62d691a209aa6f2acab
+DIST laptop-mode-tools_1.68.tar.gz 112695 SHA256 a9ceca49a623fecf0d8067cd71d11610a254af7e87a3a462cb4277527a905558 SHA512 1870c0400b32f4bb95f407db64f9e8920391c0758f37fa493545865ba0801ed6d67491c8d69bd7565d72a3437fe01524153fdd4dcf2cd69b49e7f1b0a54ff0c4 WHIRLPOOL 28b5e9fe7744824c4b562e8123e9403020a6096e32960f23592cc4393fce1379cc359602e83ff959187a953965e353d85c42c901c7ec6e382dd1ff67e0fb5699
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.ebuild
new file mode 100644
index 0000000..bf853c4
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib systemd udev
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="http://www.samwel.tk/laptop_mode/"
+SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2015-09-27 9:14 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2015-09-27 9:14 UTC (permalink / raw
To: gentoo-commits
commit: 326f37a078961fbe4c0667d4bf5ad62ae62b230f
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 09:13:15 2015 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 09:14:20 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326f37a0
app-laptop/laptop-mode-tools: version bump
Package-Manager: portage-2.2.20.1
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.68.1.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index b34a16f..cdd4287 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,3 +1,4 @@
DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62 SHA512 8649f70ab63ca0a1e5edf5c4c69062b01dce97b34ef6686a2c044f177aaac59008d4275b237e2c97a2541b6b824c0513d32323c156a43684264ba6d2c5fc8b6c WHIRLPOOL 4fc981f00c4afd74da74e192beb292c5d39e2a3bcc23d77e5daf37c71b75acb4df81c70a68586c0704b47fbe08dce69b1921d0d151777b5451b8d6302bac5b0f
DIST laptop-mode-tools_1.67.tar.gz 111730 SHA256 5205e5b4fa0eddcbb14e06a496a9e405cf3873eb5065e03e6a1237e29c8f3cd0 SHA512 a0f8f5c6c2616bbdbe86f82b0dc7ad1bd4b4315fc074b7b97ad29a9dec4e63164d625da732f6b6b9a73dd039d415c06da51c83c5aa1056e7893b65691da1437f WHIRLPOOL 03fd0f7bc7300d7357d6b1f27a38aed54c7b77a7f8633910d3bfa6aede862f24238bde9322398cedea0e6b9d1bcd85b988e56ff1f2aeb62d691a209aa6f2acab
+DIST laptop-mode-tools_1.68.1.tar.gz 113137 SHA256 08d08f3d7ad76fb5f48232428584481a8e160421671533ece2648e968b519ba6 SHA512 68e230e3215631cff31157865eac6e73c08534e5481016425a41e1c166746e0df987a21cc158edc4dac5b1469c515eb23c89a51084b4f993debd28befc82064a WHIRLPOOL b421b48627fa2c80af0024c4c8705643330ddcfce5cbcdb0b71462fea466ebbac2b5a254855dba315ca0ab5b056a23a9f5ab5e66c84b15d17e2fcdbefe816589
DIST laptop-mode-tools_1.68.tar.gz 112695 SHA256 a9ceca49a623fecf0d8067cd71d11610a254af7e87a3a462cb4277527a905558 SHA512 1870c0400b32f4bb95f407db64f9e8920391c0758f37fa493545865ba0801ed6d67491c8d69bd7565d72a3437fe01524153fdd4dcf2cd69b49e7f1b0a54ff0c4 WHIRLPOOL 28b5e9fe7744824c4b562e8123e9403020a6096e32960f23592cc4393fce1379cc359602e83ff959187a953965e353d85c42c901c7ec6e382dd1ff67e0fb5699
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.1.ebuild
new file mode 100644
index 0000000..bf853c4
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib systemd udev
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="http://www.samwel.tk/laptop_mode/"
+SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2016-03-11 19:53 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2016-03-11 19:53 UTC (permalink / raw
To: gentoo-commits
commit: 038eb8b00b05de062219efd54bdb3efadc917892
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 19:51:04 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 19:52:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038eb8b0
app-laptop/laptop-mode-tools: version bump
Package-Manager: portage-2.2.26
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.69.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index cdd4287..815ea23 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -2,3 +2,4 @@ DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8
DIST laptop-mode-tools_1.67.tar.gz 111730 SHA256 5205e5b4fa0eddcbb14e06a496a9e405cf3873eb5065e03e6a1237e29c8f3cd0 SHA512 a0f8f5c6c2616bbdbe86f82b0dc7ad1bd4b4315fc074b7b97ad29a9dec4e63164d625da732f6b6b9a73dd039d415c06da51c83c5aa1056e7893b65691da1437f WHIRLPOOL 03fd0f7bc7300d7357d6b1f27a38aed54c7b77a7f8633910d3bfa6aede862f24238bde9322398cedea0e6b9d1bcd85b988e56ff1f2aeb62d691a209aa6f2acab
DIST laptop-mode-tools_1.68.1.tar.gz 113137 SHA256 08d08f3d7ad76fb5f48232428584481a8e160421671533ece2648e968b519ba6 SHA512 68e230e3215631cff31157865eac6e73c08534e5481016425a41e1c166746e0df987a21cc158edc4dac5b1469c515eb23c89a51084b4f993debd28befc82064a WHIRLPOOL b421b48627fa2c80af0024c4c8705643330ddcfce5cbcdb0b71462fea466ebbac2b5a254855dba315ca0ab5b056a23a9f5ab5e66c84b15d17e2fcdbefe816589
DIST laptop-mode-tools_1.68.tar.gz 112695 SHA256 a9ceca49a623fecf0d8067cd71d11610a254af7e87a3a462cb4277527a905558 SHA512 1870c0400b32f4bb95f407db64f9e8920391c0758f37fa493545865ba0801ed6d67491c8d69bd7565d72a3437fe01524153fdd4dcf2cd69b49e7f1b0a54ff0c4 WHIRLPOOL 28b5e9fe7744824c4b562e8123e9403020a6096e32960f23592cc4393fce1379cc359602e83ff959187a953965e353d85c42c901c7ec6e382dd1ff67e0fb5699
+DIST laptop-mode-tools_1.69.tar.gz 115026 SHA256 7028a646532d30d27cb8ee13a87d6b2f0045b6d8b7fbea3af77f167dd22ccca5 SHA512 5dda4170473b62af1e49cc5d07298c7c5036b5f0fa9ad8b6f01265257a266c52f36a1e02c252544a10a87c7417393b54db98278b8a5bd6c1bd62f9f980e10831 WHIRLPOOL 5b9e48cb90b5da41a0d9864aa5ef2446f933e2b17841c2be9a89337a14150999330e50814642e8ddc648516d3c2c9ef64ce599e4513b8ed61046bfb121063e17
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.ebuild
new file mode 100644
index 0000000..3b1387b
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib systemd udev
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2016-03-15 18:50 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2016-03-15 18:50 UTC (permalink / raw
To: gentoo-commits
commit: 8873c4ca0bd4687847b9160f1f80ef2e53549c50
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 18:49:22 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 18:49:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8873c4ca
app-laptop/laptop-mode-tools: version bump
Package-Manager: portage-2.2.26
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.69.1.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 815ea23..69be903 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -2,4 +2,5 @@ DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8
DIST laptop-mode-tools_1.67.tar.gz 111730 SHA256 5205e5b4fa0eddcbb14e06a496a9e405cf3873eb5065e03e6a1237e29c8f3cd0 SHA512 a0f8f5c6c2616bbdbe86f82b0dc7ad1bd4b4315fc074b7b97ad29a9dec4e63164d625da732f6b6b9a73dd039d415c06da51c83c5aa1056e7893b65691da1437f WHIRLPOOL 03fd0f7bc7300d7357d6b1f27a38aed54c7b77a7f8633910d3bfa6aede862f24238bde9322398cedea0e6b9d1bcd85b988e56ff1f2aeb62d691a209aa6f2acab
DIST laptop-mode-tools_1.68.1.tar.gz 113137 SHA256 08d08f3d7ad76fb5f48232428584481a8e160421671533ece2648e968b519ba6 SHA512 68e230e3215631cff31157865eac6e73c08534e5481016425a41e1c166746e0df987a21cc158edc4dac5b1469c515eb23c89a51084b4f993debd28befc82064a WHIRLPOOL b421b48627fa2c80af0024c4c8705643330ddcfce5cbcdb0b71462fea466ebbac2b5a254855dba315ca0ab5b056a23a9f5ab5e66c84b15d17e2fcdbefe816589
DIST laptop-mode-tools_1.68.tar.gz 112695 SHA256 a9ceca49a623fecf0d8067cd71d11610a254af7e87a3a462cb4277527a905558 SHA512 1870c0400b32f4bb95f407db64f9e8920391c0758f37fa493545865ba0801ed6d67491c8d69bd7565d72a3437fe01524153fdd4dcf2cd69b49e7f1b0a54ff0c4 WHIRLPOOL 28b5e9fe7744824c4b562e8123e9403020a6096e32960f23592cc4393fce1379cc359602e83ff959187a953965e353d85c42c901c7ec6e382dd1ff67e0fb5699
+DIST laptop-mode-tools_1.69.1.tar.gz 115064 SHA256 4dcc55b10c3fc693daeb6be8d8e190f2b191dce0686a7bea0545a8821b8e7173 SHA512 1f027cec13800e4e0e256983769e45329423264b36112a4d79f3f09c4c01e7d411bbf8c376c67eb6d83224ffdde87e2fed4dc08176a406bc6a29ad3a392dd6d9 WHIRLPOOL a0eedb7db39b204d6b0e61ef2d210d3be37a70c81dbdb11fad4d61042c5f972996a709a793c82d2b636ad37c2873c1d87cc62c5bd279de08d6ce6c49bfa3d113
DIST laptop-mode-tools_1.69.tar.gz 115026 SHA256 7028a646532d30d27cb8ee13a87d6b2f0045b6d8b7fbea3af77f167dd22ccca5 SHA512 5dda4170473b62af1e49cc5d07298c7c5036b5f0fa9ad8b6f01265257a266c52f36a1e02c252544a10a87c7417393b54db98278b8a5bd6c1bd62f9f980e10831 WHIRLPOOL 5b9e48cb90b5da41a0d9864aa5ef2446f933e2b17841c2be9a89337a14150999330e50814642e8ddc648516d3c2c9ef64ce599e4513b8ed61046bfb121063e17
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.1.ebuild
new file mode 100644
index 0000000..2370034
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib systemd udev
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2016-03-27 17:28 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2016-03-27 17:28 UTC (permalink / raw
To: gentoo-commits
commit: 2be233456dbbc63d7014e7f6682bfee51719b2be
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 17:26:24 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 17:28:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be23345
app-laptop/laptop-mode-tools: version bump
Package-Manager: portage-2.2.26
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.69.2.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 69be903..6671439 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -3,4 +3,5 @@ DIST laptop-mode-tools_1.67.tar.gz 111730 SHA256 5205e5b4fa0eddcbb14e06a496a9e40
DIST laptop-mode-tools_1.68.1.tar.gz 113137 SHA256 08d08f3d7ad76fb5f48232428584481a8e160421671533ece2648e968b519ba6 SHA512 68e230e3215631cff31157865eac6e73c08534e5481016425a41e1c166746e0df987a21cc158edc4dac5b1469c515eb23c89a51084b4f993debd28befc82064a WHIRLPOOL b421b48627fa2c80af0024c4c8705643330ddcfce5cbcdb0b71462fea466ebbac2b5a254855dba315ca0ab5b056a23a9f5ab5e66c84b15d17e2fcdbefe816589
DIST laptop-mode-tools_1.68.tar.gz 112695 SHA256 a9ceca49a623fecf0d8067cd71d11610a254af7e87a3a462cb4277527a905558 SHA512 1870c0400b32f4bb95f407db64f9e8920391c0758f37fa493545865ba0801ed6d67491c8d69bd7565d72a3437fe01524153fdd4dcf2cd69b49e7f1b0a54ff0c4 WHIRLPOOL 28b5e9fe7744824c4b562e8123e9403020a6096e32960f23592cc4393fce1379cc359602e83ff959187a953965e353d85c42c901c7ec6e382dd1ff67e0fb5699
DIST laptop-mode-tools_1.69.1.tar.gz 115064 SHA256 4dcc55b10c3fc693daeb6be8d8e190f2b191dce0686a7bea0545a8821b8e7173 SHA512 1f027cec13800e4e0e256983769e45329423264b36112a4d79f3f09c4c01e7d411bbf8c376c67eb6d83224ffdde87e2fed4dc08176a406bc6a29ad3a392dd6d9 WHIRLPOOL a0eedb7db39b204d6b0e61ef2d210d3be37a70c81dbdb11fad4d61042c5f972996a709a793c82d2b636ad37c2873c1d87cc62c5bd279de08d6ce6c49bfa3d113
+DIST laptop-mode-tools_1.69.2.tar.gz 115082 SHA256 2db1225cc8b6fb214f221362b9fabfffb1cbd25556d00bef3d3a6db9f3b19a59 SHA512 cc1e2ef7c2dd963f542b2e745fc8f3f046199d848a3c2bc44509fb2f08dc5dfa05ce1f9d70b5c678e6c088ed55ce7875eadf4ac806f006806c5bb1b229f980e5 WHIRLPOOL a563fee8497c390060c8820b5b5efa9c58c2222175fb9075f55344888627b2f054ed8aee3e1ecf415f84f19ab4c9f6c21bf20ea4880b8827949f9c05baccf945
DIST laptop-mode-tools_1.69.tar.gz 115026 SHA256 7028a646532d30d27cb8ee13a87d6b2f0045b6d8b7fbea3af77f167dd22ccca5 SHA512 5dda4170473b62af1e49cc5d07298c7c5036b5f0fa9ad8b6f01265257a266c52f36a1e02c252544a10a87c7417393b54db98278b8a5bd6c1bd62f9f980e10831 WHIRLPOOL 5b9e48cb90b5da41a0d9864aa5ef2446f933e2b17841c2be9a89337a14150999330e50814642e8ddc648516d3c2c9ef64ce599e4513b8ed61046bfb121063e17
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.2.ebuild
new file mode 100644
index 0000000..2370034
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils multilib systemd udev
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2016-03-27 17:28 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2016-03-27 17:28 UTC (permalink / raw
To: gentoo-commits
commit: 209f64dbead11fa71934ed0b178a7211c0e424ea
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 17:27:43 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 17:28:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=209f64db
app-laptop/laptop-mode-tools: cleanup
Package-Manager: portage-2.2.26
app-laptop/laptop-mode-tools/Manifest | 5 --
.../laptop-mode-tools-1.67.ebuild | 93 ----------------------
.../laptop-mode-tools-1.68.1.ebuild | 93 ----------------------
.../laptop-mode-tools-1.68.ebuild | 93 ----------------------
.../laptop-mode-tools-1.69.1.ebuild | 93 ----------------------
.../laptop-mode-tools-1.69.ebuild | 93 ----------------------
6 files changed, 470 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 6671439..4051992 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,7 +1,2 @@
DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62 SHA512 8649f70ab63ca0a1e5edf5c4c69062b01dce97b34ef6686a2c044f177aaac59008d4275b237e2c97a2541b6b824c0513d32323c156a43684264ba6d2c5fc8b6c WHIRLPOOL 4fc981f00c4afd74da74e192beb292c5d39e2a3bcc23d77e5daf37c71b75acb4df81c70a68586c0704b47fbe08dce69b1921d0d151777b5451b8d6302bac5b0f
-DIST laptop-mode-tools_1.67.tar.gz 111730 SHA256 5205e5b4fa0eddcbb14e06a496a9e405cf3873eb5065e03e6a1237e29c8f3cd0 SHA512 a0f8f5c6c2616bbdbe86f82b0dc7ad1bd4b4315fc074b7b97ad29a9dec4e63164d625da732f6b6b9a73dd039d415c06da51c83c5aa1056e7893b65691da1437f WHIRLPOOL 03fd0f7bc7300d7357d6b1f27a38aed54c7b77a7f8633910d3bfa6aede862f24238bde9322398cedea0e6b9d1bcd85b988e56ff1f2aeb62d691a209aa6f2acab
-DIST laptop-mode-tools_1.68.1.tar.gz 113137 SHA256 08d08f3d7ad76fb5f48232428584481a8e160421671533ece2648e968b519ba6 SHA512 68e230e3215631cff31157865eac6e73c08534e5481016425a41e1c166746e0df987a21cc158edc4dac5b1469c515eb23c89a51084b4f993debd28befc82064a WHIRLPOOL b421b48627fa2c80af0024c4c8705643330ddcfce5cbcdb0b71462fea466ebbac2b5a254855dba315ca0ab5b056a23a9f5ab5e66c84b15d17e2fcdbefe816589
-DIST laptop-mode-tools_1.68.tar.gz 112695 SHA256 a9ceca49a623fecf0d8067cd71d11610a254af7e87a3a462cb4277527a905558 SHA512 1870c0400b32f4bb95f407db64f9e8920391c0758f37fa493545865ba0801ed6d67491c8d69bd7565d72a3437fe01524153fdd4dcf2cd69b49e7f1b0a54ff0c4 WHIRLPOOL 28b5e9fe7744824c4b562e8123e9403020a6096e32960f23592cc4393fce1379cc359602e83ff959187a953965e353d85c42c901c7ec6e382dd1ff67e0fb5699
-DIST laptop-mode-tools_1.69.1.tar.gz 115064 SHA256 4dcc55b10c3fc693daeb6be8d8e190f2b191dce0686a7bea0545a8821b8e7173 SHA512 1f027cec13800e4e0e256983769e45329423264b36112a4d79f3f09c4c01e7d411bbf8c376c67eb6d83224ffdde87e2fed4dc08176a406bc6a29ad3a392dd6d9 WHIRLPOOL a0eedb7db39b204d6b0e61ef2d210d3be37a70c81dbdb11fad4d61042c5f972996a709a793c82d2b636ad37c2873c1d87cc62c5bd279de08d6ce6c49bfa3d113
DIST laptop-mode-tools_1.69.2.tar.gz 115082 SHA256 2db1225cc8b6fb214f221362b9fabfffb1cbd25556d00bef3d3a6db9f3b19a59 SHA512 cc1e2ef7c2dd963f542b2e745fc8f3f046199d848a3c2bc44509fb2f08dc5dfa05ce1f9d70b5c678e6c088ed55ce7875eadf4ac806f006806c5bb1b229f980e5 WHIRLPOOL a563fee8497c390060c8820b5b5efa9c58c2222175fb9075f55344888627b2f054ed8aee3e1ecf415f84f19ab4c9f6c21bf20ea4880b8827949f9c05baccf945
-DIST laptop-mode-tools_1.69.tar.gz 115026 SHA256 7028a646532d30d27cb8ee13a87d6b2f0045b6d8b7fbea3af77f167dd22ccca5 SHA512 5dda4170473b62af1e49cc5d07298c7c5036b5f0fa9ad8b6f01265257a266c52f36a1e02c252544a10a87c7417393b54db98278b8a5bd6c1bd62f9f980e10831 WHIRLPOOL 5b9e48cb90b5da41a0d9864aa5ef2446f933e2b17841c2be9a89337a14150999330e50814642e8ddc648516d3c2c9ef64ce599e4513b8ed61046bfb121063e17
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.67.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.67.ebuild
deleted file mode 100644
index bf853c4..0000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.67.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="http://www.samwel.tk/laptop_mode/"
-SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.1.ebuild
deleted file mode 100644
index bf853c4..0000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="http://www.samwel.tk/laptop_mode/"
-SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.ebuild
deleted file mode 100644
index bf853c4..0000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.68.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="http://www.samwel.tk/laptop_mode/"
-SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.1.ebuild
deleted file mode 100644
index 2370034..0000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
-SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.ebuild
deleted file mode 100644
index 3b1387b..0000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
-SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2016-05-08 4:13 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2016-05-08 4:13 UTC (permalink / raw
To: gentoo-commits
commit: 3ef33cebfdaf4226af3c10aa2ecaf2a232e192b5
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun May 8 04:13:16 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun May 8 04:13:16 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef33ceb
app-laptop/laptop-mode-tools: add name to maintainer
Bug: 582374
Package-Manager: portage-2.2.26
app-laptop/laptop-mode-tools/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-laptop/laptop-mode-tools/metadata.xml b/app-laptop/laptop-mode-tools/metadata.xml
index e7c79c9..d089997 100644
--- a/app-laptop/laptop-mode-tools/metadata.xml
+++ b/app-laptop/laptop-mode-tools/metadata.xml
@@ -7,6 +7,7 @@
<upstream>
<maintainer status="active">
<email>gentoo-lmt@researchut.com</email>
+ <name>Ritesh Raj Sarraf</name>
</maintainer>
</upstream>
<use>
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2016-09-24 19:49 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2016-09-24 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 20464d39b4ad91c07e4502e871173fa4f7a8e047
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 19:48:30 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 19:48:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20464d39
app-laptop/laptop-mode-tools: version bump
Package-Manager: portage-2.2.28
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.70.ebuild | 95 ++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 4051992..61e7b4c 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,2 +1,3 @@
DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62 SHA512 8649f70ab63ca0a1e5edf5c4c69062b01dce97b34ef6686a2c044f177aaac59008d4275b237e2c97a2541b6b824c0513d32323c156a43684264ba6d2c5fc8b6c WHIRLPOOL 4fc981f00c4afd74da74e192beb292c5d39e2a3bcc23d77e5daf37c71b75acb4df81c70a68586c0704b47fbe08dce69b1921d0d151777b5451b8d6302bac5b0f
DIST laptop-mode-tools_1.69.2.tar.gz 115082 SHA256 2db1225cc8b6fb214f221362b9fabfffb1cbd25556d00bef3d3a6db9f3b19a59 SHA512 cc1e2ef7c2dd963f542b2e745fc8f3f046199d848a3c2bc44509fb2f08dc5dfa05ce1f9d70b5c678e6c088ed55ce7875eadf4ac806f006806c5bb1b229f980e5 WHIRLPOOL a563fee8497c390060c8820b5b5efa9c58c2222175fb9075f55344888627b2f054ed8aee3e1ecf415f84f19ab4c9f6c21bf20ea4880b8827949f9c05baccf945
+DIST laptop-mode-tools_1.70.tar.gz 116624 SHA256 12cde7dbec8c35201efab96187be75ec84e0a2424494852413f21be1b7bc6a11 SHA512 755e2d94b63bb2a6e5362365f11181374c5fe159b508076f5def91c4df93983fa3e2553bbd94ae0b5bb4690aa7fb0881eafe3f4dcc7c8e77a8b72de23f6a21c5 WHIRLPOOL a70b0e3353877ffedd87ed3f72f1239addd34e8fecfd0e54b98c328a1f4a48a87a2f278fa4afa227452eb5f874bd58912a1ddf8ae2f385636c6bb3a552ce7b3a
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
new file mode 100644
index 00000000..cfdfd45
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils multilib systemd udev
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-03-16 7:28 Michael Weber
0 siblings, 0 replies; 30+ messages in thread
From: Michael Weber @ 2017-03-16 7:28 UTC (permalink / raw
To: gentoo-commits
commit: a83dc1e04905cbe5f7fcdf7586d9ca969fd10f99
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 07:13:59 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 07:28:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83dc1e0
app-laptop/laptop-mode-tools: ppc stable (bug 611752).
Package-Manager: Portage-2.3.4, Repoman-2.3.2
app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
index a63abe245e2..6fc2e9b47e2 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE="+acpi apm bluetooth scsi"
RDEPEND="net-wireless/wireless-tools
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-03-16 19:53 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2017-03-16 19:53 UTC (permalink / raw
To: gentoo-commits
commit: 90d09bd242c88790a685950cb1f03407d29afee9
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 18:29:47 2017 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 19:52:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d09bd2
app-laptop/laptop-mode-tools: cleanup
Bug: 611752
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-laptop/laptop-mode-tools/Manifest | 2 -
.../laptop-mode-tools-1.66.ebuild | 92 ----------------------
.../laptop-mode-tools-1.69.2.ebuild | 92 ----------------------
3 files changed, 186 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 61e7b4cccef..7e1e80da497 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,3 +1 @@
-DIST laptop-mode-tools_1.66.tar.gz 111175 SHA256 0e8488d6112fa7edfa7e4b1084b16f8c7c6726d935029e4afd7d7034caed5f62 SHA512 8649f70ab63ca0a1e5edf5c4c69062b01dce97b34ef6686a2c044f177aaac59008d4275b237e2c97a2541b6b824c0513d32323c156a43684264ba6d2c5fc8b6c WHIRLPOOL 4fc981f00c4afd74da74e192beb292c5d39e2a3bcc23d77e5daf37c71b75acb4df81c70a68586c0704b47fbe08dce69b1921d0d151777b5451b8d6302bac5b0f
-DIST laptop-mode-tools_1.69.2.tar.gz 115082 SHA256 2db1225cc8b6fb214f221362b9fabfffb1cbd25556d00bef3d3a6db9f3b19a59 SHA512 cc1e2ef7c2dd963f542b2e745fc8f3f046199d848a3c2bc44509fb2f08dc5dfa05ce1f9d70b5c678e6c088ed55ce7875eadf4ac806f006806c5bb1b229f980e5 WHIRLPOOL a563fee8497c390060c8820b5b5efa9c58c2222175fb9075f55344888627b2f054ed8aee3e1ecf415f84f19ab4c9f6c21bf20ea4880b8827949f9c05baccf945
DIST laptop-mode-tools_1.70.tar.gz 116624 SHA256 12cde7dbec8c35201efab96187be75ec84e0a2424494852413f21be1b7bc6a11 SHA512 755e2d94b63bb2a6e5362365f11181374c5fe159b508076f5def91c4df93983fa3e2553bbd94ae0b5bb4690aa7fb0881eafe3f4dcc7c8e77a8b72de23f6a21c5 WHIRLPOOL a70b0e3353877ffedd87ed3f72f1239addd34e8fecfd0e54b98c328a1f4a48a87a2f278fa4afa227452eb5f874bd58912a1ddf8ae2f385636c6bb3a552ce7b3a
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.66.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.66.ebuild
deleted file mode 100644
index 5cf1fe34ae3..00000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.66.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="http://www.samwel.tk/laptop_mode/"
-SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.2.ebuild
deleted file mode 100644
index f33b1552fec..00000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.69.2.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib systemd udev
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
-SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-03-25 18:11 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2017-03-25 18:11 UTC (permalink / raw
To: gentoo-commits
commit: b3002d67f3fa48aa6ebcf5af5aee73da40b11460
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 17:55:26 2017 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 18:11:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3002d67
app-laptop/laptop-mode-tools: remove eutils
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
index 6fc2e9b47e2..76f2e8092a2 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils multilib systemd udev
+inherit multilib systemd udev
MY_P="${PN}_${PV}"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-04-05 17:53 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2017-04-05 17:53 UTC (permalink / raw
To: gentoo-commits
commit: 82073bddb55f43fad1fe39061f193b6fc883f3af
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 5 17:52:08 2017 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Wed Apr 5 17:53:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82073bdd
app-laptop/laptop-mode-tools: version bump
Bug: 614766
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.71.ebuild | 94 ++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 7e1e80da497..126459c77fb 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1 +1,2 @@
DIST laptop-mode-tools_1.70.tar.gz 116624 SHA256 12cde7dbec8c35201efab96187be75ec84e0a2424494852413f21be1b7bc6a11 SHA512 755e2d94b63bb2a6e5362365f11181374c5fe159b508076f5def91c4df93983fa3e2553bbd94ae0b5bb4690aa7fb0881eafe3f4dcc7c8e77a8b72de23f6a21c5 WHIRLPOOL a70b0e3353877ffedd87ed3f72f1239addd34e8fecfd0e54b98c328a1f4a48a87a2f278fa4afa227452eb5f874bd58912a1ddf8ae2f385636c6bb3a552ce7b3a
+DIST laptop-mode-tools_1.71.tar.gz 118833 SHA256 3aa122f876ef191e2501f550363724e30d20646637cff0de7147124c867166f9 SHA512 67ef4ed4c80f3a64ab9f0f9003d415f9e8759fd0ee1c7a82837d423a0e7aeb03ab95724afd89ae223f954ae0baec5830c8fa600bd6e2e351aead83a656f9b665 WHIRLPOOL 9c26c546f75f45b46b9b9e34a5ac435f58952e4d70b8db02c86170b4026b00112fb4044e41130dbc4f74326e22b39e0b78eeee2ba935179150441e9b5d41c884
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
new file mode 100644
index 00000000000..f4271bf15a1
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib systemd udev
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/hdparm
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-10-07 13:45 Michael Palimaka
0 siblings, 0 replies; 30+ messages in thread
From: Michael Palimaka @ 2017-10-07 13:45 UTC (permalink / raw
To: gentoo-commits
commit: 14d85140a5051c2cbccf3ec0a194659d2aedb699
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 13:45:21 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 13:45:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d85140
app-laptop/laptop-mode-tools: stabilise 1.71 for amd64
Bug: https://bugs.gentoo.org/633684
Package-Manager: Portage-2.3.8, Repoman-2.3.3
app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
index f4271bf15a1..2837bf0d93b 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
IUSE="+acpi apm bluetooth scsi"
RDEPEND="net-wireless/wireless-tools
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-10-09 22:48 Thomas Deutschmann
0 siblings, 0 replies; 30+ messages in thread
From: Thomas Deutschmann @ 2017-10-09 22:48 UTC (permalink / raw
To: gentoo-commits
commit: ae359960291e83e791841f0c11cc06f7e17278ef
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 9 22:45:35 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Oct 9 22:45:35 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae359960
app-laptop/laptop-mode-tools: x86 stable (bug #633684)
Package-Manager: Portage-2.3.10, Repoman-2.3.3
app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
index 2837bf0d93b..32250ae7f47 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE="+acpi apm bluetooth scsi"
RDEPEND="net-wireless/wireless-tools
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-10-12 18:48 Sergei Trofimovich
0 siblings, 0 replies; 30+ messages in thread
From: Sergei Trofimovich @ 2017-10-12 18:48 UTC (permalink / raw
To: gentoo-commits
commit: d1755cc13fd7c6f21fd27ad8f77555ed49282cb0
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 18:47:29 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 18:48:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1755cc1
app-laptop/laptop-mode-tools: stable 1.71 for ppc, bug #633684
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"
app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
index 32250ae7f47..76f2e8092a2 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE="+acpi apm bluetooth scsi"
RDEPEND="net-wireless/wireless-tools
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2017-10-12 20:01 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2017-10-12 20:01 UTC (permalink / raw
To: gentoo-commits
commit: e0eb88d80ab3140d64370ee97df57661617745be
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 20:01:06 2017 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 20:01:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0eb88d8
app-laptop/laptop-mode-tools: cleanup
Gentoo-Bug: https://bugs.gentoo.org/633684
Package-Manager: Portage-2.3.8, Repoman-2.3.3
app-laptop/laptop-mode-tools/Manifest | 1 -
.../laptop-mode-tools-1.70.ebuild | 94 ----------------------
2 files changed, 95 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 126459c77fb..335a4a54864 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,2 +1 @@
-DIST laptop-mode-tools_1.70.tar.gz 116624 SHA256 12cde7dbec8c35201efab96187be75ec84e0a2424494852413f21be1b7bc6a11 SHA512 755e2d94b63bb2a6e5362365f11181374c5fe159b508076f5def91c4df93983fa3e2553bbd94ae0b5bb4690aa7fb0881eafe3f4dcc7c8e77a8b72de23f6a21c5 WHIRLPOOL a70b0e3353877ffedd87ed3f72f1239addd34e8fecfd0e54b98c328a1f4a48a87a2f278fa4afa227452eb5f874bd58912a1ddf8ae2f385636c6bb3a552ce7b3a
DIST laptop-mode-tools_1.71.tar.gz 118833 SHA256 3aa122f876ef191e2501f550363724e30d20646637cff0de7147124c867166f9 SHA512 67ef4ed4c80f3a64ab9f0f9003d415f9e8759fd0ee1c7a82837d423a0e7aeb03ab95724afd89ae223f954ae0baec5830c8fa600bd6e2e351aead83a656f9b665 WHIRLPOOL 9c26c546f75f45b46b9b9e34a5ac435f58952e4d70b8db02c86170b4026b00112fb4044e41130dbc4f74326e22b39e0b78eeee2ba935179150441e9b5d41c884
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
deleted file mode 100644
index 76f2e8092a2..00000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.70.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib systemd udev
-
-MY_P="${PN}_${PV}"
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
-SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="+acpi apm bluetooth scsi"
-
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/hdparm
- sys-apps/which
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
-DEPEND=""
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-01-04 17:48 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2018-01-04 17:48 UTC (permalink / raw
To: gentoo-commits
commit: b0257df5ec04cce603c688c9b883586d80d6f42d
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 4 17:45:27 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Jan 4 17:48:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0257df5
app-laptop/laptop-mode-tools: remove old tools as dependency
Closes: https://bugs.gentoo.org/642264
Package-Manager: Portage-2.3.13, Repoman-2.3.3
app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild | 11 ++++-------
app-laptop/laptop-mode-tools/metadata.xml | 3 ---
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild
index 61e9fa4c5db..a3b12eff10b 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,17 +14,14 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE="+acpi apm bluetooth scsi"
+IUSE="+acpi apm bluetooth"
-RDEPEND="net-wireless/wireless-tools
- sys-apps/iproute2
+RDEPEND="sys-apps/iproute2
sys-apps/ethtool
- sys-apps/hdparm
sys-apps/which
acpi? ( sys-power/acpid )
apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )
- scsi? ( sys-apps/sdparm )"
+ bluetooth? ( net-wireless/bluez:= )"
DEPEND=""
S="${WORKDIR}/${MY_P}"
diff --git a/app-laptop/laptop-mode-tools/metadata.xml b/app-laptop/laptop-mode-tools/metadata.xml
index 6301d44bdde..2ce8528b031 100644
--- a/app-laptop/laptop-mode-tools/metadata.xml
+++ b/app-laptop/laptop-mode-tools/metadata.xml
@@ -11,7 +11,4 @@
</maintainer>
<remote-id type="github">rickysarraf/laptop-mode-tools</remote-id>
</upstream>
- <use>
- <flag name="scsi">Adds dependency on sdparm to control non-SATA SCSI drivers</flag>
- </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-02-01 18:42 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2018-02-01 18:42 UTC (permalink / raw
To: gentoo-commits
commit: 4cc1d20579edf1ff32cfdf5f14d8ee07099ce198
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 17:16:31 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Feb 1 18:42:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc1d205
app-laptop/laptop-mode-tools: version bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.72.ebuild | 91 ++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index fb5890af2d0..baa42d7e8e5 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1 +1,2 @@
DIST laptop-mode-tools_1.71.tar.gz 118833 BLAKE2B 21e6399d35d3f35dd75e5640eb50d679de87bf40435484e0c7cb67dcd0f2a794b5f14b48e375c302ef749efc38677b8abbdacfd3612206fb0125c52b9d67a89b SHA512 67ef4ed4c80f3a64ab9f0f9003d415f9e8759fd0ee1c7a82837d423a0e7aeb03ab95724afd89ae223f954ae0baec5830c8fa600bd6e2e351aead83a656f9b665
+DIST laptop-mode-tools_1.72.tar.gz 121392 BLAKE2B 7aa02fa546d04423c45c27afd7b4c79ce10cdf8e7ae986d66fb664ab5bd6a05c6ac188a456f3afd46780cec7ab74d2cd83b4ddf1e14f6dbc517442d03bb960a6 SHA512 9135df29d4076dadc805470d742007b1a25be962f4181235126d1bb697b362c646cb9c4839b57e92314b8207e23eba3618b2d985802836bcae22f6a4aceb66a5
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.ebuild
new file mode 100644
index 00000000000..8e38fc45f3d
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib systemd udev
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth"
+
+RDEPEND="sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/which
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-02-03 18:38 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2018-02-03 18:38 UTC (permalink / raw
To: gentoo-commits
commit: 6a430f6f97577d8bebc27923e4a7b06b0fb65c20
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 18:38:31 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 18:38:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a430f6f
app-laptop/laptop-mode-tools: version bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-laptop/laptop-mode-tools/Manifest | 2 +-
.../{laptop-mode-tools-1.72.ebuild => laptop-mode-tools-1.72.2.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index baa42d7e8e5..fc3446987f5 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,2 +1,2 @@
DIST laptop-mode-tools_1.71.tar.gz 118833 BLAKE2B 21e6399d35d3f35dd75e5640eb50d679de87bf40435484e0c7cb67dcd0f2a794b5f14b48e375c302ef749efc38677b8abbdacfd3612206fb0125c52b9d67a89b SHA512 67ef4ed4c80f3a64ab9f0f9003d415f9e8759fd0ee1c7a82837d423a0e7aeb03ab95724afd89ae223f954ae0baec5830c8fa600bd6e2e351aead83a656f9b665
-DIST laptop-mode-tools_1.72.tar.gz 121392 BLAKE2B 7aa02fa546d04423c45c27afd7b4c79ce10cdf8e7ae986d66fb664ab5bd6a05c6ac188a456f3afd46780cec7ab74d2cd83b4ddf1e14f6dbc517442d03bb960a6 SHA512 9135df29d4076dadc805470d742007b1a25be962f4181235126d1bb697b362c646cb9c4839b57e92314b8207e23eba3618b2d985802836bcae22f6a4aceb66a5
+DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
similarity index 100%
rename from app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.ebuild
rename to app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-04-20 0:41 Aaron Bauman
0 siblings, 0 replies; 30+ messages in thread
From: Aaron Bauman @ 2018-04-20 0:41 UTC (permalink / raw
To: gentoo-commits
commit: 7f4ece0dceb6ff70a8ba9f8cda90331ba5c1e489
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 20 00:36:49 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Apr 20 00:36:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4ece0d
app-laptop/laptop-mode-tools: amd64 stable wrt bug #653582
Bug: https://bugs.gentoo.org/653582
Package-Manager: Portage-2.3.31, Repoman-2.3.9
app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
index 8e38fc45f3d..9b030cf833c 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
IUSE="+acpi apm bluetooth"
RDEPEND="sys-apps/iproute2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-05-26 8:53 Mikle Kolyada
0 siblings, 0 replies; 30+ messages in thread
From: Mikle Kolyada @ 2018-05-26 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 8cb29f7a988a2e5263ffb8fab708360bab801b12
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 08:53:21 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat May 26 08:53:21 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb29f7a
app-laptop/laptop-mode-tools: ppc stable wrt bug #653582
Package-Manager: Portage-2.3.24, Repoman-2.3.6
app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
index 37773616dab..71d914c0703 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE="+acpi apm bluetooth"
RDEPEND="sys-apps/iproute2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-09-01 7:21 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2018-09-01 7:21 UTC (permalink / raw
To: gentoo-commits
commit: 692632c4e1fd984551915af8a658c558ce39c7b5
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 1 07:17:40 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Sep 1 07:20:33 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=692632c4
app-laptop/laptop-mode-tools: re-add sdparm/hdparm dependency
Closes: https://bugs.gentoo.org/show_bug.cgi?id=644920
Package-Manager: Portage-2.3.40, Repoman-2.3.9
app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
index 71d914c0703..65280437450 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
@@ -19,6 +19,10 @@ IUSE="+acpi apm bluetooth"
RDEPEND="sys-apps/iproute2
sys-apps/ethtool
sys-apps/which
+ || (
+ sys-apps/sdparm
+ sys-apps/hdparm
+ )
acpi? ( sys-power/acpid )
apm? ( sys-apps/apmd )
bluetooth? ( net-wireless/bluez:= )"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2018-09-28 0:18 Alon Bar-Lev
0 siblings, 0 replies; 30+ messages in thread
From: Alon Bar-Lev @ 2018-09-28 0:18 UTC (permalink / raw
To: gentoo-commits
commit: 098c3c3189708e308e459e2a68ff716b578dc7f1
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 28 00:03:48 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Fri Sep 28 00:18:40 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098c3c31
app-laptop/laptop-mode-tools: eapi bump
Package-Manager: Portage-2.3.49, Repoman-2.3.10
app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
index 65280437450..822d2452f93 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit multilib systemd udev
@@ -26,7 +26,6 @@ RDEPEND="sys-apps/iproute2
acpi? ( sys-power/acpid )
apm? ( sys-apps/apmd )
bluetooth? ( net-wireless/bluez:= )"
-DEPEND=""
S="${WORKDIR}/${MY_P}"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2019-09-15 14:55 Michał Górny
0 siblings, 0 replies; 30+ messages in thread
From: Michał Górny @ 2019-09-15 14:55 UTC (permalink / raw
To: gentoo-commits
commit: 7eef205a8bfe823221c39f692c9340e6ef056445
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 14:28:50 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 14:28:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eef205a
app-laptop/laptop-mode-tools: Make USE=apm local
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-laptop/laptop-mode-tools/metadata.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/metadata.xml b/app-laptop/laptop-mode-tools/metadata.xml
index 2ce8528b031..862fca6f9c2 100644
--- a/app-laptop/laptop-mode-tools/metadata.xml
+++ b/app-laptop/laptop-mode-tools/metadata.xml
@@ -4,6 +4,9 @@
<maintainer type="person">
<email>alonbl@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="apm">Add APM (Advanced Power Management) support</flag>
+ </use>
<upstream>
<maintainer status="active">
<email>gentoo-lmt@researchut.com</email>
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2021-03-26 16:11 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-03-26 16:11 UTC (permalink / raw
To: gentoo-commits
commit: 931f78d7f055fcd9655776705946213fde425064
Author: Jan Seeger <jan.seeger <AT> thenybble <DOT> de>
AuthorDate: Tue Aug 11 13:55:46 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 16:01:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931f78d7
app-laptop/laptop-mode-tools-1.74: Bumped ebuild, removed pm-utils.
Bumped the ebuild and removed everything pm-utils related.
Signed-off-by: Jan Seeger <jan.seeger <AT> thenybble.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-laptop/laptop-mode-tools/Manifest | 1 +
.../laptop-mode-tools-1.74.ebuild | 79 ++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index c1a42249479..e7bd1d3e1b3 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1 +1,2 @@
DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a
+DIST laptop-mode-tools_1.74.tar.gz 124163 BLAKE2B 5080a646b7e0ddd53709aa445abfdde2ea4a7643bf97f86c6d7ca612b6e46210c825df1c01389125ff2dd79e37d2421b76db28f7415454c77a776c3526a08d12 SHA512 70154c5833c02e2adf50bf03b3d05b98946cb7fc5acb73c05f105e3bc34d62e54e57db98be6877b8ebf2d1b951de73ad5afee9a5f7c85a76055ddc0868d5397d
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
new file mode 100644
index 00000000000..8eb88dc3d5e
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib systemd udev
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
+SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm"
+
+RDEPEND="sys-apps/iproute2
+ sys-apps/ethtool
+ sys-apps/which
+ || (
+ sys-apps/sdparm
+ sys-apps/hdparm
+ )
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
+ TMPFILES_D="/usr/lib/tmpfiles.d" \
+ ACPI="$(usex acpi force disabled)" \
+ PMU="disabled" \
+ APM="$(usex apm )" \
+ SYSTEMD=yes \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README.md
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ rm "${ED}/usr/lib/pm-utils/sleep.d/01laptop-mode" || die "could not remove PM utils config."
+}
+
+pkg_postinst() {
+ local daemon_name
+ optfeature "bluetooth support" net-wireless/bluez
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel."
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2021-03-26 16:11 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-03-26 16:11 UTC (permalink / raw
To: gentoo-commits
commit: 7c1f703583b083eca38fb4e7637be43b1a967837
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 26 16:10:13 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 16:10:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1f7035
app-laptop/laptop-mode-tools: convert to tmpfiles.eclass
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../laptop-mode-tools-1.74.ebuild | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
index 8eb88dc3d5e..c90637e13dd 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
@@ -1,32 +1,33 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils multilib systemd udev
+inherit optfeature systemd tmpfiles udev
MY_P="${PN}_${PV}"
DESCRIPTION="Linux kernel laptop_mode user-space utilities"
HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+acpi apm"
-RDEPEND="sys-apps/iproute2
+RDEPEND="
sys-apps/ethtool
+ sys-apps/iproute2
sys-apps/which
|| (
sys-apps/sdparm
sys-apps/hdparm
)
acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )"
-
-S="${WORKDIR}/${MY_P}"
+ apm? ( sys-apps/apmd )
+"
src_compile() { :; }
@@ -40,20 +41,25 @@ src_install() {
TMPFILES_D="/usr/lib/tmpfiles.d" \
ACPI="$(usex acpi force disabled)" \
PMU="disabled" \
- APM="$(usex apm )" \
+ APM="$(usex apm)" \
SYSTEMD=yes \
sh ./install.sh || die
dodoc Documentation/*.txt README.md
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+ newtmpfiles "${S}"/etc/systemd/laptop-mode.conf.tmpfiles laptop-mode.conf
+
rm "${ED}/usr/lib/pm-utils/sleep.d/01laptop-mode" || die "could not remove PM utils config."
}
pkg_postinst() {
local daemon_name
optfeature "bluetooth support" net-wireless/bluez
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
+
+ tmpfiles_process laptop-mode.conf
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
if use acpi || use apm; then
if use acpi; then
daemon_name="acpid"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2021-04-26 19:11 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-04-26 19:11 UTC (permalink / raw
To: gentoo-commits
commit: 43346aa89b54475aa2d0c77a28742d41e970810d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 26 19:09:15 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 26 19:10:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43346aa8
app-laptop/laptop-mode-tools: Stabilize 1.74 x86, #785829
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
index 126898d51e3..bc4d096fce3 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE="+acpi apm"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2021-04-26 19:15 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-04-26 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 7d2add349198263097c5e067252c519ac034ff8e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 26 19:13:28 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 26 19:15:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2add34
app-laptop/laptop-mode-tools: Stabilize 1.74 ppc, #785829
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
index bc4d096fce3..c297be15304 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.74.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE="+acpi apm"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2021-07-31 22:17 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-07-31 22:17 UTC (permalink / raw
To: gentoo-commits
commit: 8f0e7b70246e039e50c9969723eff98495ca7e41
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 03:14:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0e7b70
app-laptop/laptop-mode-tools: [QA] call tmpfiles_process in pkg_postinst
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).
Signed-off-by: Sam James <sam <AT> gentoo.org>
...de-tools-1.72.2-r1.ebuild => laptop-mode-tools-1.72.2-r2.ebuild} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
similarity index 95%
rename from app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r1.ebuild
rename to app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
index a9ae177ba5a..4b6591ed520 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r1.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit multilib systemd udev
+inherit multilib systemd tmpfiles udev
MY_P="${PN}_${PV}"
@@ -66,6 +66,8 @@ src_install() {
}
pkg_postinst() {
+ tmpfiles_process laptop-mode.conf
+
if use acpi || use apm; then
if use acpi; then
daemon_name="acpid"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
@ 2022-02-20 22:00 Jonas Stein
0 siblings, 0 replies; 30+ messages in thread
From: Jonas Stein @ 2022-02-20 22:00 UTC (permalink / raw
To: gentoo-commits
commit: f9a2656558d1ca6ddc8dba3f6c67266d40c246dc
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 21:59:30 2022 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 21:59:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a26565
app-laptop/laptop-mode-tools: drop old
Drop obsolete version with QA bugs
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
app-laptop/laptop-mode-tools/Manifest | 1 -
.../laptop-mode-tools-1.72.2-r2.ebuild | 100 ---------------------
2 files changed, 101 deletions(-)
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index e7bd1d3e1b35..08e805ebf431 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,2 +1 @@
-DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a
DIST laptop-mode-tools_1.74.tar.gz 124163 BLAKE2B 5080a646b7e0ddd53709aa445abfdde2ea4a7643bf97f86c6d7ca612b6e46210c825df1c01389125ff2dd79e37d2421b76db28f7415454c77a776c3526a08d12 SHA512 70154c5833c02e2adf50bf03b3d05b98946cb7fc5acb73c05f105e3bc34d62e54e57db98be6877b8ebf2d1b951de73ad5afee9a5f7c85a76055ddc0868d5397d
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
deleted file mode 100644
index 4b6591ed5208..000000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib systemd tmpfiles udev
-
-MY_P="${PN}_${PV}"
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
-SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="+acpi apm bluetooth"
-
-RDEPEND="sys-apps/iproute2
- sys-apps/ethtool
- sys-apps/which
- || (
- sys-apps/sdparm
- sys-apps/hdparm
- )
- acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )
- bluetooth? ( net-wireless/bluez:= )"
-
-PATCHES=(
- "${FILESDIR}/0001-Fix-case-sensitive-name-for-lmt.py.patch"
-)
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- # This should avoid conflict with pm-powersave wrt #327443 and #396703
- cat <<-EOF > "${T}"/${PN}
- HOOK_BLACKLIST="00powersave"
- EOF
-}
-
-src_compile() { :; }
-
-src_install() {
- DESTDIR="${D}" \
- INIT_D="none" \
- MAN_D="/usr/share/man" \
- LIB_D="/usr/$(get_libdir)" \
- UDEV_D="$(get_udevdir)" \
- SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
- TMPFILES_D="/usr/lib/tmpfiles.d" \
- ACPI="$(use acpi && echo force || echo disabled)" \
- PMU="$(false && echo force || echo disabled)" \
- APM="$(use apm && echo force || echo disabled)" \
- SYSTEMD=yes \
- sh ./install.sh || die
-
- dodoc Documentation/*.txt README.md
- newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
- # See src_prepare()
- insinto /etc/pm/config.d
- doins "${T}"/${PN}
-}
-
-pkg_postinst() {
- tmpfiles_process laptop-mode.conf
-
- if use acpi || use apm; then
- if use acpi; then
- daemon_name="acpid"
- elif use apm; then
- deamon_name="apmd"
- fi
- if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "To enable automatic power state event handling,"
- ewarn "e.g. enabling laptop_mode after unplugging the battery,"
- ewarn "both laptop_mode and the ${daemon_name} daemon must be"
- ewarn "added to default runlevel:"
- if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
- ewarn "# rc-update add laptop_mode default"
- fi
- if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
- ewarn "# rc-update add ${daemon_name} default"
- fi
- fi
- else
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
- ewarn "information."
- ewarn
- fi
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
end of thread, other threads:[~2022-02-20 22:00 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-01 7:21 [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/ Alon Bar-Lev
-- strict thread matches above, loose matches on Subject: below --
2022-02-20 22:00 Jonas Stein
2021-07-31 22:17 Sam James
2021-04-26 19:15 Sam James
2021-04-26 19:11 Sam James
2021-03-26 16:11 Sam James
2021-03-26 16:11 Sam James
2019-09-15 14:55 Michał Górny
2018-09-28 0:18 Alon Bar-Lev
2018-05-26 8:53 Mikle Kolyada
2018-04-20 0:41 Aaron Bauman
2018-02-03 18:38 Alon Bar-Lev
2018-02-01 18:42 Alon Bar-Lev
2018-01-04 17:48 Alon Bar-Lev
2017-10-12 20:01 Alon Bar-Lev
2017-10-12 18:48 Sergei Trofimovich
2017-10-09 22:48 Thomas Deutschmann
2017-10-07 13:45 Michael Palimaka
2017-04-05 17:53 Alon Bar-Lev
2017-03-25 18:11 Alon Bar-Lev
2017-03-16 19:53 Alon Bar-Lev
2017-03-16 7:28 Michael Weber
2016-09-24 19:49 Alon Bar-Lev
2016-05-08 4:13 Alon Bar-Lev
2016-03-27 17:28 Alon Bar-Lev
2016-03-27 17:28 Alon Bar-Lev
2016-03-15 18:50 Alon Bar-Lev
2016-03-11 19:53 Alon Bar-Lev
2015-09-27 9:14 Alon Bar-Lev
2015-08-31 20:45 Alon Bar-Lev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox