wok-tiny diff busybox/receipt @ rev 132

Up busybox (1.28-20170822)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 22 13:28:07 2017 +0200 (2017-08-22)
parents 395df81fd01f
children a28c45a86936
line diff
     1.1 --- a/busybox/receipt	Thu Apr 13 19:09:32 2017 +0200
     1.2 +++ b/busybox/receipt	Tue Aug 22 13:28:07 2017 +0200
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="busybox"
     1.7 -VERSION="1.26.2"
     1.8 +VERSION="1.28-20170822"
     1.9 +GIT_TAG="753c4045e4f287fc4b4788afd94f58738a7f04b4"
    1.10  CATEGORY="base-system"
    1.11  SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  [ -n "$TARGET" ] || TARGET="i486"
    1.15  DEPENDS="slitaz-base-files"
    1.16 -BUILD_DEPENDS="bzip2 uclibc-cross-compiler-$TARGET"
    1.17 +BUILD_DEPENDS="bzip2 uclibc-cross-compiler-$TARGET wget"
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WEB_SITE="http://www.busybox.net/"
    1.20 -WGET_URL="http://www.busybox.net/downloads/$TARBALL"
    1.21 +WGET_URL="https://git.busybox.net/busybox/snapshot/busybox-$GIT_TAG.tar.bz2"
    1.22  CONFIG_FILES="/etc/dnsd.conf /etc/inetd.conf /etc/udhcpd.conf /etc/resolv.conf"
    1.23  AUTO_SELECTION="never"
    1.24  
    1.25 @@ -21,27 +22,22 @@
    1.26      while read file; do
    1.27      	[ -f done.$file ] && continue
    1.28      	echo "Apply $file..."
    1.29 -    	patch -p1 < $stuff/$PACKAGE-${VERSION%.*}-$file || return 1
    1.30 +    	patch -p1 < $stuff/$PACKAGE-git-$file || return 1
    1.31  	touch done.$file
    1.32      done <<EOT
    1.33 -tar.u
    1.34  stat.u
    1.35  ris.u
    1.36  zmodules.u
    1.37  cmdline.u
    1.38 -diff.u
    1.39 -diet.u
    1.40 -losetup.u
    1.41  fbvnc.u
    1.42  cpio.u
    1.43 -ftpd.u
    1.44 -shutdown.u
    1.45  scriptreplay.u
    1.46 -bug9471.u
    1.47 +ash.u
    1.48  EOT
    1.49      [ $(. $WOK/linux/receipt; printf "%d%02d%02d" ${VERSION//./ }) -le 20626 ] &&
    1.50 +    	echo apply 0001-mdev-create-devices-from-sys-dev.patch &&
    1.51  	patch -p1 -R < $stuff/0001-mdev-create-devices-from-sys-dev.patch
    1.52 -    cp $stuff/$PACKAGE-${VERSION%.*}.config .config
    1.53 +    cp $stuff/$PACKAGE-git.config .config
    1.54      var="CONFIG_CROSS_COMPILER_PREFIX"
    1.55      sed -i "s/.*$var.*/$var=\"uclibc-$TARGET-\"/" .config
    1.56  }
    1.57 @@ -137,7 +133,7 @@
    1.58  
    1.59  	rm -rf $fs/*
    1.60  	cp rootfs.cpio $fs
    1.61 -	cp $stuff/busybox-${VERSION%.*}*config $fs/busybox.config.txt
    1.62 +	cp $stuff/busybox-git.config $fs/busybox.config.txt
    1.63  }
    1.64  
    1.65  # Force glibc-2.7 reinstall if 2.3.6 still in use.