Re: [LEDE-DEV] ipset-dns - does anybody actually use this?

2017-11-26 Thread jarellczc
2017-11-27 9:37 GMT+08:00 : > Patch submitted to enable configuring dnsmasq IPset domain rules > through LuCI > > https://github.com/openwrt/luci/pull/1453 About 1.3 billion people need this. > > ___ > Lede-dev mailing list > Lede-dev@lists.infradead.org

Re: [LEDE-DEV] ipset-dns - does anybody actually use this?

2017-11-26 Thread Joe Mullally
Woops, that should have been in reply to http://lists.infradead.org/pipermail/lede-dev/2017-October/009225.html On Mon, Nov 27, 2017 at 1:37 AM, wrote: > Patch submitted to enable configuring dnsmasq IPset domain rules > through LuCI > > https://github.com/openwrt/luci/pull/1453 ___

Re: [LEDE-DEV] ipset-dns - does anybody actually use this?

2017-11-26 Thread josephusmullally
Patch submitted to enable configuring dnsmasq IPset domain rules through LuCI https://github.com/openwrt/luci/pull/1453 ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
On 2017-11-26 19:50, Arjen de Korte wrote: Citeren Roman Yeryomin : Changes from v2: - const both to pointer and char itself, so nothing can be modified The first const may be useful to prevent changes to the pointer, but the second is nonsense. You won't be able to modify the string it point

Re: [LEDE-DEV] [RFC 06/26] kernel: kmod-sched-cake: deactivate on kernel 4.14

2017-11-26 Thread Dave Taht
Hauke Mehrtens writes: > Hi Sebastian, > > On 11/26/2017 11:25 PM, Sebastian Moeller wrote: >> Hi Hauke, >> >> sch_cake is in major flux at the moment, as it is readied for an attempt at >> upstreaming. The updated sch_cake from november 25 is not a recommended >> version to use as far as I can

Re: [LEDE-DEV] [RFC 18/26] xtables-addons: fix compile with kernel 4.14

2017-11-26 Thread Hauke Mehrtens
On 11/26/2017 06:36 PM, Arjen de Korte wrote: > Citeren Hauke Mehrtens : > >> This fixes multiple compile problems seen with kernel 4.14. > > Comments inline. > >> Signed-off-by: Hauke Mehrtens >> --- >>  .../utils/xtables-addons/patches/001-fix-compile.patch    | 11 >> +++ >>  .../

Re: [LEDE-DEV] [RFC 06/26] kernel: kmod-sched-cake: deactivate on kernel 4.14

2017-11-26 Thread Hauke Mehrtens
Hi Sebastian, On 11/26/2017 11:25 PM, Sebastian Moeller wrote: > Hi Hauke, > > sch_cake is in major flux at the moment, as it is readied for an attempt at > upstreaming. The updated sch_cake from november 25 is not a recommended > version to use as far as I can tell. Maybe it would be best to s

Re: [LEDE-DEV] [RFC 00/26] Add support for kernel 4.14

2017-11-26 Thread Lucian Cristian
On 26.11.2017 13:44, Hauke Mehrtens wrote: This adds support for kernel 4.14 to LEDE. This ports the generic patches to kernel 4.14 and also adds support for kernel 4.14 to the x86 target, I am also working on adding support for the lantiq target, but there are still some problems with the xrx200

Re: [LEDE-DEV] [RFC 06/26] kernel: kmod-sched-cake: deactivate on kernel 4.14

2017-11-26 Thread Sebastian Moeller
Hi Hauke, sch_cake is in major flux at the moment, as it is readied for an attempt at upstreaming. The updated sch_cake from november 25 is not a recommended version to use as far as I can tell. Maybe it would be best to stick to the January version for the few days/weeks it shoud take for the

Re: [LEDE-DEV] [RFC] toolchain: fix GCC version check causing failure on Debian Testing with gcc-7

