summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-08-04 14:02:08 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-08-04 14:02:08 +0000
commit28a052a54ff40f9b7afb6305b85fb0f613d4f214 (patch)
tree9f0e3dc08b16bf376d69bfaddf95a2938ffbf2ea /sys-apps/hdparm
parentgftp 2.0.16 and up dont work on amd64 yet, marking -amd64 (Manifest recommit) (diff)
downloadgentoo-2-28a052a54ff40f9b7afb6305b85fb0f613d4f214.tar.gz
gentoo-2-28a052a54ff40f9b7afb6305b85fb0f613d4f214.tar.bz2
gentoo-2-28a052a54ff40f9b7afb6305b85fb0f613d4f214.zip
run hdparm quiet for more than one parameter, bug #59388
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/ChangeLog8
-rw-r--r--sys-apps/hdparm/Manifest7
-rw-r--r--sys-apps/hdparm/files/digest-hdparm-5.5-r3 (renamed from sys-apps/hdparm/files/digest-hdparm-5.5-r2)0
-rw-r--r--sys-apps/hdparm/files/hdparm-init-5 (renamed from sys-apps/hdparm/files/hdparm-init-4)4
-rw-r--r--sys-apps/hdparm/hdparm-5.5-r3.ebuild (renamed from sys-apps/hdparm/hdparm-5.5-r2.ebuild)4
5 files changed, 15 insertions, 8 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog
index e11803160d93..ac05f2e9f670 100644
--- a/sys-apps/hdparm/ChangeLog
+++ b/sys-apps/hdparm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/hdparm
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.42 2004/08/03 08:38:19 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.43 2004/08/04 14:02:08 lanius Exp $
+
+*hdparm-5.5-r3 (04 Aug 2004)
+
+ 04 Aug 2004; Heinrich Wendel <lanius@gentoo.org> hdparm-5.5-r2.ebuild,
+ hdparm-5.5-r3.ebuild, files/hdparm-init-4, files/hdparm-init-5:
+ run hdparm quiet for more than one parameter, bug #59388
*hdparm-5.5-r2 (03 Aug 2004)
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
index e9d41aa1a13a..40cfbad8bc41 100644
--- a/sys-apps/hdparm/Manifest
+++ b/sys-apps/hdparm/Manifest
@@ -1,13 +1,14 @@
MD5 860dc3584fa1d36414014543f9ac7843 hdparm-5.5.ebuild 1277
-MD5 7c98de4720553c033fde88cb388c1428 hdparm-5.5-r2.ebuild 1286
MD5 27612805eeeff9fa51cb602fde9e2be2 hdparm-5.4.ebuild 1158
-MD5 9ecd433893c4d364dace10eab8dca136 ChangeLog 5249
+MD5 9616720e1c5b54693a552d9bbfd30523 hdparm-5.5-r3.ebuild 1286
+MD5 dd0e7a690f033c102c94541febd8537b ChangeLog 5478
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 300982c72dc0f865d5ad6c542e3b6c4c files/digest-hdparm-5.4 61
MD5 f5fc13fdfccb0f5600d45488c6a5d534 files/digest-hdparm-5.5 61
MD5 58b06c855068c6d95b0f665c201d6051 files/hdparm-5.4-readahead_rename.patch 1254
MD5 df34e5b7ce0bd009ea839e6f4de4c23f files/hdparm-conf.d 512
MD5 dce31c3384bc0bf7baa99a850bd9494e files/hdparm-init-2 2126
-MD5 5dda8daa2b2cc613212e412e6a4027c6 files/hdparm-init-4 3387
+MD5 783ef399548a92dd6adee702e3337910 files/hdparm-init-5 3394
MD5 f5fc13fdfccb0f5600d45488c6a5d534 files/digest-hdparm-5.5-r2 61
+MD5 f5fc13fdfccb0f5600d45488c6a5d534 files/digest-hdparm-5.5-r3 61
MD5 4abea303b877a0195402eca02ae7a698 files/hdparm-conf.d.3 488
diff --git a/sys-apps/hdparm/files/digest-hdparm-5.5-r2 b/sys-apps/hdparm/files/digest-hdparm-5.5-r3
index f3fa36d6a5d7..f3fa36d6a5d7 100644
--- a/sys-apps/hdparm/files/digest-hdparm-5.5-r2
+++ b/sys-apps/hdparm/files/digest-hdparm-5.5-r3
diff --git a/sys-apps/hdparm/files/hdparm-init-4 b/sys-apps/hdparm/files/hdparm-init-5
index 0df894d280fc..29e473506d93 100644
--- a/sys-apps/hdparm/files/hdparm-init-4
+++ b/sys-apps/hdparm/files/hdparm-init-5
@@ -25,12 +25,12 @@ depend() {
}
do_hdparm() {
- if [[ ${args:=$all_args} ]]
+ if [ ${args:=$all_args} ]
then
orgdevice=`readlink -f $device`
if [ -b $orgdevice ]; then
ebegin "Running hdparm on $device"
- hdparm -q $args $device || ewarn "Failed to run hdparm on $device"
+ hdparm $args $device > /dev/null || ewarn "Failed to run hdparm on $device"
fi
fi
}
diff --git a/sys-apps/hdparm/hdparm-5.5-r2.ebuild b/sys-apps/hdparm/hdparm-5.5-r3.ebuild
index db4f6747ae0f..be00814b0851 100644
--- a/sys-apps/hdparm/hdparm-5.5-r2.ebuild
+++ b/sys-apps/hdparm/hdparm-5.5-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.5-r2.ebuild,v 1.1 2004/08/03 08:38:19 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-5.5-r3.ebuild,v 1.1 2004/08/04 14:02:08 lanius Exp $
inherit gcc eutils
@@ -34,7 +34,7 @@ src_install() {
dosbin hdparm contrib/idectl || die
exeinto /etc/init.d
- newexe ${FILESDIR}/hdparm-init-4 hdparm
+ newexe ${FILESDIR}/hdparm-init-5 hdparm
insinto /etc/conf.d
newins ${FILESDIR}/hdparm-conf.d.2 hdparm