Skip to content

Commit

Permalink
luci-lib-ipkg: move out of luci-base
Browse files Browse the repository at this point in the history
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 <jo@mein.io>
  • Loading branch information
jow- committed Nov 14, 2018
1 parent 391e82d commit 4bbe325
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion applications/luci-app-aria2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion applications/luci-app-ddns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion applications/luci-app-dynapoint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion applications/luci-app-privoxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion applications/luci-app-radicale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion applications/luci-app-transmission/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk

LUCI_TITLE:=LuCI Support for Transmission
LUCI_DEPENDS:=
LUCI_DEPENDS:=+luci-lib-ipkg

include ../../luci.mk

Expand Down
14 changes: 14 additions & 0 deletions libs/luci-lib-ipkg/Makefile
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/luci-mod-freifunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4bbe325

Please sign in to comment.