diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2013-08-07 13:35:07 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2013-08-07 13:35:07 +0000 |
commit | c948d378c78f18e1f9b30bc88ff90229f7e3518d (patch) | |
tree | 0582256cc28453abda81b53083ff1f5d74691cc5 /app-laptop | |
parent | Stable for x86, wrt bug #478070 (diff) | |
download | historical-c948d378c78f18e1f9b30bc88ff90229f7e3518d.tar.gz historical-c948d378c78f18e1f9b30bc88ff90229f7e3518d.tar.bz2 historical-c948d378c78f18e1f9b30bc88ff90229f7e3518d.zip |
Cleanup old files
Package-Manager: portage-2.2.0_alpha194/cvs/Linux x86_64
Manifest-Sign-Key: 0xBF20DC51
Diffstat (limited to 'app-laptop')
18 files changed, 23 insertions, 924 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog index df5753ac2259..e7cc272260a5 100644 --- a/app-laptop/laptop-mode-tools/ChangeLog +++ b/app-laptop/laptop-mode-tools/ChangeLog @@ -1,6 +1,23 @@ # 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.78 2013/08/07 13:28:37 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.79 2013/08/07 13:35:00 alonbl Exp $ + + 07 Aug 2013; Alon Bar-Lev <alonbl@gentoo.org> + -files/1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch, + -files/1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch, + -files/1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch, + -files/1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch, + -files/1.62/0015-Don-t-hardcode-the-path.patch, + -files/1.62/0016-show-the-errors-if-any.patch, + -files/1.62/0017-Initialize-variables-early-before-being-referenced.patch, + -files/1.62/0018-install-remove-unused-substitute-for-udev-rule.patch, + -files/1.62/0019-install-use-customizable-udev-directory.patch, + -files/1.62/0020-install-make-systemd-optional-and-configurable-locat.patch, + -files/laptop-mode-tools-1.62-remove-hal.patch, + -laptop-mode-tools-1.60-r1.ebuild, -laptop-mode-tools-1.62-r1.ebuild, + -laptop-mode-tools-1.62-r2.ebuild, -laptop-mode-tools-1.63-r1.ebuild, + -laptop-mode-tools-1.63.ebuild: + Cleanup old files 07 Aug 2013; Agostino Sarubbo <ago@gentoo.org> laptop-mode-tools-1.63-r2.ebuild: diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index c214fc02217b..2a9726faf1e0 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -1,45 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 -AUX 1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch 873 SHA256 6d8d0e8d22e0aadff023b50b114d0e9933096870034e95ab154c805174f9c12f SHA512 ff1e0fef5036e874c144cc6c64506686430536635b83fbc144311fe84cd7d9a9d97a6b2bf5a0b0c3c71bb6a6e5bd85a7206083fa626d99f135c2fe733212ef20 WHIRLPOOL c2b75cc6766d2ad4263f6d34adeb94c6d0466aff0ae644009d2c27a45ce7845ff235ddbcb30f1891ace87d3420bd74796205f42e4486e06dddee93347826512a -AUX 1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch 3087 SHA256 c8628ab8c47ebeb814683fc8a572e2e12dda5acc0d56a8b26dfbe3c6a5831bee SHA512 105d3259c13fc8d9b8402600bce3147be486a27b6449d4c574a63a4eb478ac0570d394d41b719e7a25b84b3cf15d97b16f62c407fdd61222de28534a04c6e162 WHIRLPOOL f9b0365e347dd7430dcfc5be78710631c44dbf7af649de1e41bb12768f602e7d27a72189c2e8996f80087203ab03967b6b23212b789ef2b94da0233472fc489e -AUX 1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch 2245 SHA256 06c92814ee64bb16a995c9ec26d940f67fc019e7e8107ffb6f01b07a6435e620 SHA512 3895273e604ce82e62869d0a7d95c44478a84dd98bd003615f1b68c79cdfed2b76adae1b8a6672c2e7f7526d879b29f08ddf058779f3eb1304596d100a4898ec WHIRLPOOL 2dfd4426efdd1400c2257b1c876008fcb8d37e2f6a2f34631f4506892fb53889400ba2b2afdbade3b5e82b3f9461bab6328109b6914965cefb683d5a63105e2f -AUX 1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch 921 SHA256 26e0f2689482efe9c4cb8fdfde568d114b852d5e83d320bc9a89e5090fdcef69 SHA512 684874e2abaa105943073715aaaf7a0c47f8ed53d4e636c8d90b32736d0a10a69859b5a77b2b908171c12c3178d1be044a71b178aea8ce3fb4e51b166c830ad7 WHIRLPOOL 96ba959f97ecc898d3b92ea24134dc2f80cb7cd24bdfa2c3dd574bc1160b92ff09bae719d99b6733a36756d1cc1cd62c0b03c58d2898d847f22a02b42decd80f -AUX 1.62/0015-Don-t-hardcode-the-path.patch 1200 SHA256 74be019703d786ed6c186eadb308c32ef027d5164dc6ab74b53f97765f7a8d21 SHA512 c2c442bf95a29696047598158c4142df60e91b2bc9aaf62733eb612c6c426075b0a8f6ea0cead1690606d8fcd1ad536a4d98cfededf4625da958236e70ed898c WHIRLPOOL 80375d32e4dbb7bf5f2c1f6816841fa5efb51cd7071c7347ce9c8349f82714f6f5103f806525d0d5914562bb1d3d861eb2f431aad49333b85f92a50b7fdeda24 -AUX 1.62/0016-show-the-errors-if-any.patch 800 SHA256 0facbdb09ee0f0a6f28754d17015beb04f343c33816a9591af5d5714b70e5cdf SHA512 3a25bb2a34f078a9d73833e6796ccee44a120a1bc6ed1cbf3135dfb2123c92da3ceaeac04f9ac7167dc9b2182b6b039bbbd7c69fddbfb297c2061c70386cb32f WHIRLPOOL a713b5ccb79326818b1e4c84517279c644d27a67470ea14dc7315f920e6f83434526ae8c0ce462647e980a20c4e0865f544c2908655f48eb7c89dd32e92635e6 -AUX 1.62/0017-Initialize-variables-early-before-being-referenced.patch 1169 SHA256 07453e18ad88bae4156201e548593e65211d3b3170443d67dfbc09150bfab894 SHA512 3431bfbd30526d25ae4bff63dca67b97db337d8e13ad8f043edf83f858228dc37e7a5f6c304a66dee8169346956dfe31231c6b514dd9a832dee6fe9c22cf10cc WHIRLPOOL fa5264273e1fef01096b020d952c0edd814f8bd5ac0814fe887b1d90553c2ab4ad79c2b737428879f1e2a5a494c837aa3890d8a3aca8e55f6c457a1daa19d7c4 -AUX 1.62/0018-install-remove-unused-substitute-for-udev-rule.patch 802 SHA256 235dcdd9551bae3805c9ea0dd0c13cb6ad28d021a384267ea5ce5b6ead9f5d2e SHA512 c6dbbfe0e8039a58892e744427160f8f3b414f239ca9df24d9bfc14a404738fe8e4906bcbb0a0629a9a039f01ae157eab32632060c578fdd93e9578c8a4f7c8d WHIRLPOOL 761ebbbd7f5a808653931907dcf520df34d6c6a21285441cc926c942f0932f8c723d7b8dc699f9b092ab72bd3e6a7b4fda740517287ae9a1ea8a0702605ccd5b -AUX 1.62/0019-install-use-customizable-udev-directory.patch 1960 SHA256 13cec2f005adb58e58e305e00d590652f6dbfa9e81963d7ff408a35c6a909b19 SHA512 59d6cad9ab893aba574d3ec79dcdd981433c4b19d2e8e606b44fbe4c9f4b49d03ee8aef4731c0428b789ebf0ca09b8464a5d4095f2765f190376e26cb777625b WHIRLPOOL a125734051e2bee7a4ed9a26875016cd348748a85e8998188a555ba4f6adb1bc3e17ad21ba70c9d890ffbf54d727097763f4df002b491047f0fdc9158773913f -AUX 1.62/0020-install-make-systemd-optional-and-configurable-locat.patch 2770 SHA256 2d65e9679abff293d817c7e1e4a566d16a47dbb85d5ed1fe3d1e47f0d52789f0 SHA512 a54ac3ad9352314033465042b2cd91e35ab7acdfaa5f44ef8cede45c4f641763e7cc64b7c0c0f7569e2e42679d417a2cae240b09123d01213f7f370f5d2c3a01 WHIRLPOOL b37457277265db20243391895be9bdaebca1f5a6c1452b7536b1b664856f2c223bf472758285b980f6a141d0afa7be0300f83ddd0acfd7892e029f9e5fca0395 -AUX laptop-mode-tools-1.62-remove-hal.patch 1336 SHA256 d3a7b4edd1fb9d7d3569dea7c531f8f2c06cda28b94d03aa5c1c853b7ae22fee SHA512 5a9937127544f041dccd32d30bd6c964cad68cdf6ca777a3538ba3940674c87490426180652d4b3ba87e41f43ad9fb3607f67b756b00023826a1594348a12d87 WHIRLPOOL 044c61af773bff61e10b6d9e4e5bfcd0d89a0962e9411a2e40667e802402fdb842ad9c837cf3ba08e2b830204eaf0ba18a242b85154f07a2ebfeb0309f344364 AUX laptop-mode-tools-1.63-killall.patch 1306 SHA256 5d72130167c5d2156e86ba34e5faa2ac6f686d27406faa620175c5949ee092fb SHA512 4b2cf85d083e0afdf67221ef3d18f1e084456add387c4e3bdefc88ee26ec1b7fb648c52668798dc3765494c423809c2b421af5a966579bd722fc65a897ae63d8 WHIRLPOOL 3611c604c594d20611b8fac96f7907613101877dcb23e6e16b59b6864138b1b307970a1805b20486fccfea53fda869ff743bf9743ebb57e21b03d04562d3e27a AUX laptop-mode-tools-1.63-pcie-aspm-silencing-stderr.patch 1604 SHA256 a9d14760c0ee0bde93f04fb369da00c35ac61e04393f1697a9fb7bf7030dc818 SHA512 c1d6fefb486d9ceb47f19f1b173d76c2a7244f4ed6da2c3752b3a4cbd4064964c34365aa62f114efd21d572986551cb4f74c7990cf78bbb70d845f8e0c59a94c WHIRLPOOL d739756d45cac564237a544df19491df2cce4cc121e50407f703a8dc3c3845c96abdd41cd080edf23b9f988fc148297e2afcee7eaa5e42967afbb17e97995617 AUX laptop_mode.init-1.4 1190 SHA256 90a18e5c7e4d0b264bb51deb7b92ff25b508a3ddd75dd6c849fdc48c07ce4fda SHA512 47e67d54ed8005a864c017f4ef063c8a17286c6f8a260984fda96392e6461a3f0c5e4f17f8cf2272b072c1545b8f8e99fe45579a81b4d08a99e1eeb46f400fe5 WHIRLPOOL 7a87608d947be301400f2f1a0294a60f21e2cd1b6bed961788f7fc018bf4ac32d69a50e11e735db3cb6c000174ebd78e59f7ac0cd474bef3b803872b6a6665e5 -DIST laptop-mode-tools_1.60.tar.gz 104415 SHA256 39246db1bba2ea12c7ee6f1979f914a803a9f70836cde687ff9c3a39bc9c9519 SHA512 79596bb24b2af8bbeb3424eeff51022bb381609325a0eb5c009e0970dffe055d2493509d56a4e2c8f745c27f03bc176372d9b27e3a0a050f7bc1c58f86aae5c9 WHIRLPOOL 819cd4ad40c9e2a74bc07f70986c985b4128828ed508d808097472ee301ca788567b65d86717552a8191b378d595cb41b922a9e2f5a2fbcacf645acfe607d0ec -DIST laptop-mode-tools_1.62.tar.gz 105941 SHA256 d40b3d2fb4dc120b4a427ef7dbddc9dd4d9ea0c475685538d36d3457b39158cd SHA512 3ba2a8db860349c5766f5282ca6f70f3bb780cb44e8674beb7e9c5783e96fc07a144245cc50414fef61b1cd6e08a2096667806792c2853cbcc9c83eb7d796b1a WHIRLPOOL 232115a3a6599241892abcc3f64db8bfa1c897bebbc22c198ce58bcb6bb3dd99aa3fb143c07f69fd6e6099b76da9c494423def0c86c8eeb3b610f9f3e51c0505 DIST laptop-mode-tools_1.63.tar.gz 107339 SHA256 04b9bf8cce4172a810ce4026e75e0e7bfd0e05e456bbf3f13b8e9b4178d2c65b SHA512 41e48483883556541e3c5882cff2b029395d1814902d979b36e3db66385dcb22821d99ab2d0720b24b48c23afe02c94692d6222afd268a38063a1bb2bfe4c87a WHIRLPOOL 4d2b26fbe66cfa706ad660800936f2d795e493234b9154e3267db81bd476e5cb0b2f9c528d0df895238ea1ce618e2a3d87739ec5ae5dec367a787feb9dcedf79 -EBUILD laptop-mode-tools-1.60-r1.ebuild 2325 SHA256 d1a017658837ca3815a01ce4e50e1fee2fb8880ccb56e43b0b9b48adea05a4fe SHA512 1b355b8c27749542c220426f9d32e383402ccf66d0479d30abd4e7ebe70109bd84ac4696fc5d98d693055183c4ea437a2a869fc9b4ebf2e326b4f47e2a2d1783 WHIRLPOOL 1cd185542cd6e6f55a8102dab3df447003b1b2566f54ec29a3062e264f8f63bf5c68da29b61a1b0940a38242b5c772088943ecc43ccaffd383e7545715a6f98e -EBUILD laptop-mode-tools-1.62-r1.ebuild 2867 SHA256 e1f3c5de68fdee7d0362e8e0396a7ae732cda4f7a4ecb48f79c7726d3d7b2307 SHA512 3010b17b6c11f99d309941b3b059661c0efac131da08867dee9d937fa7a068773eb5ffb25781aa73c44663d4074038c78bddd9a397774e2fce6a88122553d5e1 WHIRLPOOL 08c0fe07581c92777049a1d3d325fd60567af3ce583dd414b08b1a91fcc6bb77cda1b4f1b3fa184c73623bbfd070bc13db182272ed9423c093583e43a574c329 -EBUILD laptop-mode-tools-1.62-r2.ebuild 2730 SHA256 b533c6e8e809125686d08ffe823fbc21acaedd556d600a2fa19f0657ec5755f2 SHA512 8b7980e3b28c21f0456107579dd3268fc48823da9241a870cce19c4c7df44c92392fee5ac3124c9923219429ef9000d5e7f22cf32c46f279cbb6e5d6b86f2087 WHIRLPOOL 0003affa232dd5f4f0ad61cda3ce7c59c82cf547013bae7069b84e03ec1e93e078ca1687811e8783a220179bfdb1db04340334f6d64750b5f3234fbc6f8a6b00 -EBUILD laptop-mode-tools-1.63-r1.ebuild 2754 SHA256 ef0d5ac3ca2dec30760b8c26ae5faef586052a3ff0d295da4b33c7ebdb288b96 SHA512 e9fd9e970f80db13ed13dbceb719bf63d239e10323de6e1dd6defab09931d3e8923000feeac0adfcc53685e4c782bbf007a1ddd54ed2564598e6aafcb312f7d0 WHIRLPOOL 6f610f02cbeaef6c1666e28f2a977d32e5bdcb4fbd2df242959896bca6efafed963febdfc34c00327395767df29675092c1a60d7bc8c663ee640016c3948df1d EBUILD laptop-mode-tools-1.63-r2.ebuild 2790 SHA256 4ca62dc6a2ba4da239e1aba6d291f4cd5a8be301bba9dee6a75b7882f55b04e8 SHA512 55bd56508326541bacf149f393b7d415950dc95b37433474d00bd6f11f5cb27ac5a12fa09e02b91b455e5293e48e2d27b1fad8bac1088a605e75499b02111da6 WHIRLPOOL 572aba24e85060fbd365acd1e29547b7b5c9823eb48ef2808d77c86bd7d18f4ee0b25410c14aa60fb7a855e3cb51413f495fd18dd5b15220c03df83658a1a85a -EBUILD laptop-mode-tools-1.63.ebuild 2690 SHA256 e39c22cdecb5526146be569f3e0bcc5075bc8283caa1bad83787e10d55fbe07e SHA512 cbf146fcd29ef6bc64df21b116242cebc3f29f4936818009671abcaf6755de07a4855d35f754fd153ac4d642a1e798daeace480c4180473a70c50e9f9a58c74c WHIRLPOOL fc3fbbc388d0e2fb125833769f345f0c2e740655c1a451f1dc8f105db6684817eaef249ae68055be54802f3b91a8284b348f95259f00d27d470a82c280cacdbf -MISC ChangeLog 15226 SHA256 295a6be70072182eab5af4498fc01cb7faf7619683c7268172c53e144a7d0028 SHA512 cfee4b0bc73141f4c253eff20464789fcede4f7a8ba687d7aa01075f3ac6197c08e4b96d3b9235f0e6bfb877288e649db284c26f948265e037ba230246bf0461 WHIRLPOOL 70ec93aa1153893a79f4fd3c6c9fd26239d7dfc1e16239624be04c03e7e0f006325dbd986a7639a2e4887250850232aba9b4c6dc50b9357a19f60622f6dc71e1 +MISC ChangeLog 16228 SHA256 cc45457318f6c370c1eea14ec66e2da1e83fbaebd417085cb47c2e21afbccba9 SHA512 5097eed46172a1df0e0e494b437d5070d4ae157fbbd90622b0a521c1b7bf8adf09b2eb28218cf580f8e0a993defa90d335a68ebea4cfeda5c23181824b27ab7a WHIRLPOOL 8743a670025ff64511760c13c05f8a2a61fe8b5ec6e196c1abd7e1ecfae8091658aed596a19b6e60a78f7d24408d72d0ce07339fab81d9c1a7c98c6976555bf5 MISC metadata.xml 420 SHA256 2008caffae78c8d0c6a04f0b4b4768d2a9d2b9f62d96409141cd2e579f622749 SHA512 5bd05a4b5ce71343b10a46b57cd73b071c399062bb9813bcb9d9e329e1a4804a6b1f5489e6004626a9daa84e9b0ca399b0209d844dd0adb0c185a18adc535946 WHIRLPOOL ea091eb7cc936602de9e1179231f9fd8bb78ab447abd72b505be870b79acf50056a4610a56c4ab7c1585957ee44d2f85d47248eeee47f10cf860b8ac6b8535b4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCgAGBQJSAkrFAAoJELp701BxlEWfXEUP/imqVA4cppdcrLhpHOwA5Nsg -gSY7efp18TcoKh10dRL/4PIQiAZc889clRSyLDMKhpoBJh+tBkPSEIUiCvQ8XPZB -i08Xr3iXookiv2rh0WR5ktF+E2kLMVjcoDA95uFIuUAEvOXAA5/2Csg8QWw42MPs -b97gPv4wnKv2IMur9W098RoTXycHJoV0PLQpER+bwbqW5hY3ShbXC3ytMgJI0+0m -ccQWfzeEKxA3AnXiwTvljUeydWcb3u6MjnPCVZtke2vOVewYicKkN24/Q5Eb12cD -9/4HzpL5Hn1sMbwfGls0Ujacwn95SFS++E5k0FqU8oSoAoczOzLu8ug3RQFILBgi -z8DYQhRckuBzorKZ85JoDTNlXPA4TjY0n3ul/A/CrmxtbpIJ8iqno7GuRoZQwnpO -Ga9fIhL4F4zoj2bYhrKyYUYhttCOoZv4+q3x8Ow0Xiypcwjm68LzHI6IEJ6F1Tee -TnHRktz7mcwnNi5AJzdVVbgTDc05JJzIgkPGymwaYhar+xXXQnOpI8uOLUOGPBRU -vJIYEQcFvWBvfCykLHfdAndcjuLMGynltQ2OB49yNrLrNSfFS0QeBLFRPzV6GYmI -J4H3uSZamAtit2xkRPLF8ni5zr8IQ54/M7xe5A9pX72WBekWql+v2kV1itoIDhwe -y950shGnQdxwPpmGLRCC -=E3I+ +iF4EAREIAAYFAlICTQcACgkQXYk9GL8g3FH7cAD/ZLDPBDnn/rvj5XvAL2s4Dy4s +i1GaGJJ1EJLfym9NXPIA/2rkAkoYHUCWpVK54UFQH4T7YfEiqu7ZsJ3QQ+rdWwur +=1TSn -----END PGP SIGNATURE----- diff --git a/app-laptop/laptop-mode-tools/files/1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch b/app-laptop/laptop-mode-tools/files/1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch deleted file mode 100644 index 9ff94db591a8..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 75cb1897a9eabd6acf280cade2ecffb1554380db Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@researchut.com> -Date: Mon, 5 Nov 2012 04:07:26 +0530 -Subject: [PATCH 01/20] Do not ship the board-specific/ folder in default - installs - ---- - install.sh | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/install.sh b/install.sh -index 322e784..536a63a 100755 ---- a/install.sh -+++ b/install.sh -@@ -112,7 +112,6 @@ $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/modules" - $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/module-helpers" - $INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d" --$INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d/board-specific" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules" - $INSTALL -d -m 755 "$DESTDIR/usr/sbin" - $INSTALL -d -m 755 "$DESTDIR/lib/udev" --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch b/app-laptop/laptop-mode-tools/files/1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch deleted file mode 100644 index 32fb22cf481b..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 58ae05221b12192e48fb4801b6b93c88797985ea Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sun, 10 Mar 2013 13:43:19 +0530 -Subject: [PATCH 04/20] add $LIB_D so it can give the possibility to install - udev/system files in different location - -Thanks: Robert Milasan ---- - etc/rules/99-laptop-mode.rules | 6 +++--- - install.sh | 15 +++++++++------ - 2 files changed, 12 insertions(+), 9 deletions(-) - -diff --git a/etc/rules/99-laptop-mode.rules b/etc/rules/99-laptop-mode.rules -index c0b4761..96d5d68 100644 ---- a/etc/rules/99-laptop-mode.rules -+++ b/etc/rules/99-laptop-mode.rules -@@ -1,3 +1,3 @@ --ACTION=="change", SUBSYSTEM=="power_supply", RUN+="/lib/udev/lmt-udev auto" --ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="/lib/udev/lmt-udev auto" --ACTION=="add", SUBSYSTEM=="usb", RUN+="/lib/udev/lmt-udev force modules=usb-autosuspend devices=%k" -+ACTION=="change", SUBSYSTEM=="power_supply", RUN+="@LIB_D@/udev/lmt-udev auto" -+ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="@LIB_D@/udev/lmt-udev auto" -+ACTION=="add", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k" -diff --git a/install.sh b/install.sh -index 536a63a..cde2a0a 100755 ---- a/install.sh -+++ b/install.sh -@@ -28,6 +28,7 @@ - # - - [ -z "$MAN_D" ] && MAN_D="/usr/man" -+[ -z "$LIB_D" ] && LIB_D="/lib" - - if [ -z "$ACPI" ] ; then - ACPI=auto -@@ -114,8 +115,8 @@ $INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules" - $INSTALL -d -m 755 "$DESTDIR/usr/sbin" --$INSTALL -d -m 755 "$DESTDIR/lib/udev" --$INSTALL -d -m 755 "$DESTDIR/lib/systemd/system" -+$INSTALL -d -m 755 "$DESTDIR/$LIB_D/udev" -+$INSTALL -d -m 755 "$DESTDIR/$LIB_D/systemd/system" - $INSTALL -d -m 755 "$DESTDIR/$MAN_D/man8" - - ALREADY_EXISTED=0 -@@ -200,16 +201,18 @@ fi - if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then - echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed." - exit 23 -+else -+ sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules >/dev/null 2>&1 - fi - - # udev helper tool --if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/lib/udev/lmt-udev" ) ; then -- echo "$0: Failed to install udev helper tool into /lib/udev/ Installation failed." -+if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$LIB_D/udev/lmt-udev" ) ; then -+ echo "$0: Failed to install udev helper tool into $LIB_D/udev Installation failed." - fi - - # systemd service --if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/lib/systemd/system/laptop-mode.service" ) ; then -- echo "$0: Failed to install systemd service into /lib/systemd/system/ Installation failed." -+if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/$LIB_D/systemd/system/laptop-mode.service" ) ; then -+ echo "$0: Failed to install systemd service into $LIB_D/systemd/system/ Installation failed." - fi - - # and systemd's tmpfiles.d --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch b/app-laptop/laptop-mode-tools/files/1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch deleted file mode 100644 index 938f0e0746f2..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch +++ /dev/null @@ -1,50 +0,0 @@ -From fedcb181446734d5bf22e878fcde0d60e9edbcc8 Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sun, 10 Mar 2013 16:29:16 +0530 -Subject: [PATCH 08/20] Re-order the check because HAL is deprecated - -And for backward compatibility, still have the HAL check with the fix. - -Thanks: Pacho Ramos ---- - usr/sbin/laptop_mode | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode -index 35b3b08..6ef1e41 100755 ---- a/usr/sbin/laptop_mode -+++ b/usr/sbin/laptop_mode -@@ -670,20 +670,20 @@ lmt_main_function () - fi - - if [ "$ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED" -ne 0 -a "$ACTIVATE" -eq 0 ] ; then -- if [ -x "`which hal-find-by-property`" ] ; then -- HAL_LID_BUTTON=$(hal-find-by-property --key "button.type" --string "lid") -- fi -- if [ "$HAL_LID_BUTTON" != "" ] ; then -- HAL_LID_BUTTON_STATE=$(hal-get-property --udi $(hal-find-by-property --key "button.type" --string "lid") --key "button.state.value") -- if [ "$HAL_LID_BUTTON_STATE" = "true" ] ; then -- log "VERBOSE" "Setting action to \"start\" because the lid is closed (says HAL)." -- ACTIVATE=1 -- fi -- elif [ -f /proc/acpi/button/lid/*/state ] ; then -+ if [ -f /proc/acpi/button/lid/*/state ] ; then - if ( grep -q "closed" /proc/acpi/button/lid/*/state ) ; then - log "VERBOSE" 'Setting action to "start" because the lid is closed (says /proc/acpi/button/lid/*/state).' - ACTIVATE=1 - fi -+ elif ( which hal-find-by-property >/dev/null ) ; then -+ HAL_LID_BUTTON=$($HAL_FIND_BY_PROPERTY --key "button.type" --string "lid") -+ if [ "$HAL_LID_BUTTON" != "" ] ; then -+ HAL_LID_BUTTON_STATE=$(hal-get-property --udi $(hal-find-by-property --key "button.type" --string "lid") --key "button.state.value") -+ if [ "$HAL_LID_BUTTON_STATE" = "true" ] ; then -+ log "VERBOSE" "Setting action to \"start\" because the lid is closed (says HAL)." -+ ACTIVATE=1 -+ fi -+ fi - else - log "MSG" "Warning: ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED is set, but there is no file" - log "MSG" "/proc/acpi/button/lid/.../state, and hal information is not available either!" --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch b/app-laptop/laptop-mode-tools/files/1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch deleted file mode 100644 index 692c1c6e92c0..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 5ffc55928bd482872fbf6b7ffc67b4cd173f400b Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sat, 16 Mar 2013 16:04:00 +0530 -Subject: [PATCH 14/20] Kick the power savings back in, as soon as the stick is - unplugged - ---- - etc/rules/99-laptop-mode.rules | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/etc/rules/99-laptop-mode.rules b/etc/rules/99-laptop-mode.rules -index 96d5d68..8ff8218 100644 ---- a/etc/rules/99-laptop-mode.rules -+++ b/etc/rules/99-laptop-mode.rules -@@ -1,3 +1,3 @@ - ACTION=="change", SUBSYSTEM=="power_supply", RUN+="@LIB_D@/udev/lmt-udev auto" - ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="@LIB_D@/udev/lmt-udev auto" --ACTION=="add", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k" -+ACTION=="add|remove", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k" --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0015-Don-t-hardcode-the-path.patch b/app-laptop/laptop-mode-tools/files/1.62/0015-Don-t-hardcode-the-path.patch deleted file mode 100644 index 93ec69f83034..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0015-Don-t-hardcode-the-path.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a5f59bfeed1d486a81bebc85171210909d2c981f Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sat, 16 Mar 2013 16:10:36 +0530 -Subject: [PATCH 15/20] Don't hardcode the path - -There's no need to hardcode the path. From my tests, it shows that udev -does a lookup in /lib/udev/ anyways. - -This will also help in cases where udev/systemd stores rules in -/usr/lib/ ---- - etc/rules/99-laptop-mode.rules | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/etc/rules/99-laptop-mode.rules b/etc/rules/99-laptop-mode.rules -index 8ff8218..0565644 100644 ---- a/etc/rules/99-laptop-mode.rules -+++ b/etc/rules/99-laptop-mode.rules -@@ -1,3 +1,3 @@ --ACTION=="change", SUBSYSTEM=="power_supply", RUN+="@LIB_D@/udev/lmt-udev auto" --ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="@LIB_D@/udev/lmt-udev auto" --ACTION=="add|remove", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k" -+ACTION=="change", SUBSYSTEM=="power_supply", RUN+="lmt-udev auto" -+ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="lmt-udev auto" -+ACTION=="add|remove", SUBSYSTEM=="usb", RUN+="lmt-udev force modules=usb-autosuspend devices=%k" --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0016-show-the-errors-if-any.patch b/app-laptop/laptop-mode-tools/files/1.62/0016-show-the-errors-if-any.patch deleted file mode 100644 index 7107c2a44f6e..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0016-show-the-errors-if-any.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 7bde97466a824bdec0f2f4bc545e9790eac62e41 Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sat, 16 Mar 2013 16:35:19 +0530 -Subject: [PATCH 16/20] show the errors, if any - ---- - install.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/install.sh b/install.sh -index cde2a0a..b36c8ca 100755 ---- a/install.sh -+++ b/install.sh -@@ -202,7 +202,7 @@ if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rule - echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed." - exit 23 - else -- sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules >/dev/null 2>&1 -+ sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules - fi - - # udev helper tool --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch b/app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch deleted file mode 100644 index 233f2050a3d4..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 8c0db5f5fa48ca3580bc3f7fe9fdea346857c20e Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Sat, 16 Mar 2013 17:00:27 +0530 -Subject: [PATCH 17/20] Initialize variables early, before being referenced - ---- - usr/sbin/laptop_mode | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode -index bc1d02a..48e6ad4 100755 ---- a/usr/sbin/laptop_mode -+++ b/usr/sbin/laptop_mode -@@ -508,6 +508,9 @@ lmt_load_config () - fi - - -+ INIT=0 # Display info in init script format? -+ FORCE=0 # Force reapplying the current state? -+ INITSCRIPT_STOP=0 # Track stop command from init script. Consumer is lm-polling daemon - - # Evaluate options passed to laptop_mode in here - if [ "$1" = "status" ] ; then -@@ -599,9 +602,6 @@ lmt_load_config () - exit 1 - fi - -- INIT=0 # Display info in init script format? -- FORCE=0 # Force reapplying the current state? -- INITSCRIPT_STOP=0 # Track stop command from init script. Consumer is lm-polling daemon - while [ "$1" != "" ] ; do - case "$1" in - init) INIT=1 ;; --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0018-install-remove-unused-substitute-for-udev-rule.patch b/app-laptop/laptop-mode-tools/files/1.62/0018-install-remove-unused-substitute-for-udev-rule.patch deleted file mode 100644 index ce75e48f7130..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0018-install-remove-unused-substitute-for-udev-rule.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7fb36a367d5faa935b31b2191e7255149c8a9823 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 16 Mar 2013 23:42:21 +0200 -Subject: [PATCH 18/20] install: remove unused substitute for udev rule - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - install.sh | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/install.sh b/install.sh -index b36c8ca..900a596 100755 ---- a/install.sh -+++ b/install.sh -@@ -201,8 +201,6 @@ fi - if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then - echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed." - exit 23 --else -- sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules - fi - - # udev helper tool --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0019-install-use-customizable-udev-directory.patch b/app-laptop/laptop-mode-tools/files/1.62/0019-install-use-customizable-udev-directory.patch deleted file mode 100644 index 1d5a019ac246..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0019-install-use-customizable-udev-directory.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 2113b1d1919a08fb1f8877e909a9b28c631bb138 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 16 Mar 2013 23:40:56 +0200 -Subject: [PATCH 19/20] install: use customizable udev directory - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - install.sh | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -diff --git a/install.sh b/install.sh -index 900a596..85a7cd4 100755 ---- a/install.sh -+++ b/install.sh -@@ -29,6 +29,7 @@ - - [ -z "$MAN_D" ] && MAN_D="/usr/man" - [ -z "$LIB_D" ] && LIB_D="/lib" -+[ -z "$UDEV_D" ] && UDEV_D="$LIB_D/udev" - - if [ -z "$ACPI" ] ; then - ACPI=auto -@@ -115,7 +116,7 @@ $INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules" - $INSTALL -d -m 755 "$DESTDIR/usr/sbin" --$INSTALL -d -m 755 "$DESTDIR/$LIB_D/udev" -+$INSTALL -d -m 755 "$DESTDIR/$UDEV_D/rules.d" - $INSTALL -d -m 755 "$DESTDIR/$LIB_D/systemd/system" - $INSTALL -d -m 755 "$DESTDIR/$MAN_D/man8" - -@@ -198,14 +199,14 @@ if [ -f "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ]; then - fi - - # udev rule --if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then -- echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed." -+if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/$UDEV_D/rules.d/99-laptop-mode.rules" ) ; then -+ echo "$0: Failed to install udev rule into $UDEV_D/rules.d/ Installation failed." - exit 23 - fi - - # udev helper tool --if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$LIB_D/udev/lmt-udev" ) ; then -- echo "$0: Failed to install udev helper tool into $LIB_D/udev Installation failed." -+if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$UDEV_D/lmt-udev" ) ; then -+ echo "$0: Failed to install udev helper tool into $UDEV_D Installation failed." - fi - - # systemd service --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/1.62/0020-install-make-systemd-optional-and-configurable-locat.patch b/app-laptop/laptop-mode-tools/files/1.62/0020-install-make-systemd-optional-and-configurable-locat.patch deleted file mode 100644 index bef7a86588eb..000000000000 --- a/app-laptop/laptop-mode-tools/files/1.62/0020-install-make-systemd-optional-and-configurable-locat.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 523a3fdbf3d7bd897b0fe55fb6da50758eb83b7e Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sun, 17 Mar 2013 00:09:50 +0200 -Subject: [PATCH 20/20] install: make systemd optional and configurable - locations - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - install.sh | 24 +++++++++++++++--------- - 1 file changed, 15 insertions(+), 9 deletions(-) - -diff --git a/install.sh b/install.sh -index 85a7cd4..ed019f7 100755 ---- a/install.sh -+++ b/install.sh -@@ -30,6 +30,9 @@ - [ -z "$MAN_D" ] && MAN_D="/usr/man" - [ -z "$LIB_D" ] && LIB_D="/lib" - [ -z "$UDEV_D" ] && UDEV_D="$LIB_D/udev" -+[ -z "$SYSTEMD" ] && SYSTEMD="yes" -+[ -z "$SYSTEMD_UNIT_D" ] && SYSTEMD_UNIT_D="$LIB_D/systemd/system" -+[ -z "$TMPFILES_D" ] && TMPFILES_D="$LIB_D/tmpfiles.d" - - if [ -z "$ACPI" ] ; then - ACPI=auto -@@ -112,12 +115,10 @@ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/nolm-ac-start" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/nolm-ac-stop" - $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/modules" - $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/module-helpers" --$INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d" - $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules" - $INSTALL -d -m 755 "$DESTDIR/usr/sbin" - $INSTALL -d -m 755 "$DESTDIR/$UDEV_D/rules.d" --$INSTALL -d -m 755 "$DESTDIR/$LIB_D/systemd/system" - $INSTALL -d -m 755 "$DESTDIR/$MAN_D/man8" - - ALREADY_EXISTED=0 -@@ -209,14 +210,19 @@ if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$UDEV_D/lmt-udev" ) ; the - echo "$0: Failed to install udev helper tool into $UDEV_D Installation failed." - fi - --# systemd service --if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/$LIB_D/systemd/system/laptop-mode.service" ) ; then -- echo "$0: Failed to install systemd service into $LIB_D/systemd/system/ Installation failed." --fi -+if [ "${SYSTEMD}" = "yes" ]; then -+ $INSTALL -d -m 755 "$DESTDIR/$SYSTEMD_UNIT_D" -+ $INSTALL -d -m 755 "$DESTDIR/$TMPFILES_D" -+ -+ # systemd service -+ if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/$SYSTEMD_UNIT_D/laptop-mode.service" ) ; then -+ echo "$0: Failed to install systemd service into $SYSTEMD_UNIT_D Installation failed." -+ fi - --# and systemd's tmpfiles.d --if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.conf.tmpfiles "$DESTDIR/usr/lib/tmpfiles.d/laptop-mode.conf" ) ; then -- echo "$0: Failed to install systemd tmpfiles into /usr/lib/tmpfiles.d/ Installation failed." -+ # and systemd's tmpfiles.d -+ if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.conf.tmpfiles "$DESTDIR/${TMPFILES_D}/laptop-mode.conf" ) ; then -+ echo "$0: Failed to install systemd tmpfiles into ${TMPFILES_D} Installation failed." -+ fi - fi - - ACPI_DONE=0 --- -1.8.1.5 - diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.62-remove-hal.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.62-remove-hal.patch deleted file mode 100644 index 63a3dbe63603..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.62-remove-hal.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- usr/sbin/laptop_mode.orig 2013-01-02 22:07:03.879859499 +0100 -+++ usr/sbin/laptop_mode 2013-01-02 22:08:31.740888273 +0100 -@@ -670,23 +670,14 @@ - fi - - if [ "$ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED" -ne 0 -a "$ACTIVATE" -eq 0 ] ; then -- if [ -x "`which hal-find-by-property`" ] ; then -- HAL_LID_BUTTON=$(hal-find-by-property --key "button.type" --string "lid") -- fi -- if [ "$HAL_LID_BUTTON" != "" ] ; then -- HAL_LID_BUTTON_STATE=$(hal-get-property --udi $(hal-find-by-property --key "button.type" --string "lid") --key "button.state.value") -- if [ "$HAL_LID_BUTTON_STATE" = "true" ] ; then -- log "VERBOSE" "Setting action to \"start\" because the lid is closed (says HAL)." -- ACTIVATE=1 -- fi -- elif [ -f /proc/acpi/button/lid/*/state ] ; then -+ if [ -f /proc/acpi/button/lid/*/state ] ; then - if ( grep -q "closed" /proc/acpi/button/lid/*/state ) ; then - log "VERBOSE" 'Setting action to "start" because the lid is closed (says /proc/acpi/button/lid/*/state).' - ACTIVATE=1 - fi - else - log "MSG" "Warning: ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED is set, but there is no file" -- log "MSG" "/proc/acpi/button/lid/.../state, and hal information is not available either!" -+ log "MSG" "/proc/acpi/button/lid/.../state" - fi - fi - diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60-r1.ebuild deleted file mode 100644 index b52f0ef94f01..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2012 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.60-r1.ebuild,v 1.6 2012/06/14 14:28:42 xmw Exp $ - -EAPI=4 - -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() { - # Install 99-laptop-mode.rules to rules.d directory in /lib instead of /etc - sed -i -e '/udev/s:/etc:/lib:' install.sh || die - - # 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" \ - ACPI="$(use acpi && echo force || echo disabled)" \ - PMU="$(false && echo force || echo disabled)" \ - APM="$(use apm && echo force || echo disabled)" \ - ./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 - ewarn - 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" - ewarn "must be added to a runlevel," - ewarn " rc-update add laptop_mode default" - ewarn " rc-update add ${daemon_name} default" - ewarn - else - ewarn - 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.62-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild deleted file mode 100644 index cc42b6c87b93..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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.62-r1.ebuild,v 1.2 2013/01/11 17:02:19 alonbl Exp $ - -EAPI=5 -inherit eutils 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() { - # Install 99-laptop-mode.rules to rules.d directory in /usr/lib instead of /etc - sed -i -e '/udev/s:/etc/udev:'$(udev_get_udevdir)':' install.sh || die - - # This should avoid conflict with pm-powersave wrt #327443 and #396703 - cat <<-EOF > "${T}"/${PN} - HOOK_BLACKLIST="00powersave" - EOF - - # Install systemd files in proper place - sed -i -e "s:/lib/systemd/system:$(systemd_get_unitdir):" install.sh || die - - # Remove HAL references, bug #345723 - epatch "${FILESDIR}/${P}-remove-hal.patch" -} - -src_compile() { :; } - -src_install() { - DESTDIR="${D}" \ - INIT_D="none" \ - MAN_D="/usr/share/man" \ - ACPI="$(use acpi && echo force || echo disabled)" \ - PMU="$(false && echo force || echo disabled)" \ - APM="$(use apm && echo force || echo disabled)" \ - ./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 -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r2.ebuild deleted file mode 100644 index 44a9e33f37a0..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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.62-r2.ebuild,v 1.2 2013/04/12 06:22:54 lxnay 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 - - epatch "${FILESDIR}/${PV}"/*.patch -} - -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 -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63-r1.ebuild deleted file mode 100644 index f0de4a778398..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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.63-r1.ebuild,v 1.2 2013/04/12 06:22:54 lxnay 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() { - epatch "${FILESDIR}/${P}-pcie-aspm-silencing-stderr.patch" - - # 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 -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63.ebuild deleted file mode 100644 index ab40e73473a4..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# 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.63.ebuild,v 1.2 2013/04/12 06:22:54 lxnay 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 -} |