commit hdparm for openSUSE:Factory
Hello community, here is the log from the commit of package hdparm for openSUSE:Factory checked in at 2014-11-26 10:35:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hdparm (Old) and /work/SRC/openSUSE:Factory/.hdparm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "hdparm" Changes: -------- --- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes 2014-10-01 11:22:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hdparm.new/hdparm.changes 2014-11-26 10:35:28.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Nov 17 02:21:00 UTC 2014 - Led <ledest@gmail.com> + +- fix bashisms in ultrabayd and udev.idedma.sh scripts +- add patches: + * hdparm-9.43-fix-bashisms.patch + +------------------------------------------------------------------- New: ---- hdparm-9.43-fix-bashisms.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hdparm.spec ++++++ --- /var/tmp/diff_new_pack.LSKsMt/_old 2014-11-26 10:35:29.000000000 +0100 +++ /var/tmp/diff_new_pack.LSKsMt/_new 2014-11-26 10:35:29.000000000 +0100 @@ -31,6 +31,7 @@ Patch1: hdparm-nostrip.patch Patch2: hdparm-wiper-warn.patch Patch3: hdparm-leak-fix.patch +Patch4: hdparm-9.43-fix-bashisms.patch BuildRequires: pkgconfig BuildRequires: pkgconfig(udev) Url: http://sourceforge.net/projects/hdparm/ @@ -48,6 +49,7 @@ %patch1 %patch2 -p1 %patch3 +%patch4 -p1 %build make CFLAGS="$RPM_OPT_FLAGS -Wall -Wstrict-prototypes" LDFLAGS= CC="%{__cc}" ++++++ hdparm-9.43-fix-bashisms.patch ++++++ diff -Ndur hdparm-9.43/contrib/ultrabayd hdparm-9.43-fix-bashisms/contrib/ultrabayd --- hdparm-9.43/contrib/ultrabayd 2000-02-04 22:30:30.000000000 +0200 +++ hdparm-9.43-fix-bashisms/contrib/ultrabayd 2014-11-17 04:17:08.381048316 +0200 @@ -41,7 +41,7 @@ END if [ "$d_type" != "$o_d_type" ] || [ "$d_id" != "$o_d_id" ]; then - echo -n "\07" > /dev/tty1 + printf "\07" > /dev/tty1 o_d_type="$d_type" o_d_id="$d_id" ++++++ udev.idedma.sh ++++++ --- /var/tmp/diff_new_pack.LSKsMt/_old 2014-11-26 10:35:29.000000000 +0100 +++ /var/tmp/diff_new_pack.LSKsMt/_new 2014-11-26 10:35:29.000000000 +0100 @@ -35,15 +35,16 @@ IFS=":" for d in $dev ; do - case $((FIRST++)) in + case $FIRST in 0) DEVICE=$d ;; 1) MODE=$d ;; *) OPTIONS="$OPTIONS$d:" esac + FIRST=$((FIRST + 1)) done unset d - if [ "$DEVICE" == "$1" ] ; then + if [ "$DEVICE" = "$1" ] ; then echo "$DEVICE: setting up IDE DMA mode $MODE" # Set DMA mode by hdparm utility -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de