[OpenWrt-Devel] [PATCH] zram-swap: support swap priority

2020-01-09 Thread Maxim Storchak
If zram-backed swap is added after an existing swap, it gets a lower priority. Assiming that usually all other swaps are slower, there should be a way to assign a higher priority to zram swap. Signed-off-by: Maxim Storchak --- package/system/zram-swap/Makefile| 2 +- package/system/zram

[OpenWrt-Devel] [PATCH 19.07] ca-certificates: provide ca-certs by both ca-certificates and ca-bundle

2019-12-25 Thread Maxim Storchak
- both packages provide ca-certs - make ca-bundle the default provider This should allow easy transition between these two forms of CA certificates storage Signed-off-by: Maxim Storchak (cherry picked from commit dd299805ad18472a8245b4524a25e4381e166057) --- package/system/ca-certificates

[OpenWrt-Devel] [PATCH] ca-certificates: provide ca-certs by both ca-certificates and ca-bundle

2019-12-12 Thread Maxim Storchak
- both packages provide ca-certs - make ca-bundle the default provider This should allow easy transition between these two forms of CA certificates storage Signed-off-by: Maxim Storchak --- package/system/ca-certificates/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions

Re: [OpenWrt-Devel] procd: patch to support busybox mkfs.ext2

2016-07-03 Thread Maxim Storchak
use full e2fsprogs and disable mkfs.ext* in busybox. Something like DEPENDS:= ... +!BUSYBOX_CONFIG_MKFS_EXT2:e2fsprogs -- Best regards, Maxim Storchak mailto:m.storc...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.

Re: [OpenWrt-Devel] Why default of XATTR in kernel but not userspace?

2015-12-23 Thread Maxim Storchak
; > > Regards, > > Daniel > _______ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Best regards, Maxim Storchak mailto:m.storc...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] uClibc: enable xattr support to make feature sets of libc implementations closer to each other

2015-10-21 Thread Maxim Storchak
Size increase is about 3-4k: this is how big xattr.os in uClibc after stripping is. Signed-off-by: Maxim Storchak --- toolchain/uClibc/config-0.9.33.2/common | 2 +- toolchain/uClibc/config-ng-1.0.6/common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/uClibc

[OpenWrt-Devel] RFC: uClibc and xattr

2015-10-20 Thread Maxim Storchak
is selected by PACKAGE_rsnapshot I tried several approaches, but didn't get any further. My questions are: - is xattr disabled in uClibc for purpose? - would it make sense to enable it to make feature sets of libc implementations closer to each other? -- Best regards, Maxim Sto

[OpenWrt-Devel] [PATCH] musl: add upstream patch for open_[w]memstream

2015-10-13 Thread Maxim Storchak
This patch fixes corner case in open_memstrem, when stream is created, but nothing is written. This case is present in tgtadm, tgtd management tool. Signed-off-by: Maxim Storchak --- .../musl/patches/020-upstream_open_memstream.patch | 79 ++ 1 file changed, 79 insertions

[OpenWrt-Devel] [PATCH] procd: add helper binaries to jail

2015-08-12 Thread Maxim Storchak
/main ujail ... -b /usr/bin/helper1 -b /bin/helper2 ... -- /usr/bin/main in init scripts: procd_add_jail_mount_bin /usr/bin/something /bin/helper Signed-off-by: Maxim Storchak --- package/system/procd/files/procd.sh| 18 +++ .../procd/patches/100-ujail-helper-binary.patch

[OpenWrt-Devel] issues with service jailing

2015-08-11 Thread Maxim Storchak
.so librpc.so libubox.so /usr/lib: libcrypto.so.1.0.0 libcurl.so.4 libevent-2.0.so.5 libjson-c.so.2 libncurses.so.5 libpcre.so.1 libssl.so.1.0.0 libz.so.1 jail: child (2) exited: 0 jail: namespace (4500) exited: 10 -- Best regards, Maxim Storchak mailto:m.storc...@gmail.com Signed-off-by: Ma

[OpenWrt-Devel] [PATCH 3/3] e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs

