[PATCH 0/2] Bump WolfSSL and libtool

Hauke Mehrtens hauke at hauke-m.de
Mon Sep 13 09:57:43 PDT 2021


On 7/22/21 9:44 PM, Eneas U de Queiroz wrote:
> WolfSSL has decided it needs at least libtool 2.4.2 to build.  From
> their commit 92854a5dd message:
>      advance LT_PREREQ from 2.2 (2008) to 2.4.2 (2011) to reflect current
>      automated testing coverage.
> 
> We could easily patch our way out of it, but I decided to try the
> upgrade first.  It appears to work just fine.  I've just rebuilt the
> whole tree for my Linksys E8450 (mt7622), and tested the WolfSSL update
> with hostapd and uhttpd.  I've had no hickups, but of course ymmv.
> 
> My major concern while bumping a core building tool was how it could
> affect the changes we have in place.  I've looked at both our patches,
> and at what was changed upstream.
> 
> The major changes were related to getting the gnulib sources from git,
> and refreshing them when running bootstrap.  Since we are applying
> patches, getting fresh copies are not viable, but there's a command-line
> option to avoid doing it.
> 
> I'm not so sure what to do about 21.02.
>   1. Patch WolfSSL to accept building with libtool 2.4;
>   2. Bump libtool to 2.4.2: 11 *relevant* files changed from 2.4,
>                             424 insertions(+),  198 deletions(-).
>      This was before the gnulib changes.  For a comparison, there are
>      71 files changed, 17143 insertions(+), 5697 deletions(-), when going
>      from 2.4 to 2.4.6.
>   3. Bump both to keep in sync with master.
> 
> My vote: do 1 now, and wait for possible fallout from master.  Then,
> perhaps try to keep them in sync, at the following point release.
> 
> Cheers
> 
> Eneas U de Queiroz (2):
>    libtool: bump to 2.4.6
>    wolfssl: bump to v4.8.0-stable
> 

Hi Eneas U de Queiroz,

libtool was updated to version 2.4.2 in this commmit:
https:/git.openwrt.org/cdc646c03282b91d7e9518bb726f29c1de5d24fc
The wolfssl update was applied here:
https://git.openwrt.org/7d92bb0509615550b98e2dc71091073c8258d564

I would also like to get libtool to 2.4.6 in master, could you please 
rebase your patch on top of current master please.

@Jow: Do you have any objections to updating libtool in master to 
version 2.4.6?

I would prefer to patch wolfssl in 21.02 to work with older libtool.

Hauke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x93DD20630910B515.asc
Type: application/pgp-keys
Size: 13571 bytes
Desc: OpenPGP public key
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210913/aa1c9350/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210913/aa1c9350/attachment-0001.sig>


More information about the openwrt-devel mailing list