Browse files

removed app-laptop/hdapsd since that version is in the portage tree now

  • Loading branch information...
1 parent 6370777 commit b4a000bb25e09520ff5d87513727c5a112379d3f @lnagel committed Dec 1, 2009
View
0 app-laptop/hdapsd/ChangeLog
No changes.
View
4 app-laptop/hdapsd/Manifest
@@ -1,4 +0,0 @@
-DIST hdapsd-20090401.tar.gz 95058 RMD160 e4840a4a6be24e8a950c6f6e6c5a2dc36604868e SHA1 0d6517d36a0da8d5e765e5bc3059bad5d19a7e72 SHA256 32979d58de4c54a7cc5671e7e7b4f0b653b659104faa9610433f8bb5dd4cef7a
-EBUILD hdapsd-20090401.ebuild 1671 RMD160 ab33772bd7833e50c39784b832ceb57df2a2a273 SHA1 9775ecb85fc0b0ad8bace4fc25ca7b7ab3f28601 SHA256 f4d45c1aa1dd993388db331c648df9b12261910b1bfe74015fecc696206e1c4f
-MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
-MISC metadata.xml 292 RMD160 23a22c6865683127e2b5ed1d67ff1f127a0a0603 SHA1 9c9a2614eab2559ca018480fd6d47462eca4ed29 SHA256 fc1ee9e5ba821a460eab9accf3e4c540d48ee816b28ad9d67c2a4f8ad5ba9b8f
View
47 app-laptop/hdapsd/hdapsd-20090401.ebuild
@@ -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 toolchain-funcs
-
-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 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 does NOT support shock protection. Kernel 2.5.28 and above is recommended!"
-
- 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"
- elog "You might need to enable shock protection manually by running echo -1 > /sys/block/sda/device/unload_heads"
-}
View
9 app-laptop/hdapsd/metadata.xml
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>app-laptop</herd>
-<longdescription lang="en">
-HDAPS (Hard Drive Active Protection System) control daemon for ThinkPad laptops.
-</longdescription>
-</pkgmetadata>
-

0 comments on commit b4a000b

Please sign in to comment.