Re: [VOTE] New member proposal: Robimarko (Robert Marko)

2024-02-07 Thread Luka Perkov via openwrt-devel
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 --- On Tue, Jan 30, 2024 at 7:17 PM

Re: [OpenWrt-Devel] [PATCH packages] rpcd-mod-lxc: add "info" ubus method (similar to the lxc-info)

2017-11-07 Thread Luka Perkov
gt;> ubus call lxc info '{ "name": "foo" }' > { >"name": "foo", >"state": "RUNNING", >"pid": 2946, > "ips": [ >"192.168.0.124" >

Re: [OpenWrt-Devel] [LEDE-DEV] rpcd-mod-nosql - prpl funding proposal

2016-11-10 Thread Luka Perkov
Hi Jo, can you define the session namespace and how this existing feature can be used? Thanks, Luka On Thu, Nov 10, 2016 at 9:37 AM, Jo-Philipp Wich wrote: > Hi Luka, > > in rpcd there already is the ability to store arbitrarily nested > key-value data in the session namespace

[OpenWrt-Devel] rpcd-mod-nosql - prpl funding proposal

2016-11-09 Thread Luka Perkov
Hi all! Over and over again we are running into a situation where we need to store or cache for a period of time some arbitrary (runtime) data. Instead of working around these situations by using /tmp/ directory as a placeholder we propose a tiny "nosql" ubus based mechanism implemented as a rpcd

Re: [OpenWrt-Devel] Why was libwebswocekts bumped in the for-15.05 branch?

2016-11-08 Thread Luka Perkov
Hi Karl, thanks for pointing this out. I'm sorry but this commit ended up in the wrong git repo :( It is now reverted: https://github.com/openwrt/packages/commit/b3139cf56c2f3ff80dc29239cccf9c7b6bcb5f9d Thanks again, Luka On Tue, Nov 08, 2016 at 10:12:43AM -, Karl Palsson wrote: > > It

Re: [OpenWrt-Devel] [PATCH packages] pptpd: run service in foreground for procd compatibility

2016-09-27 Thread Luka Perkov
Hi Rafał, On Wed, Sep 28, 2016 at 12:56:27AM +0200, Rafał Miłecki wrote: > On 28 September 2016 at 00:37, Luka Perkov <l...@openwrt.org> wrote: > > On Mon, Sep 26, 2016 at 07:59:30AM +0200, Rafał Miłecki wrote: > >> From: Rafał Miłecki <ra...@milecki.pl> > >&

[OpenWrt-Devel] openwrt userspace git repo location

2016-09-27 Thread Luka Perkov
Hi Felix, it seems there is some divergence from the Git repos hosted on OpenWrt site and on LEDE: http://git.openwrt.org/?p=project/ubus.git;a=summary https://git.lede-project.org/?p=project/ubus.git;a=summary Do you know why is that? Speaking of this topic I'd like to propose that we host

Re: [OpenWrt-Devel] [PATCH packages] pptpd: run service in foreground for procd compatibility

2016-09-27 Thread Luka Perkov
Hi Rafał, On Mon, Sep 26, 2016 at 07:59:30AM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > To have service working nicely with procd it should be running in the > foreground. Otherwise it's not possible to e.g. stop it with the init.d > script. Luckily for us pptpd has

Re: [OpenWrt-Devel] imports from LEDE to OpenWrt github repo

2016-06-26 Thread Luka Perkov
On Sat, Jun 25, 2016 at 02:10:28PM +0200, John Crispin wrote: > thanks ! i would not ask for it normally but if you are at it anyhow you > might aswell. the rest looks good. It seems that this was oversight in merging commits... However, changing the Git history will mess up the repo since git

[OpenWrt-Devel] OpenWrt main tree moves to GitHub

2016-06-25 Thread Luka Perkov
Dear OpenWrt developers and users, As announced previously, we have moved the OpenWrt codebase to GitHub [1]. Since OpenWrt used SVN before and had a Git mirror hosted, we have decided to reuse OpenWrt Git mirror tree already hosted on GitHub. That said, the following points are relevant to the

Re: [OpenWrt-Devel] [OpenWrt] TR-069 for OpenWrt

2016-05-28 Thread Luka Perkov
Hi Delbar, On Thu, May 26, 2016 at 11:43:28PM +, Delbar Jos wrote: > At Technicolor we have followed with great interest the recent proposals to > enhance OpenWrt with an open source solution for TR-069 remote management. As > one of the world's largest vendors of modems and routers for

Re: [OpenWrt-Devel] [OpenWrt-Users] [PROPOSAL] move OpenWrt codebase to Git and GitHub

2016-05-25 Thread Luka Perkov
Thanks for the numbers Jo. The current hello-world setup with drone.io was done on cheap SSD based VPS. That said, with some "optimizations" (or hacks if you want) I think it should be possible to have less powerful servers but more of them to do what is needed. For example, if one makes pull

Re: [OpenWrt-Devel] [PROPOSAL] move OpenWrt codebase to Git and GitHub

2016-05-25 Thread Luka Perkov
On Tue, May 24, 2016 at 10:29:30AM -0700, David Lang wrote: > OpenWRT has already moved to using Git instead of SVN, No, it has not. To users is exposed the Git frontend while the commits are made to the SVN repo. > so why do they need to move from hosting the git repository themselves to >

Re: [OpenWrt-Devel] [PROPOSAL] move OpenWrt codebase to Git and GitHub

2016-05-25 Thread Luka Perkov
On Tue, May 24, 2016 at 10:51:46AM -0500, Eric Schultz wrote: > My free-software side worries about using something non-free like drone.io > for CI but this is a huge task certainly and I'm not sure a free tool would > meet everyone's needs (plus there's the huge added burden of maintenance). The

[OpenWrt-Devel] [PROPOSAL] move OpenWrt codebase to Git and GitHub

2016-05-24 Thread Luka Perkov
Dear OpenWrt mailing list readers, as the subject says I'd like to make proposal to move the OpenWrt codebase to Git. This was already discussed before [1] and now when there are no blockers [2] for this change I'd like that we as a community move forward with this switch. Also, I'd like to

Re: [OpenWrt-Devel] [OpenWrt] rocket cwmp - open tr-069 client for embedded platforms

2016-05-19 Thread Luka Perkov
these vendors and individuals will decide to contribute as well. I'm looking forward to see this moving forward! Regards, Luka > Best regards, > Wojtek Makowski > SoftAtHome > > -Original Message- > From: openwrt-boun...@lists.prplfoundation.org > [mailto:openwrt-boun...

[OpenWrt-Devel] rocket cwmp - open tr-069 client for embedded platforms

2016-05-18 Thread Luka Perkov
the proposal can be found on the prpl Wiki [5] and in the proposal documentation [6][7]. Comments are welcome! Sincerely, Luka Perkov [1] http://wiki.prplfoundation.org/wiki/OpenWrt_Funding [2] https://www.broadband-forum.org/cwmp.php [3] https://lists.openwrt.org/pipermail/openwrt-devel/2012-June/015655

Re: [OpenWrt-Devel] [PATCH] [package] linux: Add new Marvell cryptoengine

2016-05-16 Thread Luka Perkov
Hi Michal, On Fri, May 13, 2016 at 11:30:10AM +0200, Michal Hrusecky wrote: > Adding new Marvell cryptoengine as some device might use the new one and not > the old one. I'm assuming that the "New Marvell crypto engine" is taken from mainline kernel. Since the "Old Marvell crypto engine" is not

Re: [OpenWrt-Devel] [Summit-committee] OpenWrt summit by prpl

2016-05-16 Thread Luka Perkov
Hi Hauke, On Fri, May 13, 2016 at 12:44:50AM +0200, Hauke Mehrtens wrote: > When I use OpenWrt in this mail, I mean OpenWrt and LEDE, I hope we come > to a solution in the next days on this. It is strange to see you defining OpenWrt and LEDE as a same project - especially due to the fact that

Re: [OpenWrt-Devel] Failed to execute /usr/libexec/login.sh

2016-05-11 Thread Luka Perkov
Hi Alexey, On Wed, May 11, 2016 at 10:08:55PM +, Alexey Brodkin wrote: > Hi Daniel, > > Looks like one recent commit: > ->8- > commit a1860283b37c7a26f78c7387227a42219e8b4d4d > Author: luka >

Re: [OpenWrt-Devel] Introducing the LEDE project

2016-05-05 Thread Luka Perkov
>On 2016-05-05 20:22, mbm wrote: >> On 5/5/2016 7:40 AM, Felix Fietkau wrote: >>> Many of the changes that we previously tried to introduce were often >>> squashed by internal disagreements. Resulting discussions often turned >>> toxic quickly and led to nothing being done to address the issues.

[OpenWrt-Devel] [PATCH v2 2/3] [rpcd] file: handle return output of b64_decode

2016-04-12 Thread Luka Perkov
Solve this compile warning: file.c:300:16: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] if (data_len < 0) Signed-off-by: Luka Perkov <l...@openwrt.org> --- v1 -> v2: Chage int to ssize_t. --- file.c | 2 +- 1

[OpenWrt-Devel] [PATCH 2/3] [rpcd] file: handle return output of b64_decode

2016-04-11 Thread Luka Perkov
Solve this compile warning: file.c:300:16: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] if (data_len < 0) Signed-off-by: Luka Perkov <l...@openwrt.org> --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add myself in Copyright header

2016-04-11 Thread Luka Perkov
Signed-off-by: Luka Perkov <l...@openwrt.org> --- file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file.c b/file.c index 6ddde32..1c4d8bc 100644 --- a/file.c +++ b/file.c @@ -2,6 +2,7 @@ * rpcd - UBUS RPC server * * Copyright (C) 2013-2014 Jo-Philipp Wich <j...@op

[OpenWrt-Devel] [PATCH 1/3] [rpcd] file: add append write support

2016-04-11 Thread Luka Perkov
Signed-off-by: Luka Perkov <l...@openwrt.org> --- file.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index d983518..91a55a1 100644 --- a/file.c +++ b/file.c @@ -93,6 +93,7 @@ static const struct blobmsg_policy rpc_file_rb_policy[__RPC_F_

Re: [OpenWrt-Devel] alfa-ap120c ordering and indenting

2016-03-24 Thread Luka Perkov
rch/mips/ath79/Makefile > >trunk/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h > >trunk/target/linux/ar71xx/generic/profiles/alfa.mk > >trunk/target/linux/ar71xx/image/Makefile > > Log: > > ar71xx: add support for ap120c > > &g

Re: [OpenWrt-Devel] LXC is broken on Caos Calmer

2016-02-11 Thread Luka Perkov
Hi Daniel & Antonio, > On Feb 11, 2016, at 11:08 AM, Daniel Golle wrote: > > Hi Antonio, > > thanks for trying all that and reporting back your results! > >> On Thu, Feb 11, 2016 at 12:47:50AM +0200, Antonio Aloisio wrote: >> Hi there! >> Here is a few findings about

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: be consistent with string termination character

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index fe1bc39..64e7c28 100644 --- a/file.c +++ b/file.c @@ -247,7 +247,7 @@ rpc_file_read(struct ubus_context *ctx, struct ubus_object *obj

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-11 Thread Luka Perkov
Hi Felix, On Mon, May 11, 2015 at 11:36:46AM +0200, Felix Fietkau wrote: On 2015-05-11 00:26, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118

[OpenWrt-Devel] [PATCH 1/3] file: add support for base64

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. = changes in v3: * optimize base64 related code in read and write callback file.c | 90 ++ 1 file changed, 79 insertions(+), 11

[OpenWrt-Devel] [PATCH 2/3] file: add support for setting mode when writing files

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Return umask() to previous value after temporary changing it. file.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index d39dccb..fe1bc39 100644 --- a/file.c +++ b/file.c @@ -93,6

[OpenWrt-Devel] [PATCH 1/3][rpcd][v4] file: add support for base64

2015-05-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. = changes in v3: * optimize base64 related code in read and write callback = changes in v4: * tweak if block in file read function file.c | 90

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: be consistent with string termination character

2015-05-10 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 86783e0..4c00ae2 100644 --- a/file.c +++ b/file.c @@ -253,7 +253,7 @@ rpc_file_read(struct ubus_context *ctx, struct ubus_object *obj

[OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-10 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118 +++-- 1 file changed, 107 insertions(+), 11 deletions(-) diff --git a/file.c b/file.c index 9c1b301..c3671bb 100644

[OpenWrt-Devel] [PATCH 1/4] [ubox] log: remove unused callbacks

2015-04-21 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- log/logd.c| 6 -- log/logread.c | 5 - 2 files changed, 11 deletions(-) diff --git a/log/logd.c b/log/logd.c index 8cebeb8..4a7a746 100644 --- a/log/logd.c +++ b/log/logd.c @@ -55,11 +55,6 @@ client_close(struct ustream *s) free

[OpenWrt-Devel] [PATCH 2/4] [ubox] log: fix whitespaces

2015-04-21 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- log/syslog.c | 2 +- log/syslog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/log/syslog.c b/log/syslog.c index 4cabb43..f75fed9 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -203,7 +203,7 @@ syslog_open(void

[OpenWrt-Devel] [PATCH 3/4] [ubox] log: make valgrind less complain by freeing allocated memory

2015-04-21 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- log/logd.c | 5 - log/syslog.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/log/logd.c b/log/logd.c index 4a7a746..a4335ea 100644 --- a/log/logd.c +++ b/log/logd.c @@ -70,6 +70,7 @@ read_log(struct ubus_context *ctx

[OpenWrt-Devel] [PATCH 4/4] [ubox] logd: optimize notify function

2015-04-21 Thread Luka Perkov
No need to construct every time the same blob_buf for each client in the list. Signed-off-by: Luka Perkov l...@openwrt.org --- log/logd.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/log/logd.c b/log/logd.c index a4335ea..27d3cac 100644 --- a/log/logd.c

[OpenWrt-Devel] [PATCH] [libubox][v5] b64: add base64 support

2015-04-18 Thread Luka Perkov
The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org --- = changes in v2: Use new API: size_t b64decode(void **out, const char *in, size_t len); size_t b64encode(char **out, const

Re: [OpenWrt-Devel] [PATCH] [libubox][v4] b64: add base64 support

2015-04-18 Thread Luka Perkov
On Fri, Apr 17, 2015 at 02:14:14AM +0200, Felix Fietkau wrote: +size_t b64decode(void *out, const void *in, size_t len) +{ + uint8_t *o = (uint8_t *) out; + const uint8_t *data = (const uint8_t *) in; + size_t lenout, i, j; + uint32_t cv = 0; + + lenout =

[OpenWrt-Devel] [PATCH] [libubox][v4] b64: add base64 support

2015-04-16 Thread Luka Perkov
The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org --- = changes in v2: Use new API: size_t b64decode(void **out, const char *in, size_t len); size_t b64encode(char **out, const

Re: [OpenWrt-Devel] [PATCH] [libubox][v3] b64: add base64 support

2015-04-14 Thread Luka Perkov
Hi, On Tue, Apr 14, 2015 at 06:00:32PM +0200, Felix Fietkau wrote: + if (data[len - 1] == '=') + ret--; + + if (data[len - 2] == '=') + ret--; the 2 if clauses look redundant and i guess you could solve it with a loop Ok. I'll fix it. I'd prefer not passing

[OpenWrt-Devel] [PATCH] [libubox][v3] b64: add base64 support

2015-04-12 Thread Luka Perkov
The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org --- = changes in v2: Use new API: size_t b64decode(void **out, const char *in, size_t len); size_t b64encode(char **out, const

[OpenWrt-Devel] [PATCH] [ustream-ssl][v2] polarssl: fix long writes

2015-04-11 Thread Luka Perkov
Enable to write more data then defined in SSL_MAX_CONTENT_LEN. Signed-off-by: Luka Perkov l...@openwrt.org --- changes in v2: * fix return value ustream-polarssl.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/ustream-polarssl.c b/ustream-polarssl.c

[OpenWrt-Devel] [PATCH] [ustream-ssl][v3] polarssl: fix long writes

2015-04-11 Thread Luka Perkov
Enable to write more data then defined in SSL_MAX_CONTENT_LEN. Signed-off-by: Luka Perkov l...@openwrt.org --- changes in v2: * fix return value at the end changes in v3: * fix another return value ustream-polarssl.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions

[OpenWrt-Devel] [PATCH] [ustream-ssl] polarssl: fix long writes

2015-04-11 Thread Luka Perkov
Enable to write more data then defined in SSL_MAX_CONTENT_LEN. Signed-off-by: Luka Perkov l...@openwrt.org --- ustream-polarssl.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ustream-polarssl.c b/ustream-polarssl.c index cbf24cb..ce9b164 100644

Re: [OpenWrt-Devel] [PATCH] [ustream-ssl] polarssl: fix long writes

2015-04-11 Thread Luka Perkov
On Sat, Apr 11, 2015 at 11:36:14PM +0200, Felix Fietkau wrote: On 2015-04-11 23:23, Luka Perkov wrote: Enable to write more data then defined in SSL_MAX_CONTENT_LEN. Signed-off-by: Luka Perkov l...@openwrt.org --- ustream-polarssl.c | 18 -- 1 file changed, 12

[OpenWrt-Devel] [PATCH] [libubox][v2] b64: add base64 support

2015-04-11 Thread Luka Perkov
The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org --- changes in v2: Use new API: size_t b64decode(void **out, const char *in, size_t len); size_t b64encode(char **out, const void

[OpenWrt-Devel] [PATCH] [rpcd][v2] file: add md5sum support

2015-04-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- changes in v2: * no need to null-terminate string after sprintf() file.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/file.c b/file.c index 3831c54..9c1b301 100644 --- a/file.c +++ b/file.c @@ -27,6

Re: [OpenWrt-Devel] adding seccomp and service jailing to procd

2015-03-27 Thread Luka Perkov
Hi John, On Fri, Mar 27, 2015 at 07:58:46PM +0100, John Crispin wrote: On 27/03/2015 19:56, Luka Perkov wrote: Hi John, On Fri, Mar 27, 2015 at 03:37:33PM +0100, John Crispin wrote: Also i would love to hear the pro and cons of extending ubus vs switching to kdbus (i'm not trying

Re: [OpenWrt-Devel] adding seccomp and service jailing to procd

2015-03-27 Thread Luka Perkov
Hi John, On Fri, Mar 27, 2015 at 03:37:33PM +0100, John Crispin wrote: Also i would love to hear the pro and cons of extending ubus vs switching to kdbus (i'm not trying to start a debate, and i really have no idea of the work involved, just curious) we need to discuss this internally.

Re: [OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add support for setting mode when writing files

2015-03-16 Thread Luka Perkov
Hi John, On Sun, Mar 15, 2015 at 10:27:49PM +0100, John Crispin wrote: + umask(0); setting umask to 0 and then not resetting it to the old value afterwards seems wrong. - main.c: umask(0077); Good catch. Will send v2. Luka ___

[OpenWrt-Devel] [PATCH] [libubox] b64: add base64 support

2015-03-16 Thread Luka Perkov
The code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov l...@openwrt.org CC: Steven Barth ste...@midlink.org CC: John Crispin blo...@openwrt.org --- CMakeLists.txt | 2 +- b64.c | 136

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd] file: add md5sum support

2015-03-16 Thread Luka Perkov
Hi John, On Sun, Mar 15, 2015 at 10:21:27PM +0100, John Crispin wrote: On 15/03/2015 22:00, Luka Perkov wrote: wbuf = blobmsg_alloc_string_buffer(buf, md5, 33); + + for (i = 0; i 16; i++) + sprintf((wbuf + (i * 2)), %02x, (uint8_t) md5[i]); there is a set of brackets too

Re: [OpenWrt-Devel] [PATCH 2/3] [rpcd] file: add support for base64

2015-03-16 Thread Luka Perkov
Hi John, On Sun, Mar 15, 2015 at 10:26:26PM +0100, John Crispin wrote: On 15/03/2015 22:00, Luka Perkov wrote: b64encode and b64decode functions were taken from zstream project which was written by Steven Barth and John Crispin. i did not write this :) You were in (C) headers from where

[OpenWrt-Devel] [PATCH 1/3] [rpcd] file: add md5sum support

2015-03-15 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 37 + 1 file changed, 37 insertions(+) diff --git a/file.c b/file.c index 31a937d..9e87a10 100644 --- a/file.c +++ b/file.c @@ -27,6 +27,7 @@ #include sys/wait.h #include libubus.h #include libubox

[OpenWrt-Devel] [PATCH 2/3] [rpcd] file: add support for base64

2015-03-15 Thread Luka Perkov
b64encode and b64decode functions were taken from zstream project which was written by Steven Barth and John Crispin. Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 197 + 1 file changed, 187 insertions(+), 10 deletions

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add support for setting mode when writing files

2015-03-15 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/file.c b/file.c index 54f5d8a..95dd4d4 100644 --- a/file.c +++ b/file.c @@ -92,6 +92,7 @@ static const struct blobmsg_policy rpc_file_rb_policy[__RPC_F_RB_MAX

Re: [OpenWrt-Devel] [PATCH] ARV752DPW22: enable netconsole in u-boot if 192.168.1.2 is reachable

2015-03-14 Thread Luka Perkov
Hi Tobias, On Sat, Mar 07, 2015 at 05:59:36PM +0100, Tobias Göbel wrote: just added netconsole support to ARV752DPW22 (should work on the other lantiq devices too). The device boot's and tries to ping the ip set in $serverip if this works, all input / output and errors are displayed on the

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: free memory after opendir()

2015-03-12 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/file.c b/file.c index 9a3dfd8..31a937d 100644 --- a/file.c +++ b/file.c @@ -267,6 +267,8 @@ rpc_file_list(struct ubus_context *ctx, struct ubus_object *obj

[OpenWrt-Devel] [PATCH 1/3] [rpcd] file: show data ubus parameter only when used

2015-03-10 Thread Luka Perkov
The ubus calls for file read, list and stat do not use data parameter, so lets remove them to avoid confusion. Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 47 --- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/file.c b

[OpenWrt-Devel] [PATCH 2/3] [rpcd] file: use blob_buf_free()

2015-03-10 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- file.c | 4 1 file changed, 4 insertions(+) diff --git a/file.c b/file.c index fdc6396..9a3dfd8 100644 --- a/file.c +++ b/file.c @@ -199,6 +199,7 @@ rpc_file_read(struct ubus_context *ctx, struct ubus_object *obj

Re: [OpenWrt-Devel] [PATCH 3/3] sunxi: add support for Linux 3.19

2015-02-11 Thread Luka Perkov
Hi Daniel, On Wed, Feb 11, 2015 at 12:13:13AM +0100, Daniel Golle wrote: On Tue, Feb 10, 2015 at 10:46:53PM +0100, John Crispin wrote: zoltan maintains the sunxi target. he might already have done work on this and might have some updates or whatever that he plans to incorporate. bumping a

Re: [OpenWrt-Devel] [PATCH 1/3] kernel: 3.19 was released

2015-02-10 Thread Luka Perkov
Hi Daniel, On Tue, Feb 10, 2015 at 03:04:16PM +0100, Daniel Golle wrote: Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/kernel-version.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) I already started working on this on my own... I've added your SoB in the commit

Re: [OpenWrt-Devel] [PATCH] kirkwood: add wpad-mini to guruplug profile

2015-01-25 Thread Luka Perkov
Hi Nathan, On Fri, Jan 23, 2015 at 09:20:01PM -0800, Nathan Hintz wrote: Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- target/linux/kirkwood/profiles/120-plug.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied in r44125. Thank you! Luka

Re: [OpenWrt-Devel] [PATCH 3/3] kirkwood: enable swconfig by default on EA3500

2015-01-25 Thread Luka Perkov
Hi Claudio, On Fri, Jan 23, 2015 at 08:27:44PM -0500, Claudio Leite wrote: Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/profiles/115-router.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied in r44124. Thank you! Luka

Re: [OpenWrt-Devel] [PATCH 1/3] kirkwood: drop port-based VLAN setup

2015-01-25 Thread Luka Perkov
Hi Claudio, On Fri, Jan 23, 2015 at 08:27:42PM -0500, Claudio Leite wrote: Using port-based VLANs depends on a non-standard swconfig parameter, which compilcates things like LuCI that don't know about it. This patch changes the default to use 802.1q VLANs internally in the switch, but

Re: [OpenWrt-Devel] [PATCH 2/3] kirkwood: fix EA3500 ubi options

2015-01-25 Thread Luka Perkov
Hi Claudio, On Fri, Jan 23, 2015 at 08:27:43PM -0500, Claudio Leite wrote: Previous options resulted in a nonfunctional image. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/profiles/115-router.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [OpenWrt-Devel] [PATCH 2/2] package: add timer led function

2015-01-20 Thread Luka Perkov
Hi Gerald, On Tue, Jan 20, 2015 at 02:20:09PM +0100, drEagle wrote: Same with this another patch. Is it missed or lost ? I do not find any trace at patchworks. Do you need that I resubmit it ? Both patches have been merged. Please re-sync your tree. Luka

Re: [OpenWrt-Devel] [PATCH 2/2] kirkwood: enable switch on Linksys EA3500

2015-01-18 Thread Luka Perkov
On Sun, Jan 18, 2015 at 10:33:51AM -0500, Claudio Leite wrote: Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/kirkwood/base-files/etc/uci-defaults/02_network |3 +++ target/linux/kirkwood/patches-3.14/170-ea3500.patch | 13 -

Re: [OpenWrt-Devel] [PATCH 1/2] uboot-envtools: fix Linksys EA3500 env size

2015-01-18 Thread Luka Perkov
On Sun, Jan 18, 2015 at 10:33:50AM -0500, Claudio Leite wrote: Signed-off-by: Claudio Leite lei...@staticky.com --- package/boot/uboot-envtools/files/kirkwood |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Applied in r44037. Thank you. Luka

Re: [OpenWrt-Devel] [PATCH] mdns: install uci package as config

2015-01-14 Thread Luka Perkov
On Wed, Jan 14, 2015 at 10:56:02AM +0100, Alexander Couzens wrote: Signed-off-by: Alexander Couzens lyn...@fe80.eu --- package/network/services/mdns/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied in r43967. Thanks! Luka ___

Re: [OpenWrt-Devel] [PATCH 1/4] mvsw6171: rename to 'mvsw61xx'

2015-01-11 Thread Luka Perkov
Hi Claudio, On Fri, Jan 09, 2015 at 12:12:47PM -0500, Claudio Leite wrote: In preparation for properly supporting switches beyond the 88E6171. Signed-off-by: Claudio Leite lei...@staticky.com --- Series applied in r43935-r43938. I added minor modifications to mvebu target in the first

Re: [OpenWrt-Devel] [PATCH] [mvebu] use mvsw61xx

2015-01-11 Thread Luka Perkov
Hi Mark, On Fri, Jan 09, 2015 at 04:21:10PM -0700, Mark Milburn wrote: Use Claudio's renamed mvsw6171 driver. Depends upon https://patchwork.ozlabs.org/patch/427183/ patchset. Signed-off-by: Mark Milburn mark.a.milb...@gmail.com --- target/linux/mvebu/config-3.14 | 2 +-

Re: [OpenWrt-Devel] [PATCH RESEND 2/2] kirkwood: Iomega ix2-200: use all remaining MTD space for rootfs

2014-12-10 Thread Luka Perkov
On Wed, Dec 10, 2014 at 11:30:24AM +0100, John Crispin wrote: The second one won't be accepted upstream because it is OpenWrt specific, while the first one can and should be sent upstream. for trivial stuff we never had a upstream first policy. maybe it was decided to put one in place and

Re: [OpenWrt-Devel] [PATCH RESEND 1/2] kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file

2014-12-09 Thread Luka Perkov
Hi Richard, On Mon, Dec 08, 2014 at 10:41:28PM +0100, Richard Kunze wrote: Signed-off-by: Richard Kunze richard.ku...@web.de --- .../linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch | 13 + 1 file changed, 13 insertions(+) create mode 100644

Re: [OpenWrt-Devel] [PATCH RESEND 2/2] kirkwood: Iomega ix2-200: use all remaining MTD space for rootfs

2014-12-09 Thread Luka Perkov
Hi Richard, On Mon, Dec 08, 2014 at 10:41:29PM +0100, Richard Kunze wrote: Signed-off-by: Richard Kunze richard.ku...@web.de --- .../kirkwood/patches-3.14/172-ix2_200-fix-mtd-layout.patch | 13 + 1 file changed, 13 insertions(+) create mode 100644

Re: [OpenWrt-Devel] [PATCH] util-linux: package libsmartcols

2014-12-01 Thread Luka Perkov
On Mon, Dec 01, 2014 at 01:07:38PM +0100, John Crispin wrote: patch does not apply, which rev did you generate it against ? It applied just fine here on the latest trunk. On 01/12/2014 13:06, Daniel Golle wrote: Packages fdisk and lsblk were missing dependency for libsmartcols.so.1

Re: [OpenWrt-Devel] [PATCH] kirkwood: change CRC32 implementation to CRC32_SLICEBY8

2014-11-29 Thread Luka Perkov
Hi Richard, On Sat, Nov 29, 2014 at 11:37:38PM +0100, Richard Kunze wrote: At least on my Iomega ix2-200 system, this makes btrfs writes about 30% faster. Signed-off-by: Richard Kunze richard.ku...@web.de --- target/linux/kirkwood/config-3.14 | 6 -- 1 file changed, 4 insertions(+),

[OpenWrt-Devel] [PATCH] [procd] initd: mount cgroup

2014-11-11 Thread Luka Perkov
If kernel is compiled with cgroup support it should be mounted. This change does not effect kernels without cgroup support. Signed-off-by: Luka Perkov l...@openwrt.org --- I'd prefer to put this here rather then having init script which does the same. initd/early.c | 1 + 1 file changed, 1

Re: [OpenWrt-Devel] lantiq vr9 and fxs

2014-11-11 Thread Luka Perkov
Hi Eddi, On Tue, Nov 11, 2014 at 04:10:30PM +0100, Eddi De Pieri wrote: asterisk: set debug output on console console = notice,warning,error,debug so, all software recognize correctly the correct port [Nov 11 15:08:06] DEBUG[894]: chan_lantiq.c:835 lantiq_dev_event_hook: on port 0

Re: [OpenWrt-Devel] lantiq vr9 and fxs

2014-11-11 Thread Luka Perkov
Hi Eddi, On Tue, Nov 11, 2014 at 07:11:13PM +0100, Eddi De Pieri wrote: it seems it work better in this way... chan = ast_channel_alloc(1, state, NULL, NULL, , ext, ctx, 0, c, TAPI/%d, (c + 1)); I don't know so well asterisk programming... please let me know if it seems correct to you!

Re: [OpenWrt-Devel] Pogoplug V4 support

2014-11-10 Thread Luka Perkov
-common.h +@@ -0,0 +1,47 @@ ++/* ++ * Copyright (C) 2013 Luka Perkov l...@openwrt.org ++ * ++ * SPDX-License-Identifier: GPL-2.0+ ++ */ ++ ++#ifndef __OPENWRT_KIRKWOOD_COMMON_H ++#define __OPENWRT_KIRKWOOD_COMMON_H ++ ++/* Commands */ ++#define CONFIG_CMD_BOOTZ ++ ++#if defined(CONFIG_CMD_NET

Re: [OpenWrt-Devel] [PATCH] kirkwood: add support for Linksys EA3500

2014-11-10 Thread Luka Perkov
Hi Dan, On Wed, Oct 15, 2014 at 09:11:39AM -0500, Dan Walters wrote: Support for the Linksys EA3500. Here's the patch, and I entered the basic device info (including the serial console connections) on the wiki at http://wiki.openwrt.org/toh/linksys/ea3500 . Hope it can be of use to someone

Re: [OpenWrt-Devel] [RFC] imx6: fix image build for Generic profile.

2014-09-09 Thread Luka Perkov
Hi Yousong, On Mon, Sep 08, 2014 at 03:33:53PM +0800, Yousong Zhou wrote: Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- I do not own a board that can run imx6 target firmware, but this patch has been compile tested by myself and aandrew in #openwrt.

Re: [OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-12 Thread Luka Perkov
On Tue, Aug 12, 2014 at 01:02:06PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 8:58 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 06:59:15PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 6:34 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 05

Re: [OpenWrt-Devel] [PATCH 2/3] build: use options to add kernels/dtbs in rootfs

2014-08-12 Thread Luka Perkov
On Tue, Aug 12, 2014 at 01:12:50PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 10:48 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 10:06:27PM +0200, Felix Fietkau wrote: On 2014-08-11 10:47, Luka Perkov wrote: Use support for options to enable targets and profiles

Re: [OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-12 Thread Luka Perkov
On Tue, Aug 12, 2014 at 01:30:49PM +0200, Jonas Gorski wrote: On Tue, Aug 12, 2014 at 1:25 PM, Luka Perkov l...@openwrt.org wrote: On Tue, Aug 12, 2014 at 01:02:06PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 8:58 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 06

[OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-11 Thread Luka Perkov
This patch adds support for target DEFAULT_OPTIONS and profile OPTIONS variables. Those are simmilar to existing DEFAULT_PACKAGES and PACKAGES but one can use them to select other options by default in menuconfig. Signed-off-by: Luka Perkov l...@openwrt.org --- include/target.mk | 4

[OpenWrt-Devel] [PATCH 2/3] build: use options to add kernels/dtbs in rootfs

2014-08-11 Thread Luka Perkov
Use support for options to enable targets and profiles select kernel or dtb inclusion by default. Signed-off-by: Luka Perkov l...@openwrt.org --- config/Config-images.in | 49 target/linux/mxs/profiles/01-duckbill.mk | 5 +++- 2 files changed

[OpenWrt-Devel] [PATCH 3/3] imx6: ventana: by default include uimage and dtb in rootfs

2014-08-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- target/linux/imx6/profiles/120-gateworks.mk | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/imx6/profiles/120-gateworks.mk b/target/linux/imx6/profiles/120-gateworks.mk index d64a0bd..7257ab8 100644 --- a/target/linux/imx6

Re: [OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-11 Thread Luka Perkov
On Mon, Aug 11, 2014 at 01:17:04PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 10:47 AM, Luka Perkov l...@openwrt.org wrote: This patch adds support for target DEFAULT_OPTIONS and profile OPTIONS variables. Those are simmilar to existing DEFAULT_PACKAGES and PACKAGES but one can use

Re: [OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-11 Thread Luka Perkov
On Mon, Aug 11, 2014 at 03:21:58PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 2:57 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 01:17:04PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 10:47 AM, Luka Perkov l...@openwrt.org wrote: This patch adds support

Re: [OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-11 Thread Luka Perkov
On Mon, Aug 11, 2014 at 05:24:32PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 5:06 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 03:21:58PM +0200, Jonas Gorski wrote: And further, in your approach you directly select the options, not just change the defaults

Re: [OpenWrt-Devel] [PATCH 1/3] build: add support for options

2014-08-11 Thread Luka Perkov
On Mon, Aug 11, 2014 at 06:59:15PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 6:34 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 05:24:32PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 5:06 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 03

Re: [OpenWrt-Devel] [PATCH 2/3] build: use options to add kernels/dtbs in rootfs

2014-08-11 Thread Luka Perkov
On Mon, Aug 11, 2014 at 10:06:27PM +0200, Felix Fietkau wrote: On 2014-08-11 10:47, Luka Perkov wrote: Use support for options to enable targets and profiles select kernel or dtb inclusion by default. Signed-off-by: Luka Perkov l...@openwrt.org What's the rationale for having this stuff

Re: [OpenWrt-Devel] [PATCH] kernel: ledtrig-netdev: use netdev_notifier_info

2014-07-08 Thread Luka Perkov
Hi Claudio, On Mon, Jul 07, 2014 at 08:24:32PM -0400, Claudio Leite wrote: Since kernel 3.11, the third parameter passed to notifier_call() is of type struct netdev_notifier_info. This patch fixes an oops when setting a netdev LED trigger. Signed-off-by: Claudio Leite lei...@staticky.com

[OpenWrt-Devel] [PATCH][uclient][V2] fetch: fix segfault after destination was not reached

2014-07-07 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- v1-v2: * don't change connecting to connected uclient-fetch.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/uclient-fetch.c b/uclient-fetch.c index 881b4ea..22f15c6 100644 --- a/uclient

[OpenWrt-Devel] [PATCH][uclient] http: implement data_sent write callback

2014-07-07 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- uclient-http.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/uclient-http.c b/uclient-http.c index 9652fb8..b9de3a7 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -653,6 +653,12 @@ static void __uclient_notify_read

[OpenWrt-Devel] [PATCH 1/5] [libubox] usock: fix indentation

2014-07-03 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- usock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usock.h b/usock.h index 8f30add..5df4362 100644 --- a/usock.h +++ b/usock.h @@ -23,12 +23,12 @@ #define USOCK_UDP 1 #define USOCK_SERVER 0x0100 -#define

  1   2   3   4   >