<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jow/package/libs, branch main</title>
<subtitle>Staging tree of Jo-Philipp Wich</subtitle>
<id>https://git.openwrt.org/openwrt/staging/jow/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/jow/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/'/>
<updated>2025-01-26T13:22:24Z</updated>
<entry>
<title>treewide: drop librt and libpthread packages</title>
<updated>2025-01-26T13:22:24Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-12-18T16:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=817de2070b03607d2114d4100ee866099dac9362'/>
<id>urn:sha1:817de2070b03607d2114d4100ee866099dac9362</id>
<content type='text'>
Since OpenWrt's main libc library, musl, does not provide separate shared
object files for libpthread and librt, the existing binary packages for
them are empty placeholders which provide no runtime functionality and
frequently cause confusion among users who attempt to build software
linking -lrt or -lpthread on target.

To clean this situation up somewhat and to simplify binary package
dependecies for all of the potential musl, glibc and uclibc cases, drop
those packages and move libpthread.so as well as librt.so into the main
libc package for those libc implementations that happen ship them as
extra shared libraries.

Also let the abstract libc package provide virtual libpthread and librt
packages in order to ease migration for packages that still explicitly
depend on them.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>libbpf: Update to v1.5.0</title>
<updated>2024-12-28T14:41:43Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2024-12-08T03:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=6a6ae41d4b960131f86f10a4609a0082bcd0ebb7'/>
<id>urn:sha1:6a6ae41d4b960131f86f10a4609a0082bcd0ebb7</id>
<content type='text'>
Update to the latest upstream release to include recent improvements and
bugfixes, including support for handling BPF objects of either endianness.

Link: https://github.com/libbpf/libbpf/releases/tag/v1.5.0
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
Link: https://github.com/openwrt/openwrt/pull/17404
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: Deactivate ARIA block cipher by default</title>
<updated>2024-12-23T21:15:20Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2024-12-22T16:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=3c0ef48bc82cb11edd0b4fdbc4beaa3f95708967'/>
<id>urn:sha1:3c0ef48bc82cb11edd0b4fdbc4beaa3f95708967</id>
<content type='text'>
The ARIA block cipher is pretty uncommon in TLS, deactivate it for now.
This saves some space and reduces the possible variations and attack
vectors of mbedtls.

ARIA support was deactivated in OpenWrt 23.05 by default.

Link: https://github.com/openwrt/openwrt/pull/17342
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>gmp: use same source tarball for tools/gmp and package/libs/gmp</title>
<updated>2024-11-28T15:53:32Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-11-27T20:43:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=ee9eb91e0a69aa90c69cd34efef44badbc16d416'/>
<id>urn:sha1:ee9eb91e0a69aa90c69cd34efef44badbc16d416</id>
<content type='text'>
tools/gmp was using the .tar.xz while package/libs/gmp was using the
.tar.gz archive of the GMP release. Use the .tar.gz for both of them.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>elfutils: Backport some patches to fix errors</title>
<updated>2024-11-16T18:57:58Z</updated>
<author>
<name>Ryan Keane</name>
</author>
<published>2024-11-08T06:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=afffcd09e5f15be53f327a80ee87d391312eb805'/>
<id>urn:sha1:afffcd09e5f15be53f327a80ee87d391312eb805</id>
<content type='text'>
On aarch64 musl gcc 14.x compiler, trying compiling elfutils 0.192 with
lto option enabled will cause null-dereference error.
Example error message:

...
elf_compress.c: In function 'elf_compress':
elf_compress.c:675:26: error: potential null pointer dereference [-Werror=null-dereference]
  675 |           shdr-&gt;sh_flags |= SHF_COMPRESSED;
      |                          ^
elf_compress_gnu.c: In function 'elf_compress_gnu':
elf_compress_gnu.c:127:25: error: potential null pointer dereference [-Werror=null-dereference]
  127 |           shdr-&gt;sh_size = new_size;
      |                         ^                      ^
...

This is a false postive warning but will abort compilation if gcc has
`-Werror` flag. This commit add a patch for this, see the bugzilla
report below.

This commit backports a series of patches to fix some errors.

Add patch:
- 007-add-libeu-symbols-to-libelf.patch
- 008-fix-autoconf-ENABLE_IMA_VERIFICATION.patch
- 009-fix-null-dereference-with-lto.patch

Link: https://sourceware.org/bugzilla/show_bug.cgi?id=32311
Signed-off-by: Ryan Keane &lt;the.ra2.ifv@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/16886
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>elfutils: Add mirrors.kernel.org as mirrror</title>
<updated>2024-11-16T18:57:58Z</updated>
<author>
<name>Ryan Keane</name>
</author>
<published>2024-11-13T19:46:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=63caa2b1685ef5d2b4259784085f64cb9e5574a8'/>
<id>urn:sha1:63caa2b1685ef5d2b4259784085f64cb9e5574a8</id>
<content type='text'>
Add mirrors.kernel.org as mirror, listed on sourceware mirror sites
page.

