<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/dedeckeh/package/utils, branch master</title>
<subtitle>Staging tree of dedeckeh</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/'/>
<updated>2023-04-25T20:01:20Z</updated>
<entry>
<title>busybox: turn on BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT for having $RANDOM</title>
<updated>2023-04-25T20:01:20Z</updated>
<author>
<name>Ilario Gelmetti</name>
</author>
<published>2023-04-23T14:23:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=8f427f1a058dd5dcff21246a9a6d91318f55f80a'/>
<id>urn:sha1:8f427f1a058dd5dcff21246a9a6d91318f55f80a</id>
<content type='text'>
$RANDOM shell variable is a convenient way for getting a random number from 0 to 32767

Signed-off-by: Ilario Gelmetti &lt;iochesonome@gmail.com&gt;
</content>
</entry>
<entry>
<title>busybox: Activate resize tool by default</title>
<updated>2023-04-25T20:00:03Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-04-23T10:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=fca966aab2d5b353c7491a5a75df479506cd830f'/>
<id>urn:sha1:fca966aab2d5b353c7491a5a75df479506cd830f</id>
<content type='text'>
The resize tool will resize the prompt to match the current terminal
size. This is helpful when connecting to the system using UART to make
the vi or top output match the current terminal size.

This increases the busybox binary size by 136 bytes and the ipkg size by
335 bytes on aarch64.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>yafut: add a kernel update tool for MikroTik NAND</title>
<updated>2023-04-18T11:53:04Z</updated>
<author>
<name>Michał Kępień</name>
</author>
<published>2023-03-31T10:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=27acf2413e91247e16e4f52c6008ec0f5a5cf4a6'/>
<id>urn:sha1:27acf2413e91247e16e4f52c6008ec0f5a5cf4a6</id>
<content type='text'>
Commit 9d96b6fb72 ("ath79/mikrotik: disable building NAND images")
disabled building images for MikroTik devices with NAND flash due to a
less than satisfactory method used for updating the kernel on those
devices back then.

To address the problem, add support for updating the kernel on MikroTik
devices with NAND flash using a new tool, Yafut, which enables copying
files from/to Yaffs file systems even if the kernel does not have native
support for the Yaffs file system compiled in.  Instead of erasing the
entire NAND partition holding the kernel during every system upgrade
(which is what the previously-used approach employing kernel2minor
involved), Yafut preserves the Yaffs filesystem present on that
partition and only replaces the kernel executable.  This allows bad
block information to be preserved across sysupgrade runs and also
enables wear leveling on the NAND partition holding the kernel.  Yafut
does not rely on kernel2minor in any way and intends to eventually
supersede the latter for NAND devices.

Signed-off-by: Michał Kępień &lt;openwrt@kempniu.pl&gt;
</content>
</entry>
<entry>
<title>busybox: enable taskset by default</title>
<updated>2023-04-01T07:16:30Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2023-04-01T07:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=3c3d797c4dad224e214e473644f1e9d833f02eda'/>
<id>urn:sha1:3c3d797c4dad224e214e473644f1e9d833f02eda</id>
<content type='text'>
This is useful for controlling process affinity on SMP systems

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>util-linux: add rev utility package</title>
<updated>2023-03-25T15:39:37Z</updated>
<author>
<name>Oskari Rauta</name>
</author>
<published>2023-03-19T17:39:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=1558bbd116ec74b10672caa29c17a5f0279715f7'/>
<id>urn:sha1:1558bbd116ec74b10672caa29c17a5f0279715f7</id>
<content type='text'>
I found use for this in my scripts; I noticed that it is already
compiled with util-linux - there just isn't package for it -
let's package it then.

Description:
The rev utility copies the specified files to the standard output,
reversing the order of characters in everyline.

Signed-off-by: Oskari Rauta &lt;oskari.rauta@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: add support for "lto" in PKG_BUILD_FLAGS</title>
<updated>2023-03-21T17:28:22Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-02-02T20:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=07730ff3465d3cede3026cdd1c17453930f055ce'/>
<id>urn:sha1:07730ff3465d3cede3026cdd1c17453930f055ce</id>
<content type='text'>
This reduces open coding and allows to easily add a knob to enable
it treewide, where chosen packages can still opt-out via "no-lto".

Some packages used LTO, but not the linker plugin. This unifies 'em
all to attempt to produce better code.
Quoting man gcc(1):
"This improves the quality of optimization by exposing more code to the
link-time optimizer."

Also use -flto=auto instead of -flto=jobserver, as it's not guaranteed
that every buildsystem uses +$(MAKE) correctly.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: add support for "gc-sections" in PKG_BUILD_FLAGS</title>
<updated>2023-03-21T17:28:22Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-02-02T20:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=da3700988d9e34e380bae21ee23d5458a7e972b4'/>
<id>urn:sha1:da3700988d9e34e380bae21ee23d5458a7e972b4</id>
<content type='text'>
This reduces open coding and allows to easily add a knob to
enable it treewide, where chosen packages can still opt-out via
"no-gc-sections".

Note: libnl, mbedtls and opkg only used the CFLAGS part without the
LDFLAGS counterpart. That doesn't help at all if the goal is to produce
smaller binaries. I consider that an accident, and this fixes it.

Note: there are also packages using only the LDFLAGS part. I didn't
touch those, as gc might have been disabled via CFLAGS intentionally.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16</title>
<updated>2023-03-21T17:28:22Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-02-02T19:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=5c545bdb365a78b8995ddfa441a6018f7ff3c011'/>
<id>urn:sha1:5c545bdb365a78b8995ddfa441a6018f7ff3c011</id>
<content type='text'>
Keep backwards compatibility via PKG_USE_MIPS16 for now, as this is
used in all package feeds.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>uencrypt: split common and library-specific code</title>
<updated>2023-03-17T20:22:54Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2023-02-19T02:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=1781e7408a62de72193ddff5dbf5d9ff772a5847'/>
<id>urn:sha1:1781e7408a62de72193ddff5dbf5d9ff772a5847</id>
<content type='text'>
This splits the code in 4 files:
 - uencrypt.h
 - uencrypt.c - main program
 - uencrypt-openssl.c - OpenSSL/wolfSSL implementation
 - uencrypt-mbedtls - mbedTLS implementation

Other changes, accounting for ~400 bytes increase in ipk size:
 - more error condition checking and reporting,
 - hide key and iv command line arguments

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>uencrypt: add support for mbedtls</title>
<updated>2023-03-17T20:22:53Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2023-02-17T11:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/dedeckeh/commit/?id=4662adef2ad02dc5903516f69da017dcecf392c9'/>
<id>urn:sha1:4662adef2ad02dc5903516f69da017dcecf392c9</id>
<content type='text'>
This commit includes some additional changes:
 - better handling of iv and keys in openssl/wolfssl variants
 - fix compiler warnings and whitespace
 - build all 3 variants as separate packages
 - adjust the new package name in targets' DEVICE_PACKAGES
 - remove PKG_FLAGS:=nonshared

[Beeline SmartBox Flash - OK]
Tested-by: Mikhail Zhilkin &lt;csharper2005@gmail.com&gt;
[after test: replaced a hardcoded IV size of 16 by cipher_info-&gt;iv_size]
Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
</feed>
