aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/patches
Commit message (Collapse)AuthorAgeFilesLines
* busybox: backport 'ip rule suppress_{prefixlength, ifgroup}'Stefan Tomanek2017-12-131-0/+145
| | | | | | | | | This is a backport from the busybox repository (192dce4b84fb32346ebc5194de7daa5da3b8d1b4); it enables the use of the suppress_{prefixlength,ifgroup} flags for policy routing rules. Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de> (cherry picked from commit de6ff1512955953e56735896c044c7aac97e14d9)
* busybox: nslookup_lede: mimic output format of old Busybox appletJo-Philipp Wich2017-04-271-21/+60
| | | | | | | | | | | | | When invoking "nslookup_lede" with a domain argument and without explicit query type, issue both A and AAAA queries and display the resulting IP addresses in a numbered list style, similar to how the old BusyBox nslookup used to output the records. This is required for compatibility with certain scripts. Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: nslookup_lede: fix compatibility with v1.25Jo-Philipp Wich2017-04-271-5/+6
| | | | | | | | | | | | | | The ":*" optstring syntax was only recently introduced with BusyBox v1.26, older versions need a corresponding hint in the "opt_complementary" variable to denote flag values that should be stored as llist entries. Add the required opt_complementary entry to fix random SIGBUS, SIGILL or SIGSEGV related crashes on BusyBox 1.25.x when attempting to use the "-q" flag of the "nslookup_lede" applet. Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: fix build of nslookup_lede applet without IPv6 (#728)Jo-Philipp Wich2017-04-211-9/+33
| | | | | | | | | Protect any IPv6 related with appropriate guards to fix compilation with disabled IPv6 support in Busybox. Fixes #728. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: Move libresolv detection to LEDE MakefileFlorian Fainelli2017-04-211-18/+0
| | | | | | | | | | | Since the LEDE nslookup applet is already specific to LEDE, move the libresolv detection into the busybox Makefile that LEDE uses. This fixes builds with external toolchains that don't automatically search for headers and/or libraries without being told so. Fixes: de5b8e5d2fe1 ("busybox: add musl compatible nslookup replacement") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* busybox: add musl compatible nslookup replacementJo-Philipp Wich2017-04-151-0/+914
| | | | | | | | | | Add an alternative nslookup applet implementation which is compatible with musl libc wrt. name server selection and which supports a number of additional features such as query type selection. Fixes #155, #217 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: vi: backporting patches to fix ZZ and :x commandYousong Zhou2017-03-252-0/+153
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* busybox: add upstream patch to fix send_to_fromStijn Tintel2016-10-151-0/+37
| | | | | | | This fixes ntpd when queries are sent to secondary IPv4 IP addresses. See https://bugs.busybox.net/show_bug.cgi?id=9146 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* busybox: update to version 1.25.1Stijn Tintel2016-10-154-77/+2
| | | | | | | | | Dropped upstream patches: 000-busybox-1.25.0-gzip.patch 000-busybox-1.25.0-ip.patch 000-busybox-1.25.0-ntpd.patch Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* busybox: v1.25.0 upstream patchesKevin Darbyshire-Bryant2016-09-273-0/+75
| | | | | | Include upstream patches for gzip, ip & ntpd. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* iproute: properly support high routing table IDsJo-Philipp Wich2016-09-272-23/+486
| | | | | | | | | | | | | | | | | | | | | The Linux kernel uses two distinct fields to denote the routing table ID in use by network routes; the 8 bit `rtm_table` member of `struct rtmsg` and the 32 bit `RTA_TABLE` netlink attribute. If a routing table ID is larger than 255, the `RT_TABLE` attribute must be used and the `rtm_table` field has to be set to the special `RT_TABLE_UNSPEC` value. This commit adds a patch which... - switches the *_n2a() and *_a2n() functions of rt_names.c to use dynamically sized, name-sorted arrays instead of fixed arrays limited to 1024 slots in order to support IDs up to 65535 - adds proper handling of high table IDs to iprule.c and iproute.c when adding, removing and dumping ip rules and network routes After this change, the Busybox ip applet fully supports IP rules with high ID numbers, using the same logic as the full iproute2. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: update to version 1.25.0Hauke Mehrtens2016-09-2015-234/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches were removed: 010-networking-fix-uninitialized-memory-when-displaying-.patch https://git.busybox.net/busybox/commit/?id=f2c043acfcf9dad9fd3d65821b81f89986bbe54e 030-ip-fix-problem-on-mips64-n64-big-endian-musl-systems.patch https://git.busybox.net/busybox/commit/?id=4ab372d49a6e82b0bf097dedb96d26330c5f2d5f 204-udhcpc_src_ip_rebind.patch https://git.busybox.net/busybox/commit/?id=abe8f7515aded80889d78c2c1c8947997918cf90 230-ntpd_delayed_resolve.patch https://git.busybox.net/busybox/commit/?id=c8641962e4cbde48108ddfc1c105e3320778190d https://git.busybox.net/busybox/commit/?id=e4caf1dd9ce8569371a0eeb77ccf02a572dc0f11 260-arping_missing_includes.patch Not needed any more, still builds with musl for me. Add in 92fd6e6f1a "busybox: fix arping applet building on musl" The Kconfig files were updated with these commands: cd config ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.25.0 cd .. ./convert_defaults.pl < .../build_dir/target-*/busybox-1.25.0/.config > Config-defaults.in Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* busybox: libnetlink: fix alignment of netlink messagesHauke Mehrtens2016-09-161-0/+100
| | | | | | | | | | | | A padding to align a message should not only be added between different attributes of a netlink message, but also at the end of the message to pad it to the correct size. Without this patch the following command does not work and returns an error code: ip link add type nlmon Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-074-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* busybox: fix issues with the ip command on mips64Felix Fietkau2016-05-121-0/+75
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* busybox: fix setting the kernel timezoneJo-Philipp Wich2016-03-311-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>
* busybox: fix route tables in ip rule show outputFelix Fietkau2016-02-071-0/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48649
* busybox: fix broken IPv6 address displaying in ifconfigFelix Fietkau2016-01-181-0/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48306
* busybox: fix non-portable invocation of mktempFelix Fietkau2015-10-301-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47289
* busybox: update to version 1.24.1Felix Fietkau2015-10-3011-195/+16
| | | | | | | | | | | | | 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> SVN-Revision: 47288
* 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> SVN-Revision: 46836
* busybox: fix ip applet and netlink behaviorSteven Barth2015-09-093-1/+85
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46833
* busybox: fix an ash regression in handling local variablesFelix Fietkau2015-04-171-0/+75
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45471
* 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> SVN-Revision: 45321
* busybox: update to version 1.23.2Felix Fietkau2015-04-0415-242/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45272
* busybox: Minor fix for glibc 2.21 compatibilityJohn Crispin2015-03-121-1/+1
| | | | | | Signed-off-by: Jeff Waugh <jdub@bethesignal.org> SVN-Revision: 44700
* busybox: fix build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+26
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44284
* busybox: add 2 upstream fixesNicolas Thill2014-11-062-0/+118
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 43191
* busybox: make high ASCII chars printable (#7993)Jo-Philipp Wich2014-10-271-0/+20
| | | | | | | | | | | | 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> SVN-Revision: 43084
* busybox: remove redundant 6rd-patchSteven Barth2014-05-291-18/+0
| | | | SVN-Revision: 40882
* 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> SVN-Revision: 40878
* busybox: update to 1.22.1Felix Fietkau2014-05-2536-2404/+117
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40852
* busybox: remove obsolete httpd patchesFelix Fietkau2014-05-254-157/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40851
* busybox: remove obsolete insmod patchesFelix Fietkau2014-05-252-170/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40850
* 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> SVN-Revision: 40849
* busybox: remove obsolete init patchFelix Fietkau2014-05-251-15/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40848
* busybox: use a config option instead of a patch to select the cron directoryFelix Fietkau2014-05-251-22/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40847
* busybox: backport dd conv=swab from 1.22John Crispin2014-03-301-0/+97
| | | | | | | | | | | | | | | | | | | | Some boards have the WLAN EEPROM stored in flash in big-endian format, whereas the driver requires the EEPROM in little-endian format. The conv=swab option in dd is particularly useful in this case. This patch backports this feature from busybox-1.22 based on the following commits: commit b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab commit 8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a comment. No code changes. commit 5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is attempted on odd-sized block commit 0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink v2: include the commit messages from upstream Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 40327
* busybox: remove obsolete brctl linux 2.4 compat patchFelix Fietkau2014-03-211-74/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39987
* busybox: remove obsolete awk include() patchFelix Fietkau2014-03-211-217/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39986
* busybox: fix existing "export -n" in ashFelix Fietkau2014-03-201-2/+2
| | | | | | | | | | | | | | | | | | Minor fix to existing patch which did not correctly implement -n support for the export command in ash. The VEXPORT flag of a variable was set in the first call to setvareq() and then remained set in the subsequent call, because the variable already existed in the environment. Although /lib/functions.sh by default does not export variables (NO_EXPORT=1), this issue was leading to dirty environments. Without this fix: (ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B" 1, 2 With this fix: (ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B" 1, Signed-off-by: Christophe Lermytte <openwrt@lermytte.be> SVN-Revision: 39968
* busybox: add a reworked implementation of menuconfig support, this time with ↵Felix Fietkau2014-01-311-1/+2
| | | | | | | | a guard option that keeps all symbols at default values until an extra option is activated Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39435
* packages: clean up the package folderJohn Crispin2013-06-2141-0/+3573
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007