From 2d75d94a8e0462e67a64990b9a3ddb97a6975c1d Mon Sep 17 00:00:00 2001 From: eisnerd Date: Sun, 18 Oct 2009 09:27:18 +0000 Subject: app-laptop/hdapsd: Bump to 20090401 svn path=/trunk/; revision=737 --- app-laptop/hdapsd/ChangeLog | 4 +++ app-laptop/hdapsd/Manifest | 6 ++-- app-laptop/hdapsd/hdapsd-20090129.ebuild | 47 -------------------------------- app-laptop/hdapsd/hdapsd-20090401.ebuild | 47 ++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 50 deletions(-) delete mode 100644 app-laptop/hdapsd/hdapsd-20090129.ebuild create mode 100644 app-laptop/hdapsd/hdapsd-20090401.ebuild diff --git a/app-laptop/hdapsd/ChangeLog b/app-laptop/hdapsd/ChangeLog index 073f01c..7ca1ba2 100644 --- a/app-laptop/hdapsd/ChangeLog +++ b/app-laptop/hdapsd/ChangeLog @@ -1,5 +1,9 @@ + 18 Oct 2009; Florian Manschwetus + -hdapsd-20090129.ebuild, +hdapsd-20090401.ebuild: + Bump to 20090401 + 18 Feb 2009; Florian Manschwetus +files/hdaps_protect-2.6.24.patch, +files/hdaps_protect-2.6.25.patch, +files/hdaps_protect-2.6.26.patch, +files/hdaps_protect-2.6.27.patch, diff --git a/app-laptop/hdapsd/Manifest b/app-laptop/hdapsd/Manifest index 0bdca4d..0e12e13 100644 --- a/app-laptop/hdapsd/Manifest +++ b/app-laptop/hdapsd/Manifest @@ -5,7 +5,7 @@ AUX hdaps_protect-2.6.26.patch 29010 RMD160 81106dd4caea46303a4f5ba662372fe7cf5a AUX hdaps_protect-2.6.27.patch 32590 RMD160 21a302bb89d47c94d4612a5c0f8db854b0db33fe SHA1 d135b51df5a5656b13541f9e8fb4e48f8c6fc80e SHA256 fe2689c2bc28584e50dde3234147469f48af51bfde866adcbfce17ab56c41a43 AUX hdapsd.conf 321 RMD160 5bb760d34bca3f5a12aeb057b78de7e2a9065bc3 SHA1 ade013dab6278a385b4658aad7e871b743380689 SHA256 22e1acf385427052a12858db005fd73d42d9f6818fb253b032cd326101df2e34 AUX hdapsd.init 1321 RMD160 5a02904b766a51c97c6974260816576cd4710beb SHA1 eee2035439fd31901634cee40c2812cb89edd42b SHA256 f55d5fbaab2ddbfd826dd2692197d4b7222065e728b1e3bc5ca8ec8863367de9 -DIST hdapsd-20090129.tar.gz 95211 RMD160 9db3bb776621d45525edc21b99f125ef54bdd5f3 SHA1 8c1a23ff8c4ef2410678340bc1477ec94afc1562 SHA256 753e2d6d8508665331046e0f49287f863bb9b4a56ad8bb9c116cc162b986f640 -EBUILD hdapsd-20090129.ebuild 1510 RMD160 d390528b8732ef696b3384bd83a31f676eb9e835 SHA1 73b1a524fecfa9046dd4a739cdcbac698242288b SHA256 25896e05b7a6ff108113dceaea046ebab6d25fec364b1ed75629e954fadb2366 -MISC ChangeLog 745 RMD160 4269da7231e5ddae33885003218c88225b9294ce SHA1 283717d6aca59bc03ac9599ccb15e1abbda745e1 SHA256 9b5f112cc19162316a414deae18926e5e160686582ce3c32d841778d0a077e7d +DIST hdapsd-20090401.tar.gz 95058 RMD160 e4840a4a6be24e8a950c6f6e6c5a2dc36604868e SHA1 0d6517d36a0da8d5e765e5bc3059bad5d19a7e72 SHA256 32979d58de4c54a7cc5671e7e7b4f0b653b659104faa9610433f8bb5dd4cef7a +EBUILD hdapsd-20090401.ebuild 1510 RMD160 d390528b8732ef696b3384bd83a31f676eb9e835 SHA1 73b1a524fecfa9046dd4a739cdcbac698242288b SHA256 25896e05b7a6ff108113dceaea046ebab6d25fec364b1ed75629e954fadb2366 +MISC ChangeLog 880 RMD160 8c2451b7f40e7e92cd4a968b996982eca09ba2f9 SHA1 7e8e2142a1d7104beaa432face90b7f9799d1dea SHA256 b188835f9e274a6add177b7898dae33a6575b2b2c6318d92652b98be16429925 MISC metadata.xml 263 RMD160 97c8ad544063bcbdf65190404934923e0a42d562 SHA1 6e276e4277eeae8ee686d0c858761aa63bf71e0b SHA256 0d5fcdbefefdc4a8d5d703b5a01a74e1bcf181cb3bd29fd82e202221795e51c2 diff --git a/app-laptop/hdapsd/hdapsd-20090129.ebuild b/app-laptop/hdapsd/hdapsd-20090129.ebuild deleted file mode 100644 index 4f70a04..0000000 --- a/app-laptop/hdapsd/hdapsd-20090129.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: - -inherit eutils linux-info - -DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon" -HOMEPAGE="http://hdaps.sourceforge.net/" -SRC_URI="mirror://sourceforge/hdaps/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -IUSE="" -RDEPEND="" - -pkg_setup() { - # We require the hdaps module which can either come from kernel sources or - # from the tp_smapi package. - if ! has_version app-laptop/tp_smapi || ! built_with_use app-laptop/tp_smapi hdaps; then - CONFIG_CHECK="SENSORS_HDAPS" - ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi (with hdaps USE enabled) or support for CONFIG_SENSORS_HDAPS enabled" - linux-info_pkg_setup - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed" - dodoc README AUTHORS COPYING ChangeLog || die "dodoc failed" - newconfd "${FILESDIR}"/hdapsd.conf hdapsd - newinitd "${FILESDIR}"/hdapsd.init hdapsd -} - - -pkg_postinst(){ - [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \ - [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \ - ewarn "Your kernel has NOT been patched for blk_freeze!" - - if ! has_version app-laptop/tp_smapi; then - ewarn "Using the hdaps module provided by app-laptop/tp_smapi instead" - ewarn "of the in-kernel driver is strongly recommended!" - fi - - elog "You can change the default frequency by modifing /sys/devices/platform/hdaps/sampling_rate" -} diff --git a/app-laptop/hdapsd/hdapsd-20090401.ebuild b/app-laptop/hdapsd/hdapsd-20090401.ebuild new file mode 100644 index 0000000..4f70a04 --- /dev/null +++ b/app-laptop/hdapsd/hdapsd-20090401.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils linux-info + +DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon" +HOMEPAGE="http://hdaps.sourceforge.net/" +SRC_URI="mirror://sourceforge/hdaps/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="" +RDEPEND="" + +pkg_setup() { + # We require the hdaps module which can either come from kernel sources or + # from the tp_smapi package. + if ! has_version app-laptop/tp_smapi || ! built_with_use app-laptop/tp_smapi hdaps; then + CONFIG_CHECK="SENSORS_HDAPS" + ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi (with hdaps USE enabled) or support for CONFIG_SENSORS_HDAPS enabled" + linux-info_pkg_setup + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc README AUTHORS COPYING ChangeLog || die "dodoc failed" + newconfd "${FILESDIR}"/hdapsd.conf hdapsd + newinitd "${FILESDIR}"/hdapsd.init hdapsd +} + + +pkg_postinst(){ + [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \ + [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \ + ewarn "Your kernel has NOT been patched for blk_freeze!" + + if ! has_version app-laptop/tp_smapi; then + ewarn "Using the hdaps module provided by app-laptop/tp_smapi instead" + ewarn "of the in-kernel driver is strongly recommended!" + fi + + elog "You can change the default frequency by modifing /sys/devices/platform/hdaps/sampling_rate" +} -- cgit v1.2.3-65-gdbad