2014-12-29 Thread Maxim Storchak
Signed-off-by: Maxim Storchak diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile index 969f0d6..a2ce999 100644 --- a/package/utils/e2fsprogs/Makefile +++ b/package/utils/e2fsprogs/Makefile @@ -148,6 +148,9 @@ define Package/e2fsprogs/install $(LN) mke2fs $(1

[OpenWrt-Devel] [PATCH 2/3] e2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs

2014-12-29 Thread Maxim Storchak
Signed-off-by: Maxim Storchak diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile index 09c4833..969f0d6 100644 --- a/package/utils/e2fsprogs/Makefile +++ b/package/utils/e2fsprogs/Makefile @@ -67,6 +67,30 @@ $(call Package/e2fsprogs) DEPENDS:= +e2fsprogs endef

[OpenWrt-Devel] [PATCH 1/3] e2fsprogs: bump release

2014-12-29 Thread Maxim Storchak
Signed-off-by: Maxim Storchak diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile index b91c957..09c4833 100644 --- a/package/utils/e2fsprogs/Makefile +++ b/package/utils/e2fsprogs/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=e2fsprogs

[OpenWrt-Devel] [PATCH 2/3] tgt: add more knobs to config, improve error handling

2014-06-04 Thread Maxim Storchak
g passthrough) - bind accounts to multiple targets - use uci_validate_section in the init script - improve error reporting, use logger instead of echo Note: this patch depends on http://patchwork.openwrt.org/patch/5586/ Signed-off-by: Maxim Storchak --- net/tgt/files/etc/config/tgt | 48

[OpenWrt-Devel] [PATCH 3/3] tgt: update to 1.0.48, refresh patches

2014-06-04 Thread Maxim Storchak
Signed-off-by: Maxim Storchak --- net/tgt/Makefile |6 +++--- net/tgt/patches/010-fallocate.patch|4 ++-- net/tgt/patches/020-usr_Makefile.patch | 16 net/tgt/patches/030-Makefile.patch |6 +++--- 4 files changed, 16 insertions(+), 16

[OpenWrt-Devel] [PATCH 1/3] tgt: configure number of iothreads, allow to bind to specific address/port

2014-06-04 Thread Maxim Storchak
Default number of iothreads for rdwr target is 16. Setting it to 2 lowers memory footprint dramatically. By default tgtd binds to wildcard address. Now it's possible to specify address and port to listen to. New options have been added to configure keepalives. Signed-off-by: Maxim Sto

[OpenWrt-Devel] [PATCH 1/1] procd: rename local variable in uci_validate_section

2014-06-04 Thread Maxim Storchak
Allow to use "package", "type", "name", "error" and "result" as config option names: package some_service config section 'foo' option name 'bar' option type 'unknown' Signed-off-by: Maxim Storchak ---

Re: [OpenWrt-Devel] [PATCH] [packages] new package tgt

2014-05-05 Thread Maxim Storchak
On 05.05.14 22:35, Florian Fainelli wrote: > 2014-04-06 1:35 GMT-07:00 Maxim Storchak : >> This patch provides userspace iSCSI target support. >> >> https://dev.openwrt.org/ticket/8798 >> >> Signed-off-by: Maxim Storchak > > Applied in r40703, thanks! &g

[OpenWrt-Devel] [PATCH] haserl: uptate to 0.9.32, add optional lua support

2014-05-03 Thread Maxim Storchak
instead of patching Makefile.am and regenerating everything from scratch. If this approach is wrong and it's better to patch Makefile.am, please let me know. Signed-off-by: Maxim Storchak --- utils/haserl/Config.in | 35 + utils/haserl/Mak

[OpenWrt-Devel] [PATCH try3 2/2] [luaposix]: update to v31

2014-05-02 Thread Maxim Storchak
, optimizations, etc. New dependency: luabitop (provided as a separate patch) New in try3: PKG_BUILD_DEPENDS:=+lua/host. Should address > I do not have Lua installed locally and it looks like it wants to check > my local lua version. Signed-off-by: Maxim Storchak --- lang/luaposix/Ma

[OpenWrt-Devel] [PATCH try3 1/2] [luabitop]: new package

2014-05-02 Thread Maxim Storchak
Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations on numbers. This is a requirement for the updated luaposix. Note: nothing new compared to try2, repeating it just in case. Signed-off-by: Maxim Storchak --- lang/luabitop/Makefile | 51

Re: [OpenWrt-Devel] [PATCH try2 2/2] packages: update luaposix to v31

