aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubox
Commit message (Collapse)AuthorAgeFilesLines
* ubox: update to latest git HEADJohn Crispin2015-07-141-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: various logd cleanupsJohn Crispin2015-05-231-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: use $(LN) macro, make symlinks relativeNicolas Thill2015-04-031-5/+5
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADJohn Crispin2015-04-021-2/+2
| | | | | | | | improve logging when using tcp Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45141 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADJohn Crispin2015-03-291-2/+2
| | | | | | | | fixes log levels Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: some (e)glibc fixes after r44701Nicolas Thill2015-03-161-2/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* license info - revert r43155John Crispin2014-11-031-1/+1
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest gitJohn Crispin2014-06-301-2/+2
| | | | | | | | this adds validation fixes Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: add explicit dependency on libubus to catch ABI changesFelix Fietkau2014-06-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest version, fixes kmodloader issues with muslFelix Fietkau2014-05-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to the latest version, reduces binary library dependenciesFelix Fietkau2014-05-251-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix logd (hopefully)John Crispin2014-03-272-178/+2
| | | | | | | | https://dev.openwrt.org/ticket/15357 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-03-182-4/+7
| | | | | | | | logread now shows the right time. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-03-122-8/+22
| | | | | | | | | use the fd handover api of ubus to transfer log data the uci option log_buffer_size can be used to override the default size of 16k Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: add the new fstools packageJohn Crispin2014-03-124-41/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: logd did not register its config.reload trigger properlyJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: ubox: procd: ubus: update to latest git headJohn Crispin2014-01-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: revert log buffer size changesJohn Crispin2014-01-222-26/+7
| | | | | | | | the fix horribly broke existing setups Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-01-211-2/+2
| | | | | | | | make sure log buffer size is not bigger than the ubus message size Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2014-01-192-7/+26
| | | | | | | | adds option to set internal buffer size Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest gitJohn Crispin2014-01-171-2/+2
| | | | | | | | | - fix duplicate device wildcard - fix elf 64bit elf parsing Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: welcome to 2014John Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git - fixes error reportingJohn Crispin2014-01-121-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix logging support. the initial connect failedJohn Crispin2013-12-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix up pidcount handling inside log.initJohn Crispin2013-12-091-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix handling of uci lists, prevent shell code injection from uci ↵Jo-Philipp Wich2013-11-281-2/+2
| | | | | | values (#14548) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ubox: the validation code has problems with the "(" char. use string ↵Jo-Philipp Wich2013-11-281-1/+1
| | | | | | | | for now" This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: the validation code has problems with the "(" char. use string for nowJohn Crispin2013-11-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update the validate_data toolJohn Crispin2013-11-251-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix typo that caused log_file to not be validated properlyJohn Crispin2013-11-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add validation to the log init scriptJohn Crispin2013-11-201-10/+23
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: ubox: procd: move md5.{c,h} to libuboxJohn Crispin2013-11-191-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: ubox: update to latest git headJohn Crispin2013-11-162-5/+68
| | | | | | | | | | move log service from procd to ubox some debloating on procd the preinit part of procd is now also a seperate binary Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix extroot/extoverlay mounting by label and support mounting by ↵Jo-Philipp Wich2013-11-071-2/+2
| | | | | | device name git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2013-11-071-2/+2
| | | | | | | | support for specifying swap priority from the command line Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/ubox: fix jffs2 handling on MTD devices emulated by gluebiGabor Juhos2013-11-052-1/+177
| | | | | | | | | | | | | | | | | | | The jffs2_ready() function in mount_root.c checks the presence of various JFFS2 markers at the start of a given MTD device. The function works on NOR flashes because JFFS2 puts 'cleanmarker' nodes at the start of freshly erased blocks. However if jffs2 is used on a MTD device emulated by the gluebi layer, the 'cleanmarker' nodes are not present and the jffs2_ready() function fails. Update the code to handle jffs2 correctly even on MTD devices emulated by the gluebi layer. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38654 3c298f89-4303-0410-b956-a3cf2f4a3e73