aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd
Commit message (Collapse)AuthorAgeFilesLines
* rpcd: update to latest Git headJo-Philipp Wich2018-11-221-2/+2
| | | | | | c79ef22 main: fix logic bug when not specifying a timeout option Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rpcd: update to latest Git headJo-Philipp Wich2018-11-223-4/+10
| | | | | | | | | | 2cc4b99 file: use global exec timeout instead of own hardcoded limit ecd1660 exec: increase maximum execution time to 120s Also expose the socket and timeout options in /etc/config/rpcd for easier use. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rpcd: update to latest git HEADJo-Philipp Wich2018-08-161-3/+3
| | | | | | | | | | 41333ab uci: tighten uci reorder operation error handling f91751b uci: tighten uci delete operation error handling c2c612b uci: tighten uci set operation error handling 948bb51 uci: tighten uci add operation error handling 51980c6 uci: reject invalid section and option names Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rpcd: update to lastest HEADJo-Philipp Wich2018-05-141-3/+3
| | | | | | | | 8206219 uci: fix memory leak in rpc_uci_replace_savedir() 10f7878 exec: close stdout and stderr streams on child signal 92d0d75 uci: use correct sort index when reordering sections Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rpcd: update to latest HEADJo-Philipp Wich2018-04-201-3/+3
| | | | | | | | | | | | 6994c87 uci: fix session delta isolation f0f6f81 session: remove redundant key attribute to rpc_session_set() 3d400c7 session: support reclaiming pending apply session eb09f3a session: ignore non-string username attribute upon restore edd37f8 uci: add rpc_uci_replace_savedir() helper 2423162 uci: switch to proper save directory on apply/rollback 66a9bad uci: fix memory leak in rpc_uci_apply_timeout() Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace LEDE_GIT with PROJECT_GITJo-Philipp Wich2018-01-101-1/+1
| | | | | | | Remove LEDE_GIT references in favor to the new name-agnostic PROJECT_GIT variable. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rpcd: update to version from 2017-12-07Daniel Golle2017-12-071-3/+3
| | | | | | | cfe1e75c91bc1 sys: packagelist: allow listing all packages 74a784f037867 sys: fix passwd path Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rpcd: fix packagelist memory leakDaniel Golle2017-11-131-2/+2
| | | | | | a0231be8fbc61 sys: fix memory leak in packagelist Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rpcd: update to the latest version from 2017-11-12Daniel Golle2017-11-121-3/+3
| | | | | | 4e483312b0216 sys: add packagelist method Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rpcd: update to the latest version from 2017-11-09Rafał Miłecki2017-11-091-3/+3
| | | | | | 9a8640183c031 plugin: use RTLD_LOCAL instead of RTLD_GLOBAL when loading library Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rpcd: Explicitly link with lcryptFlorian Fainelli2017-01-291-0/+2
| | | | | | | | | | | Fixes build issues with some toolchains that don't add lcrypt in the default search paths: CMakeFiles/rpcd.dir/session.c.o: In function `rpc_login_test_password': build_dir/target-mipsel-linux-gnu/rpcd-2016-12-03-0577cfc1/session.c:823: undefined reference to `crypt' collect2: error: ld returned 1 exit status Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rpcd: Update to 2016-12-03Florian Fainelli2017-01-021-3/+3
| | | | | | | | | | Brings in the following changes: 0577cfc1acdb cmake: Find libubox/blobmsg_json.h 26c98ec94d7a sys: Check return values of chdir and write f4089654a399 cmake: Find libubus.h Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-6/+3
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* 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>
* rpcd: iwinfo plugin fixesJo-Philipp Wich2016-06-301-2/+2
| | | | | | | - Expose supported HT rate information in info call - Zero out ccode buffer when listing countries Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package/*: update git urls for project reposJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-071-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rpcd: update to latest versionLuka Perkov2016-04-131-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49162
* rpcd: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48121
* rpcd: update to latest git HEADJohn Crispin2015-10-011-2/+3
| | | | | | | | Provides ubus calls for sysupgrade and password changing. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47075
* rpcd: update to the latest versionLuka Perkov2015-07-151-2/+2
| | | | | | | | | This update adds a couple of file plugin enhancements, such as base64 support and setting mode when files are written. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 46384
* rpcd: unload package after uci revertsJo-Philipp Wich2015-05-171-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45695
* rpcd: update to latest git HEADJohn Crispin2015-04-141-2/+2
| | | | | | | | adds support for reading md5 sums of files Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45442
* rpcd: properly handle return codesJohn Crispin2015-03-301-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45152
* rpcd: update to latest git HEADJohn Crispin2015-03-111-1/+1
| | | | | | | | adds 3 fixes from luka Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44666
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-111-2/+2
| | | | | | | | Version 0.12 deprecates json_object_object_get and moves the header files around Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44657
* rpcd: fix session.{login,list,destroy} method signaturesJo-Philipp Wich2015-02-091-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44362
* rpcd: add 802.11ac for iwinfoFelix Fietkau2014-10-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43005
* rpcd: update to the latest version, fixes build after libubox updateFelix Fietkau2014-10-191-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42959
* rpcd: fix parsing of executable plugin outputJo-Philipp Wich2014-07-031-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41502
* rpcd: update to the latest version, fixes build with muslFelix Fietkau2014-06-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41403
* rpcd: update to the latest versionJohn Crispin2014-04-121-2/+2
| | | | | | | | | This is required to make object "session" procedure "access" dump ACLs when no "object" or no "function" parameters are passed. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 40496
* rpcd: build, uci and session api fixesJo-Philipp Wich2014-01-121-3/+3
| | | | | | | | | | | | | | - fix CMakeFile to support rpcd out of tree builds - fix a possible file descriptor leak in the session deserialization code - add uci.state call which is equivalent to uci -P /var/state get ... - make uci.changes "config" argument optional to allow listing all deltas in one go - fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses - only trigger config change events if libuci was able to parse the config - rename misleading "commit" argument of uci.apply to the more appropriate name "rollback" Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 39224
* rpcd: fix missing option removal when merging subsequent uci set callsJo-Philipp Wich2013-09-291-2/+2
| | | | SVN-Revision: 38254
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-4/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38023
* rpcd: update to git headJo-Philipp Wich2013-09-131-3/+4
| | | | | | | | | - recalculate session ACLs on reload - support negative access group expressions in /etc/config/rpcd - prevent destryoing the default session - use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security SVN-Revision: 37961
* rpcd: update to git headJo-Philipp Wich2013-09-112-2/+17
| | | | | | | - introduces persistent null session to allow access to procedures without login - implements session.login procedure to support user logins via json-rpc SVN-Revision: 37941
* rpcd: update to git headJo-Philipp Wich2013-09-092-3/+11
| | | | | | | | | | - adds support for service triggering on config commit - adds uci transaction support - adds daemon reload support without loosing session data - exports headers for use by external plugins - drops LuCI2 in favor to an out of tree plugin SVN-Revision: 37921
* Add rpcd - an extensible backend server for ubus-over-json-rpc operations, ↵Jo-Philipp Wich2013-09-022-0/+97
session and acl management. SVN-Revision: 37877