-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration from PCRE to PCRE2 #22006
Comments
I guess it's time to switch to shadowsocks-rust, which has much better performance (10x faster on aarch64 platform). |
Thanks, @stintel, I included your referenced issue to OP. |
For the package kismet, I originally become the maintainer to prevent this package to be abandoned. |
slang2 is done in #22020. |
I looked into kismet before. seems to now be a convoluted project with protocol buffers and a bunch of other dependencies. edit: also if I had to guess, kismet being C++ would mean pcre is not used. |
@BKPepe is it ok to include patch while we wait for a release? (for pcre2 support) |
Switch pcre to pcre2 openwrt#22006 Signed-off-by: Hirokazu MORIKAWA <[email protected]>
@BKPepe mg editor done. |
Switch pcre to pcre2 #22006 Signed-off-by: Hirokazu MORIKAWA <[email protected]>
Switch pcre to pcre2 #22006 Signed-off-by: Hirokazu MORIKAWA <[email protected]> (cherry picked from commit 3d11e5c)
Switch pcre to pcre2 #22006 Signed-off-by: Hirokazu MORIKAWA <[email protected]> (cherry picked from commit 3d11e5c)
@neheb The question is do we care about quality over quantity? I might be strict, but I would simply remove those packages. You know, it is very pleasant of you that you will take into kismet, but how many users are using it? I fail to see such unmaintained packages here: https://downloads.openwrt.org/stats/awstats.downloads.openwrt.org.allextra2.html Is anyone really using them? If we are doing that for a minority <5-10 users then it is probably not worth all the efforts we are putting into it. They can compile themselves. They can use GitHub Actions (simply by forking this repository), if they are not familiar with the OpenWrt build system and from the CI, download the package and install it or even prepare their own feed. With the removing these packages, we will as someone from OpenWrt core team is saying: "Less using compute resources, faster build time, happy users" |
@Ansuel: You have there two packages, where you are listed as maintainer. We can probably backport uwsgi pending pull request as it seems that for 3 weeks, there has been no activity. Regarding nginx, it can be done immediately because PCRE2 support is there for many weeks. |
Was talking about other packages since the deadline is 1 October. For nginx
I will check today what are the required thing to do. The blocker was lua
support
Il Ven 22 Set 2023, 09:45 Josef Schlehofer ***@***.***> ha
scritto:
… @BKPepe <https://github.com/BKPepe> is it ok to include patch while we
wait for a release? (for pcre2 support)
You have there two packages, where you are listed as maintainer. We can
probably backport uwsgi pending pull request as it seems that for 3 weeks,
there has been no activity. Regarding nginx, it can be done immediately
because PCRE2 support is there for many weeks.
—
Reply to this email directly, view it on GitHub
<#22006 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2ZMQQ24PDSTHEQ6SCQD43X3U623ANCNFSM6AAAAAA4JHKF2M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Having a deadline is great, but I think we need to put these packages to some categories:
So... it is not easy as it seems. :-) I don't currently have the answer what are you looking for. It's open discussion, so any comment is appreciated. Time will tell us. |
@BKPepe I like deadlines... force things to move and honestly we should add them all around our project. For me it's ok to apply patch and then drop them on release bump... (assuming they are mature enough and just stalled) |
Yeah, I like deadlines as well that's why I gave it in the first place. Exactly for the reasons what are you saying. It moves things to move. |
kismet can go away. I don’t use it. |
I am the maintainer of kismet and I do not use it myself: as I mentioned in a previous message, I took it to prevent at the time (2015-2016) that it will disappear. So, kismet can disappear as far as I am concerned: I cannot and will not maintain it as I cannot even test it or use it myself. |
It seems that we do have a lot of progress here! Glad to see it, and thanks anyone, who looked into it.
|
@BKPepe micropython/micropython-lib#737 wasted way too much time on this but eheheheh |
Well tomorrow is the deadline. I would drop pcre library and mark the remaining package as |
Please don't. You can't seriously consider dropping net-snmp from a distribution that mainly targets network devices. |
@stintel if you want I can waste also today on migrating another package to pcre2. |
@stintel according to https://www.zabbix.com/documentation/current/en/manual/installation/requirements#:~:text=libpcre3%27%20or%20%27libpcre1%27.-,PCRE%20v8.x%20and%20PCRE2%20v10.x%20(from%20Zabbix%206.0.0)%20are%20supported.,-libevent zabbix 6.0+ already has pcre2 support, so maybe no patches are needed? |
Yep I will check each missing package. I just need the list |
Hmm, I think what I did wrong, uhh! Yep, it's just a few more packages.
Guys, I am so sorry for this! I am feeling bad, because of that. I will add
those packages in OP in a short manner.
Dne ne 29. 10. 2023 17:14 uživatel Christian Marangi <
***@***.***> napsal:
… Yep I will check each missing package. I just need the list
—
Reply to this email directly, view it on GitHub
<#22006 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7IDVF7HL52LCQS7N4J2XLYBZXFNAVCNFSM6AAAAAA4JHKF2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGE2TKOJSGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@BKPepe taking care of checking each suggested package and moving them... for now only 2 require special care (aka me having to convert the package I think...) |
Hmm, I think this question is answered here in this thread already. ;) You might want to check also the stable branches. Of course, it will be backported over the time, no need to worry about it. |
@BKPepe did you find other package that still use pcre? |
freeswitch http://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041689.html |
Dont confuse it with other feeds. They are on their own. This is only for
packages feed, where are the most packages. For other feeds something like
this needs to be created or they will notice that once libpcre is gone.
Dne po 30. 10. 2023 23:35 uživatel Paul Dee ***@***.***>
napsal:
… freeswitch
kamailio
rtpengine
sipgrep
snort (not v3)
http://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041689.html
—
Reply to this email directly, view it on GitHub
<#22006 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7IDVCQJJ5VVYKT6T4FWD3YCATURAVCNFSM6AAAAAA4JHKF2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGE2TEOJSGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@BKPepe @systemcrash Is the list now complete? only 3 package to do... freeswitch is ""easy"" and I will manually convert snort and snort3 is HELL ON EARTH. |
Those are the ones that pop up when I run make. Nothing further to add. |
Welp only snort3 is missing... might take a while as I won't be at pc in the next few days :( |
And with also snort3 manually converted, there isn't any more package that still require pcre.... Now it's really a matter of testing and merge the pending pr... |
How is this migration coming along? Any objections to merging these? |
@systemcrash nmap are backport for the other 3 package.. pr is open but no feedback from maintainers |
One left :( We should really spam or find a good way to make freeswitch guy aware of the deprecation. |
Yeah... only left. Hmm, maybe we can convience telephony maintainers to merge your pending patch. :)
|
Honestly I totally get why he is a bit hesitant... they looks like big changes but reality is that it's the very basic handling of pcre2 (nothing fancy) I would wait a bit, I don't like forcing stuff especially when we are in the same org :D |
This package is no longer actively maintained as it reached End-of-Life. [1] All new projects should use PCRE2. OpenWrt wants to be minimalistic and we migrated many packages from PCRE to PCRE2 huge thanks belong to @Ansuel (Christian Marangi), who worked with several open-source projects to migrate it to PCRE2 [2]. This means that on routers, we don't need to have installed two libraries (pcre and pcre2) side by side. [1] https://www.pcre.org/ [2] openwrt#22006 Fixes: openwrt#22006 Signed-off-by: Josef Schlehofer <[email protected]>
Evil genius 😈 |
Naaah, I am not. 😇 We have been sitting on PCRE for a longer period than I thought. It looked like an easy job in the beginning, but several open-source projects were not prepared, and it took some time for developers to look into it, review @Ansuel's work, and then, if possible, release a new version, so we don't need to carry patches, which were quite huge. Keeping this only for one remaining software... I am kinda convinced to drop it; it's the master branch after all, issues are expected, and I am quite sure that some hidden issues will be revealed once PCRE is removed. |
This package is no longer actively maintained as it reached End-of-Life. [1] All new projects should use PCRE2. OpenWrt wants to be minimalistic and we migrated many packages from PCRE to PCRE2 huge thanks belong to @Ansuel (Christian Marangi), who worked with several open-source projects to migrate it to PCRE2 [2]. This means that on routers, we don't need to have installed two libraries (pcre and pcre2) side by side. [1] https://www.pcre.org/ [2] #22006 Fixes: #22006 Signed-off-by: Josef Schlehofer <[email protected]>
This package is no longer actively maintained as it reached End-of-Life. [1] All new projects should use PCRE2. OpenWrt wants to be minimalistic and we migrated many packages from PCRE to PCRE2 huge thanks belong to @Ansuel (Christian Marangi), who worked with several open-source projects to migrate it to PCRE2 [2]. This means that on routers, we don't need to have installed two libraries (pcre and pcre2) side by side. [1] https://www.pcre.org/ [2] openwrt#22006 Fixes: openwrt#22006 Signed-off-by: Josef Schlehofer <[email protected]>
Due to recent findings described in #21800, we should track somewhere (= here) packages that are still using PCRE instead of PCRE2 to propose their developers to look into PCRE2 and prepare the support (Assignee: Here maintainers of relevant packages).
Reasons to switch to PCRE - Perl Compatible Regular Expressions 2:
Packages, which needs to be taken care of:
Maintainer: @ZeroChaos- even though I thought this package is rather not maintained
Steps to be done:
Maintainer: @dddaniel
Steps to be done:
Maintainer: @stintel
Steps to be done:
Waiting for Does net-snmp plan to switch to pcre2? net-snmp/net-snmp#420Support merged but still not in latest release net-snmp/net-snmp@d3e95c8Maintainer: @yousong
Steps to be done:
Maintainer: @Ansuel
Steps to be done:
Oh, this time, its different! There is a pending pull request:
add libpcre2 support unbit/uwsgi#2543
Pending uwsgi: add experimental pcre2 patch and drop pcre #22184
Maintainer: @nunojpg
Steps to be done:
There is support since the commit nmap/nmap@828ab48 , no release was tagged since that time
Pending: nmap: bump to 7.95 release + PCRE2 #22226
Maintainer: @heil
Steps to be done:
bump this package and switch the library in the Makefile
Maintainer: @padre-lacroix and @sourceindex
Steps to be done:
This package is not maintained in our repository since it was introduced here even though upstream are releasing new versions
This package is going to be removed in kismet: drop the package #22236
Maintainer: @nxhack
Steps to be done:
Maintainer: @padre-lacroix
Steps to be done:
Upstream repository has been archived and read-only since February 2022. See: https://github.com/NethServer/bandwidthd
Removed this package. (Remove package: Bandwidthd #22008)
Maintainer: @msva
Steps to be done:
There is support in the upstream repository based on https://sourceforge.net/p/zsh/code/ci/10bdbd8b5b0b43445aff23dcd412f25cf6aa328a/
Ansuel inspection: Backporting the patch is doable but results in the package not correctly generating the libs...Thank god someone manage to find the libs problem. Pending: zsh: use libpcre2 instead of libpcre #22197
Maintainer: @jefferyto
Steps to be done:
Maintainer: @ja-pa
Steps to be done:
Maintainer: @jefferyto
Steps to be done:
Maintainer: @Ansuel and @heil
Steps to be done:
Since version 1.12.5 is using pcre2 by default according to https://nginx.org/en/CHANGES , but still in the Makefile, there is legacy pcre being used.Pending nginx: openresty lua module + PCRE2 switch #21018Maintainer: @peter-stadler
Steps to be done:
Adapt source to pcre2.Pending nginx-util: move to pcre2 #22185Maintainer: @Shulyaka
Steps to be done:
Maintainer: @champtar
Steps to be done:
Maintainer:
Steps to be done:
Maintainer: @odmdas / @neheb
Steps to be done:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
Planned support for last year... Still not done...Took care of manually converting itMaintainer:
Steps to be done:
Packages in other feeds, which needs to be taken care of:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
Maintainer:
Steps to be done:
I ask anyone to be responsible and look into it, sooner than later. Otherwise, if there is no response to the package, which you are maintaining, the package will be removed at the beginning of the next month - 1st October 2023, so we have a soft deadline. I am fully aware that if there is no deadline, no further actions will be taken. You are not doing it just for me but also for others, including OpenWrt users.
Thank you for your cooperation, guys and make sure that it is run-tested on the router! ;)
Footnotes
https://github.com/PCRE2Project/pcre2#pcre2---perl-compatible-regular-expressions ↩
https://www.pcre.org ↩
https://openwrt.org/toh/recommended_routers ↩
The text was updated successfully, but these errors were encountered: