summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-22 16:58:04 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-22 16:58:04 +0000
commit5619d37e11a377a04e4e26693f691900541ccfd6 (patch)
tree525c68fc7ff027ed0755d1a102503e44f839dcf8 /sys-apps/hdparm
parentAdd upstream patch to fix DoS with postgresql backend, thanks Thomas Beutin <... (diff)
downloadgentoo-2-5619d37e11a377a04e4e26693f691900541ccfd6.tar.gz
gentoo-2-5619d37e11a377a04e4e26693f691900541ccfd6.tar.bz2
gentoo-2-5619d37e11a377a04e4e26693f691900541ccfd6.zip
Version bump #444298 by Agostino Sarubbo.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/ChangeLog7
-rw-r--r--sys-apps/hdparm/hdparm-9.43.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index fdb7725d7333..024c9fb8651b 100644
--- a/sys-apps/hdparm/ChangeLog
+++ b/sys-apps/hdparm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hdparm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.238 2012/09/29 09:58:03 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.239 2012/11/22 16:58:04 vapier Exp $
+
+*hdparm-9.43 (22 Nov 2012)
+
+ 22 Nov 2012; Mike Frysinger <vapier@gentoo.org> +hdparm-9.43.ebuild:
+ Version bump #444298 by Agostino Sarubbo.
29 Sep 2012; Ulrich Müller <ulm@gentoo.org> hdparm-9.28.ebuild,
hdparm-9.36.ebuild, hdparm-9.37.ebuild, hdparm-9.38.ebuild,
diff --git a/sys-apps/hdparm/hdparm-9.43.ebuild b/sys-apps/hdparm/hdparm-9.43.ebuild
new file mode 100644
index 000000000000..6406932f7df2
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.43.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.43.ebuild,v 1.1 2012/11/22 16:58:04 vapier Exp $
+
+EAPI="4"
+
+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="BSD GPL-2" # GPL-2 only
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+src_prepare() {
+ sed -i \
+ -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
+ -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
+ Makefile || die "sed"
+}
+
+src_compile() {
+ emake STRIP=: CC="$(tc-getCC)"
+}
+
+src_install() {
+ into /
+ dosbin hdparm contrib/idectl
+
+ newinitd "${FILESDIR}"/hdparm-init-8 hdparm
+ newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm
+
+ doman hdparm.8
+ dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
+ docinto wiper
+ dodoc wiper/{README.txt,wiper.sh}
+}