mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
luci-base: move luci.sys.iptparser into separate package
Since commit f6bfac211 ("luci-mod-status: rework iptables status page"),
nothing in luci-base depends on the iptparser class anymore, so fold it
out into a separate package and let the few apps that require it depend
on the new library package.
Saves about 10K uncompressed in luci-base while the iptables status
rework enlarged the markup by roughly 5KB, saving roughly 5KB of size
overall.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=Freifunk DHCP-Splash application
|
||||
LUCI_DEPENDS:=+luci-lib-nixio +tc +kmod-sched +iptables-mod-nat-extra +iptables-mod-ipopt
|
||||
LUCI_DEPENDS:=+luci-lib-nixio +luci-lib-iptparser +tc +kmod-sched +iptables-mod-nat-extra +iptables-mod-ipopt
|
||||
|
||||
define Package/luci-app-splash/conffiles
|
||||
/etc/config/luci_splash
|
||||
|
||||
@@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=LuCI Statistics Application
|
||||
LUCI_DEPENDS:= \
|
||||
+luci-lib-iptparser \
|
||||
+collectd +rrdtool1 +collectd-mod-rrdtool +collectd-mod-iwinfo \
|
||||
+collectd-mod-cpu +collectd-mod-memory \
|
||||
+collectd-mod-interface +collectd-mod-load +collectd-mod-network
|
||||
|
||||
14
libs/luci-lib-iptparser/Makefile
Normal file
14
libs/luci-lib-iptparser/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (C) 2018 The LuCI Team <luci@lists.subsignal.org>
|
||||
#
|
||||
# This is free software, licensed under the Apache License, Version 2.0 .
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=Iptables listing parser class
|
||||
LUCI_DEPENDS:=+luci-base
|
||||
|
||||
include ../../luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
Reference in New Issue
Block a user