luci-base: move luci.sys.iptparser into separate package
authorJo-Philipp Wich <jo@mein.io>
Wed, 10 Oct 2018 11:17:20 +0000 (13:17 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 10 Oct 2018 11:19:48 +0000 (13:19 +0200)
commit94323a61e1934858db69ed43552edb97fc8e7adb
treeef86740d3da37faff94d1bbc08a7788a1849a251
parentf6bfac21173a1312152f0fdd623a417cf7fa53d1
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>
applications/luci-app-splash/Makefile
applications/luci-app-statistics/Makefile
libs/luci-lib-iptparser/Makefile [new file with mode: 0644]
libs/luci-lib-iptparser/sys/iptparser.lua [new file with mode: 0644]
libs/luci-lib-iptparser/sys/iptparser.luadoc [new file with mode: 0644]
modules/luci-base/luasrc/sys/iptparser.lua [deleted file]
modules/luci-base/luasrc/sys/iptparser.luadoc [deleted file]