Updating busybox and fixing its configurator.
svn path=/nixpkgs/trunk/; revision=32998
This commit is contained in:
parent
7b47dea7b0
commit
5ada5e0712
|
@ -3,7 +3,6 @@
|
||||||
let
|
let
|
||||||
configParser = ''
|
configParser = ''
|
||||||
function parseconfig {
|
function parseconfig {
|
||||||
set -x
|
|
||||||
while read LINE; do
|
while read LINE; do
|
||||||
NAME=`echo "$LINE" | cut -d \ -f 1`
|
NAME=`echo "$LINE" | cut -d \ -f 1`
|
||||||
OPTION=`echo "$LINE" | cut -d \ -f 2`
|
OPTION=`echo "$LINE" | cut -d \ -f 2`
|
||||||
|
@ -18,12 +17,11 @@ let
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "parseconfig: removing $NAME"
|
echo "parseconfig: removing $NAME"
|
||||||
sed -i /^$NAME=/d .config
|
sed -i /$NAME'\(=\| \)'/d .config
|
||||||
|
|
||||||
echo "parseconfig: setting $NAME=$OPTION"
|
echo "parseconfig: setting $NAME=$OPTION"
|
||||||
echo "$NAME=$OPTION" >> .config
|
echo "$NAME=$OPTION" >> .config
|
||||||
done
|
done
|
||||||
set +x
|
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -39,11 +37,11 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "busybox-1.19.0";
|
name = "busybox-1.19.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://busybox.net/downloads/${name}.tar.bz2";
|
url = "http://busybox.net/downloads/${name}.tar.bz2";
|
||||||
sha256 = "0332yxvlfv2hbix9n70dyp4xlm2hrk248qqdg006hyfpjsh49kqr";
|
sha256 = "1vhh6xa71w4wzby0f4x357fv6zxvkklmyjc8njgbbzv1v83391cv";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
|
Loading…
Reference in New Issue