From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/hdparm: ChangeLog hdparm-9.20.ebuild |
Date: | Sat, 01 Aug 2009 22:25:18 |
Message-Id: | E1MXN0u-0003Y2-0S@stork.gentoo.org |
1 | robbat2 09/08/01 22:25:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hdparm-9.20.ebuild |
5 | Log: |
6 | Another bump, upstream says fixes to TRIM. |
7 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.198 sys-apps/hdparm/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/ChangeLog?rev=1.198&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/ChangeLog?rev=1.198&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/ChangeLog?r1=1.197&r2=1.198 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v |
19 | retrieving revision 1.197 |
20 | retrieving revision 1.198 |
21 | diff -p -w -b -B -u -u -r1.197 -r1.198 |
22 | --- ChangeLog 1 Aug 2009 21:17:11 -0000 1.197 |
23 | +++ ChangeLog 1 Aug 2009 22:25:15 -0000 1.198 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sys-apps/hdparm |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.197 2009/08/01 21:17:11 robbat2 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.198 2009/08/01 22:25:15 robbat2 Exp $ |
29 | + |
30 | +*hdparm-9.20 (01 Aug 2009) |
31 | + |
32 | + 01 Aug 2009; Robin H. Johnson <robbat2@g.o> +hdparm-9.20.ebuild: |
33 | + Another bump, upstream says fixes to TRIM. |
34 | |
35 | *hdparm-9.18 (01 Aug 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/hdparm/hdparm-9.20.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/hdparm-9.20.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/hdparm-9.20.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: hdparm-9.20.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.20.ebuild,v 1.1 2009/08/01 22:25:15 robbat2 Exp $ |
50 | |
51 | inherit toolchain-funcs |
52 | |
53 | DESCRIPTION="Utility to change hard drive performance parameters" |
54 | HOMEPAGE="http://sourceforge.net/projects/hdparm/" |
55 | SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" |
56 | |
57 | LICENSE="as-is" |
58 | SLOT="0" |
59 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
60 | IUSE="" |
61 | |
62 | src_unpack() { |
63 | unpack ${A} |
64 | cd "${S}" |
65 | sed -i \ |
66 | -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ |
67 | -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ |
68 | Makefile || die "sed" |
69 | } |
70 | |
71 | src_compile() { |
72 | emake STRIP=: CC="$(tc-getCC)" || die "compile error" |
73 | } |
74 | |
75 | src_install() { |
76 | into / |
77 | dosbin hdparm contrib/idectl || die "dosbin" |
78 | |
79 | newinitd "${FILESDIR}"/hdparm-init-8 hdparm |
80 | newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm |
81 | |
82 | doman hdparm.8 |
83 | dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig |
84 | } |