aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-10-19 21:38:17 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-10-21 15:20:10 +0100
commit2dffadece9a7243a236ce7d91719787a671e23d4 (patch)
tree601e5ebf37bb01d5d651f42e6e31e45431786b6e /package
parentd355b578b7cc95c5b07fcecb217dbac4c05bd49c (diff)
downloadupstream-2dffadece9a7243a236ce7d91719787a671e23d4.tar.gz
upstream-2dffadece9a7243a236ce7d91719787a671e23d4.tar.bz2
upstream-2dffadece9a7243a236ce7d91719787a671e23d4.zip
ubus: prepare to run ubusd as non-root user
Move /var/run/ubus.sock to /var/run/ubus/ubus.sock in preparation for having ubusd run as non-root user. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package')
-rw-r--r--package/system/ubus/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile
index 824e71924f..a1c35a7c0f 100644
--- a/package/system/ubus/Makefile
+++ b/package/system/ubus/Makefile
@@ -5,9 +5,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/ubus.git
-PKG_SOURCE_DATE:=2020-02-05
-PKG_SOURCE_VERSION:=171469e3138cce191892e20b6fd35b52c9368064
-PKG_MIRROR_HASH:=b4f1a3d70c2685c2aee2724b980b2ff747f8662f74d04d8be1c5a5e950b0e2ef
+PKG_SOURCE_DATE:=2020-10-21
+PKG_SOURCE_VERSION:=13a4438b4ebdf85d301999e0a615640ac4c9b0a8
+PKG_MIRROR_HASH:=e9e88bb78993a31a33a1c9579f1facca2949c1a4397b842a9f1b469b170be5da
CMAKE_INSTALL:=1
PKG_LICENSE:=LGPL-2.1
@@ -31,6 +31,7 @@ define Package/ubusd
CATEGORY:=Base system
TITLE:=OpenWrt RPC daemon
DEPENDS:=+libubox +libblobmsg-json
+ USERID:=ubus=81:ubus=81
endef
define Package/libubus