0008-Move-rpcd-dependency-from-luci-base-to-luci-mode-rpc.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Sun, 6 Sep 2015 01:27:06 +0200
  3. Subject: Move rpcd dependency from luci-base to luci-mode-rpc
  4. LuCI's authentication won't work without rpcd, but we aren't using the
  5. authentication anyways. Users who need it can just install rpcd explicitly.
  6. diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile
  7. index 54506b023a728e071b8fb4983ef614897363c0ec..4457034ada02972908a68f7c9c54352e7ac3c054 100644
  8. --- a/modules/luci-base/Makefile
  9. +++ b/modules/luci-base/Makefile
  10. @@ -12,7 +12,7 @@ LUCI_TYPE:=mod
  11. LUCI_BASENAME:=base
  12. LUCI_TITLE:=LuCI core libraries
  13. -LUCI_DEPENDS:=+lua +libuci-lua +luci-lib-nixio +luci-lib-ip +rpcd +libubus-lua
  14. +LUCI_DEPENDS:=+lua +libuci-lua +luci-lib-nixio +luci-lib-ip +libubus-lua
  15. PKG_SOURCE:=LuaSrcDiet-0.12.1.tar.bz2
  16. PKG_SOURCE_URL:=https://luasrcdiet.googlecode.com/files
  17. diff --git a/modules/luci-mod-rpc/Makefile b/modules/luci-mod-rpc/Makefile
  18. index e64c86c6283a5a7d1181816e9f148d78d15c7dd8..5f64a14d48ef1f74435e151bc03a2377239be1f8 100644
  19. --- a/modules/luci-mod-rpc/Makefile
  20. +++ b/modules/luci-mod-rpc/Makefile
  21. @@ -7,7 +7,7 @@
  22. include $(TOPDIR)/rules.mk
  23. LUCI_TITLE:=LuCI RPC - JSON-RPC API
  24. -LUCI_DEPENDS:=+luci-lib-json
  25. +LUCI_DEPENDS:=+luci-lib-json +rpcd
  26. include ../../luci.mk