Browse Source

busybox: update to latest stable version

Waldemar Brodkorb 8 years ago
parent
commit
e746ded4dd

+ 3 - 3
package/busybox/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 include $(ADK_TOPDIR)/rules.mk
 
 
 PKG_NAME:=		busybox
 PKG_NAME:=		busybox
-PKG_VERSION:=		1.23.2
-PKG_RELEASE:=		5
-PKG_HASH:=		05a6f9e21aad8c098e388ae77de7b2361941afa7157ef74216703395b14e319a
+PKG_VERSION:=		1.24.1
+PKG_RELEASE:=		1
+PKG_HASH:=		37d03132cc078937360b392170b7a1d0e5b322eee9f57c0b82292a8b1f0afe3d
 PKG_DESCR:=		core utilities for embedded systems
 PKG_DESCR:=		core utilities for embedded systems
 PKG_SECTION:=		base/apps
 PKG_SECTION:=		base/apps
 PKG_BUILDDEP:=		bzip2-host
 PKG_BUILDDEP:=		bzip2-host

+ 1 - 1
package/busybox/config/Config.in

@@ -266,7 +266,7 @@ config BUSYBOX_PAM
 config BUSYBOX_FEATURE_USE_SENDFILE
 config BUSYBOX_FEATURE_USE_SENDFILE
 	bool "Use sendfile system call"
 	bool "Use sendfile system call"
 	default y
 	default y
-	select PLATFORM_LINUX
+	select BUSYBOX_PLATFORM_LINUX
 	help
 	help
 	  When enabled, busybox will use the kernel sendfile() function
 	  When enabled, busybox will use the kernel sendfile() function
 	  instead of read/write loops to copy data between file descriptors
 	  instead of read/write loops to copy data between file descriptors

+ 10 - 0
package/busybox/config/archival/Config.in

@@ -218,6 +218,16 @@ config BUSYBOX_LZOP_COMPR_HIGH
 	  are actually slower than gzip at equivalent compression ratios
 	  are actually slower than gzip at equivalent compression ratios
 	  and take up 3.2K of code.
 	  and take up 3.2K of code.
 
 
+config BUSYBOX_FEATURE_GZIP_LEVELS
+	bool "Enable compression levels"
+	default n
+	depends on BUSYBOX_GZIP
+	help
+	  Enable support for compression levels 4-9. The default level
+	  is 6. If levels 1-3 are specified, 4 is used.
+	  If this option is not selected, -N options are ignored and -9
+	  is used.
+
 config BUSYBOX_IPKG
 config BUSYBOX_IPKG
 	bool "ipkg"
 	bool "ipkg"
 	default n
 	default n

+ 30 - 0
package/busybox/config/coreutils/Config.in

@@ -148,6 +148,13 @@ config BUSYBOX_FEATURE_TR_EQUIV
 	  useful for cases when no other way of expressing a character
 	  useful for cases when no other way of expressing a character
 	  is possible.
 	  is possible.
 
 
+config BUSYBOX_TRUNCATE
+	bool "truncate"
+	default n
+	help
+	  truncate truncates files to a given size. If a file does
+	  not exist, it is created unless told otherwise.
+
 config BUSYBOX_UNLINK
 config BUSYBOX_UNLINK
 	bool "unlink"
 	bool "unlink"
 	default y
 	default y
@@ -292,6 +299,13 @@ config BUSYBOX_FEATURE_DD_IBS_OBS
 	  Enables support for writing a certain number of bytes in and out,
 	  Enables support for writing a certain number of bytes in and out,
 	  at a time, and performing conversions on the data stream.
 	  at a time, and performing conversions on the data stream.
 
 
+config BUSYBOX_FEATURE_DD_STATUS
+	bool "Enable status display options"
+	default n
+	depends on BUSYBOX_DD
+	help
+	  Enables support for status=noxfer/none option.
+
 config BUSYBOX_DF
 config BUSYBOX_DF
 	bool "df"
 	bool "df"
 	default y
 	default y
@@ -782,6 +796,14 @@ config BUSYBOX_SYNC
 	help
 	help
 	  sync is used to flush filesystem buffers.
 	  sync is used to flush filesystem buffers.
 
 
+config BUSYBOX_FEATURE_SYNC_FANCY
+	bool "Enable -d and -f flags (requres syncfs(2) in libc)"
+	default n
+	depends on BUSYBOX_SYNC
+	help
+	  sync -d FILE... executes fdatasync() on each FILE.
+	  sync -f FILE... executes syncfs() on each FILE.
+
 config BUSYBOX_TAC
 config BUSYBOX_TAC
 	bool "tac"
 	bool "tac"
 	default y
 	default y
