diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2013-07-06 19:48:59 +0000 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2013-07-06 19:48:59 +0000 |
commit | eb7e4e1abf82765857b00539f2eb0e98addbdc26 (patch) | |
tree | 76629ee1f61c9ea6d46ee22cf7f2c3802bc8b7a8 /app-admin/hddtemp | |
parent | added prefix keywords (diff) | |
download | historical-eb7e4e1abf82765857b00539f2eb0e98addbdc26.tar.gz historical-eb7e4e1abf82765857b00539f2eb0e98addbdc26.tar.bz2 historical-eb7e4e1abf82765857b00539f2eb0e98addbdc26.zip |
Added systemd unit file (by Pacho Ramos <pacho@gentoo.org>)
- fixes bug #474458.
Removed 'nls' flag from IUSE, because it doesn't build if disabled
- fixes bug #457648.
Added WDC WD3200BEKT-75A25T0 and Hitachi HTS542512K9SA00 to hddgentoo.db
- fixes bug #470970 and bug #473686.
Package-Manager: portage-2.1.12.11/cvs/Linux x86_64
Manifest-Sign-Key: 0xF0134531E1DBFAB5
Diffstat (limited to 'app-admin/hddtemp')
-rw-r--r-- | app-admin/hddtemp/ChangeLog | 18 | ||||
-rw-r--r-- | app-admin/hddtemp/Manifest | 29 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddgentoo.db | 2 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp.service | 11 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild | 8 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta15-r23.ebuild | 91 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild | 8 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild | 8 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta15-r6.ebuild | 93 |
9 files changed, 239 insertions, 29 deletions
diff --git a/app-admin/hddtemp/ChangeLog b/app-admin/hddtemp/ChangeLog index c0ef06f2f0f1..c668c6fbc78b 100644 --- a/app-admin/hddtemp/ChangeLog +++ b/app-admin/hddtemp/ChangeLog @@ -1,6 +1,22 @@ # ChangeLog for app-admin/hddtemp # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.126 2013/05/21 18:47:52 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.127 2013/07/06 19:48:55 aidecoe Exp $ + +*hddtemp-0.3_beta15-r23 (06 Jul 2013) +*hddtemp-0.3_beta15-r6 (06 Jul 2013) + + 06 Jul 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> + hddtemp-0.3_beta15-r3.ebuild, hddtemp-0.3_beta15-r5.ebuild, + +hddtemp-0.3_beta15-r6.ebuild, hddtemp-0.3_beta15-r22.ebuild, + +hddtemp-0.3_beta15-r23.ebuild, files/hddgentoo.db, +files/hddtemp.service: + Added systemd unit file (by Pacho Ramos <pacho@gentoo.org>) + - fixes bug #474458. + + Removed 'nls' flag from IUSE, because it doesn't build if disabled + - fixes bug #457648. + + Added WDC WD3200BEKT-75A25T0 and Hitachi HTS542512K9SA00 to hddgentoo.db + - fixes bug #470970 and bug #473686. 21 May 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> files/hddgentoo.db: Added new drives to hddgentoo.db. Fixes bug #467046 and bug #468816. diff --git a/app-admin/hddtemp/Manifest b/app-admin/hddtemp/Manifest index f344f084dcae..bfbc14ccfc80 100644 --- a/app-admin/hddtemp/Manifest +++ b/app-admin/hddtemp/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX hddgentoo.db 14694 SHA256 0f1d1854dc3226bf6234fc42f2ac300cb64df10b415d7fbbfbd83b0f986a28f0 SHA512 230ef4c0739294837dcd9b8d11542b111aa95df876e5794baad9a2d78c056d510f77c1ed41026e0cde6244c595b17e385ce98afdc4a752d5272341070e3203f3 WHIRLPOOL 1bdbb7ca7eb7905349a902efec3806873aee6069d8834d8eb220490b407f7cbe7abbbddeb5cce5aab7388161df98b631bd75a962b0f68511048f43b132ced033 +AUX hddgentoo.db 14873 SHA256 38e51cfd7f9c95567531ee683addb408f471f5f79e88edb0e0b7b7d4459af636 SHA512 25345ef7e615e0e3eced9758c9637849560355de4d8a8d281d16839396b99a0e7f0ac3a604b28b7241306aa857e98e9802626195f539f0eb8b6ae49f1a74974d WHIRLPOOL 6ab469ff206b7271ac3c3782796628ff2b73458be32fa80235daa4143e6d7ed7060a3fd87ddabb44d25367fccd82ef54bef509df6f7dd066152f13d9ebe883b7 AUX hddtemp-0.3_beta15-byteswap.patch 1037 SHA256 85eeaff97c96d2f77a93caa3270ee598f756c4eb0da6753e5ee8602fa1a5bdec SHA512 4d37b31129be7f767a416d4b15e3eaf94af297a7d2f4ed57f900fc48775bbb389ca1259c13dd048d670f32fe53f8d0e06c6f1c02485cb95a08d2a80aac4f76a8 WHIRLPOOL e1ce1bfae1964c97aba189158d2ea6e027a1b74fbd392e395d4ea46d69bc2412a2492d3fa1acff6472085bb4af40c88a2dd54a783db7d35b270c61619f09fb2d AUX hddtemp-0.3_beta15-dontwake.patch 515 SHA256 796031779f0105e7eb991e0e69d3261a484349737f09d50a2d8fdd15dbb7f544 SHA512 ff5cfeb9fcd6a17ab3937212a85076fafa9abfde72a1b602ada09b5fb71f89a200e91398e9682a17034f630b90e57559e550c0f1565d12ca642af0c2e10a99e1 WHIRLPOOL f2b6086585263d704ca4afeba00db8b5460b9046de44020959a4f37ca22b732040e24365447bcaf55b3b21eda54752c8b155329c3ccf8db4efe16dae8490e9d5 AUX hddtemp-0.3_beta15-execinfo.patch 751 SHA256 8f896c478f8f2b1776ff4e16fe1f12f0829d044a14e37df48e098aec80812c5c SHA512 cd320985142df5f07cb8c56613aa4110a63fed34e2e08f95272f3d43b75289d298e9dc61e86a42e0be5f15f9a76007d894d515d4d09c8a9deb41b16aa4ea3bc6 WHIRLPOOL 436c15a16a7a141a3dbd2195e14e00f46296e50091582adbab8d99e673db59b2d59caafe1d4f5f38595a770d058d6bcdffab0830323891a86ea52bf0e23fd91f @@ -10,22 +10,25 @@ AUX hddtemp-0.3_beta15-nls.patch 414 SHA256 c81efff92e3cd52257438b834df652cfea85 AUX hddtemp-0.3_beta15-satacmds.patch 986 SHA256 f3ae8ebd08d598cf9292d08e5fe07f54f894da7a90f02dcc9c46bb8d37afde56 SHA512 436e4e8370ef5d1946559ed6625d435b01c71019e0d39afb10305814825e8fb4cd98f23bbd860c8a94490285bb54cab2db84a8693255223cf44a7bcf77b60d2f WHIRLPOOL 8e7fefe631e89b79a0ff1344208acc81116134cebe54e61ea991b27a7aecf8b515aa861d6a39c79cfbd02cfe6a5c81384c21b5390617ce477538dba7de1ccabe AUX hddtemp-conf.d 418 SHA256 8c8878540bb164f46a094eb92d685df0d622dff11ef9534afa188db1ab6b14e2 SHA512 1263854d879fab9a75db9965f5ba07fe1ef77b1f30d3cee5ca0b87a6cfb7856596c160ea29cc3a6d7996ffc5073d2294ca5b0c0019c36757bf4e96f62fe079db WHIRLPOOL 9b207de6cb5d92c4aecf55bbb3a0502330718cc6f52beb91f340ba1a178eecbe2ddfcbe69694d2f7423269440c2836f46863258eadf717a291574794b9c4f2b9 AUX hddtemp-init 545 SHA256 20ce3d0a2c09295402c7c51751d6b8f8184825016db3af53829fac7cff4f509e SHA512 ceab13a24611ca24af55655936d8eff837f44d3f31c8f5a98e62b729ae674fa0f0c835cacb32390c785071ab333760886943e6af74d80d7dae69793c613f7e88 WHIRLPOOL 7b571c82957eeb3d9b02a77e3b1a113961d853ed673cc4d6dac690c66a8a905cd979da0ac845565b1a99f9215f87f16358a0643011d345eb6d4997c034114063 +AUX hddtemp.service 283 SHA256 8c7379f3bb88f29cd3a98f57655d336368a0d471edf1df93fb7b9647a67f3f3b SHA512 7a67da016027a96cc3aa18796f6fd499a5ec75de45d33a90cbecd3904a730cd9231337763c1b8c7e322dbeaaf60ec8299dd721ed1d0c68d645f19ca3a0ac8420 WHIRLPOOL 420bc4e87859ecefe531ecf259d7dbecd51ab3ead6ce8a71dbf519855d58ec1466f62554a8e6a09c2dafbf9a78e7c96bf0a1d2d62d72563eda66f8f739ef709d AUX update-hddtemp.db 827 SHA256 696bfaae093464f8b6c65254c3eb086d0113f728f3eaeadf4a6247630742f761 SHA512 6c350ed16bb7289a552bc1591b6a3eaaefb62092b43498608b90aa64f4a84c9cdffc4e439847bffa537341ea9dcdc28dbf1ef9b16de2dafe0ac3416d50af1273 WHIRLPOOL 2818b1eabe9cb0597eeace8a670e640f849de93a173c90cef29a21db75cc5a677eab9f4a6297666a64dba5f6dee68f6eb481e9a69c04df53535ac397c1232b1e DIST hddtemp-0.3-beta15.tar.bz2 256372 SHA256 618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b SHA512 7db5a3dff60c59ce147b996ea4f8b6de1abcd34301bb863507b4d4b44e72fdc031078867a7f37161e67e74f6b426a1d856d3081179c678d2a442815bb0faa94d WHIRLPOOL 2ce6a2336737e8cbb409443b874c6767c753fbe4bb700540f9a545e69cd951d3de5743d5b26bcd3a3f8e007b1364273ec85d15da8a00968895def063aaac7705 DIST hddtemp-20080531.db.bz2 5627 SHA256 6a12bb68283c3224bef2ab086ae810b3f6b17b38f8203350acb3a73e21a6dfbd SHA512 cd03cc300aece4f7427fde1b58840643c8e41e6c0ce30b418a62bf44b268f249ef3dc4f5f4bcbc9cc0cfe0346c18d4f1da22451c87efc3d46faebcb81a1fe059 WHIRLPOOL 7443366204127c0831ce78a5dfd3506ff82a6c79a7daf75cc79e6bba6aad0357f7092c03e792e2e4ee31c2b47a8d8a15456e7b2c176d3a1c6b4633486f450666 -EBUILD hddtemp-0.3_beta15-r22.ebuild 2518 SHA256 c2b6c67cca337813d1bb23413c063485c4dd111b199674b19a169529346dbace SHA512 5aa90e8e4b5c6d4d463999e238440132429636978f38d80d7300fc809a0f2868fe3571d276cb938a3305eb62a4fd43d1642e59421aa9b7fed2729e0069f1a68d WHIRLPOOL a260981844010acc315cd2cd7b929358ed7922d165a38f23f1c31ba659ba96e3613fadd127c6d84748924ce63439640fc04941b1e2aef5ebeb8e0f01c0bdc015 -EBUILD hddtemp-0.3_beta15-r3.ebuild 2791 SHA256 be621aa99c4417a404aa0e3e79c99c1e97af4d74b1dac0cbacbb955817db0b01 SHA512 01370299d5398151122f62aa52fc314853e69157d8e64ae8818cecb796b430bc1b0ad7eaa0e618638c659ca0f1529e7549560eb88fd2cd278c13a0926cfa4d3f WHIRLPOOL 6711f3db10a9b3a839320614f40d653851f70c38fb8b80dbc04cc86aa14800a2927d14c7169a3ac7bcf6e1d9d43078353d1d6c6fe452f42089936d5ff8849da9 -EBUILD hddtemp-0.3_beta15-r5.ebuild 2605 SHA256 b8de7a9e75d884783c5c7480db8c8f7a080ed6c7ada2d2ccc9850e6606d06176 SHA512 b2252fc8a7cdf6fb6a270135e712b626e81e4005eab7b80b63a71057e4c00507558162f39f6bbabba04b3989b1047b29e2856ee46d33f8ecededff873eadf147 WHIRLPOOL bd2744b66ad604755c6bf41e4ef7fa1eb4fd2b4fb64be0a53283815d24849b75c9f88e237ee08c1508a4c7d7adf7caa84597011dab141c33c2bc90ec799423cf -MISC ChangeLog 20339 SHA256 5f5916cfa6b7f54ed662923cdcb71d48a21760592b8e79fa4887294fa37ea848 SHA512 c02feeee0132029bc391ca655bed761da2d28b6150dc47f004c74ce1fd879204bb5eb833468bf8ea4d1a8970c1bf84646cc647e072ab39a3c890588054fdb1a9 WHIRLPOOL d1c8e0a9353afe59595c3307e39fd04635dcaaefbc7ca276309679c7e8ade947dd88c1e8031652a47f39d91892fdc393e39538ff639fc587494b8051dd9ed607 +EBUILD hddtemp-0.3_beta15-r22.ebuild 2435 SHA256 0dbf10196c1da69428dab7bebbf90447444aa4382dd6b34ee6c3df46f3a883bf SHA512 5725124e6fd8b24a072adab40265e67e7e93cfe13331808bf53daaadba91d6d85f65cfd3f7dd87f03a421a996c18c0f58a29ebbb9719fd9082524a8a18ffbbaa WHIRLPOOL e96e9d91f676edb12ea33a1101f1cf8eda22aa3258a2e0ea8d77e354d220b76ca207176519ded12e53cdf36191074df52a7a45c77265a0df5cfd3afa24c4b432 +EBUILD hddtemp-0.3_beta15-r23.ebuild 2489 SHA256 41510bc00395ef3c04ccb878dc7dc93b2d3ac23c900bb73f6de2492a75c7b9f8 SHA512 f7c682d2f7f8ba9fe7a90380532d8458d912c40a7882c75dd67e6961e70e707a7d4d3238659ec1827e3ad622d64b874032638f18d3fe3c3a348264cbe023f352 WHIRLPOOL a66d84b1655957fe522019e4b94de4fb4078806a15324c197f44627208e290f453bace1ff10c2e948a766195ee2e928266b445a137249a0bd997ac6775ebcdb6 +EBUILD hddtemp-0.3_beta15-r3.ebuild 2709 SHA256 c9b8c19316d636ee7be4937648c3ac63d3f82a54ac8058e269ca99cb717f765e SHA512 e1f0a710bd195a6748fed05cf017d1fe30def18800222b54cd63d6c913ffd963b3bbb2e950c4abe275ea8ef990cca514c8b424839ad3e774c22e92253225c77e WHIRLPOOL d1b349f4fb006a173ec20458170a67ec9f23b4627ef2c55b06bd3c794fa1ca7db2e77aab4334a15fdb42197e6ecab22997815dd12ef36bb718691738f8dd0392 +EBUILD hddtemp-0.3_beta15-r5.ebuild 2523 SHA256 504c556d9c43c3eceb0d5683bf811201b5821ee9d93d672c4c4f8fb901f78c3b SHA512 5ce0dd424a080245fabebf0faadc1b571eb92e7c4050d96424d79ac322dcff336f69d643b7bd28ad2661e9df422afaf59602dc06cbadcd6de19cf661e0789e13 WHIRLPOOL f29105361570429dec4a940feddf6f3911e661e6b38910b3a66e15e589d1121b95c88468c6ae03765cad918ea95e60780ba4684c9d2fdd5fd47ec0526dbd5d13 +EBUILD hddtemp-0.3_beta15-r6.ebuild 2577 SHA256 7026ab8a0dc737b8a853222ab4fc87ac66a1cce778b30e2236a928904759d8a5 SHA512 c86b5e1586b22bcb72c2ea1b470547d7168e20712b5e027748c5ec3eff0944839ee3400aabc949845f36372a888f0028a0eff31e95cb03d42940e728ae330857 WHIRLPOOL 799aef79504d41b2e8980886ade094a7051d273598804dedbc7153349d2ba08bcf6e99fee5580c4dadfa1669dc56fddcefcc98f2dcc3cddc368c5a244cbcd0bf +MISC ChangeLog 20970 SHA256 84a20ba3649b0ab6c597392faf756b75b2e829daf61866a064b4fa1bf68cb7de SHA512 48ae9fe65e9b2a4be2727f2ecf4a95a0675551e867d533a98de92ed657cd3df85ff8d914a646ecad4d5f6fda4f4346d5c8394220b6a894d601dc45144851af50 WHIRLPOOL 468ab7f97a8d96d5caea258449a811b6a8253510b80b3006d3666dacb9fadd31e5c025ef98f94271cd77549606b37ead20a775e75a7f60aee60fac1559aed675 MISC metadata.xml 291 SHA256 19a53a724046c239a0b154490a8f07ee4d54e14942b507120ade8eeed4926a34 SHA512 af63c7441a0645f948bd0f8ffd2c965ee61861ad62c269c6ec95d74d70ae2f2c587542224f27107cf5b2c50c32e6b8227a0ce1100734a2fe2f7311e653da6263 WHIRLPOOL 2eac8c84e8ed85aa6dfa9935af99bd4af9a07389cb513dd952ebbd1e025205332cf6eb4d9303f8e9de1f2ba03922904ee3eaa6a764178fb1ec7e9b3fe3d01fc8 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iQEcBAEBCAAGBQJRm8FaAAoJEPATRTHh2/q19bkIAIgQEpcfymhLNbfX4nXNnT7u -VgB+1poaYyIrZJdUMI3jBWlKMW/QXkD9arYRn+V74cSIdaPqnSppYCrkwR7/a+R+ -EWAqoh+LSekY+7tCUESZkvUtza9xO+G7zDL0WwRkYAIqEZEtIwGIm3cDiLwgZaIC -dbgVuhqCBA4/+GsXkL8z7Qv/MKOpF3IMyLjgF6YtnaIFwNJkpw5cSTHyOQxrhpwj -ecZq+7Ul3v6ktageXNVVyv2Cl/WBchrGsAO6Ql1VcNeh0aIEgmrR9WkoOfvIgaJS -BEJG93aWwbDd2yv3+asPw7vR0dLpGgfV1Pc90ly1MZPAhhd51KjhKacvvoMkNG0= -=Hc3J +iQEcBAEBCAAGBQJR2HSoAAoJEPATRTHh2/q1bL4H/iDhENBNZQgED5BJnfKt+UBb +7CbYuEOxxL05NN2jQQlOiJxURJFmQRjBX8EP6r2tOts2mtarzrDmdP8cqa7C0FFi +A3sRHjnIbDMdkY07qE/6gwaVr/wlalufMK+fMdRf4cQAB3aIewGQ9vYA9DLdfM1g +vLqAFyOhstrSFfPgNFjt6+BjmGGkC6LWaSuV9G7RXXV0n1/7SuihKAgFCsLV8j90 +3Wm7DCbrViX5bfCCRHS34q+16dKy/FhQcrB5TJ7EcsiHLrlnYiOetH3At/ULbtOt +UUhSlDiOT2AD2ItekE3HIoa3CcpMX58IvUXEyquBt8SVfkhyyYQsgPLo3DkcSLo= +=amqj -----END PGP SIGNATURE----- diff --git a/app-admin/hddtemp/files/hddgentoo.db b/app-admin/hddtemp/files/hddgentoo.db index 7e6b71c50da8..bbe17705fcdb 100644 --- a/app-admin/hddtemp/files/hddgentoo.db +++ b/app-admin/hddtemp/files/hddgentoo.db @@ -66,6 +66,7 @@ "WDC WD10EADS-00M2B0" 194 C "Western Digital Caviar Green 1TB SATA2 5400RPM 32MB" "WDC WD20EARS-00S8B1" 194 C "Western Digital Caviar Green 2TB SATA2 IntelliPower 64MB" "WDC WD3200BEKT-00F3T0" 194 C "Western Digital Scorpio Black 320GB SATA2 7200RPM 16MB" +"WDC WD3200BEKT-75A25T0" 194 C "Western Digital Scorpio Black 320GB SATA2 7200RPM 16MB" "WDC WD5000AADS" 194 C "Western Digital Caviar Green 500GB SATA2 IntelliPower 32MB" "WDC WD7500AARX" 194 C "Western Digital Caviar Green 750GB SATA3 IntelliPower 64MB" "WDC WD3200AZDX" 194 C "Western Digital Caviar Green 320GB SATA3 IntelliPower 32MB" @@ -186,6 +187,7 @@ "TOSHIBA MK3252GSX" 194 C "Toshiba MK3252GSX" "SAMSUNG HM160HC" 194 C "Samsung HM160HC" +"Hitachi HTS542512K9SA00" 194 C "Hitachi Travelstar 5K250 120GB SATA2 5400RPM 8MB" "Hitachi HTS542516K9SA00" 194 C "Hitachi Travelstar 5K250 160GB SATA2 5400RPM 8MB" "Hitachi HDS721680PLA380" 194 C "Hitachi Deskstar 7K160 80GB SATA2 7200RPM 8MB" "ST9120822AS" 194 C "Seagate Momentus 5400.3 120GB SATA 5400RPM 8MB" diff --git a/app-admin/hddtemp/files/hddtemp.service b/app-admin/hddtemp/files/hddtemp.service new file mode 100644 index 000000000000..b2fca4214bca --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp.service @@ -0,0 +1,11 @@ +[Unit] +Description=Hard drive temperature monitor daemon +Documentation=man:hddtemp(8) + +[Service] +Environment=HDDTEMP_OPTIONS=--listen=127.0.0.1 +EnvironmentFile=-/etc/conf.d/hddtemp +ExecStart=/usr/sbin/hddtemp -d $HDDTEMP_OPTIONS $HDDTEMP_DRIVES + +[Install] +WantedBy=multi-user.target diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild index d8c90f2d62ca..180994906266 100644 --- a/app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild +++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild,v 1.2 2012/10/27 12:14:08 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r22.ebuild,v 1.3 2013/07/06 19:48:55 aidecoe Exp $ EAPI=4 @@ -16,7 +16,7 @@ SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirro LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" -IUSE="network-cron nls" +IUSE="network-cron" DEPEND="" RDEPEND="${DEPEND}" @@ -39,8 +39,6 @@ src_configure() { local myconf myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db" - # disabling nls breaks compiling - use nls || myconf="--disable-nls ${myconf}" econf ${myconf} } diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r23.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r23.ebuild new file mode 100644 index 000000000000..296f2c5e6024 --- /dev/null +++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r23.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-admin/hddtemp/hddtemp-0.3_beta15-r23.ebuild,v 1.1 2013/07/06 19:48:55 aidecoe Exp $ + +EAPI=4 + +inherit eutils autotools systemd + +MY_P=${P/_beta/-beta} +DBV=20080531 + +DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives" +HOMEPAGE="http://savannah.nongnu.org/projects/hddtemp/" +SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirror://gentoo/hddtemp-${DBV}.db.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="network-cron" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOCS=(README TODO ChangeLog) + +src_prepare() { + epatch "${FILESDIR}"/${P}-satacmds.patch + epatch "${FILESDIR}"/${P}-byteswap.patch + epatch "${FILESDIR}"/${P}-execinfo.patch + epatch "${FILESDIR}"/${P}-nls.patch + epatch "${FILESDIR}"/${P}-iconv.patch + epatch "${FILESDIR}"/${P}-dontwake.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + local myconf + + myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db" + econf ${myconf} +} + +src_install() { + default + + insinto /usr/share/hddtemp + newins "${WORKDIR}/hddtemp-${DBV}.db" hddtemp.db + doins "${FILESDIR}"/hddgentoo.db + + update_db "${D}/usr/share/hddtemp/hddgentoo.db" "${D}/usr/share/hddtemp/hddtemp.db" + newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp + newinitd "${FILESDIR}"/hddtemp-init hddtemp + systemd_dounit "${FILESDIR}"/hddtemp.service + + dosbin "${FILESDIR}"/update-hddtemp.db + + if use network-cron ; then + exeinto /etc/cron.monthly + echo -e "#!/bin/sh\n/usr/sbin/update-hddtemp.db" > "${T}"/hddtemp.cron + newexe "${T}"/hddtemp.cron update-hddtemp.db + fi +} + +pkg_postinst() { + elog "In order to update your hddtemp database, run:" + elog " update-hddtemp.db" + elog "" + elog "If your hard drive is not recognized by hddtemp, please consider" + elog "submitting your HDD info for inclusion into the Gentoo hddtemp" + elog "database by filing a bug at https://bugs.gentoo.org/" + echo + ewarn "If hddtemp complains but finds your HDD temperature sensor, use the" + ewarn "--quiet option to suppress the warning." +} + +update_db() { + local src=$1 + local dst=$2 + + while read line ; do + if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then + echo "${line}" >> "${dst}" + fi + + id=$(echo "${line}" | grep -o '"[^"]*"') + + grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}" + done < "${src}" +} diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild index dfe3ec34ae87..fe4d6922230f 100644 --- a/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild +++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild,v 1.12 2011/11/14 12:25:25 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild,v 1.13 2013/07/06 19:48:55 aidecoe Exp $ inherit eutils autotools @@ -14,7 +14,7 @@ SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirro LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86" -IUSE="nls" +IUSE="" DEPEND="" RDEPEND="${DEPEND}" @@ -36,8 +36,6 @@ src_compile() { local myconf myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db" - # disabling nls breaks compiling - use nls || myconf="--disable-nls ${myconf}" econf ${myconf} || die emake || die } diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild index 306a212cf024..057b7fbfae64 100644 --- a/app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild +++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild,v 1.2 2012/10/27 12:14:08 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r5.ebuild,v 1.3 2013/07/06 19:48:55 aidecoe Exp $ inherit eutils autotools @@ -14,7 +14,7 @@ SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirro LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" -IUSE="nls" +IUSE="" DEPEND="" RDEPEND="${DEPEND}" @@ -37,8 +37,6 @@ src_compile() { local myconf myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db" - # disabling nls breaks compiling - use nls || myconf="--disable-nls ${myconf}" econf ${myconf} || die emake || die } diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r6.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r6.ebuild new file mode 100644 index 000000000000..752b4d98d83d --- /dev/null +++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r6.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r6.ebuild,v 1.1 2013/07/06 19:48:55 aidecoe Exp $ + +inherit eutils autotools systemd + +MY_P=${P/_beta/-beta} +DBV=20080531 + +DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives" +HOMEPAGE="http://savannah.nongnu.org/projects/hddtemp/" +SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirror://gentoo/hddtemp-${DBV}.db.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-satacmds.patch + epatch "${FILESDIR}"/${P}-byteswap.patch + epatch "${FILESDIR}"/${P}-execinfo.patch + epatch "${FILESDIR}"/${P}-nls.patch + epatch "${FILESDIR}"/${P}-iconv.patch + epatch "${FILESDIR}"/${P}-dontwake.patch + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + local myconf + + myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db" + econf ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc README TODO ChangeLog + + insinto /usr/share/hddtemp + newins "${WORKDIR}/hddtemp-${DBV}.db" hddtemp.db + doins "${FILESDIR}"/hddgentoo.db + + update_db "${D}/usr/share/hddtemp/hddgentoo.db" "${D}/usr/share/hddtemp/hddtemp.db" + newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp + newinitd "${FILESDIR}"/hddtemp-init hddtemp + systemd_dounit "${FILESDIR}"/hddtemp.service +} + +pkg_postinst() { + elog "In order to update your hddtemp database, run:" + elog " emerge --config =${CATEGORY}/${PF}" + elog "" + elog "If your hard drive is not recognized by hddtemp, please consider" + elog "submitting your HDD info for inclusion into the Gentoo hddtemp" + elog "database by filing a bug at https://bugs.gentoo.org/" + echo + ewarn "If hddtemp complains but finds your HDD temperature sensor, use the" + ewarn "--quiet option to suppress the warning." +} + +update_db() { + local src=$1 + local dst=$2 + + while read line ; do + if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then + echo "${line}" >> "${dst}" + fi + + id=$(echo "${line}" | grep -o '"[^"]*"') + + grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}" + done < "${src}" +} + +pkg_config() { + cd "${ROOT}"/usr/share/hddtemp + + einfo "Trying to download the latest hddtemp.db file" + wget http://www.guzu.net/linux/hddtemp.db -O hddtemp.db \ + || die "failed to download hddtemp.db" + + update_db "hddgentoo.db" "hddtemp.db" +} |