Hello community, here is the log from the commit of package hdparm for openSUSE:Factory checked in at Thu Mar 11 01:40:15 CET 2010. -------- --- hdparm/hdparm.changes 2009-09-16 17:14:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/hdparm/hdparm.changes 2010-03-10 12:50:00.000000000 +0100 @@ -1,0 +2,10 @@ +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) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- hdparm-9.22-leak-fix.patch hdparm-9.22-nostrip.patch hdparm-9.27.tar.bz2 wiper-warn.diff New: ---- hdparm-9.28.tar.bz2 hdparm-leak-fix.patch hdparm-nostrip.patch hdparm-wiper-warn.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hdparm.spec ++++++ --- /var/tmp/diff_new_pack.zlOaGJ/_old 2010-03-11 01:39:36.000000000 +0100 +++ /var/tmp/diff_new_pack.zlOaGJ/_new 2010-03-11 01:39:36.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package hdparm (Version 9.27) +# spec file for package hdparm (Version 9.28) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,16 +24,16 @@ PreReq: %insserv_prereq %fillup_prereq coreutils Provides: base:/sbin/hdparm AutoReqProv: on -Version: 9.27 +Version: 9.28 Release: 1 Summary: A Program to Get and Set Hard Disk Parameters Source: %{name}-%{version}.tar.bz2 Source1: 56-idedma.rules Source2: sysconfig.ide Source3: udev.idedma.sh -Patch1: %{name}-9.22-nostrip.patch -Patch2: wiper-warn.diff -Patch3: hdparm-9.22-leak-fix.patch +Patch1: %{name}-nostrip.patch +Patch2: %{name}-wiper-warn.patch +Patch3: %{name}-leak-fix.patch Url: http://sourceforge.net/projects/hdparm/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,7 +55,7 @@ %build 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 mkdir -p $RPM_BUILD_ROOT/sbin @@ -70,7 +70,7 @@ install -d $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 wiper-2.3/wiper.sh $RPM_BUILD_ROOT/sbin +install -m 755 wiper/wiper.sh $RPM_BUILD_ROOT/sbin %post if [ -f etc/sysconfig/hardware ] ; then ++++++ hdparm-9.27.tar.bz2 -> hdparm-9.28.tar.bz2 ++++++ ++++ 2643 lines of diff (skipped) ++++++ hdparm-leak-fix.patch ++++++ --- hdparm.c.old 2009-08-02 22:08:56.000000000 +0200 +++ hdparm.c 2009-09-17 09:57:44.000000000 +0200 @@ -880,7 +880,7 @@ { __u64 start_lba; int i, err, shortened = 0; - char *fdevname = strdup(devname); + char *fdevname = strdupa(devname); err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL); if (err) @@ -891,7 +891,7 @@ } if (!shortened) - fdevname = strdup("the full disk"); + fdevname = strdupa("the full disk"); if (start_lba == 0ULL) return 0; ++++++ hdparm-nostrip.patch ++++++ --- ./Makefile +++ ./Makefile @@ -14 +13,0 @@ CC ?= gcc -STRIP ?= strip @@ -31 +29,0 @@ hdparm: hdparm.h sgio.h $(OBJS) - $(STRIP) hdparm ++++++ hdparm-wiper-warn.patch ++++++ Index: hdparm-9.28/wiper/wiper.sh =================================================================== --- hdparm-9.28.orig/wiper/wiper.sh +++ hdparm-9.28/wiper/wiper.sh @@ -41,6 +41,9 @@ function usage_error(){ echo echo "${0##*/}: Linux SATA SSD TRIM utility, version $VERSION, by Mark Lord." +echo "${0##*/}: This tool is DANGEROUS! Please read and understand" +echo "${0##*/}: /usr/share/doc/packages/hdparm/README.wiper" +echo "${0##*/}: before going any further." export verbose=0 commit="" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org