@@ -840,6 +862,14 @@ config BUSYBOX_UNAME
 	help
 	help
 	  uname is used to print system information.
 	  uname is used to print system information.
 
 
+config BUSYBOX_UNAME_OSNAME
+	string "Operating system name"
+	default "GNU/Linux"
+	depends on BUSYBOX_UNAME
+	help
+	  Sets the operating system name reported by uname -o.  The
+	  default is "GNU/Linux".
+
 config BUSYBOX_UNEXPAND
 config BUSYBOX_UNEXPAND
 	bool "unexpand"
 	bool "unexpand"
 	default y
 	default y

+ 36 - 0
package/busybox/config/miscutils/Config.in

@@ -16,6 +16,34 @@ config BUSYBOX_CONSPY
 	  or        conspy -nd NUM  screenshot of console num
 	  or        conspy -nd NUM  screenshot of console num
 	  or        conspy -cs NUM  poor man's GNU screen like
 	  or        conspy -cs NUM  poor man's GNU screen like
 
 
+config BUSYBOX_I2CGET
+	bool "i2cget"
+	default y
+	select BUSYBOX_PLATFORM_LINUX
+	help
+	  Read from I2C/SMBus chip registers.
+
+config BUSYBOX_I2CSET
+	bool "i2cset"
+	default y
+	select BUSYBOX_PLATFORM_LINUX
+	help
+	  Set I2C registers.
+
+config BUSYBOX_I2CDUMP
+	bool "i2cdump"
+	default y
+	select BUSYBOX_PLATFORM_LINUX
+	help
+	  Examine I2C registers.
+
+config BUSYBOX_I2CDETECT
+	bool "i2cdetect"
+	default y
+	select BUSYBOX_PLATFORM_LINUX
+	help
+	  Detect I2C chips.
+
 config BUSYBOX_LESS
 config BUSYBOX_LESS
 	bool "less"
 	bool "less"
 	depends on !BUSYBOX_DISABLE_LESS
 	depends on !BUSYBOX_DISABLE_LESS
@@ -44,6 +72,14 @@ config BUSYBOX_FEATURE_LESS_FLAGS
 	help
 	help
 	  The -M/-m flag enables a more sophisticated status line.
 	  The -M/-m flag enables a more sophisticated status line.
 
 
+config BUSYBOX_FEATURE_LESS_TRUNCATE
+	bool "Enable -S"
+	default y
+	depends on BUSYBOX_LESS
+	help
+	  The -S flag causes long lines to be truncated rather than
+	  wrapped.
+
 config BUSYBOX_FEATURE_LESS_MARKS
 config BUSYBOX_FEATURE_LESS_MARKS
 	bool "Enable marks"
 	bool "Enable marks"
 	default y
 	default y

+ 49 - 0
package/busybox/config/networking/Config.in

@@ -635,6 +635,13 @@ config BUSYBOX_FEATURE_IP_ROUTE
 	help
 	help
 	  Add support for routing table management to "ip".
 	  Add support for routing table management to "ip".
 
 
+config BUSYBOX_FEATURE_IP_ROUTE_DIR
+	string "ip route configuration directory"
+	default "/etc/iproute2"
+	depends on BUSYBOX_FEATURE_IP_ROUTE
+	help
+	  Location of the "ip" applet routing configuration.
+
 config BUSYBOX_FEATURE_IP_TUNNEL
 config BUSYBOX_FEATURE_IP_TUNNEL
 	bool "ip tunnel"
 	bool "ip tunnel"
 	default y
 	default y
@@ -1093,6 +1100,48 @@ config BUSYBOX_FEATURE_WGET_TIMEOUT
 	  connection initialization).  When FEATURE_WGET_LONG_OPTIONS is
 	  connection initialization).  When FEATURE_WGET_LONG_OPTIONS is
 	  also enabled, the --timeout option will work in addition to -T.
 	  also enabled, the --timeout option will work in addition to -T.
 
 
