Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396411 - sys-apps/ataidle ( New package )
Summary: sys-apps/ataidle ( New package )
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
Keywords: EBUILD
Depends on:
Reported: 2011-12-29 13:15 UTC by gentooer
Modified: 2011-12-29 14:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

ataidle-2.7.1.ebuild (ataidle-2.7.1.ebuild,799 bytes, text/plain)
2011-12-29 13:15 UTC, gentooer
ataidle-2.7.1-r1.ebuild (ataidle-2.7.1-r1.ebuild,587 bytes, text/plain)
2011-12-29 14:37 UTC, gentooer

Note You need to log in before you can comment on or make changes to this bug.
Description gentooer 2011-12-29 13:15:04 UTC
ataidle sets the idle timer on ATA (IDE) hard drives, so the drive spins down when the period of inactivity has expired.
To use it on FreeBSD you must be using 6 or newer; under Linux a 2.4 or newer kernel is required.

Usage: ataidle [-h] [-i] [-s] [-o] [-I standby_mins] [-S standby_mins] [-A aam_level] [-P apm_level] device

The latest version of ataidle is 2.7.1

Reproducible: Always
Comment 1 gentooer 2011-12-29 13:15:43 UTC
Created attachment 297297 [details]
Comment 2 Agostino Sarubbo gentoo-dev 2011-12-29 13:46:01 UTC
Hi, you can improve your ebuild.

First make it EAPI4
Delete src_unpack and src_compile
You can use ${P} instead of $name-${PV}
I doubt you have tested on all hardware that have ~keyword, please add only that you tested
No need die after portage helper function in eapi4, and I guess there is no need to inherit toolchain funcs
Comment 3 gentooer 2011-12-29 14:37:18 UTC
Thanks for the hints. I am quite new to ebuild-writing. 

New ebuild is attached.
Comment 4 gentooer 2011-12-29 14:37:43 UTC
Created attachment 297307 [details]