2014-04-30 Thread Maxim Storchak
On 01.05.14 01:00, Hauke Mehrtens wrote: > On 03/30/2014 11:20 AM, Maxim Storchak wrote: >> v31 adds more interfaces to POSIX. >> New compared to v5.1.11: >> nanosleep, open, close, read, write, pipe, dup, dup2, setfl, getfl, fcntl, >> poll, fnmatch, memrchr, strptim

Re: [OpenWrt-Devel] [PATCH try2 1/2] packages: new package luabitop

2014-04-16 Thread Maxim Storchak
On 30.03.14 02:20, Maxim Storchak wrote: > Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise > operations on numbers. > Ping. Is there anything wrong with the patch? -- Best regards, Maxim Storchak mailto:m.storc...@

[OpenWrt-Devel] [PATCH] [packages] new package tgt

2014-04-06 Thread Maxim Storchak
This patch provides userspace iSCSI target support. https://dev.openwrt.org/ticket/8798 Signed-off-by: Maxim Storchak --- net/tgt/Makefile | 59 ++ net/tgt/files/etc/config/tgt | 38 net/tgt/files/etc/init.d/tgt | 107

[OpenWrt-Devel] [PATCH try2 1/2] packages: new package luabitop

2014-03-30 Thread Maxim Storchak
Lua BitOp is a C extension module for Lua 5.1/5.2 which adds bitwise operations on numbers. Signed-off-by: Maxim Storchak --- lang/luabitop/Makefile | 51 1 file changed, 51 insertions(+) create mode 100644 lang/luabitop/Makefile diff --git

[OpenWrt-Devel] [PATCH try2 2/2] packages: update luaposix to v31

2014-03-30 Thread Maxim Storchak
, optimizations, etc. New dependency: luabitop (provided as a separate patch) Signed-off-by: Maxim Storchak --- lang/luaposix/Makefile| 20 +++--- lang/luaposix/patches/100-eglibc-compat.patch | 28 + 2 files changed, 27 insertions

Re: [OpenWrt-Devel] [PATCH 2/2] [packages] luaposix, update to v31

2014-03-20 Thread Maxim Storchak
he start of work on this version, and release-vN is the release. I do have a feeling that I'm reinventing the wheel with _BASENAME, but I couldn't find any other DRY way around. > > Sincerely, > Karl P > > > On 03/19/2014 05:05 PM, Maxim Storchak wrote: >> Hi, &

[OpenWrt-Devel] [PATCH 2/2] [packages] luaposix, update to v31

2014-03-19 Thread Maxim Storchak
Hi, This is an update for luaposix to v31. It provides more interfaces to POSIX functions for Lua. There is also a new requirement, luabitop. Tested on Raspberry Pi in LXC container running OpenWRT. Signed-off-by: Maxim Storchak -- Best regards, Maxim Storchak mailto:m.storc...@gmail.com

[OpenWrt-Devel] [PATCH 1/2] [packages] new package: luabitop

2014-03-19 Thread Maxim Storchak
Hi, This is a new lua package providing bit operations. It's required for new luaposix. Signed-off-by: Maxim Storchak -- Best regards, Maxim Storchak mailto:m.storc...@gmail.com diff --git a/lang/luabitop/Makefile b/lang/luabitop/Makefile new file mode 100644 index 000..1eccaa9 ---

Re: [OpenWrt-Devel] how to set busybox's some options now ?

2013-12-27 Thread Maxim Storchak
On 27.12.13 19:12, Maxim Storchak wrote: > On 17.12.13 18:22, edgar.sol...@web.de wrote: >> On 17.12.2013 16:14, Yousong Zhou wrote: > >>> Does it deserve a "busybox_menuconfig" just like "kernel_menuconfig"? >> >> there should be at least one

Re: [OpenWrt-Devel] how to set busybox's some options now ?

2013-12-27 Thread Maxim Storchak
at least the old options presumably missing currently in trunk's > menu_config. Would the attached patch help? If there is an old config around, env/busybox-config may be created with sed: sed -nre '/CONFIG_BUSYBOX_/s/CONFIG_BUSYBOX_//p' config.old > env/busybox-config --

[OpenWrt-Devel] [PATCH] New package tgt, iscsi target

2012-08-27 Thread Maxim Storchak
Signed-off-by: Maxim Storchak net/tgt/Makefile | 57 + net/tgt/files/etc/config/tgt | 38 +++ net/tgt/files/etc/init.d/tgt | 111 + net/tgt/patches/010-fallocate.patch| 14 + net/