diff options
-rw-r--r-- | contrib/package/luci/Makefile | 16 | ||||
-rw-r--r-- | libs/sys/luasrc/sys.lua (renamed from libs/core/luasrc/sys.lua) | 0 | ||||
-rw-r--r-- | libs/sys/luasrc/sys/iptparser.lua (renamed from libs/core/luasrc/sys/iptparser.lua) | 0 |
3 files changed, 15 insertions, 1 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index edd8949d0..356d8050d 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -187,9 +187,19 @@ define Package/luci-ipkg/install endef +define Package/luci-sys + $(call Package/luci/libtemplate) + TITLE:=LuCI Linux/POSIX system library +endef + +define Package/luci-sys/install + $(call Package/luci/install/template,$(1),libs/sys) +endef + + define Package/luci-web $(call Package/luci/libtemplate) - DEPENDS+=+luci-http +luci-addons +luci-uci +luci-sgi-cgi + DEPENDS+=+luci-http +luci-sys +luci-addons +luci-uci +luci-sgi-cgi TITLE:=MVC Webframework endef @@ -560,6 +570,9 @@ endif ifneq ($(CONFIG_PACKAGE_luci-uci),) PKG_SELECTED_MODULES+=libs/uci endif +ifneq ($(CONFIG_PACKAGE_luci-sys),) + PKG_SELECTED_MODULES+=libs/sys +endif ifneq ($(CONFIG_PACKAGE_luci-web),) PKG_SELECTED_MODULES+=libs/web endif @@ -668,6 +681,7 @@ $(eval $(call BuildPackage,luci-fastindex)) $(eval $(call BuildPackage,luci-http)) $(eval $(call BuildPackage,luci-ipkg)) $(eval $(call BuildPackage,luci-uci)) +$(eval $(call BuildPackage,luci-sys)) $(eval $(call BuildPackage,luci-web)) $(eval $(call BuildPackage,luci-httpd)) diff --git a/libs/core/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index 14a2f294f..14a2f294f 100644 --- a/libs/core/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua diff --git a/libs/core/luasrc/sys/iptparser.lua b/libs/sys/luasrc/sys/iptparser.lua index 2e8085a55..2e8085a55 100644 --- a/libs/core/luasrc/sys/iptparser.lua +++ b/libs/sys/luasrc/sys/iptparser.lua |