Accepting request 34520 from home:mseben:branches:Base:System

Copy from home:mseben:branches:Base:System/hdparm via accept of submit request 34520 revision 4.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/34520
OBS-URL: https://build.opensuse.org/package/show/Base:System/hdparm?expand=0&rev=14
This commit is contained in:
Michal Seben 2010-03-10 16:55:38 +00:00 committed by Git OBS Bridge
parent a9275de812
commit e939e94c00
7 changed files with 25 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dde7862d5b2be79fe1013cf29a511f929225d8712e87de765e57b8555d48afa2
size 97138

3
hdparm-9.28.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2c2b3fdcf439a685a35ef31db6d23378260e5f3f8aa201127c2d7a8777eb033
size 97861

View File

@ -1,9 +1,8 @@
Index: hdparm-9.27/wiper-2.3/wiper.sh Index: hdparm-9.28/wiper/wiper.sh
=================================================================== ===================================================================
--- hdparm-9.27.orig/wiper-2.3/wiper.sh --- hdparm-9.28.orig/wiper/wiper.sh
+++ hdparm-9.27/wiper-2.3/wiper.sh +++ hdparm-9.28/wiper/wiper.sh
@@ -42,8 +42,11 @@ function find_prog(){ @@ -41,6 +41,9 @@ function usage_error(){
}
echo echo
echo "${0##*/}: Linux SATA SSD TRIM utility, version $VERSION, by Mark Lord." echo "${0##*/}: Linux SATA SSD TRIM utility, version $VERSION, by Mark Lord."
@ -11,6 +10,5 @@ Index: hdparm-9.27/wiper-2.3/wiper.sh
+echo "${0##*/}: /usr/share/doc/packages/hdparm/README.wiper" +echo "${0##*/}: /usr/share/doc/packages/hdparm/README.wiper"
+echo "${0##*/}: before going any further." +echo "${0##*/}: before going any further."
## Ensure we have most of the necessary utilities available before trying to proceed: export verbose=0
## commit=""
hash -r ## Refresh bash's cached PATH entries

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 10 11:35:42 UTC 2010 - mseben@novell.com
Update to hdparm-9.28:
* check for EBADE for IDE/ATAPI compatibility with recent kernels
* always issue both methods when setting DVD speed with -E
* use /usr/sbin/rdev to find rootdev in wiper.sh
* fix reporting of Sector-0 offset, from Martin Petersen
* first crack at decoding the "WD Idle3" vendor-unique command (disabled by default)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 16 17:12:55 CEST 2009 - mseben@novell.com Wed Sep 16 17:12:55 CEST 2009 - mseben@novell.com

View File

@ -24,16 +24,16 @@ Group: Hardware/Other
PreReq: %insserv_prereq %fillup_prereq coreutils PreReq: %insserv_prereq %fillup_prereq coreutils
Provides: base:/sbin/hdparm Provides: base:/sbin/hdparm
AutoReqProv: on AutoReqProv: on
Version: 9.27 Version: 9.28
Release: 1 Release: 1
Summary: A Program to Get and Set Hard Disk Parameters Summary: A Program to Get and Set Hard Disk Parameters
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: 56-idedma.rules Source1: 56-idedma.rules
Source2: sysconfig.ide Source2: sysconfig.ide
Source3: udev.idedma.sh Source3: udev.idedma.sh
Patch1: %{name}-9.22-nostrip.patch Patch1: %{name}-nostrip.patch
Patch2: wiper-warn.diff Patch2: %{name}-wiper-warn.patch
Patch3: hdparm-9.22-leak-fix.patch Patch3: %{name}-leak-fix.patch
Url: http://sourceforge.net/projects/hdparm/ Url: http://sourceforge.net/projects/hdparm/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -55,7 +55,7 @@ Authors:
%build %build
make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS= make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS=
cp -p wiper-2.3/README.txt README.wiper cp -p wiper/README.txt README.wiper
%install %install
mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/sbin
@ -70,7 +70,7 @@ install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh
install -d $RPM_BUILD_ROOT/usr/lib/hdparm install -d $RPM_BUILD_ROOT/usr/lib/hdparm
install -m 755 contrib/idectl $RPM_BUILD_ROOT/usr/lib/hdparm install -m 755 contrib/idectl $RPM_BUILD_ROOT/usr/lib/hdparm
install -m 755 contrib/ultrabayd $RPM_BUILD_ROOT/usr/lib/hdparm install -m 755 contrib/ultrabayd $RPM_BUILD_ROOT/usr/lib/hdparm
install -m 755 wiper-2.3/wiper.sh $RPM_BUILD_ROOT/sbin install -m 755 wiper/wiper.sh $RPM_BUILD_ROOT/sbin
%post %post
if [ -f etc/sysconfig/hardware ] ; then if [ -f etc/sysconfig/hardware ] ; then