Commit Graph

145 Commits

Author SHA1 Message Date
Martin Schiller
ede5f6c696
lantiq: move dsl related base-files into own package
It does not make sense to install this components on lantiq systems
where the dsl subsystem is not needed/used.

This also makes it possible to use the files also on other targets.
(hopefully ipq401x / FritzBox 7530 in the near future)

Signed-off-by: Martin Schiller <ms.3headeddevs@gmail.com>
2020-07-18 13:33:36 +08:00
Adrian Schmutzler
ba7e451bc5
package: drop PKG_VERSION for purely local packages
In the package guidelines, PKG_VERSION is supposed to be used as
"The upstream version number that we're downloading", while
PKG_RELEASE is referred to as "The version of this package Makefile".
Thus, the variables in a strict interpretation provide a clear
distinction between "their" (upstream) version in PKG_VERSION and
"our" (local OpenWrt trunk) version in PKG_RELEASE.

For local (OpenWrt-only) packages, this implies that those will only
need PKG_RELEASE defined, while PKG_VERSION does not apply following
a strict interpretation. While the majority of "our" packages actually
follow that scheme, there are also some that mix both variables or
have one of them defined but keep them at "1".

This is misleading and confusing, which can be observed by the fact
that there typically either one of the variables is never bumped or
the choice of the variable to increase depends on the person doing the
change.

Consequently, this patch aims at clarifying the situation by
consistently using only PKG_RELEASE for "our" packages. To achieve
that, PKG_VERSION is removed there, bumping PKG_RELEASE where
necessary to ensure the resulting package version string is bigger
than before.

During adjustment, one has to make sure that the new resulting composite
package version will not be considered "older" than the previous one.

A useful tool for evaluating that is 'opkg compare-versions'. In
principle, there are the following cases:

1. Sole PKG_VERSION replaced by sole PKG_RELEASE:
   In this case, the resulting version string does not change, it's
   just the value of the variable put in the file. Consequently, we
   do not bump the number in these cases so nobody is tempted to
   install the same package again.

2. PKG_VERSION and PKG_RELEASE replaced by sole PKG_RELEASE:
   In this case, the resulting version string has been "version-release",
   e.g. 1-3 or 1.0-3. For this case, the new PKG_RELEASE will just
   need to be higher than the previous PKG_VERSION.
   For the cases where PKG_VERSION has always sticked to "1", and
   PKG_RELEASE has been incremented, we take the most recent value of
   PKG_RELEASE.

Apart from that, a few packages appear to have developed their own
complex versioning scheme, e.g. using x.y.z number for PKG_VERSION
_and_ a PKG_RELEASE (qos-scripts) or using dates for PKG_VERSION
(adb-enablemodem, wwan). I didn't touch these few in this patch.

Cc: Hans Dedecker <dedeckeh@gmail.com>
Cc: Felix Fietkau <nbd@nbd.name>
Cc: Andre Valentin <avalentin@marcant.net>
Cc: Matthias Schiffer <mschiffer@universe-factory.net>
Cc: Jo-Philipp Wich <jo@mein.io>
Cc: Steven Barth <steven@midlink.org>
Cc: Daniel Golle <dgolle@allnet.de>
Cc: John Crispin <john@phrozen.org>

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-16 20:15:59 +08:00
Tony Ambardar
dcfb84c2f7
iproute2: tc: fix missing em_ipset module
Feature detection doesn't recognize ipset v7 use on kernel v5.x systems
and thus disables the tc ematch function em_ipset.

- backport patch:
  * 002-configure-support-ipset-v7.patch:
    650591a7a70c configure: support ipset version 7 with kernel version 5

Fixes: 4e0c54bc5b ("kernel: add support for kernel 5.4")

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-07-16 20:11:50 +08:00
Tony Ambardar
b39f6377f9
iproute2: tc: fix dynamic symbol table size optimization
Recent iproute2 5.x versions modified the symbols resolved for plugins,
causing "tc .. action xt .." to fail. Update the list of symbols to fix.

