summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-02-09 18:14:15 +0000
committerPacho Ramos <pacho@gentoo.org>2013-02-09 18:14:15 +0000
commit776d09a0002bd20465783850cd069a90fa763a7d (patch)
tree1044cf646f8a3cfe5ab417c625b222e89d81613c /app-laptop/hdapsd
parentStable for ia64, wrt bug #427550 (diff)
downloadgentoo-2-776d09a0002bd20465783850cd069a90fa763a7d.tar.gz
gentoo-2-776d09a0002bd20465783850cd069a90fa763a7d.tar.bz2
gentoo-2-776d09a0002bd20465783850cd069a90fa763a7d.zip
Use readme.gentoo.eclass for elog message (#456068)
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'app-laptop/hdapsd')
-rw-r--r--app-laptop/hdapsd/ChangeLog7
-rw-r--r--app-laptop/hdapsd/hdapsd-20090401-r2.ebuild15
2 files changed, 14 insertions, 8 deletions
diff --git a/app-laptop/hdapsd/ChangeLog b/app-laptop/hdapsd/ChangeLog
index 3e6f682125c5..f5b885a95b3a 100644
--- a/app-laptop/hdapsd/ChangeLog
+++ b/app-laptop/hdapsd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-laptop/hdapsd
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/ChangeLog,v 1.21 2012/11/18 20:39:55 ottxor Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/ChangeLog,v 1.22 2013/02/09 18:14:15 pacho Exp $
+
+ 09 Feb 2013; Pacho Ramos <pacho@gentoo.org> hdapsd-20090401-r2.ebuild:
+ Use readme.gentoo.eclass for elog message (#456068)
*hdapsd-20090401-r2 (18 Nov 2012)
diff --git a/app-laptop/hdapsd/hdapsd-20090401-r2.ebuild b/app-laptop/hdapsd/hdapsd-20090401-r2.ebuild
index 1416d3bf2154..49576fd0bf95 100644
--- a/app-laptop/hdapsd/hdapsd-20090401-r2.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20090401-r2.ebuild
@@ -1,9 +1,9 @@
-# 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-laptop/hdapsd/hdapsd-20090401-r2.ebuild,v 1.1 2012/11/18 20:39:55 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/hdapsd-20090401-r2.ebuild,v 1.2 2013/02/09 18:14:15 pacho Exp $
EAPI=4
-inherit linux-info
+inherit linux-info readme.gentoo
DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon"
HOMEPAGE="http://hdaps.sourceforge.net/"
@@ -22,6 +22,10 @@ pkg_setup() {
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
+
+ DOC_CONTENTS="You can change the default frequency by modifing /sys/devices/platform/hdaps/sampling_rate.
+ You might need to enable shock protection manually by running:\n
+ # echo -1 > /sys/block/DEVICE/device/unload_heads"
}
src_install() {
@@ -30,6 +34,7 @@ src_install() {
dodoc ChangeLog README AUTHORS
newconfd "${FILESDIR}"/hdapsd.conf.3 hdapsd
newinitd "${FILESDIR}"/hdapsd.init.3 hdapsd
+ readme.gentoo_create_doc
}
pkg_postinst(){
@@ -42,7 +47,5 @@ pkg_postinst(){
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 "
- elog " echo -1 > /sys/block/DEVICE/device/unload_heads"
+ readme.gentoo_print_elog
}