libwebsockets: update to 4.3.3 - #23562
Conversation
BKPepe
left a comment
There was a problem hiding this comment.
Master first then it could be backported to the stable branches.
|
@oskarirauta @neheb add two fix for lws-4.3.2 in 6a897e2. For 010-fix-enum-int-mismatch-openssl.patch, the upstream pr is warmcat/libwebsockets#2824 and is merged in lws-4.3.3. @BKPepe Then, how to do with master? Do we need to keep the 011-fix-enum-int-mismatch-mbedtls.patch? |
|
My idea:
So, while you will bump this to 4.3.3, you will see that both patches does not apply, because both of them are included in the 4.3.3 release. You are welcome. |
|
No need for these two commits. Merge into 1. |
|
@1715173329 As I change the base from openwrt-23.05 to master, could you remove the label "OpenWrt 23.05"? |
|
oskarirauta authored and neheb committed Jul 1, 2023 @oskarirauta @neheb Update libwebsockets 4.3.3 revert your commit 6a897e2 based on 4.3.2 (as there were fixed in 4.3.3), please help to review. And, do we need to add wolfssl variant? |
|
I don't know what you are trying right now. This commit: 2b9b12f was perfectly fine and nothing else was needed except that you need to run: Such a simple change, and now it is not even efficient for simple bumps. :-/ Changing PR from one to another, you could keep this for OpenWrt 23.05 and then rebase it or re-do it with cherry-pick. Please keep this simple as it is. |
|
@BKPepe Thanks for the And, add wolfssl support. |
|
The revert commit needs to be gone. Also, as you added WolfSSL variant (why not do that in the different PR, oh boy...) |
|
@BKPepe Thanks for Review. Just remove the wolfssl, and rebase into one commit. |
|
However, i still do have problem that you are using word revert. You dont
revert anything. You removed patch, because it was backport as a patch from
upstream.
Dne út 5. 3. 2024 16:22 uživatel Liu DongMiao ***@***.***>
napsal:
… @liudongmiao <https://github.com/liudongmiao> requested your review on:
#23562 <#23562> libwebsockets:
update to 4.3.3.
—
Reply to this email directly, view it on GitHub
<#23562 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7IDVAWJMRLATIPLEOC35LYWXPKHAVCNFSM6AAAAABD7I57F6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGAYTKNRUG43TANA>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
|
@BKPepe Thanks, I use other words to avoid reverts:
|
|
Much better. 👏 |
|
@BKPepe current failed either in build image, or in depends. I think it's nothing due to the libwebsockets itself. And I add two more commits, as it's not merged yet.
|
OpenWrt may be built without `MBEDTLS_VERSION_C`, it's issued on upstream at warmcat/libwebsockets#3013 and fixed at warmcat/libwebsockets@8eb89ba The old patches are removed as there were fixed in 4.3.3. Signed-off-by: Liu Dongmiao <liudongmiao@gmail.com>
| DEPENDS += +libmbedtls | ||
| VARIANT:=mbedtls | ||
| PROVIDES:=libwebsockets | ||
| CONFLICTS:=libwebsockets-openssl |
There was a problem hiding this comment.
remove conflicts as similar packages don't specify at all.
This is really not true at all. Did you figure out why there are conflicts and what is their purpose? It does not mean that those are not wrong. Please check this out: #19701
There was a problem hiding this comment.
IMO, package should avoid to require specify variant.
mosquitto-ssl requires libwebsockets-openssl, and ttyd requires libwebsockets-full.
If there's other package requires libwebsockets, don't care about the variants at all, then which they should install?
Of course, if it's the real case, then make libwebsockets-full provides libwebsockets and extra libwebsockets-openssl.
And if libwebsockets-full provides libwebsockets-openssl, then it's ok:
root@OpenWrt:~# opkg list-installed | grep -E '(libwebsockets|ttyd|mosquitto-ssl)'
libwebsockets-full - 4.3.3-1
mosquitto-ssl - 2.0.17-1
ttyd - 1.7.3-1
|
Anyway, this is really getting huge and complicated. What are you doing is now that all your changes even though splitted in multiple commits are in pull request, which should only update it to 4.3.3. So it gets really difficult to review it and as well to get in. There was a reaosn, why it was not merged, because it was waiting for CI/CD to finish its job. Also, if you are adding more commits, which are not relevant to PR, then it is get messy, because of the noise. Everyone could review different commits, give you feedback and it keeps reminder others, which might not be interested in other commits. Please try to keep this simple as possible.
|
|
@BKPepe For the third commit, remove the It's because it's not binary compatible if we enable It takes me 3 days to find the why my codes doesn't work with specify variant. There are two solutions:
|
|
@BKPepe I just remove other (conflicts / provides, libuv, If it's merged, then I will add other PR to discussing them. |
Maintainer: OpenWrt.org
Compile tested: ath79-generic-openwrt-23.05 (docker sdk tag)
Run tested: ath79/generic, OpenWrt 23.05.2, Netgear WNDR3800
Description: Update libwebsockets to latest stable 4.3.3, released on 2023/11/20