2017-11-26 Thread Peter Pöschl
Hello Martin, > [moved to top] > > gcc7 --version | grep gcc, \ > > + gcc-7 --version | grep gcc, \ > > this part is new And unfortunately it is only the tip of the iceberg: In Debian there were/are gcc-4.2 .. gcc-4.9, gcc-5 .. gcc-7. And what about beauties like 'x86_64-linux-gnu-gcc-7'?

Re: [LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-26 Thread Arjen de Korte
Citeren Roman Yeryomin : Changes from v2: - const both to pointer and char itself, so nothing can be modified The first const may be useful to prevent changes to the pointer, but the second is nonsense. You won't be able to modify the string it points to anyway. const char *passwd =

Re: [LEDE-DEV] [RFC 18/26] xtables-addons: fix compile with kernel 4.14

2017-11-26 Thread Arjen de Korte
Citeren Hauke Mehrtens : This fixes multiple compile problems seen with kernel 4.14. Comments inline. Signed-off-by: Hauke Mehrtens --- .../utils/xtables-addons/patches/001-fix-compile.patch| 11 +++ .../xtables-addons/patches/201-fix-lua-packetscript.patch | 9

[LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
Changes from v2: - const both to pointer and char itself, so nothing can be modified Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b/sys.c index 40f49ca..122191b 100644 --- a/sys.c +++ b/sys.c @@ -78,6 +78,7 @@ rpc_cgi_pass

Re: [LEDE-DEV] [PATCH rpcd v2] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
On 2017-11-26 17:39, Daniel Golle wrote: Hi Roman, On Sun, Nov 26, 2017 at 12:02:14PM +0200, Roman Yeryomin wrote: Changes from v1: - use pointer to reduce compile size Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b/sy

Re: [LEDE-DEV] [RFC] toolchain: fix GCC version check causing failure on Debian Testing with gcc-7

2017-11-26 Thread Martin Blumenstingl via Lede-dev
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi Peter, On Sun, Nov 26, 2017 at

[LEDE-DEV] [RFC] toolchain: fix GCC version check causing failure on Debian Testing with gcc-7

2017-11-26 Thread Peter Pöschl
In Debian Stretch/Testing gcc version 7 is called gcc-7 and g++-7 and 'gcc -dumpversion' returns '7' which causes 'make defconfig' to fail with Build dependency: Please install the GNU C Compiler ... Build dependency: Please install the GNU C++ Compiler ... The following patch is minimal in

Re: [LEDE-DEV] [PATCH rpcd v2] sys: fix passwd path

2017-11-26 Thread Daniel Golle
Hi Roman, On Sun, Nov 26, 2017 at 12:02:14PM +0200, Roman Yeryomin wrote: > Changes from v1: > - use pointer to reduce compile size > > Signed-off-by: Roman Yeryomin > --- > sys.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/sys.c b/sys.c > index 40f49ca..12219

Re: [LEDE-DEV] [PATCH] kernel: bump 4.4 to 4.4.102

2017-11-26 Thread Stijn Segers
Refreshed all patches. Removed upstream ramips patch: 0063-set-CM_GCR_BASE_CMDEFTGT_MEM-according-to-datasheet.patch Compile-tested: ar71xx, ramips, x86 Run-tested: ar71xx, ramips/mt7621, x86/64 (Ramips and x86 have been tested on 17.01 but I suppose that does not really matter.) Tested-by

[LEDE-DEV] [RFC 26/26] x86: update config and make patches apply for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This updates the configuration and makes the kernel patches apply against kernel 4.14. The subtarget configuration was refresh with kernel 4.14 and the options needed to make it compile on kernel 4.9 were added manually. Signed-off-by: Hauke Mehrtens --- target/linux/x86/64/config-default

[LEDE-DEV] [RFC 11/26] kernel: add kmod-crypto-ecdh

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-bluetooth depends on kmod-crypto-ecdh, add kmod-crypto-ecdh to LEDE. Both packages also depend on the kmod-crypto-kpp package. To build this we have to fix the dependency of CRYPTO_ECDH which has a typo. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk

[LEDE-DEV] [RFC 25/26] x86: copy kernel 4.9 patches and config to 4.14

2017-11-26 Thread Hauke Mehrtens
This just copies the configuration and the patches from kernel 4.9 to the places where they are expected for kernel 4.14 without modifying them. Signed-off-by: Hauke Mehrtens --- target/linux/x86/config-4.14 | 488 + .../x86/patches-4.14/011-tune_lzma_op

[LEDE-DEV] [RFC 17/26] kernel: kmod-fbcon: handle merged kernel modules

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 many kernel modules from the kmod-fbcon package were merged into one. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/video.mk | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package/kernel/linux/modules/video.mk b/package/kernel

[LEDE-DEV] [RFC 15/26] kernel: kmod-mmc: handle moved mmc_block.ko

2017-11-26 Thread Hauke Mehrtens
mmc_block.ko was moved with kernel 4.10. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index b3ad4a051e..ef2740296a 10064

[LEDE-DEV] [RFC 19/26] kernel: kmod-zram: deactivate CONFIG_ZRAM_WRITEBACK for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This new option was introduced in kernel 4.14 and should be deactivated by default. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index ef2

[LEDE-DEV] [RFC 08/26] kernel: add kmod-lib-zstd

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-fs-btrfs depends on the zstd compression libraries, add it to the package system. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk | 2 +- package/kernel/linux/modules/lib.mk | 22 ++ 2 files changed, 23 insertions(+), 1 deletion(-)

[LEDE-DEV] [RFC 24/26] kernel: include: remove last .0 from kernel versions again

2017-11-26 Thread Hauke Mehrtens
Kernel 4.14 has the version number 4.14 and not 4.14.0. This changed again with some more recent kernel versions. This change makes it possible to use kernel 4.14 without any minor version. Signed-off-by: Hauke Mehrtens --- include/kernel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[LEDE-DEV] [RFC 23/26] mt76: fix compile with kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This fixes a minor compile problem with kernel 4.14 Signed-off-by: Hauke Mehrtens --- package/kernel/mt76/patches/001-fix-compile.patch | 30 +++ 1 file changed, 30 insertions(+) create mode 100644 package/kernel/mt76/patches/001-fix-compile.patch diff --git a/package/kerne

[LEDE-DEV] [RFC 16/26] kernel: kmod-sound-core: handle moved snd-seq-device.ko

2017-11-26 Thread Hauke Mehrtens
The snd-seq-device.ko kernel module was moved with kernel 4.13. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/sound.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 75aa3

[LEDE-DEV] [RFC 18/26] xtables-addons: fix compile with kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This fixes multiple compile problems seen with kernel 4.14. Signed-off-by: Hauke Mehrtens --- .../utils/xtables-addons/patches/001-fix-compile.patch| 11 +++ .../xtables-addons/patches/201-fix-lua-packetscript.patch | 9 + 2 files changed, 20 insertions(+) create mo

[LEDE-DEV] [RFC 10/26] kernel: add kmod-crypto-rsa

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-crypto-hw-ccp depends on kmod-crypto-rsa, add it. kmod-crypto-rsa also packages the ASN1 parser and some other code which is currently only used by this module. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 22 -- 1 file change

[LEDE-DEV] [RFC 14/26] kernel: kmod-rxrpc: handle renamed kernel module

2017-11-26 Thread Hauke Mehrtens
The kernel module was renamed with kernel 4.11, handle that in the package definition. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kerne

[LEDE-DEV] [RFC 22/26] kernel: add missing dependencies to kmod-crypto-acompress

2017-11-26 Thread Hauke Mehrtens
kmod-lib-lzo and kmod-lib-lz4 depend in kernel 4.14 on kmod-crypto-acompress, add this missing dependency. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/lib.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modul

[LEDE-DEV] [RFC 13/26] kernel: deactivate some new network features

2017-11-26 Thread Hauke Mehrtens
This deactivates the following options which were introduced between kernel 4.9 and 4.14 in some kernel packages: CONFIG_INET_ESP_OFFLOAD CONFIG_INET6_ESP_OFFLOAD CONFIG_LWTUNNEL_BPF CONFIG_NET_9P_XEN Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 8 ++-- 1 fi

[LEDE-DEV] [RFC 21/26] kernel: kmod-rtc-ds1307: add dependency to regmap

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-rtc-ds1307 depends on regmap-i2c, add this missing dependency. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/oth

[LEDE-DEV] [RFC 05/26] kernel: tg3: deactivate hwmon for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
On kernel 4.14 hwmon support can be deactivated for the tg3 driver, deactivate it by default to save some space on the brcm47xx platform. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/

[LEDE-DEV] [RFC 06/26] kernel: kmod-sched-cake: deactivate on kernel 4.14

2017-11-26 Thread Hauke Mehrtens
There are build problems with kernel 4.14, deactivate it for now on this kernel till someone fixes them. Signed-off-by: Hauke Mehrtens --- package/kernel/kmod-sched-cake/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/kmod-sched-cake/Makefile b/packag

[LEDE-DEV] [RFC 12/26] kernel: unset CONFIG_CIFS_SMB311 in kmod-fs-cifs

2017-11-26 Thread Hauke Mehrtens
Do not activate the experimental feature CONFIG_CIFS_SMB311. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/fs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 1e130ddac6..f7575

[LEDE-DEV] [RFC 20/26] kernel: kmod-iio-bmp280: allow compile with kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This package also compiles with kernel 4.14. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/iio.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk index 396ee7fbe4..8990e54813 100644 --

[LEDE-DEV] [RFC 09/26] kernel: add kmod-crypto-acompress

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-crypto-deflate depends on kmod-crypto-acompress. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/crypto.mk | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/

[LEDE-DEV] [RFC 01/26] kernel: generic: add some more 4.9 configure options

2017-11-26 Thread Hauke Mehrtens
These are taken from the x86 target and should make support kernel 4.9 and 4.14 in the x86 target easier. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.9 | 9 + 1 file changed, 9 insertions(+) diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4

[LEDE-DEV] [RFC 00/26] Add support for kernel 4.14

2017-11-26 Thread Hauke Mehrtens
This adds support for kernel 4.14 to LEDE. This ports the generic patches to kernel 4.14 and also adds support for kernel 4.14 to the x86 target, I am also working on adding support for the lantiq target, but there are still some problems with the xrx200 Ethernet driver. I would like to use this

[LEDE-DEV] [RFC 02/26] x86: refresh configuration

2017-11-26 Thread Hauke Mehrtens
Just refresh the kernel configuration, some options are removed because they are now in the generic kernel configuration. Signed-off-by: Hauke Mehrtens --- target/linux/x86/64/config-default | 10 -- target/linux/x86/generic/config-default | 7 --- target/linux/x86/geode/config

[LEDE-DEV] [RFC 07/26] kernel: add kmod-dax

2017-11-26 Thread Hauke Mehrtens
In kernel 4.14 kmod-dm depends on kmod-dax. Add DAX: "Direct access to differentiated memory" to LEDE. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/block.mk | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/block.mk

[LEDE-DEV] [PATCH] kernel: bump 4.4 to 4.4.102

2017-11-26 Thread Etienne Haarsma
Refreshed all patches. Removed upstream ramips patch: 0063-set-CM_GCR_BASE_CMDEFTGT_MEM-according-to-datasheet.patch Compile-tested: ar71xx Run-tested: ar71xx Signed-off-by: Etienne Haarsma bladeoner...@gmail.com --- include/kernel-version.mk| 4 ++-- .../ar71x

[LEDE-DEV] [PATCH rpcd v2] sys: fix passwd path

2017-11-26 Thread Roman Yeryomin
Changes from v1: - use pointer to reduce compile size Signed-off-by: Roman Yeryomin --- sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys.c b/sys.c index 40f49ca..122191b 100644 --- a/sys.c +++ b/sys.c @@ -78,6 +78,7 @@ rpc_cgi_password_set(struct ubus_context *c