Merge pull request #19910 from NeQuissimus/busybox_1_25_1
busybox: 1.24.2 -> 1.25.1
This commit is contained in:
commit
81b0db3915
@ -1,15 +1,14 @@
|
|||||||
Allow BusyBox to be invoked as "<something>-busybox". This is
|
Allow BusyBox to be invoked as "<something>-busybox". This is
|
||||||
necessary when it's run from the Nix store as <hash>-busybox during
|
necessary when it's run from the Nix store as <hash>-busybox during
|
||||||
stdenv bootstrap.
|
stdenv bootstrap.
|
||||||
|
--- busybox-1.25.1-orig/libbb/appletlib.orig 2016-10-26 19:54:20.510957575 -0400
|
||||||
--- busybox-1.24.2-orig/libbb/appletlib.c 2016-03-17 21:35:49.000000000 +0100
|
+++ busybox-1.25.1/libbb/appletlib.c 2016-10-26 19:48:31.590862853 -0400
|
||||||
+++ busybox-1.24.2/libbb/appletlib.c 2016-09-25 08:48:18.293104041 +0200
|
@@ -884,7 +884,7 @@
|
||||||
@@ -779,7 +779,7 @@
|
int applet;
|
||||||
int applet = find_applet_by_name(name);
|
|
||||||
if (applet >= 0)
|
# if ENABLE_BUSYBOX
|
||||||
run_applet_no_and_exit(applet, argv);
|
|
||||||
- if (is_prefixed_with(name, "busybox"))
|
- if (is_prefixed_with(name, "busybox"))
|
||||||
+ if (strstr(name, "busybox") != 0)
|
+ if (strstr(name, "busybox") != 0)
|
||||||
exit(busybox_main(argv));
|
exit(busybox_main(argv));
|
||||||
}
|
# endif
|
||||||
|
/* find_applet_by_name() search is more expensive, so goes second */
|
||||||
|
@ -26,11 +26,11 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "busybox-1.24.2";
|
name = "busybox-1.25.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://busybox.net/downloads/${name}.tar.bz2";
|
url = "http://busybox.net/downloads/${name}.tar.bz2";
|
||||||
sha256 = "0mf8f6ly8yi1fbr15jkyv6hxwh2x800x661rcd11rwsnqqzga7p7";
|
sha256 = "0bm0l8xdjdz3kdyajp8wg27yamsw7r2y88nnrxwvvz984c7pwri7";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];
|
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user