Link: https://sourceware.org/mirrors.html
Signed-off-by: Ryan Keane &lt;the.ra2.ifv@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/16886
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>elfutils: Update to 0.192</title>
<updated>2024-11-16T18:57:58Z</updated>
<author>
<name>Ryan Keane</name>
</author>
<published>2024-11-08T05:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=f5132df69db50a99e556e6fbd165002aac0e3e38'/>
<id>urn:sha1:f5132df69db50a99e556e6fbd165002aac0e3e38</id>
<content type='text'>
Add a patch still under review to fix some errors.

Refresh patch:
- 003-libintl-compatibility.patch
- 005-build_only_libs.patch
- 006-Fix-build-on-aarch64-musl.patch

Add patch:
- 102-fix-potential-deref-of-null-error.patch

Release notes are in the link below.

Link: https://inbox.sourceware.org/elfutils-devel/CAJDtP-T3+gXqHWp3T0mejWWbPr0_1tHetEXwfB67-o+zz7ShiA@mail.gmail.com/T/#u
Signed-off-by: Ryan Keane &lt;the.ra2.ifv@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/16886
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>libreadlne: create symlinks for .so</title>
<updated>2024-11-16T16:20:12Z</updated>
<author>
<name>Jeronimo Pellegrini</name>
</author>
<published>2024-09-21T18:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=0000ba6ab8062f965d8fed240b76d36f9a493b55'/>
<id>urn:sha1:0000ba6ab8062f965d8fed240b76d36f9a493b55</id>
<content type='text'>
Currently, libreadline only installs

```
 /usr/lib/libhistory.so.8 -&gt; libhistory.so.8.2
 /usr/lib/libhistory.so.8.2
 /usr/lib/libreadline.so.8 -&gt; libreadline.so.8.2
 /usr/lib/libreadline.so.8.2
```

But there is no `libreadline.so` or `libhistory.so` available.

So this happens:

```
root@OpenWRT:~# cat a.c
int main() {
}
root@OpenWRT:~# gcc a.c -lreadline
/usr/bin/ld: cannot find -lreadline: No such file or directory
collect2: error: ld returned 1 exit status
```

Unless, of course, one uses `-l:libreadline.so.8`... But that
doesn't help with binaries that try to dynamically open

`libreadline.so`. I have one of those here (the STklos Scheme
compiler -- I didn't make a PR for it because it's far from
being ready, but one issue is that it does use dlopen to use
readline...)

With the symlink, it works:

```
root@OpenWRT:~# ln -s /usr/lib/libreadline.so.8 /usr/lib/libreadline.so
root@OpenWRT:~#
root@OpenWRT:~# gcc a.c -lreadline
root@OpenWRT:~#
```

Another example: when trying to package rlwrap, the build failed
complaining it could not find readline (using `-lreadline`).
It would then be necessary to change rlwrap's `configure.ac`
(and also in all packages that use readline), but it seems
simpler to add the symlinks...

This PR changes the Makefile so it will include the links.

Signed-off-by: Jeronimo Pellegrini &lt;j_p@aleph0.info&gt;
Link: https://github.com/openwrt/openwrt/pull/16445
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>libnftnl: update to 1.2.8</title>
<updated>2024-11-10T23:05:06Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2024-10-23T22:06:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=d9ed0d438b0ec7d813764d629be7a753dc3fbac5'/>
<id>urn:sha1:d9ed0d438b0ec7d813764d629be7a753dc3fbac5</id>
<content type='text'>
Release Announcement:
https://www.spinics.net/lists/netfilter-devel/msg87287.html
https://www.spinics.net/lists/netfilter-devel/msg88520.html

Link: https://github.com/openwrt/openwrt/pull/16769
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>wolfssl: Adjust version for apk</title>
<updated>2024-11-10T14:36:43Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2024-11-10T13:57:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=be952e98bc1d768a0da5b84e59a6e7c04a1cdab8'/>
<id>urn:sha1:be952e98bc1d768a0da5b84e59a6e7c04a1cdab8</id>
<content type='text'>
Adjust wolfssl version for apk by removing the "-stable"
from the OpenWrt version, although it is still needed for
upstream download archive name.

Define PKG_BUILD_DIR accordingly.

Utilize new short version to simplify ABI_VERSION calculation.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
Link: https://github.com/openwrt/openwrt/pull/16906
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
