<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/package/utils, branch v23.05.2</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2023-11-09T15:38:02Z</updated>
<entry>
<title>ucode: update to Git HEAD (2023-11-07)</title>
<updated>2023-11-09T15:38:02Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2023-11-09T11:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2285eb732a03fb122d2c990d7a206cb826cf0bb8'/>
<id>urn:sha1:2285eb732a03fb122d2c990d7a206cb826cf0bb8</id>
<content type='text'>
0352a33 uloop: support new interval and signal APIs
1468cc4 syntax: don't treat `as` and `from` as reserved keywords

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 551963662b3c2d4a740a447855da410c0f217152)
</content>
</entry>
<entry>
<title>px5g-wolfssl: Fix permission of private key</title>
<updated>2023-11-08T18:04:11Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-11-06T23:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5106f554bb9324be88c9bfb8bc2105ce098f359c'/>
<id>urn:sha1:5106f554bb9324be88c9bfb8bc2105ce098f359c</id>
<content type='text'>
Store the private key with read and write permission for the user only
and not with read permissions for everyone. This converts the
write_file() function from fopen() to open() because open allows to
specify the permission mask of the newly created file. It also adds and
fixes some existing error handling.

OpenSSL does this in the same way already.

With this change it looks like this:
root@OpenWrt:/# ls -al /etc/uhttpd.*
-rw-r--r--    1 root     root           749 Nov  6 23:14 /etc/uhttpd.crt
-rw-------    1 root     root           121 Nov  6 23:14 /etc/uhttpd.key

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 6aad5ab0992fefd88ce612bc0484e0115a004572)
</content>
</entry>
<entry>
<title>px5g-mbedtls: Fix permission of private key</title>
<updated>2023-11-08T18:04:11Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-11-05T22:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6fd16b0d2717a750368cc02fab3a10287c7e08f4'/>
<id>urn:sha1:6fd16b0d2717a750368cc02fab3a10287c7e08f4</id>
<content type='text'>
Store the private key with read and write permission for the user only
and not with read permissions for everyone. This converts the
write_file() function from fopen() to open() because open allows to
specify the permission mask of the newly created file. It also adds and
fixes some existing error handling.

OpenSSL does this in the same way already.

With this change it looks like this:
root@OpenWrt:/# ls -al /etc/uhttpd.crt /etc/uhttpd.key
-rw-r--r--    1 root     root           519 Nov  6 22:58 /etc/uhttpd.crt
-rw-------    1 root     root           121 Nov  6 22:58 /etc/uhttpd.key

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 929c9a58c9a17a3ca8d2a3be0c5dc4ac98e848e2)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2023-11-02T09:38:48Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2023-11-02T09:36:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f34ccb10dd9a8f8613584399eacd7e271e6cc967'/>
<id>urn:sha1:f34ccb10dd9a8f8613584399eacd7e271e6cc967</id>
<content type='text'>
cfb24ea build: avoid redefining _FORTIFY_SOURCE
448c763 lib: enforce consistent `index()` behavior with empty needle argument
cdc0203 nl80211: fix maybe uninitialized variable
a69b5c8 vm: fix unused result warning
ea046bd build: enable source fortification by default

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 262554f12cbcc4e3bea2440ce1e696ce8791e732)
</content>
</entry>
<entry>
<title>ucode: fix build on macos</title>
<updated>2023-11-02T09:38:48Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2023-10-28T12:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=51b1d5950e2428a303d703a8b7ac66ef61a10485'/>
<id>urn:sha1:51b1d5950e2428a303d703a8b7ac66ef61a10485</id>
<content type='text'>
Remove ABI version, since its format is not accepted by the linker.
Enable rpath to avoid clash with system libraries

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry picked from commit 5eb8a21ba5fe5e87c03f0361d1db989189be9c6d)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2023-11-02T09:38:48Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2023-10-26T22:15:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b5498808155b73ede2a1e8fc3cd4b090bd31788d'/>
<id>urn:sha1:b5498808155b73ede2a1e8fc3cd4b090bd31788d</id>
<content type='text'>
 - Introduces signal handling facilities
 - Fixes potentially incorrect object equality tests
 - Introduces debug library
 - Introduces log library
 - ABI version bump due to changed VM structure layout
 - Revised packaging

Changelog:

