wok diff busybox-boot/receipt @ rev 19686

Up opus (1.1.4) CVE-2017-0381
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 16:39:41 2017 +0100 (2017-02-12)
parents 9c81bcc2a3b7
children 82be380ad907
line diff
     1.1 --- a/busybox-boot/receipt	Wed Jan 11 10:36:15 2017 +0100
     1.2 +++ b/busybox-boot/receipt	Sun Feb 12 16:39:41 2017 +0100
     1.3 @@ -6,10 +6,10 @@
     1.4  SHORT_DESC="Many common UNIX utilities for core-5in1/boot flavor."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WANTED="busybox"
     1.8  WEB_SITE="http://www.busybox.net/"
     1.9  CONFIG_FILES=""
    1.10  
    1.11 +WANTED="busybox"
    1.12  DEPENDS="linux syslinux"
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 @@ -20,8 +20,10 @@
    1.16  	CHOICE=static
    1.17  	for i in uclibc musl diet ; do
    1.18  		[ -x $src/busybox-$i ] || continue
    1.19 -		[ $(stat -c %s $src/busybox-$i) -lt \
    1.20 -	          $(stat -c %s $src/busybox-$CHOICE) ] &&
    1.21 +		[ -x $src/busybox-$CHOICE ] &&
    1.22 +			[ $(stat -c %s $src/busybox-$i) -ge \
    1.23 +			  $(stat -c %s $src/busybox-$CHOICE) ] &&
    1.24 +			continue
    1.25  		CHOICE=$i
    1.26  	done
    1.27  	cp -a $src/busybox-$CHOICE $fs/usr/share/boot/bin/busybox