Commit Graph

62 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Toke Høiland-Jørgensen 0ded22fd33 sqm-scripts: Bump to v1.6.0
Fixes an issue with DSA switch compatibility

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2023-08-22 12:51:53 +02:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Toke Høiland-Jørgensen a69e80648a sqm-scripts: Bump to v1.5.2
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-08-24 16:41:22 +02:00
Etienne Champetier 68fb9c62a5 sqm-scripts: switch back to iptables
Following recent dependency rework, we can switch
between iptables-legacy and iptables-nft, and they both
PROVIDES iptables. Make it easier for user that want/need to
stick to firewall3/iptables-legacy to do so.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2022-03-02 17:26:23 -05:00
Toke Høiland-Jørgensen 698af2eb99 sqm-scripts: Change iptables dependency to iptables-nft
There's only one of the shaper scripts (simple.qos) that uses iptables, and
it should be fine with iptables-nft for compatibility with the new default
nft-based firewall. Confusingly, we still need the iptables-mod-ipopt
package to get the DSCP match module; we never used CONNMARK, though, so
drop the iptables-mod-conntrack-extra dependency while we're at it.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-02-01 23:30:17 +01:00
Rui Salvaterra cb9229870e sqm-scripts: drop redundant dependency
The kmod-sched-cake package already depends on kmod-sched-core, there's no need
for explicitly stating the dependency.

While at it, change PKG_RELEASE to $(AUTORELEASE).

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-12-17 18:33:42 +01:00
Toke Høiland-Jørgensen 62c16aacb4 sqm-scripts: bump to v1.5.1
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2021-08-13 17:54:46 +02:00
Toke Høiland-Jørgensen 476e77be6b sqm-scripts: Update PKG_MIRROR_HASH
Forgot to update the MIRROR_HASH

Fixes: 2c652128c52e: ("sqm-scripts: Bump to v1.5.0")
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2020-12-31 17:28:15 +01:00
Toke Høiland-Jørgensen 2c652128c5 sqm-scripts: Bump to v1.5.0
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2020-12-31 16:18:15 +01:00
Adrian Schmutzler 6495b470e4 sqm-scripts: depend directly on kmod-sched-cake again
Since support for kernel 4.14 has been removed, kmod-sched-cake-oot
is gone, and the kmod-sched-cake-virtual package is not needed
anymore.