07c0317 jsdoc: switch to own custom theme
6ca08b0 jsdoc: properly handle indented documentation blocks
2a67f22 lib: add/improve documentation for require(), loadfile(), loadstring()
9993ccb uci: fix potential memory leaks in `configs()`
f56394f ci: re-trigger workflows on pull request pushes
1c18993 lib: various documentation fixes
d25dcb1 uci: add module documentation
4a8ece2 docs: use CSS and local JavaScript fixups to improve formatting
8f21cfa lib: introduce log library
8a3aefe build: auto-enable module depending on present libraries
6a01adc build: convert CMakeLists.txt into lowercase
8700665 ci: don't skip pull request workflows for `master` branch
0184d23 include: fix execvpe compat function on macOS
8b23884 uloop: rename environ variable to avoid clashing with system macro on macOS
7c209d7 types: ensure double serializatiion with decimal places
d150425 rtnl: update the link attr TODOs
d394174 rtnl: add IFLA_TARGET_NETNSID for operating in other namespaces
1227733 lib: fix documented return value for `splice()`
c9982de docs: add struct module documentation
7dde493 docs: add missing headline to debug module documentation
8f852ea types: improve comparison reliability of binary strings
6940c28 lib: introduce debug library
be07107 treewide: consolidate platform specific code in platform.c
2593270 uloop: interrupt on VM signals
97a5292 lib: add `signal()` stdlib function
1dbbb6a main: enable signal dispatching in the standalone cli interpreter
1623245 types: treat signal handler array as GC root
29b1c0d vm: introduce basic signal handling infrastructure
093684d fs: explicitly compare isatty() result
4f4f38f types: don't rely on implicit type conversion in ucv_compare()
4bee0ef docs: disable GitHub Jekyll post processing
5efb7a0 docs: further rework
33bc7bf docs: fix markup quirks
9d5e420 docs: add information about memory management and operator precedence
f1190ef docs: various improvements
f0cc841 fs: use `fseeko()` and `ftello()`
cba0c3c fs: complete function documentation coverage
f9260f7 github: drop superfluous CNAME file
c85bc74 Create CNAME
5309294 lib: add JSDoc documentation
b0f2f90 fs: add JSDoc documentation
fe086da math: add JSDoc documentation
70f9348 docs: add initial JSDoc infrastructure
24f1a56 source: fix source offset accounting
9df9160 lexer: don't count EOF token as newline
b9d8f06 ci: switch to official openwrt/gh-action-sdk

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit eacc885816fb46bf4054b0c3dd2cd1513322ad09)
</content>
</entry>
<entry>
<title>lua: opt-out of lto usage</title>
<updated>2023-10-30T23:44:03Z</updated>
<author>
<name>Anari Jalakas</name>
</author>
<published>2023-10-07T12:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f1ea45f85325490dd5c250bfc9b2ba927b49ac6e'/>
<id>urn:sha1:f1ea45f85325490dd5c250bfc9b2ba927b49ac6e</id>
<content type='text'>
This fixes building with USE_LTO enabled.

&lt;artificial&gt;:(.text+0xcc8): relocation R_MIPS16_26 against `luaL_argerror' cannot be used when making a shared object; recompile with -fPIC
./openwrt/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/lib/gcc/mips-openwrt-linux-musl/12.3.0/../../../../mips-openwrt-linux-musl/bin/ld.bfd: non-dynamic relocations refer to dynamic symbol strcpy
./openwrt/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/lib/gcc/mips-openwrt-linux-musl/12.3.0/../../../../mips-openwrt-linux-musl/bin/ld.bfd: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status

Signed-off-by: Anari Jalakas &lt;anari.jalakas@gmail.com&gt;
(cherry picked from commit 246b97b607e316d6acae66a23fcdf6d12c02a786)
</content>
</entry>
<entry>
<title>bcm53xx: Linksys EA9200 nvram and 02_network fixes</title>
<updated>2023-10-25T22:14:10Z</updated>
<author>
<name>Rani Hod</name>
</author>
<published>2023-09-30T23:05:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6a1b92b0243246f0adb3e3207a1af2196b44942a'/>
<id>urn:sha1:6a1b92b0243246f0adb3e3207a1af2196b44942a</id>
<content type='text'>
1) clear nvram partialboots upon successful boot
This behavior is already defined for EA9500; enabled for EA9200 too.

2) fix MAC address in board.d/02_network
Use the correct nvram variable to derive lan/wan MAC address.

Signed-off-by: Rani Hod &lt;rani.hod@gmail.com&gt;
(cherry picked from commit 9c42d23c5f7aa2b7f80af96921b2d5476626b8c6)
</content>
</entry>
<entry>
<title>bsdiff: Add patches for CVEs</title>
<updated>2023-10-09T21:45:35Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-10-07T19:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6637af95aa9085c8367ce8184b0fe6917365c3d3'/>
<id>urn:sha1:6637af95aa9085c8367ce8184b0fe6917365c3d3</id>
<content type='text'>
Add two patches from Debian fixing CVEs in the bsdiff application.
CVE-2014-9862: Heap vulnerability in bspatch
CVE-2020-14315: Memory Corruption Vulnerability in bspatch

Copied the patches from this location:
https://salsa.debian.org/debian/bsdiff/-/blob/debian/latest/debian/patches/20-CVE-2014-9862.patch
https://salsa.debian.org/debian/bsdiff/-/blob/debian/latest/debian/patches/33-CVE-2020-14315.patch

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit cac723e8b8748938b8d80603578c60189fc32b24)
</content>
</entry>
<entry>
<title>yafut: add missing PKG_MIRROR_HASH</title>
<updated>2023-10-08T12:14:50Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-10-02T20:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=76758a8694cab59bd1f9cdba53420fd2ff8bb383'/>
<id>urn:sha1:76758a8694cab59bd1f9cdba53420fd2ff8bb383</id>
<content type='text'>
Add missing PKG_MIRROR_HASH. This is always needed as is used to
generate and use a tar instead of git clone and validate the hash of it.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit a181b9f0f9269525319024f53d83c7efe9da544b)
</content>
</entry>
</feed>
