Gentoo Archives: gentoo-commits

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.18.ebuild
Date: Sat, 01 Aug 2009 21:17:14
Message-Id: E1MXLx1-0001Tk-HN@stork.gentoo.org
robbat2     09/08/01 21:17:11

  Modified:             ChangeLog
  Added:                hdparm-9.18.ebuild
  Log:
  Last upstream release had a bug with -E and CD/DVD drives, new release.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.197                sys-apps/hdparm/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/ChangeLog?rev=1.197&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/ChangeLog?rev=1.197&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/ChangeLog?r1=1.196&r2=1.197

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v
retrieving revision 1.196
retrieving revision 1.197
diff -p -w -b -B -u -u -r1.196 -r1.197
--- ChangeLog	29 Jul 2009 23:52:32 -0000	1.196
+++ ChangeLog	1 Aug 2009 21:17:11 -0000	1.197
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/hdparm
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.196 2009/07/29 23:52:32 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.197 2009/08/01 21:17:11 robbat2 Exp $
+
+*hdparm-9.18 (01 Aug 2009)
+
+  01 Aug 2009; Robin H. Johnson <robbat2@g.o> +hdparm-9.18.ebuild:
+  Last upstream release had a bug with -E and CD/DVD drives, new release.
 
 *hdparm-9.17 (29 Jul 2009)
 



1.1                  sys-apps/hdparm/hdparm-9.18.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/hdparm-9.18.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/hdparm/hdparm-9.18.ebuild?rev=1.1&content-type=text/plain

Index: hdparm-9.18.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.18.ebuild,v 1.1 2009/08/01 21:17:11 robbat2 Exp $

inherit toolchain-funcs

DESCRIPTION="Utility to change hard drive performance parameters"
HOMEPAGE="http://sourceforge.net/projects/hdparm/"
SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""

src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i \
		-e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
		-e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
		Makefile || die "sed"
}

src_compile() {
	emake STRIP=: CC="$(tc-getCC)" || die "compile error"
}

src_install() {
	into /
	dosbin hdparm contrib/idectl || die "dosbin"

	newinitd "${FILESDIR}"/hdparm-init-8 hdparm
	newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm

	doman hdparm.8
	dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
}