summaryrefslogtreecommitdiffstats
path: root/package/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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-273-24/+487
| | | | | | | | | | | | | | | | | | | | | 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: fix md5sumHauke Mehrtens2016-09-201-1/+1
| | | | | | | The md5sum was not updated in commit 06fa1c46fc3 "busybox: update to version 1.25.0" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* busybox: update to version 1.25.0Hauke Mehrtens2016-09-2033-570/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* f2fs-tools: import from packages, clean up, and update to latestFelix Fietkau2016-09-084-0/+174
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* e2fsprogs: List all libraries explicitlyFlorian Fainelli2016-09-081-0/+3
| | | | | | | e2fsprogs would fail linking with external toolchains which would not be able to find several dependencies, explicit them. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* e2fsprogs: Honor the global verbose flagFlorian Fainelli2016-09-081-0/+2
| | | | | | | Look for OPENWRT_VERBOSE and pass it down to the e2fsprogs entry-point Makefile. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* ugps: update to latest git HEADJohn Crispin2016-09-051-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ct-bugcheck: Add tools to poll for and report ath10k firmware crashes.Ben Greear2016-08-284-0/+212
| | | | | | | | | | | | | | | | | | This tool can periodically check for ath10k firmware crashes. If it finds a crash, it will package up the binary crash dump, some OS level things like dmesg, lspci, etc into a tar file. It then notifies the user about the crash and asks them to report the bug to the appropriate email address. This is most useful when used with ath10k-ct driver and CT ath10k firmware, but it should also report issues with stock ath10k driver and firmware in case one has appropriate contacts to debug them. This tool could be extended later for other modules/bugs/etc. Signed-off-by: Ben Greear <greearb@candelatech.com>
* busybox: enable sha256sum by defaultJo-Philipp Wich2016-08-182-2/+2
| | | | | | | Now that snapshot builds are only publishing SHA-256 checksums, it makes sense to ship an appropriate utility for verification. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mkelfimage: remove package, it is a host tool that has been unused for yearsFelix Fietkau2016-08-022-46/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove hostap driverFelix Fietkau2016-07-311-44/+0
| | | | | | | It has been marked as broken for well over a month now and nobody has complained. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sysntpd: remove procd_open_trigger/procd_close_trigger callsFelix Fietkau2016-07-291-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ugps: update to latest git HEADJohn Crispin2016-07-241-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* mtd-utils: merge ubi/nand-utils into one packageJohn Crispin2016-07-117-131/+35
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* px5g: Create mbedtls variantDaniel Dickinson2016-07-052-36/+69
| | | | | | | | px5g has been listed as a blocker for switching to new mbedtls as the default, therefore make and mbedtls variant of px5g so that an new mbedtls-only image can be created. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* e2fsprogs: fix build on OS X systemsJo-Philipp Wich2016-07-042-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | On OS X systems, the compilation of e2fsprogs fails at subst.c due to a missing sys/stat.h include: subst.c:333:14: error: variable has incomplete type 'struct stat' struct stat stbuf; ^ subst.c:333:9: note: forward declaration of 'struct stat' struct stat stbuf; ^ subst.c:392:8: warning: implicit declaration of function 'fstat' is invalid in C99 [-Wimplicit-function-declaration] if (fstat(fd, &stbuf) == 0) { ^ subst.c:438:12: warning: implicit declaration of function 'fchmod' is invalid in C99 [-Wimplicit-function-declaration] (void) fchmod(ofd, 0444); ^ 2 warnings and 1 error generated. make[3]: *** [subst.o] Error 1 Declare the nescessary HAVE_SYS_STAT_H macro to include the required header in order to avoid the undeclared stat structure. Tested-By: David Thornley <david.thornley@touchstargroup.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jsonfilter: update to latest git HEADJohn Crispin2016-07-021-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* nand-utile: add packageSergey Sergeev2016-07-021-0/+53
| | | | | | | This package is a custom build(like ubi-utils) of mtd-utils from infradead.org It is required to work with Mikrotik NAND based devices Signed-off-by: Sergey Sergeev <adron@yapic.net>
* spidev_test: copy the source code into the package folderJohn Crispin2016-06-302-10/+320
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* e2fsprogs: Bump to v1.43.1Xotic7502016-06-201-2/+2
| | | | Signed-off-by: Graham Fairweather <xotic750@gmail.com>
* package/*: update git urls for project reposJohn Crispin2016-06-133-3/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* oseama: support extracting entityRafał Miłecki2016-06-131-0/+134
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* busybox: Call ntpd hotplug script for every actionHans Dedecker2016-06-102-2/+1
| | | | | | | | Daemons that are waiting for a timesync are only triggered when the action is stratum. As step is the first sync action pass all actions to the ntpd hotplug scripts; it's up to the ntpd hotplugscript to filter out the actions it is interested in. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-073-4/+4
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-079-11/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* util-linux: fix scanf fallback detection for uClibc-ngWaldemar Brodkorb2016-06-052-1/+35
| | | | | | | | | uClibc-ng pretends to be GNU libc 2.2 and then a fallback scanf check is tried, so that libmount is disabled afterwards. Add a fix already suggested upstream. Add librt dependency required for other apps, too. Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
* jsonfilter: fix printing 64bit valuesJo-Philipp Wich2016-06-011-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* px5g: add license tagFlorian Eckert2016-05-311-1/+2
| | | | | | show the license for this package in opkg Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
* usbutils: add license tagFlorian Eckert2016-05-311-1/+3
| | | | | | show the license for this package in opkg Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
* busybox: run sysntpd at higher priorityMaxim Storchak2016-05-301-1/+1
| | | | | | | When a router is under load ntpd would have better chance to accurately maintain system time. Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
* util-linux: fix breakageDirk Neukirchen2016-05-281-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | - install correct libs to staging/usr/lib fixes eudev, nfs-kernel-server the lib*.a seem broken - use the correct .so files and remove .a libs - some build breakage was observed with parallel builds: text-utils/more-more.o: In function `putstring': more.c:(.text+0x1f4): undefined reference to `tputs' text-utils/more-more.o: In function `initterm': more.c:(.text+0x1b74): undefined reference to `setupterm' more.c:(.text+0x1f0c): undefined reference to `tparm' more.c:(.text+0x20ac): undefined reference to `tigetnum' more.c:(.text+0x20c8): undefined reference to `tigetflag' more.c:(.text+0x20ec): undefined reference to `tigetstr' more.c:(.text+0x2148): undefined reference to `PC' text-utils/more-more.o: In function `reset_tty': more.c:(.text+0x2630): undefined reference to `tputs' - fix line length Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* util-linux: fix sfdiskDirk Neukirchen2016-05-271-86/+85
| | | | | | | | | | | | | | | | | | reported by reproducible openwrt project[1]: we package some libtool shell script - add missing dependencies - fix paths - make in InstallDev does not seem to be necessary tested (cal,dmesg,sfdisk) on x86 qemu VM with allyesconfig [1]: https://reproducible.debian.net/openwrt/openwrt.html [Jo-Philipp Wich: fix double slash in sfdisk path, reword commit message] Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jsonfilter: allow empty pathsJo-Philipp Wich2016-05-241-2/+2
| | | | | | | Allow path specifications to refer to just '@' or '$' which is useful for exporting the keys or array indizes of the toplevel object to the shell. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* busybox: sysntpd - Support for NTP servers received via DHCP(v6)Hans Dedecker2016-05-242-7/+54
| | | | | | | | | | The busybox ntpd utility currently uses ntp servers specified in uci. This patch allows the ntpd utility to use NTP servers received via DHCP(v6) Following uci parameters have been added: use_dhcp : enables NTP server config via DHCP(v6) dhcp_interface : use NTP servers received only on the specified DHCP(v6) interfaces; if empty all interfaces are considered Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* usbutils: Use github aliasDaniel Engberg2016-05-241-1/+1
| | | | | | Instead of hardcoding URL to Github use alias. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* package: spidev_test: update location for >Kernel 4.5Dirk Neukirchen2016-05-231-0/+9
| | | | | | | | - document indirect source code fixup affecting spidev_test v2: check against old Kernel versions Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* nvram: install init.d quirks script on brcm47xx onlyRafał Miłecki2016-05-201-3/+5
| | | | | | It contains some quirks for old MIPS devices. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mdadm: Fix missing conffile and add initscriptDaniel Dickinson2016-05-183-0/+46
| | | | | | | Start arrays on boot, stop them on shutdown, and enable monitoring to syslog. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* e2fsprogs: update to 1.42.13Kevin Darbyshire-Bryant2016-05-131-2/+2
| | | | | | Update e2fsprogs to v1.42.13 from 1.42.12 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* lua: Fixed broken __lt/__le operators caused by lnum patch.David Thornley2016-05-132-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was found while investigating why luarocks does not work. It was traced to a quite old lnum patch for 5.1.3. I compared against the latest 5.1.4 patch - https://github.com/LuaDist/lualnum and discovered the lessthan/lessequal evaluation was not falling through to the call_orderTM (tag methods). I have tested LuCI (simple tests) and used the following lua code to validate the patch (both host and target patches supplied): - > local my_mt = { > __eq = function(v1, v2) > print("__eq") > return false > end, > __lt = function(v1, v2) > print("__lt") > return false > end, > __le = function(v1, v2) > print("__le") > return false > end > } > > function get_my(vstring) > local my = {} > my.string = vstring; > setmetatable(my, my_mt); > return my; > end > > local a = get_my("1.0") > local b = get_my("1.0") > > local eq_works = a == b; > local lt_works = a < b; > local gt_works = a > b; > > local lte_works = a <= b; > local gte_works = a >= b; Without the patch the following error will be presented: - “attempt to compare two table values” Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
* global: change my email addressJohn Crispin2016-05-122-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* busybox: fix issues with the ip command on mips64Felix Fietkau2016-05-121-0/+75
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package: remove duplicate lines from otrx and nvram makefilesJo-Philipp Wich2016-04-262-2/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: flag further target specific packages as nonsharedJo-Philipp Wich2016-04-264-0/+8
| | | | | | | Add nonshared flag to package depending on specific targets or subtargets as there's no guarantee otherwise that they'll be available in the shared repo. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: mark nvram and otrx nonshared as they're target specificJo-Philipp Wich2016-04-262-0/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* image / basefiles: make console password configurableJohn Crispin2016-04-181-2/+2
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* 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>
* usbutils: Update USB IDs list and drop gzip compressionJohn Crispin2016-04-261-9/+11
| | | | | | | | | | Change mirror to Github (Gentoo repo) and drop the gzip compression. Worst case there's about 4kbyte increase in size but most images ends up beign somewhere between 4-100kbyte smaller due to the lzma compression. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> SVN-Revision: 49246