This effectively reverts 9114244fbd ("sqm-scripts: Switch sch_cake
dependency to new virtual package")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-31 21:57:28 +02:00
Toke Høiland-Jørgensen 9114244fbd sqm-scripts: Switch sch_cake dependency to new virtual package
As reported in https://github.com/openwrt/packages/issues/12072, the
imagebuilder fails due to a dependency resolution error when the userspace
packages are built using a target that has a different kernel version than
that which is being run. To resolve this, move the sqm-scripts dependency
to a new virtual package, which hopefully should be consistent with the
actual kernel module being built.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2020-05-06 22:12:48 +02:00
Hannu Nyman 3e46fd5f05 sqm-scripts: move luci-app-sqm to the LuCI feed
Move luci-app-sqm to the LuCI feed to enable
it to be translated.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-03 18:42:13 +03:00
Kevin Darbyshire-Bryant ed1e001fdf sqm-scripts: support in & out of tree cake packages
Change dependency requirements based on kernel version.  Ultimately in a
post Linux 4_14 world the differentation can be removed.  In the short
term this allows post 4_14 kernels to use in-tree versions of the cake
shaper.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-04-01 22:01:59 +01:00
Yousong Zhou db8fa4b326 sqm-scripts: luci-app-sqm: init ucitrack with uci-defaults
To avoid build failure when luci-app-sqm is selected as builtin where
the ipk will be installed on build machine

While at it, switch to using $(MAKE) instead of plain "make"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-01 13:53:19 +08:00
Rosen Penev ab19ba4425
sqm-scripts: fix hash and simplify Makefile slightly
The previous commit required the hash to be updated.

Removed a bunch of redundant variables.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-06 15:23:24 -08:00
Toke Høiland-Jørgensen b59f7eb831 luci-app-sqm: Remove lua and luci-base dependencies
We depend on luci-compat now, which will pull in luci-base, which in turn
will pull in lua. So remove those two dependencies to maybe help with
recursive dependency resolution errors.

Fixes #5320.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
2020-01-17 11:09:16 +01:00
Zachary Cook 3af3de77e8 sqm-scripts: Add required new depends for luci-app-sqm
The new luci-compat package is required to be able to run luci-app-sqm, see:
d5dff8f9a5

Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
2019-11-04 12:27:36 -05:00
Toke Høiland-Jørgensen 1126368e0e sqm-scripts: Bump to v1.4.0
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-09-14 13:19:23 +02:00
Toke Høiland-Jørgensen 56fea1e1b9 sqm-scripts: Bump to v1.3.0
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
2019-01-21 11:53:25 +01:00
Jo-Philipp Wich 08cda777e0 sqm-scripts: select luci-base instead of depending on it
Currently luci-app-sqm provided by sqm-scripts depends on luci-base instead
of selecting it, this leads to an indirect circular dependency in kconfig:

    tmp/.config-package.in:34646:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:34646:	symbol PACKAGE_iptables is selected by PACKAGE_sqm-scripts
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:961:	symbol PACKAGE_sqm-scripts is selected by PACKAGE_luci-app-sqm
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:22421:	symbol PACKAGE_luci-app-sqm depends on PACKAGE_luci-base
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:21387:	symbol PACKAGE_luci-base is selected by PACKAGE_luci-lib-iptparser
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:22899:	symbol PACKAGE_luci-lib-iptparser is selected by PACKAGE_luci-app-splash
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:22402:	symbol PACKAGE_luci-app-splash is selected by PACKAGE_luci-mod-freifunk-community
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    tmp/.config-package.in:21552:	symbol PACKAGE_luci-mod-freifunk-community depends on PACKAGE_iptables

Solve the issue by turning the dependencies into selecting ones which also
matches the behaviour of other LuCI applications.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10 14:31:34 +02:00
Toke Høiland-Jørgensen b91dafd14b sqm-scripts: Bump to v1.2.4
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-08-28 12:12:57 +02:00
Toke Høiland-Jørgensen 81873e11ae sqm-scripts: Bump to v1.2.3
Fixes an issue with sqm-scripts not being reloaded on ifup/down.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-06-05 23:37:42 +02:00
Toke Høiland-Jørgensen 9dc0862aab sqm-scripts: Bump to v1.2.2
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-05-06 18:15:32 +02:00
Toke Høiland-Jørgensen 5e73184c2f sqm-scripts: Another bump to v1.2.1 2018-05-02 18:45:36 +02:00
Toke Høiland-Jørgensen 5ddd499372 sqm-scripts: Bump to v1.2.0
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-05-02 17:26:41 +02:00
Tony Ambardar 8214106013 sqm-scripts: Fix return value bug in postrm script
The script removes the UCI option ucitrack.@sqm[0] if present and then
returns success. If that UCI option is already absent however, the
script incorrectly returns failure, which blocks upgrade of the
luci-app-sqm package.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-01 11:57:51 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Toke Høiland-Jørgensen 079472eacf sqm-scripts: Bump to v1.1.3 2017-02-03 17:06:09 +01:00
Toke Høiland-Jørgensen e7cfe41c81 sqm-scripts: Bump to v1.1.2, depend on kmod-sched-core
The needed shaper modules are now in kmod-sched-core, so we don't need
to depend on the full kmod-sched anymore.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2017-01-29 17:11:10 +01:00
Toke Høiland-Jørgensen a84d421b18 sqm-scripts: Bump to v1.1.1, depend on kmod-sched-cake
The kmod-sched-cake dependency is to avoid

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2017-01-22 20:05:15 +01:00
Toke Høiland-Jørgensen 6dee23a0f6 sqm-scripts: Update to v1.1.0 2017-01-03 23:22:54 +01:00
Alberto Bursi e55c088877 sqm-scripts: use https link (#3741)
change download link from git:// to https:// .
Git links are less safe (not encrypted) and, more importantly, they are blocked by company firewalls.
Https links do not have either issue.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2017-01-03 11:23:07 +01:00
Toke Høiland-Jørgensen 6a8e4abf9d sqm-scripts: Bump to v1.0.9
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-11-19 16:49:05 +01:00
Toke Høiland-Jørgensen 6ec116f8be sqm-scripts: Bump to v1.0.8.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-10-02 21:44:35 +02:00
Toke Høiland-Jørgensen d93b4ab307 sqm-scripts: Bump to v1.0.7.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2016-02-16 12:32:21 +01:00
Toke Høiland-Jørgensen 91a597eebe sqm-scripts: Bump to v1.0.6.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-12-09 15:01:14 +01:00
Toke Høiland-Jørgensen 7069b07a12 sqm-scripts: Drop dependency on 'ip'. 2015-11-19 17:20:07 +01:00
Toke Høiland-Jørgensen 5346fa8dc5 sqm-scripts: Bump to v1.0.5. 2015-11-19 11:44:47 +01:00
Toke Høiland-Jørgensen 8b18ca42f0 sqm-scripts: Bump to v1.0.4. 2015-11-02 18:05:14 +01:00
Toke Høiland-Jørgensen 884534873c sqm-scripts: Bump to v1.0.3.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-09-03 15:26:38 +02:00
Toke Høiland-Jørgensen 6ce677caf0 sqm-scripts: Bump to v1.0.2.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-08-26 00:18:29 +02:00
Toke Høiland-Jørgensen 423aad97e3 sqm-scripts: Bump to v1.0.1.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-08-17 12:24:11 +01:00
Toke Høiland-Jørgensen 4a51d6001e sqm-scripts: Fix dependency on tc.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-08-14 00:55:31 +02:00
Toke Høiland-Jørgensen 15547edba9 sqm-scripts: Bump to v1.0.
sqm-scripts and luci-app-sqm now live in the same Makefile and are built
from the upstream git repository, rather than having the files included
here.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-08-06 22:14:01 +02:00
Toke Høiland-Jørgensen d29c656c99 sqm-scripts: Default to ECN on for egress.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2015-07-12 22:24:21 +02:00
Sebastian Moeller 517954b7f5 [SQM] Fix simple.qos to allow using cake as ingress shaper
simple.qos had accidentally set up the egress shaper twice, once
with the true egress parameters and a second time using the ingress
parameters, effectively misconfiguring both directions. This bub
only affected situations where 3-tier ingress classification was
used.

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
2015-07-12 22:24:21 +02:00
Sebastian Moeller 034e4d2475 [SQM] Fix sqm_logger to accept empty strings as input
sqm_logger tried tro wait indefinitely if passed an empty string.
This in turn makes sqm-scripts hang. Quoting the input argument in sqm_logger
seems to fix the problem.

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
2015-07-12 22:24:21 +02:00
Sebastian Moeller a754eb7a74 [SQM] Fix changes relating to cake lnk layer adjustments
The last batch of changes tried to teach the GUI to pass link layer
options to cake but forgot to actually call the function that parses
the GUI variables and used it as a string insteead. So this fixes that
it also tries to allow the use of the tc_stab link layer adjustment
method with cake so the implementations can be validated against each other
easily. Needs testing...

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
2015-07-12 22:24:21 +02:00
Sebastian Moeller 2ba6a3f9ab [SQM/luci-app-sqm] Wire up link layer dandling for cake
The cake traffic-shaper qdisc omne stop solution knows how to handle
link layer adjustments for ATM and can account for per packet overhead.
This commit adds cake as link layer adjustment mechanism in the GUI and
passes numerically specified overhead as well as the ATM linklayer
keywords on to cake. This change also passes the "advanced option strings"
from the Queue Discipline tab to cake. But as before no error checking.
This needs testing, as I have no working cake qdisc available so
caveat emptor...

Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
2015-07-12 22:24:21 +02:00