Commit Graph

45 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
Felix Fietkau 4b091ab01a ubus: update to the latest version
9c13096 ubus: Remove unnecessary memset calls.
6d1ea6c libubus: Fix deletion from context's object AVL tree when removing object
e02813b ubusd: don't free messages in ubus_send_msg() anymore
be146ad ubusd: rename goto label from `error` to `out`
27d712d ubusd_monitor: alloc & free the buffer outside of the loop
5f87f54 ubusd: move global retmsg per client

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
John Crispin 727ab294d0 ubus: update to latest git HEAD
24ffe9b libubus-req: add data_cb callback handling for ubus notifications

Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
Felix Fietkau 887347497f ubus: update to the latest version
c09e4f0 ubusd: fix incomplete copy of shared buf during queue-ing
453b87f cli: add support for subscribing to objects
6eb3c96 cli: do not use default timeout for listen
dfe3383 libubus: reset ctx->sock.error when doing ubus reconnect
34c6e81 cli: fix listen_timeout compile issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 785f2a70da ubus: update to the latest version
Adds the following fixes:

91acde6 libubus: do not modify uloop_cancelled
763b9b2 libubus: reset ctx->sock.eof to fix reconnect issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 26ae7abc15 ubus: update to the latest version
Adds uloop related libubus fixes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 2bc647e015 ubus: update to the latest version
- Adds support for passing file descriptors in ubus invoke requests
- Fixes clearing pending timers on ubus_shutdown()
- Fixes checking the amount of written data in ubusd
- Fixes an ubusd crash when trying to subscribe to system objects

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau c7c1cf5618 treewide: clean up and unify PKG_VERSION for git based downloads
Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 8869dd47ca ubus: update to the latest version, adds a race fix for wait_for
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Daniel Engberg 9edfe7dd13 source: Switch to xz for packages and tools where possible
* 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>
8 years ago
Felix Fietkau d41f56864c ubus: update to the latest version, adds object remove fixes
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin 25275bcc24 ubus: update to latest git HEAD
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 62dc9831d3 package/*: update git urls for project repos
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Felix Fietkau 7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
John Crispin f02184cbcf ubus: update to latest git HEAD
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Felix Fietkau a6a6f36ad1 ubus: update to the latest version, fixes a memory leak on client disconnect
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48505
8 years ago
Felix Fietkau abc99463b4 ubus: update to the latest version, fixes an acl related crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48226
8 years ago
Felix Fietkau 9cd6162b63 packages: use OPENWRT_GIT to point at the main openwrt git repo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48118
8 years ago
Jo-Philipp Wich 213b1e7105 ubus: fix various ACL processing problems
Bump ubus to current Git HEAD in order to:

 * Fix a null pointer access when user ACLs are loaded into memory
 * Fix wrong permission handling for uid=0, gid!=0 peers
 * Fix return code for permission defined cases
 * Fix socket error handling when the server connection dies
 * Make ACL file path configurable
 * Remove invalid usages of poll() when using a zero timeout

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47816
9 years ago
Felix Fietkau d85d4778fc ubus: update to the latest version, adds support for monitoring system bus traffic
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47531
9 years ago
John Crispin 7ab6409a89 ubus: bump to latest git HEAD
fixes a bug where gid was checked twice instead of the uid/gid combo

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46246
9 years ago
Felix Fietkau f58c9613f7 ubus: update to the latest version, fixes a segfault on message retry
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46199
9 years ago
John Crispin df1daa4692 ubus: update to latest git HEAD
this adds ACL support

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46040
9 years ago
Felix Fietkau 8450300079 ubus: update to the latest version, switch to git.openwrt.org, fixes a lua binding memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45750
9 years ago
Felix Fietkau d7274cf747 ubus: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44081
9 years ago
Steven Barth bec9d38fa4 Add a few SPDX tags
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43151
10 years ago
Felix Fietkau 9a30ee9c2c ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42594
10 years ago
Felix Fietkau 1ef92a0065 ubus: update to the latest version, fixes compile error regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41496
10 years ago
Felix Fietkau 361215b186 ubus: update to the latest version, increases maximum message size and adds a few fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41492
10 years ago
Felix Fietkau 35f05693f1 ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41337
10 years ago
Felix Fietkau 3b2643c92c ubus: update to the latest version, adds lua binding fixes and adds support for the cli command wait_for (waits for objects to appear, with timeout)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40710
10 years ago
Felix Fietkau f2689dba28 ubus: update to latest version, blocks unrelated uloop calls on synchronous requests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39954
10 years ago
John Crispin 086f522108 ubus: update to latest git HEAD
add fd handover inside ubus replies

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39897
10 years ago
Felix Fietkau a70282720d ubus: update to latest version, fixes lua binding issues and adds fd passing support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39726
10 years ago
Felix Fietkau 01c4775116 ubus: declare main version as ABI version for libubus
Reorder BuildPackage calls, as libubox needs to come first for ABI
version handling to work

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39722
10 years ago
John Crispin 5dcb4cc7d1 libubox: ubox: procd: ubus: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39425
10 years ago
John Crispin f69788445c ubus: update to latest git head
adds support for events in the lua binding

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38678
11 years ago
Jo-Philipp Wich d11315e7c6 ubus: restrict unix domain socket permission to 0600 to disallow non-root connections
SVN-Revision: 38253
11 years ago
Felix Fietkau 368e7da483 ubus: update to latest version, fixes a bug in reconnect after ubusd dies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37740
11 years ago
Felix Fietkau 158cc23d39 ubus: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37701
11 years ago
Felix Fietkau e7de3b26ed ubus: change section/category to base, libs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37700
11 years ago
Felix Fietkau 80f8b60607 ubus: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37671
11 years ago
Felix Fietkau 2c7530a622 ubus: fix ubus lua binding duplication
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37074
11 years ago
Steven Barth 111b480945 ubus: remove unused init-script
SVN-Revision: 37026
11 years ago
John Crispin 4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
11 years ago