Fixes: b61495409b ("iproute2: tc: reduce size of dynamic symbol table")

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-07-16 20:11:28 +08:00
Adrian Schmutzler
70a82a1f32 wireguard-tools: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-12 11:54:55 +08:00
Hans Dedecker
539fff94da curl: bump to 7.71.1
For changes in 7.71.1; see https://curl.haxx.se/changes.html#7_71_1

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-07-08 12:02:50 +08:00
Hans Dedecker
8d47434ca3 curl: bump to 7.71.0
For changes in 7.71.0; see https://curl.haxx.se/changes.html#7_71_0

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-07-02 11:36:39 +08:00
Hans Dedecker
e7aa26375b iproute2: update to 5.7.0
Update iproute2 to latest stable 5.7.0; for the changes see https://lwn.net/Articles/822152/

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-06-14 11:31:44 +08:00
AmadeusGhost
a273d13857 Merge Lean's source 2020-05-30 12:25:05 +08:00
AmadeusGhost
6105915786
Wireless: rollback with mac80211 (#4683)
mt76: fix build
ath10k-ct: rollback to 4.19
Revert "iw/iwinfo/mwlwifi: bump version"
Revert "mac80211/5.4: fix build on kernel 4.9"
Revert "mac80211: switch to upstream owl-loader driver"
2020-05-27 11:45:56 +08:00
AmadeusGhost
142f9724da Merge Lean's source 2020-05-21 12:25:08 +08:00
ricksuzade-maker
e48e438b08
Bump wireguard-tool to 1.0.20200513 (#4608) 2020-05-14 15:32:39 +08:00
AmadeusGhost
29a00cd005 Merge Lean's source 2020-05-13 17:50:08 +08:00
ricksuzade-maker
7fe52a9f0b
Bump wireguard-tools to 1.0.20200510 (#4598) 2020-05-13 13:28:58 +08:00
Josef Schlehofer
185eee93ca
curl: update to version 7.70.0
- Release notes:
https://curl.haxx.se/changes.html#7_70_0

- Refreshed patch

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-05-04 16:47:55 +08:00
AmadeusGhost
463b6ac050
mac80211: fixed slow wireless startup (#4420)
* hostapd: reduce to a single instance per service

* mac80211: sync upstream source code

* iw: bump to 5.4
2020-04-23 16:42:46 +08:00
AmadeusGhost
f352e3bf7d iw: bump to 5.4 2020-04-22 18:10:22 +08:00
Hauke Mehrtens
c0204980f8
dante: Fix compile with glibc
When compiled with glibc the config_scan.c wants to use the
cpupolicy2numeric() function which is only available when
HAVE_SCHED_SETSCHEDULER is set. It looks like the wrong define was used here.

This fixes a build problem with glibc in combination with the force
ac_cv_func_sched_setscheduler=no in the OpenWrt CONFIGURE_VARS.

This fixes the following compile error with glibc:
----------------------------------------------------------------------
/bin/ld: config_scan.o: in function `socks_yylex':
dante-1.4.1/sockd/config_scan.l:461: undefined reference to `cpupolicy2numeric'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:522: sockd] Error 1

Fixes: aaf46a8fe2 ("dante: disable sched_getscheduler() - not implemented in musl")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-19 19:57:16 +08:00
ElonH
0898c0cb6f
umbim: supress warning about pointers to members of a packed struct in gcc9 2020-04-16 19:53:06 +08:00
Hans Dedecker
faadfa175c
iproute2: update to 5.6.0
Update iproute2 to latest stable 5.6.0; for the changes see https://lwn.net/Articles/816778/

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-04-12 07:43:09 +08:00
ElonH
47040d246d
qos-gargoyle: fixed in SDK
In iproute2, some of object, header, source files are used in
qos-gargoyle.
qos-gargoyle will find these files in build_dir.
But if CONFIG_AUTOREMOVE is enable in SDK, an error "Header not found." will be raised.

So one way is that copying these files to staging_dir.
2020-04-10 23:12:52 +08:00
Rosen Penev
9c500156b8
iproute2: add kmod-netlink-diag for ss
Allows proper usage of the ss tool. Otherwise, several errors and bad
data gets thrown:

Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported
Cannot open netlink socket: Protocol not supported

Originally reported here: https://github.com/openwrt/packages/issues/8232

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-08 03:25:30 +08:00
CN_SZTL
30392b1872
iptables: xtables-restore: fix for --noflush and empty lines 2020-03-31 20:31:46 +08:00
DENG Qingfang
f329ca962b
curl: rebuild when libopenssl config changes
When some libopenssl options change curl will have to be rebuild to
adapt to those changes, avoiding undefined reference errors or features
disabled in curl.

Add CONFIG_OPENSSL_ENGINE, CONFIG_OPENSSL_WITH_COMPRESSION and
CONFIG_OPENSSL_WITH_NPN to PKG_CONFIG_DEPENDS so it will trigger
rebuild every time the options are changed.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-30 19:49:41 +08:00
CN_SZTL
f967174927
iw: fix 2020-03-28 23:46:08 +08:00
CN_SZTL
a68db5f2df
treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
Kevin Darbyshire-Bryant
da66eee5f9
nftables: bump to 0.9.3
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-25 04:14:04 +08:00
CN_SZTL
fbc565c228
Merge Lean's source 2020-03-24 20:20:12 +08:00
lean
b4eaefa54e libmnl: update ABI version 2020-03-24 18:24:26 +08:00
CN_SZTL
3974e8115a
iptables: refresh patches 2020-03-23 01:02:47 +08:00
CN_SZTL
53c9bd735d
iptables: refresh patches 2020-03-23 00:30:15 +08:00
CN_SZTL
a225a908b2
Merge Lean's source 2020-03-22 19:07:54 +08:00
lean
0197bc0fa8 iwinfo: bump version 2020-03-22 18:59:40 +08:00
lean
15ec89986e iptables: bump to 1.8.4 2020-03-22 17:24:12 +08:00
gudumuyu
00f8216c7e
wireguard:bump to v0.0.20200318 (#3920)
* wireguard bump to v0.0.20200318

* wireguard-tools:bump to v1.0.20200319

* wireguard:bump to 0.0.20200318

* wireguard-tools:bump to 1.0.20200319

* Update Makefile

* Update Makefile
2020-03-22 10:09:36 +08:00
CN_SZTL
48a9bbf5fb
curl: bump to 7.69.1 2020-03-22 00:52:26 +08:00
CN_SZTL
27540b1c8f
wireguard-tools: bump to 1.0.20200319 2020-03-21 20:24:43 +08:00
René van Dorst
eafcec97b3 package: add phytool
Signed-off-by: René van Dorst <opensource@vdorst.com>
2020-03-20 17:18:24 +08:00
CN_SZTL
6f4300185c
iptables: bump to 1.8.4 2020-03-16 03:51:07 +08:00
CN_SZTL
63a46b8a80
curl: bump to 7.69.0 2020-03-12 18:00:18 +08:00
CN_SZTL
e3911c47f6
Merge Lean's source 2020-03-02 11:58:03 +08:00
LEAN-ESX
866bd1e38f Revert "iwinfo: bump version"
This reverts commit 6e4202c175.
2020-03-01 19:35:42 -08:00
CN_SZTL
a2d2ba1267
Merge Lean's source 2020-03-02 01:11:20 +08:00
LEAN-ESX
6e4202c175 iwinfo: bump version 2020-03-01 07:54:43 -08:00
CN_SZTL
32af49a7d3
Merge Lean's source 2020-03-01 15:56:30 +08:00
LEAN-ESX
55ae2ecc7a kcptun: update go version 2020-02-29 22:49:03 -08:00
CN_SZTL
d1dcde5e92
kernel/iptables: add modules for qos-gargoyle 2020-02-25 23:03:16 +08:00
CN_SZTL
94220db7c3
kernel/iptables: fix IMQ support 2020-02-25 20:27:24 +08:00
CN_SZTL
0f94f9e73b
kernel/iptables: remove non-usable modules 2020-02-25 19:26:03 +08:00
CN_SZTL
d78868c0aa
Merge Lean's source 2020-02-16 13:00:27 +08:00