aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
Commit message (Collapse)AuthorAgeFilesLines
* treewide: add license tagsFlorian Eckert2017-06-241-0/+1
| | | | | | Add licence tags where missing. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* fritz_tffs_read: get tffs size from input fileMathias Kresin2017-06-241-3/+7
| | | | | | | | | | Use the size of the input file as maximum tffs size instead of a fixed value. The tffs on a AVM Fritz 300E can be up to 512KByte for example. Fixes a read error for the AVM Fritz 3370 where the tffs partition size is 64Kbyte and smaller than the former default value of 256KByte. Signed-off-by: Mathias Kresin <dev@kresin.me>
* busybox: ash/hush fix for read-builtin commandBastian Bittorf2017-06-241-0/+147
| | | | | | | | | | | this is a cherrypick from busybox-git HEAD: f5470419404d643070db99d058405b714695b817 and can be removed when upgrading to next busybox release. discussion here: http://lists.busybox.net/pipermail/busybox/2017-May/085439.html Signed-off-by: Bastian Bittorf <bb@npl.de>
* busybox: backport 'ip rule suppress_{prefixlength, ifgroup}'Stefan Tomanek2017-06-241-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>
* mdadm: Do not check RUN_DIRFlorian Fainelli2017-06-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes build failure on hosts that do not have mdadm installed/configured: make[3]: Entering directory `/local/users/fainelli/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/mdadm-4.0' ***** Parent of /run/mdadm does not exist. Maybe set different RUN_DIR= ***** e.g. make RUN_DIR=/dev/.mdadm ***** or set CHECK_RUN_DIR=0 make[3]: *** [check_rundir] Error 1 make[3]: Leaving directory `/local/users/fainelli/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/mdadm-4.0' make[2]: *** [/local/users/fainelli/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/mdadm-4.0/.built] Error 2 make[2]: Leaving directory `/local/users/fainelli/openwrt/trunk/package/utils/mdadm' make[1]: *** [package/utils/mdadm/compile] Error 2 make[1]: Leaving directory `/local/users/fainelli/openwrt/trunk' make: *** [package/mdadm/compile] Error 2 Fixes: 980c41f8e04f ("utils/mdadm: Update to 4.0") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* usbmode: remove devices with unsupported modesJulian Labus2017-05-311-2/+7
| | | | | | | remove files which include the following mode options BlackberryMode OptionMode PantechMode QuantaMode Signed-off-by: Julian Labus <julian@labus-online.de>
* usbmode: update usb-modeswitch-data to 20170205Julian Labus2017-05-271-2/+2
| | | | | | add support for new hardware Signed-off-by: Julian Labus <julian@labus-online.de>
* usbmode: update to latest versionJulian Labus2017-05-271-3/+3
| | | | | | 453da8e convert-modeswitch.pl: fix message indices Signed-off-by: Julian Labus <julian@labus-online.de>
* xfsprogs: update to 4.11.0Felix Fietkau2017-05-2512-341/+49
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* f2fs-tools: Switch to gz tarballDaniel Engberg2017-05-181-3/+3
| | | | | | At some point kernel.org decided to drop xz generated tarballs, switch to gz which they still provide. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* fritz-tools: Find zlib.h header fileFlorian Fainelli2017-05-111-0/+3
| | | | | | | | Add the necessary changes to CMakeLists.txt to search zlib.h. Fixes build issues with external toolchains that don't have STAGING_DIR in the default search path. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* fritz_tffs_read: fix parsing of size argumentValentin Spreckels2017-05-111-1/+1
| | | | | | The parameter specification missed that -s takes an argument. Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>
* busybox: alternatives: accomodate CONFIG_BUSYBOX_CUSTOM=yYousong Zhou2017-05-031-14/+15
| | | | | | | | When busybox customisation is enabled, we should depend on config symbols CONFIG_BUSYBOX_CONFIG_xxx to form alternatives specs Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* busybox: add alternatives specs for those also provided by procps-ngYousong Zhou2017-05-031-2/+14
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* busybox: add as an alternative of /sbin/ipYousong Zhou2017-05-021-1/+2
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* busybox: nslookup_lede: mimic output format of old Busybox appletJo-Philipp Wich2017-04-272-22/+61
| | | | | | | | | | | | | 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-272-6/+7
| | | | | | | | | | | | | | 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: Enable sendfile by defaultDaniel Engberg2017-04-261-1/+1
| | | | | | Enable sendfile system call by default. http://lists.busybox.net/pipermail/busybox-cvs/2014-November/034831.html Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* kernel: remove out of tree direct-io disable hackFelix Fietkau2017-04-261-1/+1
| | | | | | | Direct-IO support has to be enabled for the release build anyway, so this hack is not worth keeping Signed-off-by: Felix Fietkau <nbd@nbd.name>
* utils/mdadm: Update to 4.0Daniel Engberg2017-04-265-31/+53
| | | | | | | | | | | Update mdadm to 4.0 Remove 000-compile.patch as it's fixed upstream Refresh patches Add mdadm.h-Undefine-dprintf-before-redefining.patch Source: http://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/mdadm/files Add RAID 0,1 and 10 as depends to make mdadm usable. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* 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-122-18/+6
| | | | | | | | | | | 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-103-1/+931
| | | | | | | | 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. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* firmware: rework fritz-tools packageMathias Kresin2017-04-085-0/+741
| | | | | | | | | | | | | | | | Split the fritz-tools into subpackages. fritz_tffs_read is usefull for all Fritz boards where fritz-cal_extract is only required for the Fritz 4040 at the moment. Rename the tffs related binary to the more catchy name fritz_tffs and move the whole package to utilities since the package doesn't really provide a firmware file. Make the fritz-tools available for all targets and build them shared. The tffs is used by avm on lantiq and ar71xx as well. Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Mathias Kresin <dev@kresin.me>
* mdadm: extend uci config supportJo-Philipp Wich2017-04-083-7/+82
| | | | | | | Extend the mdadm package to allow to explicitely configure arrays as well as device list entries. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: fix installation of cron and ntpd scripts in the default configFelix Fietkau2017-04-041-2/+2
| | | | | Fixes: 0b24850e9778 ("busybox: don't install NTP scripts if NTP isn't configured") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* busybox: don't install NTP scripts if NTP isn't configuredPhilip Prindeville2017-04-031-0/+4
| | | | | | | | If you're using Chrony or NTPD you don't want the busybox NTP server as well. Make it's installation truly conditional. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [simplify]
* busybox: vi: backporting patches to fix ZZ and :x commandYousong Zhou2017-03-253-1/+154
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* util-linux: re-enable parallel buildsFelix Fietkau2017-03-221-1/+1
| | | | | | The original build error in 'more' seems to be gone Signed-off-by: Felix Fietkau <nbd@nbd.name>
* util-linux: unconditionally enable ncursesw supportFelix Fietkau2017-03-221-6/+1
| | | | | | | The build dependency is unconditional, and some components might fail if ncurses is not available Signed-off-by: Felix Fietkau <nbd@nbd.name>
* utils/util-linux: Update to 2.29.2Daniel Engberg2017-03-223-39/+6
| | | | | | | | | | Update util-linux to 2.29.2 Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream. Refresh patches Change ncurses to ncursesw to fix compilation and avoid confusion Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove faulty dependency changes]
* Revert "utils/util-linux: Update to 2.29.2"John Crispin2017-03-223-8/+42
| | | | | | | | This reverts commit eac1a548573a0262e9f36aeee95ed071f6040703. This patch caused the builders to blow up. Signed-off-by: John Crispin <john@phrozen.org>
* utils/f2fs-tools: Update to 1.8.0Daniel Engberg2017-03-222-59/+7
| | | | | | | | | | Update f2fs-tools to 1.8.0 Refresh patches Remove selinux patch, use configure argument instead. Switch to xz tarball Adjust url to avoid redirects Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* busybox: enable the "ip neigh" command (FS#618)Felix Fietkau2017-03-221-1/+1
| | | | | | | It is useful for creating static ARP entries. Adds about 1.9 KiB after gzip on MIPS. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* utils/util-linux: Update to 2.29.2Daniel Engberg2017-03-223-42/+8
| | | | | | | | | Update util-linux to 2.29.2 Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream. Refresh patches Change ncurses to ncursesw to fix compilation and avoid confusion Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* sysntpd: restore support for peer-less (standalone) modePiotr Dymacz2017-03-151-1/+1
| | | | | | | | | | | | | | | | | ntpd from Busybox supports peer-less (standalone) mode when it's started with option -l and without any peer provided with option -p. In this mode ntpd uses local time as reference and acts as stratum 1 server. This mode can be used in isolated networks, where Internet access and/or other NTP server/s are not available, but the device has some other way of getting correct time, like e.g. GPS (ugps supports setting local time by default). Support for this mode was incorrectly disabled/removed in: 1527f96ca6e196fa17c96fdb3ae520158fa5943f Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* ugps: fix and improve init scriptPiotr Dymacz2017-03-082-3/+7
| | | | | | | | | | The ugps tool expects device path in last argument. If it's provided before other options, they won't be processed at all. Additionally, make it possible to use absolute path for gps character device in related uci configuration. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* adb: Also pass TARGET_CPPFLAGSFlorian Fainelli2017-03-011-1/+1
| | | | | | | Fixes build issues with external toolchains that do not have STAGING_DIR in their default search path. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* px5g: Fix TARGET_LDFLAGS and add TARGET_CPPFLAGSFlorian Fainelli2017-03-011-2/+2
| | | | | | | | Make sure we pass down TARGET_CPPFLAGS to let toolchains with no default search paths to find the mbdetls headers, and override TARGET_LDFLAGS to include libraries we are linking against. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* usbmode: Update to latest HEADFlorian Fainelli2017-03-011-3/+3
| | | | | | | | | | | Brings the following changes: 22f041e18df0 Extend StandardEject sequence to include LUN 1 61fdf7e9b1cc cmake: Search for libjson-c 2769852e76b5 cmake: Find libubox/blobmsg_json.h 8a47c4b6649f add TargetClass support Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* bsdiff: Also pass down TARGET_CPPFLAGSFlorian Fainelli2017-03-011-2/+2
| | | | | | | Fixes build with external toolchains not having STAGING_DIR in their default search path(s). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* px5g: replace px5g-standalone with a statically linked variant of px5g-mbedtlsFelix Fietkau2017-02-2118-8017/+22
| | | | | | | | px5g-standalone only supports SHA1 for certificates, which is strongly deprecated. The new px5g-standalone is about 27k bigger (compressed), and has identical behavior to px5g-mbedtls (it uses SHA256). Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "px5g-standalone: provide px5g via PROVIDES"Stijn Tintel2017-02-201-1/+0
| | | | | | | | | | | | This reverts commit cc66f819b4e778732a32f08f5dc39a2554682b73. This commit causes opkg to install px5g-standalone instead of px5g when installing luci-ssl. As luci-ssl depends on mbedtls, using px5g-standalone makes no sense. Next to that, it creates deprecated SHA1 certificates. Revert the commit to avoid pxg5-standalone to be installed by accident. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ugps: fix typoCezary Jackiewicz2017-02-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Removing redundant spaces from the name of the option. Without fix: root@LEDE:~# opkg install ugps Installing ugps (2016-10-24-32a6b2b7-1) to root... Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mips_24kc/base/ugps_2016-10-24-32a6b2b7-1_mips_24kc.ipk Configuring ugps. uci: Parse error (invalid character in name field) at line 3, byte 23 uci: Parse error (invalid character in name field) at line 3, byte 23 sh: out of range root@LEDE:~# uci show gps uci: Parse error (invalid character in name field) at line 3, byte 23 With this fix: root@LEDE:~# uci show gps gps.@gps[0]=gps gps.@gps[0].tty='ttyACM0' gps.@gps[0].adjust_time='1' Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ugps: update to the latest version, fixes build error with glibcFelix Fietkau2017-02-111-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* utils/e2fsprogs: Update to 1.43.4Daniel Engberg2017-02-091-5/+5
| | | | | | | | | | * Update to 1.43.4 * Use xz tarball which saves about 2Mbyte in size Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [use @KERNEL instead of hardcoded URL]
* busybox: update to 1.26.2Magnus Kroken2017-01-2931-3190/+2440
| | | | | | | | Refresh patches, delete patches that have been applied upstream. Signed-off-by: Magnus Kroken <mkroken@gmail.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix defaults]
* busybox: convert netmsg and lock applet to "new style" applet definitionMagnus Kroken2017-01-292-78/+30
| | | | | | | | | | The "new style" busybox applet approach moves all config and build definitions related to an applet to its .c file. This makes the patches easier to maintain, as they only add new files to the busybox build directory, without modifying BusyBox files. Signed-off-by: Magnus Kroken <mkroken@gmail.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* packages: mark packages depending on a target as nonsharedMathias Kresin2017-01-241-0/+2
| | | | | | | | | The packages can't be build as shared packages due to the unmet dependencies. Fixes FS#418. Signed-off-by: Mathias Kresin <dev@kresin.me>
* package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG)Matthias Schiffer2017-01-103-8/+8
| | | | | | | | | Cleanup to prepare for changing STAGING_DIR_HOSTPKG. The actual change of STAGING_DIR_HOSTPKG (i.e., moving the host packages back into a common, not target-specific directory) will be done after the first LEDE release, but the cleanup will also be useful for projects like Gluon. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>