summaryrefslogtreecommitdiff
path: root/package/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* util-linux: update to version 2.28Hauke Mehrtens2016-04-176-333/+45
| | | | | | | | | | | | | | | The following patches were merged upstream: * 0001-switch_root-improve-statfs-f_type-portability.patch * 0002-lib-colors-use-static-buffers-when-parse-scheme.patch * 002-mkostemp.patch The following patch is not needed any more because all libc implementations support alloc in sscanf: * 001-no-printf-alloc.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49191
* 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> SVN-Revision: 49189
* package/utils/usbutils: Update USB IDs list to snapshot 2015-12-17John Crispin2016-04-011-5/+5
| | | | | | | | | Updates USB IDs list to snapshot 2015-12-17 and changes copyright to 2016. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> SVN-Revision: 49112
* bsdiff: add missing host build dependency on bzip2 (fixes #21990)Felix Fietkau2016-03-071-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48950
* lua: host: install lnum_config.hJohn Crispin2016-03-041-0/+11
| | | | | | | | | | | One of the host patches introduces the new header file lnum_config.h included by luaconf.h, but doesn't install it. Install it to allow building C modules for the host Lua. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 48907
* bsdiff: add bsdiff and bspatch tool packageHauke Mehrtens2016-02-272-0/+162
| | | | | | | | | This will be used to create a diff between the Lantiq annex A and the annex B firmware. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48810
* toolchain/glibc: remove obsolete versionsFelix Fietkau2016-02-251-6/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48780
* 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> SVN-Revision: 48716
* util-linux: Subpackage for blkdiscardJohn Crispin2016-02-121-0/+18
| | | | | | | | Adding subpackage to make it possible to enable blkdiscard utility. Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz> SVN-Revision: 48707
* 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
* oseama: support creating single Seama entityRafał Miłecki2016-01-294-1/+527
| | | | | | | | | | This will be needed to handle sysupgrade on NAND in a smart way. We'll need to extract kernel our of provided Seama container, put in in a new Seama entity and flash. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48552
* busybox: disable timestamp in versionFelix Fietkau2016-01-281-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48539
* oseama: small util for reading Seama image format infoRafał Miłecki2016-01-283-0/+287
| | | | | | | | It's similar to otrx, we need this tool for handling sysupgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48533
* bzip2: install to STAGING_DIR/host instead of STAGING_DIR/host/usrFelix Fietkau2016-01-201-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48418
* bzip2: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST)Felix Fietkau2016-01-201-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48408