diff --git a/package/ntlf9t/luci-app-qosv4/Makefile b/package/ntlf9t/luci-app-qosv4/Makefile index 95e95a09b8..c1dde788cb 100644 --- a/package/ntlf9t/luci-app-qosv4/Makefile +++ b/package/ntlf9t/luci-app-qosv4/Makefile @@ -7,43 +7,17 @@ include $(TOPDIR)/rules.mk +LUCI_TITLE:=LuCI Support for QoSv4. +LUCI_DESCRIPTION:=An agent script that makes qosv4 configuration simple. +LUCI_DEPENDS:=+tc +iptables-mod-conntrack-extra +iptables-mod-conntrack-extra +iptables-mod-filter +iptables-mod-imq +iptables-mod-ipopt +iptables-mod-nat-extra +iptables-mod-imq +kmod-sched +LUCI_PKGARCH:=all + PKG_NAME:=luci-app-qosv4 PKG_VERSION:=1.1f -PKG_RELEASE:=1 +PKG_RELEASE:=2 -include $(INCLUDE_DIR)/package.mk +PKG_MAINTAINER:=qq 3341249 -define Package/luci-app-qosv4 - SECTION:=LuCI - CATEGORY:=LuCI - SUBMENU:=3. Applications - TITLE:=LuCI Support for QoSv4. - DEPENDS:=+tc +iptables-mod-conntrack-extra +iptables-mod-conntrack-extra +iptables-mod-filter +iptables-mod-imq +iptables-mod-ipopt +iptables-mod-nat-extra +iptables-mod-imq +kmod-sched - PKGARCH:=all - MAINTAINER:=qq 3341249 -endef +include $(TOPDIR)/feeds/luci/luci.mk -define Package/luci-app-qosv4/description -An agent script that makes qosv4 configuration simple. -endef - -define Build/Compile -endef - -define Package/luci-app-qosv4/postinst -#!/bin/sh - -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-qosv4 ) && rm -f /etc/uci-defaults/luci-qosv4 - chmod 755 /etc/init.d/qosv4 >/dev/null 2>&1 -/etc/init.d/qosv4 enable >/dev/null 2>&1 -sed -i -e '/qos_scheduler/d' /etc/crontabs/root >/dev/null 2>&1 - exit 0 -} -endef - -define Package/luci-app-qosv4/install - $(CP) ./files/* $(1) -endef - -$(eval $(call BuildPackage,luci-app-qosv4)) +# call BuildPackage - OpenWrt buildroot signature diff --git a/package/ntlf9t/luci-app-qosv4/files/usr/lib/lua/luci/controller/qosv4.lua b/package/ntlf9t/luci-app-qosv4/luasrc/controller/qosv4.lua similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/usr/lib/lua/luci/controller/qosv4.lua rename to package/ntlf9t/luci-app-qosv4/luasrc/controller/qosv4.lua diff --git a/package/ntlf9t/luci-app-qosv4/files/usr/lib/lua/luci/model/cbi/qosv4.lua b/package/ntlf9t/luci-app-qosv4/luasrc/model/cbi/qosv4.lua similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/usr/lib/lua/luci/model/cbi/qosv4.lua rename to package/ntlf9t/luci-app-qosv4/luasrc/model/cbi/qosv4.lua diff --git a/package/ntlf9t/luci-app-qosv4/files/etc/config/qosv4 b/package/ntlf9t/luci-app-qosv4/root/etc/config/qosv4 similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/etc/config/qosv4 rename to package/ntlf9t/luci-app-qosv4/root/etc/config/qosv4 diff --git a/package/ntlf9t/luci-app-qosv4/files/etc/init.d/qosv4 b/package/ntlf9t/luci-app-qosv4/root/etc/init.d/qosv4 similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/etc/init.d/qosv4 rename to package/ntlf9t/luci-app-qosv4/root/etc/init.d/qosv4 diff --git a/package/ntlf9t/luci-app-qosv4/files/etc/uci-defaults/luci-qosv4 b/package/ntlf9t/luci-app-qosv4/root/etc/uci-defaults/luci-qosv4 similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/etc/uci-defaults/luci-qosv4 rename to package/ntlf9t/luci-app-qosv4/root/etc/uci-defaults/luci-qosv4 diff --git a/package/ntlf9t/luci-app-qosv4/files/usr/bin/qosv4 b/package/ntlf9t/luci-app-qosv4/root/usr/bin/qosv4 similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/usr/bin/qosv4 rename to package/ntlf9t/luci-app-qosv4/root/usr/bin/qosv4 diff --git a/package/ntlf9t/luci-app-qosv4/files/usr/lib/lua/luci/i18n/qosv4.zh-cn.lmo b/package/ntlf9t/luci-app-qosv4/root/usr/lib/lua/luci/i18n/qosv4.zh-cn.lmo similarity index 100% rename from package/ntlf9t/luci-app-qosv4/files/usr/lib/lua/luci/i18n/qosv4.zh-cn.lmo rename to package/ntlf9t/luci-app-qosv4/root/usr/lib/lua/luci/i18n/qosv4.zh-cn.lmo