diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2013-09-11 19:57:27 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2013-09-11 19:57:27 +0000 |
commit | e2ce316fc77af36c47fbef64f6e808ac02aaa682 (patch) | |
tree | 487672ab07d02e218c6f899cd34ce9836172bc98 /app-laptop | |
parent | Version bump. Bug #484328 and #484590 (diff) | |
download | historical-e2ce316fc77af36c47fbef64f6e808ac02aaa682.tar.gz historical-e2ce316fc77af36c47fbef64f6e808ac02aaa682.tar.bz2 historical-e2ce316fc77af36c47fbef64f6e808ac02aaa682.zip |
Version bump
Package-Manager: portage-2.2.2/cvs/Linux x86_64
Manifest-Sign-Key: 0xBF20DC51
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/laptop-mode-tools/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/Manifest | 10 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/laptop-mode-tools-1.64.ebuild | 91 |
3 files changed, 103 insertions, 5 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog index 4634744a585e..29805acfe604 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.81 2013/08/30 18:47:39 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.82 2013/09/11 19:57:19 alonbl Exp $ + +*laptop-mode-tools-1.64 (11 Sep 2013) + + 11 Sep 2013; Alon Bar-Lev <alonbl@gentoo.org> +laptop-mode-tools-1.64.ebuild: + Version bump 30 Aug 2013; Alon Bar-Lev <alonbl@gentoo.org> +files/laptop-mode-tools-1.63-udevadm.patch, laptop-mode-tools-1.63-r3.ebuild: diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index e4c764b0f307..643088bcff5c 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -7,14 +7,16 @@ AUX laptop-mode-tools-1.63-pcie-aspm-silencing-stderr.patch 1604 SHA256 a9d14760 AUX laptop-mode-tools-1.63-udevadm.patch 982 SHA256 1064eb82ca18cc5af894c95e93da9b26576d47c741b0c40b7c94de6c1f305566 SHA512 9864cefb6b56f1f08084e65925aa6932e3af0157de9013b812cbbea22715399089de7863e0a716500f7eb146e18452c81534de247836d2a366dee8a7418868ee WHIRLPOOL 357872197e92a0e5e62114ba0000dfc5a07e523401531d7bb311121fd6b667e27f37687bce250ab30951ffeb3f7275cd6baa632e6551c0562c7afec35c1b3bfe AUX laptop_mode.init-1.4 1190 SHA256 90a18e5c7e4d0b264bb51deb7b92ff25b508a3ddd75dd6c849fdc48c07ce4fda SHA512 47e67d54ed8005a864c017f4ef063c8a17286c6f8a260984fda96392e6461a3f0c5e4f17f8cf2272b072c1545b8f8e99fe45579a81b4d08a99e1eeb46f400fe5 WHIRLPOOL 7a87608d947be301400f2f1a0294a60f21e2cd1b6bed961788f7fc018bf4ac32d69a50e11e735db3cb6c000174ebd78e59f7ac0cd474bef3b803872b6a6665e5 DIST laptop-mode-tools_1.63.tar.gz 107339 SHA256 04b9bf8cce4172a810ce4026e75e0e7bfd0e05e456bbf3f13b8e9b4178d2c65b SHA512 41e48483883556541e3c5882cff2b029395d1814902d979b36e3db66385dcb22821d99ab2d0720b24b48c23afe02c94692d6222afd268a38063a1bb2bfe4c87a WHIRLPOOL 4d2b26fbe66cfa706ad660800936f2d795e493234b9154e3267db81bd476e5cb0b2f9c528d0df895238ea1ce618e2a3d87739ec5ae5dec367a787feb9dcedf79 +DIST laptop-mode-tools_1.64.tar.gz 110165 SHA256 68b2016f51759285755a79a187a35466a4e46a7cfe4ef05bb1fcac7036c29605 SHA512 539388f5a86fc73a171aadafe8d3a04385cadedb41d3cb53822d4ad55b77262a82e717bfa910ec64c1ebba4d14cc02c9e1fab575c752ef8a77c2f67a023c8188 WHIRLPOOL 7201b1a69ea4265a1be9c659286a720cbfd66d840c43706a7f8099959b481fb1c018a2cb5f76c4bf7fdecbdcd3974da207e7af2b4439321b1961c87123a8900a EBUILD laptop-mode-tools-1.63-r2.ebuild 2790 SHA256 4ca62dc6a2ba4da239e1aba6d291f4cd5a8be301bba9dee6a75b7882f55b04e8 SHA512 55bd56508326541bacf149f393b7d415950dc95b37433474d00bd6f11f5cb27ac5a12fa09e02b91b455e5293e48e2d27b1fad8bac1088a605e75499b02111da6 WHIRLPOOL 572aba24e85060fbd365acd1e29547b7b5c9823eb48ef2808d77c86bd7d18f4ee0b25410c14aa60fb7a855e3cb51413f495fd18dd5b15220c03df83658a1a85a EBUILD laptop-mode-tools-1.63-r3.ebuild 2875 SHA256 8f193e8b62a07991711027a58056b675043e68ec3892e28f6046371f78428c22 SHA512 6fc004db648a92adcca876bfe887c8e4e7f796f2838f412f2126583719897d2fa4db7ab6a3089b718b865d2aa8117859b53d5013fc623f44cfdcbaec808778d2 WHIRLPOOL e9008fb7a3acbfb94000be27f2d70af80eeeb61b477c824426e0f67d70fee91c47d81b433e7636efe73ac7360427b26e1f3cd24398ba3429ff5a83e1a771b9e0 -MISC ChangeLog 16633 SHA256 3781b61e52bf26bd1489f2024869c44b0486d80f15314e0599beae5a001f49e3 SHA512 a0ffea16e3a12bdf07dd28af7b7a8c688906bcef6378c14390024db262f06ea7ea12f82c034b86da4e8f6a3ce5967188efa204d4cd72b12796b7118f779fc51a WHIRLPOOL 3e5a8c67f3b14c3e10b023c32582430c38cded854db37a4b48a0f407931c3b1d3283c0cf9ca2e0f58b9e6c58f8e9a0ee71daf1f7d86f1835a32bb7bee88822e3 +EBUILD laptop-mode-tools-1.64.ebuild 2691 SHA256 4a9bc9c5f74deafe2726e40d82194252b0270c2dc80756e8bade94b006a2cf95 SHA512 5fb3da53e50d66a1bfdfdaffc00682fdebbb51309131e60d5eee22b387d2d363e019a7a61ed113d2b020a19eefd1597d519769b0b8ec7bdf9dd883188bd1b76c WHIRLPOOL 7d0c9ca0c7d66de48f1b4bfe40f78a92aa9326d14daa23b8ef9daebc24e8fea6f108ccb23b6e97343be664f20b834ba062449b2ebaeb579d67859717ff8ba9c9 +MISC ChangeLog 16768 SHA256 a54eb3272511de9796d4041d5fc88dd341de88fe3ffb3ed2b487c97c29d2befe SHA512 bc5ba9c6edcbbfa0e214348add63c6c29b04631c24aa2d5b6028f84cc6b1e0fb9d4988174e137a31b0b35a8a4c665e67df6d4bf0c588a75a9c84d55cfd4ffc15 WHIRLPOOL 8165c57a24c4a6b4b8c803d999210d72f3ccb074acbd2760d3a724ec09c3313abbdf098bac3b969f9452ba47b6479954b2f8498d8811d16ac06a67050d6cd3d1 MISC metadata.xml 420 SHA256 2008caffae78c8d0c6a04f0b4b4768d2a9d2b9f62d96409141cd2e579f622749 SHA512 5bd05a4b5ce71343b10a46b57cd73b071c399062bb9813bcb9d9e329e1a4804a6b1f5489e6004626a9daa84e9b0ca399b0209d844dd0adb0c185a18adc535946 WHIRLPOOL ea091eb7cc936602de9e1179231f9fd8bb78ab447abd72b505be870b79acf50056a4610a56c4ab7c1585957ee44d2f85d47248eeee47f10cf860b8ac6b8535b4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlIg6M8ACgkQXYk9GL8g3FEzHwD/VqVMuhrfvlDHiHvNa7AKqWcD -lNMChGoiNgXYXOtvboYA/0iQRopZAU+BDm1bc31LhwMu9eaOuanI7kh+5lHh1RUN -=rekR +iF4EAREIAAYFAlIwyyMACgkQXYk9GL8g3FHkcgEAnOVY+nIbF8/eCImPMzGH0Ab8 +QxGXr7lnp001GgvVDccBAKNUCUKtMauEmwk6nnD2/kGuUjyzg7jEZ2XZkNE9Jx0y +=tGOs -----END PGP SIGNATURE----- diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.64.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.64.ebuild new file mode 100644 index 000000000000..a1377ffcf055 --- /dev/null +++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.64.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2013 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.64.ebuild,v 1.1 2013/09/11 19:57:19 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/ethtool + sys-apps/hdparm + 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="$(udev_get_udevdir)" \ + SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \ + TMPFILES_D="/usr/$(get_libdir)/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 + 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 +} |