aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubox
Commit message (Collapse)AuthorAgeFilesLines
* ubox: bump to version 2017-03-10Yousong Zhou2017-04-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes FS#684 with commit 21a4bd0 Changes since current version. All changes except the ones prefixed with asterisks are for bugfixes. Module aliases awareness is expected by the kernel to be a basic facility and is required for properly initializing wireguard. 16f7e16 syslog: remove unnecessary sizeof struct between messages 21a4bd0 kmodloader: modprobe: return 0 for loaded modules 3dc78a4 kmodloader: don't store aliases info in struct module c553354 cmake: fix typo 8973576 kmodloader: fix not being able to find some modules fce9382 cmake: Check for getrandom system call ac2d43e kmodloader: support '-q' quiet option *f8d3d16 ubox: Add an option for more accurate timestamps in log 14839f0 kmodloader: make insert_module() idempotent *6e3c6dc kmodloader: add module alias awareness 9371411 kmodloader: fix out-of-bound access when parsing .modinfo a62c946 kmodloader: modprobe: skip possible command line arguments *46a4b5f kmodloader: log to kmsg when loading directories of modules eacc426 kmodloader: remove redundant glob wildcard char 8488bb5 ubox: Initialize conditionally uninitialized variabled db070f1 ubox: Fix some memory leaks acc48b5 kmodloader: Fix typo in error message Size comparison on x86_64 host function old new delta main 2190 2344 +154 scan_module_folder 665 793 +128 alloc_module_node - 113 +113 .rodata 946 1036 +90 alloc_module 202 245 +43 free_modules 77 119 +42 load_modprobe 209 237 +28 scan_loaded_modules 241 265 +24 avl_modcmp 45 67 +22 insert_module 204 224 +20 find_module 13 30 +17 static.optind@@GLIBC_2 - 4 +4 static.load_moddeps 118 117 -1 scan_module_folders 55 54 -1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 10/2 up/down: 685/-2) Total: 683 bytes Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ubox: fix sha256 mirror hashHauke Mehrtens2017-03-301-1/+1
| | | | | | | | | | Commit 5c20a4fec923c3 ("ubox: turn logd into a separate package") changed the PKG_SOURCE_DATE which is also included in the tar file. This change resulted in a new tar with a different hash, but the sha256 hash was not updated. Fix the sha256 hash value in this commit to match what would be created from git and what is already on the mirror. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
* ubox: turn logd into a separate packageAndrej Vlasic2017-01-161-2/+14
| | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-5/+3
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert mirror hash fixesFelix Fietkau2016-12-201-1/+1
| | | | | | | | | | They are based on obsolete download tarballs Revert "usign: fix mirror hash" (4f874423fd711e58aa43110918c923016615f22b) Revert "ubox: fix mirror hash" (9ee74b575305e8111fd3b1009ae183cf15e6d926) Revert "opkg: fix mirror hash" (bf6f4bfad12ded13ed9afcb886751cec24426257) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: fix mirror hashJohn Crispin2016-12-201-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to the latest versionFelix Fietkau2016-11-141-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-1/+2
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ubox: move logd into ubox packageFelix Fietkau2016-08-231-13/+1
| | | | | | Preparation for further build rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: fixes segfault inside kmodloaderJohn Crispin2016-08-181-2/+2
| | | | | | null pointer deref when no modules folder was present Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to the latest version, fixes lsmod outputFelix Fietkau2016-07-191-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to latest git HEADJohn Crispin2016-07-021-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to latest git HEADJohn Crispin2016-06-131-3/+4
| | | | | | this adds the new getrandom wrapper tool Signed-off-by: John Crispin <john@phrozen.org>
* package/*: update git urls for project reposJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: increase default size of system log buffer to 64 kBHannu Nyman2016-06-072-2/+2
| | | | | | | | Increase the default system log buffer size from 16 kB (default both in logd source and in the startup script) to 64 kB by adjusting the default value in startup script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* global: change my email addressJohn Crispin2016-05-121-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: make logging code honour the hostname properlyJohn Crispin2016-05-101-2/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: turn logd into a separate packageblogic2016-05-101-3/+17
| | | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> SVN-Revision: 49285
* ubox: update to the latest version, fixes an error on processing invalid modulesFelix Fietkau2016-03-071-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48952
* ubox: fix kmodloader resource leaks (#21826)Jo-Philipp Wich2016-02-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48686
* ubox: fix open() error handling (#21826)Jo-Philipp Wich2016-02-091-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48683
* ubox: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48120
* ubox: update ubox to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47600
* ubox: update to latest git HEADJohn Crispin2015-07-141-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46356
* ubox: various logd cleanupsJohn Crispin2015-05-231-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45721
* ubox: add log_trailer_null option to uciJohn Crispin2015-04-091-2/+6
| | | | | | | | | this allow us to use syslog tcp with \0 trailer instead of \n trailer (logread -0 option) Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 45329
* packages: use $(LN) macro, make symlinks relativeNicolas Thill2015-04-031-5/+5
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45250
* ubox: update to latest git HEADJohn Crispin2015-04-021-2/+2
| | | | | | | | improve logging when using tcp Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45247
* ubox: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45151
* ubox: update to latest git HEADJohn Crispin2015-03-291-2/+2
| | | | | | | | the return code of a pipe() was not checked properly Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45141
* ubox: update to latest git HEADJohn Crispin2015-03-291-2/+2
| | | | | | | | fixes log levels Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45139
* packages: some (e)glibc fixes after r44701Nicolas Thill2015-03-161-2/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44842
* ubox: fix segmentation fault in insmodJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Fix segfault in kmodloader insmod mode due to uninitialized module directory list. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44549
* ubox: switch to ulog apiJo-Philipp Wich2015-02-261-2/+2
| | | | | | | | | Update to git head in order to switch the kmodloader logging to the common ulog() api for putting early boot messages into dmesg. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44544
* ubox: kmodloader: support loading kmods from multiple directoriesJo-Philipp Wich2015-02-251-2/+2
| | | | | | | | | | | | This is required during early boot in the extroot setup phase to support loading kmods from the overlay that depend on kmods on the rom partition. The subsequent mount_root updates will use the LD_LIBRARY_PATH env variable to pass kmod directories to kmodloader. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44533
* license info - revert r43155John Crispin2014-11-031-1/+1
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* 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> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* ubox: update to latest git headJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42813
* ubox: update to latest gitJohn Crispin2014-09-161-2/+2
| | | | | | | | make the remote logging feature RFC3164 compliant Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42572
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-2/+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> SVN-Revision: 42278
* ubox: fix remote loggingJohn Crispin2014-07-021-1/+1
| | | | | | | | | in r41439 a flag for enabling remote logging was added, but the actual check was done on a different variable. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 41467
* ubox: add a flag that allows us to disable remote log while keeping the ip ↵John Crispin2014-07-011-1/+3
| | | | | | | | | | settings inside uci this makes webui foo a lot easier Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41439
* ubox: update to latest gitJohn Crispin2014-06-301-2/+2
| | | | | | | | this adds validation fixes Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41413
* 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> SVN-Revision: 41411
* ubox: add explicit dependency on libubus to catch ABI changesFelix Fietkau2014-06-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41389
* ubox: update to latest version, fixes kmodloader issues with muslFelix Fietkau2014-05-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40869
* ubox: update to the latest version, reduces binary library dependenciesFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40857
* ubox: fix logd (hopefully)John Crispin2014-03-272-178/+2
| | | | | | | | https://dev.openwrt.org/ticket/15357 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40295