+config BUSYBOX_FEATURE_WGET_OPENSSL
+	bool "Try to connect to HTTPS using openssl"
+	default y
+	depends on BUSYBOX_WGET
+	help
+	  Choose how wget establishes SSL connection for https:// URLs.
+
+	  Busybox itself contains no SSL code. wget will spawn
+	  a helper program to talk over HTTPS.
+
+	  OpenSSL has a simple SSL client for debug purposes.
+	  If you select "openssl" helper, wget will effectively call
+	  "openssl s_client -quiet -connect IP:443 2>/dev/null"
+	  and pipe its data through it.
+	  Note inconvenient API: host resolution is done twice,
+	  and there is no guarantee openssl's idea of IPv6 address
+	  format is the same as ours.
+	  Another problem is that s_client prints debug information
+	  to stderr, and it needs to be suppressed. This means
+	  all error messages get suppressed too.
+	  openssl is also a big binary, often dynamically linked
+	  against ~15 libraries.
+
+config BUSYBOX_FEATURE_WGET_SSL_HELPER
+	bool "Try to connect to HTTPS using ssl_helper"
+	default y
+	depends on BUSYBOX_WGET
+	help
+	  Choose how wget establishes SSL connection for https:// URLs.
+
+	  Busybox itself contains no SSL code. wget will spawn
+	  a helper program to talk over HTTPS.
+
+	  ssl_helper is a tool which can be built statically
+	  from busybox sources against a small embedded SSL library.
+	  Please see networking/ssl_helper/README.
+	  It does not require double host resolution and emits
+	  error messages to stderr.
+
+	  Precompiled static binary may be available at
+	  http://busybox.net/downloads/binaries/
+
 config BUSYBOX_ZCIP
 config BUSYBOX_ZCIP
 	bool "zcip"
 	bool "zcip"
 	default n
 	default n

+ 18 - 3
package/busybox/config/util-linux/Config.in

@@ -15,14 +15,14 @@ config BUSYBOX_BLOCKDEV
 config BUSYBOX_FATATTR
 config BUSYBOX_FATATTR
 	bool "fatattr"
 	bool "fatattr"
 	default n
 	default n
-	select PLATFORM_LINUX
+	select BUSYBOX_PLATFORM_LINUX
 	help
 	help
 	  fatattr lists or changes the file attributes on a fat file system.
 	  fatattr lists or changes the file attributes on a fat file system.
 
 
 config BUSYBOX_FSTRIM
 config BUSYBOX_FSTRIM
 	bool "fstrim"
 	bool "fstrim"
 	default n
 	default n
-	select PLATFORM_LINUX
+	select BUSYBOX_PLATFORM_LINUX
 	help
 	help
 	  Discard unused blocks on a mounted filesystem.
 	  Discard unused blocks on a mounted filesystem.
 
 
@@ -90,6 +90,14 @@ config BUSYBOX_REV
 	help
 	help
 	  Reverse lines of a file or files.
 	  Reverse lines of a file or files.
 
 
+config BUSYBOX_UEVENT
+	bool "uevent"
+	default y
+	select BUSYBOX_PLATFORM_LINUX
+	help
+	  uevent is a netlink listener for kernel uevent notifications
+	  sent via netlink. It is usually used for dynamic device creation.
+
 config BUSYBOX_ACPID
 config BUSYBOX_ACPID
 	bool "acpid"
 	bool "acpid"
 	default n
 	default n
@@ -333,7 +341,7 @@ config BUSYBOX_FSCK_MINIX
 config BUSYBOX_MKFS_EXT2
 config BUSYBOX_MKFS_EXT2
 	bool "mkfs_ext2"
 	bool "mkfs_ext2"
 	default n
 	default n
-	select PLATFORM_LINUX
+	select BUSYBOX_PLATFORM_LINUX
 	help
 	help
 	  Utility to create EXT2 filesystems.
 	  Utility to create EXT2 filesystems.
 
 
@@ -610,6 +618,13 @@ config BUSYBOX_FEATURE_MOUNT_FSTAB
 	help
 	help
 	  Support mount all and looking for files in /etc/fstab.
 	  Support mount all and looking for files in /etc/fstab.
 
 
+config BUSYBOX_FEATURE_MOUNT_OTHERTAB
+	depends on BUSYBOX_FEATURE_MOUNT_FSTAB
+	bool "Support -T <alt_fstab>"
+	default n
+	help
+	  Support mount -T (specifying an alternate fstab)
+
 config BUSYBOX_PIVOT_ROOT
 config BUSYBOX_PIVOT_ROOT
 	bool "pivot_root"
 	bool "pivot_root"
 	default n
 	default n

File diff suppressed because it is too large
+ 220 - 623
package/busybox/patches/001-ipkg.patch


Some files were not shown because too many files changed in this diff