luci-lib-ipkg: move out of luci-base
authorJo-Philipp Wich <redacted>
Wed, 14 Nov 2018 13:35:01 +0000 (14:35 +0100)
committerJo-Philipp Wich <redacted>
Wed, 14 Nov 2018 19:46:04 +0000 (20:46 +0100)
Move the old luci.model.ipkg utility class into a separate package and
let the components using it depend on the new library package.

Signed-off-by: Jo-Philipp Wich <redacted>
applications/luci-app-aria2/Makefile
applications/luci-app-ddns/Makefile
applications/luci-app-dynapoint/Makefile
applications/luci-app-privoxy/Makefile
applications/luci-app-radicale/Makefile
applications/luci-app-transmission/Makefile
libs/luci-lib-ipkg/Makefile [new file with mode: 0644]
libs/luci-lib-ipkg/luasrc/model/ipkg.lua [moved from modules/luci-base/luasrc/model/ipkg.lua with 100% similarity]
libs/luci-lib-ipkg/luasrc/model/ipkg.luadoc [moved from modules/luci-base/luasrc/model/ipkg.luadoc with 100% similarity]
modules/luci-mod-freifunk/Makefile

index f5b006c357437b46af35021c856730c98ec52e9a..e957c436f1a43852a0dff8d516fa951ca6c34864 100644 (file)
@@ -21,7 +21,7 @@ PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
 
 # LuCI specific settings
 LUCI_TITLE:=LuCI Support for Aria2
-LUCI_DEPENDS:=+aria2
+LUCI_DEPENDS:=+luci-lib-ipkg +aria2
 LUCI_PKGARCH:=all
 
 define Package/$(PKG_NAME)/config
index 9262afcf840b2238d21e2a63a582d015bdf2cc60..eb3a77aee76d44773e77948c333bf9f271bd5048 100644 (file)
@@ -23,7 +23,7 @@ PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
 
 # LuCI specific settings
 LUCI_TITLE:=LuCI Support for Dynamic DNS Client (ddns-scripts)
-LUCI_DEPENDS:=+luci-mod-admin-full +ddns-scripts
+LUCI_DEPENDS:=+luci-lib-ipkg +luci-mod-admin-full +ddns-scripts
 # LUCI_PKGARCH:=all
 
 define Package/$(PKG_NAME)/config
index 83512dba5e337e0c98da45b8136f1ca55b3cb074..e405cc41f1ad363ed0e3a6c17ff02d25417f161f 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 LUCI_TITLE:=LuCI Support for DynaPoint
-LUCI_DEPENDS:=+dynapoint
+LUCI_DEPENDS:=+luci-lib-ipkg +dynapoint
 
 PKG_LICENSE:=GPL-3.0+
 PKG_MAINTAINER:=Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
index 486cf0ee740707548a64e725caf2631afbefcb6b..67281728363256e52844895069e4f81196c21350 100644 (file)
@@ -21,7 +21,7 @@ PKG_MAINTAINER:=
 
 # LuCI specific settings
 LUCI_TITLE:=LuCI Support for Privoxy WEB proxy
-LUCI_DEPENDS:=+luci-mod-admin-full +privoxy
+LUCI_DEPENDS:=+luci-lib-ipkg +luci-mod-admin-full +privoxy
 LUCI_PKGARCH:=all
 
 define Package/$(PKG_NAME)/config
index 87180e77d67540bbb48ce9b5be55f3b4e115902b..90ef0deba61d2a4819590a73d3f2443c04ef6055 100644 (file)
@@ -21,7 +21,7 @@ PKG_MAINTAINER:=
 
 # LuCI specific settings
 LUCI_TITLE:=LuCI Support for Radicale CardDAV/CalDAV
-LUCI_DEPENDS:=+luci-mod-admin-full
+LUCI_DEPENDS:=+luci-lib-ipkg +luci-mod-admin-full
 LUCI_PKGARCH:=all
 
 define Package/$(PKG_NAME)/config
index 668c73185b38131cff575e9f7144ae9ff277e40b..42b29e9a4c8521b992c15edd8cf4855f54052c4e 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 LUCI_TITLE:=LuCI Support for Transmission
-LUCI_DEPENDS:=
+LUCI_DEPENDS:=+luci-lib-ipkg
 
 include ../../luci.mk
 
diff --git a/libs/luci-lib-ipkg/Makefile b/libs/luci-lib-ipkg/Makefile
new file mode 100644 (file)
index 0000000..52fcf6f
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2018 Jo-Philipp Wich <jo@mein.io>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TITLE:=Legacy opkg interface class
+LUCI_DEPENDS:=+luci-base
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
index 550db1df1562126af183f80784eba9c800619231..70de10879ce226b940c8cce9c999fa02baf0937f 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 LUCI_TITLE:=LuCI Freifunk module
-LUCI_DEPENDS:=+luci-mod-admin-full +luci-lib-json +freifunk-firewall +freifunk-common
+LUCI_DEPENDS:=+luci-mod-admin-full +luci-lib-json +luci-lib-ipkg +freifunk-firewall +freifunk-common
 
 include ../../luci.mk
 
git clone https://git.99rst.org/PROJECT