aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox
Commit message (Collapse)AuthorAgeFilesLines
* busybox: fix issues with the ip command on mips64Felix Fietkau2016-06-211-0/+75
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-195-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image / basefiles: make console password configurableluka2016-06-191-2/+2
| | | | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix setting the kernel timezoneLuka Perkov2016-06-191-10/+14
| | | | | | | | | | | | The settimeofday() syscall wrapper provided by musl filters out the timezone argument, breaking the ability to set the kernel timezone through the function. Adjust busybox patch to issue the syscall directly in order to circumvent the problem. Signed-off-by: Jo-Philipp Wich <jo@mein.io> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to 1.24.2Hauke Mehrtens2016-04-171-3/+3
| | | | | | | | | Signed-off-by: Magnus Kroken <mkroken@gmail.com> [remove Kconfig changes] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix broken default for FEATURE_IP_ROUTE_DIR (#21845)Jo-Philipp Wich2016-02-122-3/+3
| | | | | | | | | | | | | Changeset r47775 introduced a wrong default value "n" for the ip applets config search path, breaking the handling of named routing tables and other objects having alias configurations. Fix the issue by providing a proper default value aligned with the value used by full iproute2. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix route tables in ip rule show outputFelix Fietkau2016-02-071-0/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: disable timestamp in versionFelix Fietkau2016-01-281-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: depend on uclient-fetch, disable busybox wgetFelix Fietkau2016-01-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix broken IPv6 address displaying in ifconfigFelix Fietkau2016-01-181-0/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: adjust convert_menuconfig.pl to emit relative path references for ↵Felix Fietkau2016-01-034-24/+24
| | | | | | | | Config.in files and refresh generated files Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix handling of special characters in path when converting menuconfigFelix Fietkau2016-01-031-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: Update config for 1.24.1Felix Fietkau2015-12-057-235/+412
| | | | | | | | | | | | | | | | r47288 updated to Busybox 1.24.1 but did not update the configuration. The configuration is updated by running cd config ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1 cd .. ./convert_defaults.pl < .../build_dir/target-*/busybox-1.24.1/.config > \ Config-defaults.in Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: enable ip rule support by default (required for dealing with route ↵Felix Fietkau2015-11-041-1/+1
| | | | | | | | | | tables) Adds about 1.2k gzip-compressed Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: enable find mtime support by defaultFelix Fietkau2015-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | busybox binary in openwrt neither supports stat nor find mtime. This patch adds find mtime support by default. I've compared ipk size for three different targets (ar71xx, brcm2708, x86): 209908 Okt 16 13:48 busybox_1.23.2-3_ar71xx.ipk-0before 210031 Okt 16 16:47 busybox_1.23.2-3_ar71xx.ipk-1after difference: +123 Byte 223519 Okt 16 13:06 busybox_1.23.2-3_brcm2708.ipk-0before 223720 Okt 16 13:53 busybox_1.23.2-3_brcm2708.ipk-1after difference: +201 Byte 221477 Okt 16 13:47 busybox_1.23.2-3_x86_64.ipk-0before 221622 Okt 16 13:52 busybox_1.23.2-3_x86_64.ipk-1after difference: +145 Byte Signed-off-by: Dirk Brenken <dirk@brenken.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix non-portable invocation of mktempFelix Fietkau2015-10-301-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to version 1.24.1Felix Fietkau2015-10-3012-198/+19
| | | | | | | | | | | | | Patches applied upstream and dropped: 280-fix_find_regression.patch 300-ip-addr-improvements.patch Fixed upstream: 290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html) Signed-off-by: Magnus Kroken <mkroken@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: lock: implement -n "Fail rather than wait"Felix Fietkau2015-09-091-2/+11
| | | | | | | | | | | | | | | | | | lock -n is similiar to flock -n. If the lock was already taken, fail with exit code = 1 and write error message to stderr. example: if ! lock -n /tmp/foo ; then echo lock exits. else echo lock was free. But is locked now. fi > lock was free. But is locked now. > lock exists. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix ip applet and netlink behaviorSteven Barth2015-09-094-2/+86
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: improve applets & deprecate ifconfig, routeSteven Barth2015-09-082-10/+10
| | | | | | | | | | added: ip addr, ip route, ip link, traceroute6 removed: hostid, devmem, vconfig, arping deprecated (to be removed): ifconfig, route Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Disable telnet in favor of passwordless SSHSteven Barth2015-09-073-43/+4
| | | | | | | | | | This enables passworldless login for root via SSH whenever no root password is set (e.g. after reset, flashing without keeping config or in failsafe) and removes telnet support alltogether. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix an ash regression in handling local variablesFelix Fietkau2015-04-171-0/+75
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq ↵Felix Fietkau2015-04-111-1/+1
| | | | | | | | relies on it Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix regression in handling non-existant find path arguments (#19439)Felix Fietkau2015-04-091-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to version 1.23.2Felix Fietkau2015-04-0428-342/+307
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-151-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BusyBox: Netcat 1.10 compatibility require server optionJohn Crispin2015-03-132-3/+4
| | | | | | | | | | | Netcat 1.10 compatibility require server options 1.10 compatibility without server option produce error "NO OPT l!" and completely not function Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: Minor fix for glibc 2.21 compatibilityJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: Jeff Waugh <jdub@bethesignal.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+26
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: include config files relative to the main Config.in (#18522)Jo-Philipp Wich2014-12-121-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ntp: add hotplug class for ntp-eventsSteven Barth2014-11-283-1/+7
| | | | | | | | Based on a patch by Luiz Angelo Daros de Luca Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: turn on BUSYBOX_DEFAULT_FEATURE_SH_NOFORK to slightly improve ↵Felix Fietkau2014-11-231-1/+1
| | | | | | | | performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: add 2 upstream fixesNicolas Thill2014-11-063-1/+119
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* license info - revert r43155John Crispin2014-11-031-1/+1
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-1/+1
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: make high ASCII chars printable (#7993)Jo-Philipp Wich2014-10-272-1/+21
| | | | | | | | | | | | Currently busybox utils like "ls" fail to display filenames containing UTF-8 characters, replacing any special characters with "?". Change libbb's printable_string() function to allow high ASCII characters so that unicode filenames are displayed correctls. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove validation message from bootupSteven Barth2014-10-021-1/+1
| | | | | | | | | | | | A message: uinteger - 9 = true is displayed during boot. This is the result of the validate_data command checking the cron log level. As the output is not interesting, only the result, filter... Signed-off-by: Michel Stam <m.stam@fugro.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: Fix pam_start link errors when PAM support is enabledJohn Crispin2014-08-181-2/+8
| | | | | | | | | | Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include: login.c:(.text.login_main+0x122): undefined reference to `pam_start' Signed-off-by: Stephen Parry <sgparry@mainscreen.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix validation in sysntpd init scriptLuka Perkov2014-06-301-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packagesFelix Fietkau2014-06-301-0/+1
| | | | | | | | The idea is to gradually fix the packages Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: use ntp enabled config optionJohn Crispin2014-06-272-4/+6
| | | | | | | | | Even if enabled option is missing from ntp configuration we are still keeping default behavior. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove redundant 6rd-patchSteven Barth2014-05-291-18/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: udhcpc source IP rebind patchSteven Barth2014-05-291-0/+53
| | | | | | | | | | | | Patch sets the source IP address of DHCP request messages during rebind to the IP address assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release messages. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: add back missing crond config changeFelix Fietkau2014-05-251-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to 1.22.1Felix Fietkau2014-05-2561-3076/+1068
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove obsolete httpd patchesFelix Fietkau2014-05-254-157/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove obsolete insmod patchesFelix Fietkau2014-05-252-170/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: drop a udhcpc patch that has been superseded by upstream changes a ↵Felix Fietkau2014-05-251-99/+0
| | | | | | | | long time ago Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40849 3c298f89-4303-0410-b956-a3cf2f4a3e73