summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2015-07-03 15:42:20 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2015-07-03 15:42:20 +0000
commitf8afc7a6fe19b6246155f73a018dff9bd73466a9 (patch)
tree8bcd081454b20a82f5c939071b7b2391c8937bc1 /app-laptop/laptop-mode-tools
parentCleanup (diff)
downloadhistorical-f8afc7a6fe19b6246155f73a018dff9bd73466a9.tar.gz
historical-f8afc7a6fe19b6246155f73a018dff9bd73466a9.tar.bz2
historical-f8afc7a6fe19b6246155f73a018dff9bd73466a9.zip
Version bump
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xBF20DC51
Diffstat (limited to 'app-laptop/laptop-mode-tools')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog7
-rw-r--r--app-laptop/laptop-mode-tools/Manifest10
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.67.ebuild93
3 files changed, 105 insertions, 5 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index 44c4bcb2142c..cf6f25139f17 100644
--- a/app-laptop/laptop-mode-tools/ChangeLog
+++ b/app-laptop/laptop-mode-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-laptop/laptop-mode-tools
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.100 2015/07/03 15:38:53 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.101 2015/07/03 15:42:12 alonbl Exp $
+
+*laptop-mode-tools-1.67 (03 Jul 2015)
+
+ 03 Jul 2015; Alon Bar-Lev <alonbl@gentoo.org> +laptop-mode-tools-1.67.ebuild:
+ Version bump
03 Jul 2015; Alon Bar-Lev <alonbl@gentoo.org>
-files/laptop-mode-tools-1.65-usb-autosuspend.patch,
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index f42e6183afa2..6aeff78c324f 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -3,13 +3,15 @@ Hash: SHA256
AUX laptop_mode.init-1.4 1190 SHA256 90a18e5c7e4d0b264bb51deb7b92ff25b508a3ddd75dd6c849fdc48c07ce4fda SHA512 47e67d54ed8005a864c017f4ef063c8a17286c6f8a260984fda96392e6461a3f0c5e4f17f8cf2272b072c1545b8f8e99fe45579a81b4d08a99e1eeb46f400fe5 WHIRLPOOL 7a87608d947be301400f2f1a0294a60f21e2cd1b6bed961788f7fc018bf4ac32d69a50e11e735db3cb6c000174ebd78e59f7ac0cd474bef3b803872b6a6665e5
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
EBUILD laptop-mode-tools-1.66.ebuild 2712 SHA256 1d1d5f68928b93f795fdb51f68571678e94505df7100ac2c62902de70005b356 SHA512 a73b78667e6c58fd37c70f3dd71c5329fcddab61dd93171d97255dc49bbf8405b837237bd53b4026b2e8bcde1909db4265c218fc4d2d06380ad8fbce75da5ea0 WHIRLPOOL 141c539c5e02d4d15cd3d951af15bca1b8c1a95be01e7b2e810406f16a8daa18ec852271ec441259e6b2bc4b18f26babf5674ad12cd6eba2161a19a0353dd5d7
-MISC ChangeLog 20155 SHA256 ce7909b2506d53dea1360077c9373a15b7e6a9a2ab83417f50ba57b6213e7448 SHA512 4b5d8091d7fc4eff741f997a2a9f727ec7dbc3cfa459b00ec9d354014b45afbf063df737d6de6f28920d1e128ae816d646fef4b44f85319a449ef241b5e9954e WHIRLPOOL 22fa7fd7a154caf451216afa9024b919944281eea244167c93c02b14cc8bd050924b312f2853c1efa23981153e563611e7919f1089d7dfa1753e3d804d7a6230
+EBUILD laptop-mode-tools-1.67.ebuild 2714 SHA256 ff74f4cc0a481a57b8bcbc88466385b5a2f0b2214a32074a619d811b860c0f42 SHA512 8cb3f9309a6e71797164f3e3a68d66621e8e09990f96960ab3dba78bec05497a62c1fe482ee6066df91897bea2d85a3226c06384b0500774fb52676919f434d3 WHIRLPOOL be8ef5f80b675dd1260605c5a8f46799d4cab6faa20a390a669331c3f595229dcd92092606264f629773bdd2e05119e29acac7e754ccf3675e505ab31085b50d
+MISC ChangeLog 20290 SHA256 4374d8d676d332d3d936c1458572438e8ec440d8d71f56870cd7d70c89de9e91 SHA512 61c4a0421786bcc17d4a3dc695eb7b043a6eb6b50eaedcd2972129f41a1bab6e89a5e0208408299d736de8bef3ce7aca4cecd1be1b7ccd3a737f38674a03e842 WHIRLPOOL 9f0b7344e6316c53cef43364e4eec170306ef40b0704726d54bb87e8a2e92c2b8c8a854e103c4918b9f5f4981d038dab546de2c2174085f7e9d3030b62fedc3c
MISC metadata.xml 420 SHA256 2008caffae78c8d0c6a04f0b4b4768d2a9d2b9f62d96409141cd2e579f622749 SHA512 5bd05a4b5ce71343b10a46b57cd73b071c399062bb9813bcb9d9e329e1a4804a6b1f5489e6004626a9daa84e9b0ca399b0209d844dd0adb0c185a18adc535946 WHIRLPOOL ea091eb7cc936602de9e1179231f9fd8bb78ab447abd72b505be870b79acf50056a4610a56c4ab7c1585957ee44d2f85d47248eeee47f10cf860b8ac6b8535b4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iF4EAREIAAYFAlWWrJEACgkQXYk9GL8g3FHLwQD/WjGm1zoUFi/MF2KvtxR543kh
-P7OwCIo5N/16+94fwjQA/RsiDyj283Ajg3RybrpXEFpgLqLhGigWwikftr5rmWP2
-=zY2P
+iF4EAREIAAYFAlWWrVkACgkQXYk9GL8g3FG+5gD/V5EMuyxfmS1abXqhNr851gYF
+Emcab8Z4xLw+65TNNnoBAJCCwsQ3LqcvXrN7llQ4LJMp5sngYdUrnwsFTKDnukHO
+=syyP
-----END PGP SIGNATURE-----
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
new file mode 100644
index 000000000000..efd01268d007
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.67.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.67.ebuild,v 1.1 2015/07/03 15:42:12 alonbl Exp $
+
+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
+}