Oniguruma maintenance was ended 2025-04-24
Description
Onimuruma was ended on 2025-04-24. https://github.com/kkos/oniguruma
This library uses mbregex in php-src.
How do we do that?
I send internal mailing list too.
I send internal mailing list too.
For reference: https://externals.io/message/127245
Commenting here to stay updated on this Issue.
FYI: The FreeBSD Ports tree has set an expiration date of 2026-12-01 for oniguruma-6.9.10. That means that by this date, the mbstring extension would also drop from FreeBSD Ports, which in my case would negatively impact the use of Roundcube Webmail.
Unbundle Oniguruma commit: d1c1481081ef6280bf403b290501ca62d736cb8b
I think one way --with-onig should be revived.
@emtiu Same here. I'm running software on FreeBSD, that depends on php83-mbstring. This depends on oniguruma.
The daily security output mail includes:
Security check:
Checking for packages with security vulnerabilities:
Database fetched: 2026-01-15T21:30+01:00
oniguruma-6.9.10: Tag: expiration_date Value: 2026-12-01
oniguruma-6.9.10: Tag: deprecated Value: Project archived upstream
-- End of security output --
@emtiu Same here. I'm running software on FreeBSD, that depends on php83-mbstring. This depends on oniguruma.
If you build your own packages, you can try to compile php83-mbstring without oniguruma bindings. You can do this if you disable the REGEX option for the package. Then, php83-mbstring will not depend on oniguruma.
However, that didn't help in my case, because my PHP application (roundcube) breaks without oniguruma.
Please consider my workaround: https://github.com/php/php-src/pull/19258#issuecomment-4032211143
https://github.com/php/php-src/pull/19258#issuecomment-4073024794
You can try pie install mb_onig/mb_onig (please without --disable-mbregex)
Update on this issue from FreeBSD (see https://www.freshports.org/devel/oniguruma/)...
It seems that a FreeBSD maintainer has removed the DEPRECATED status of their oniguruma package, stating: "Remove DEPRECATED line because there are many consumers and consumers are not getting off oniguruma any time soon."
That doesn't change the fact that Oniguruma is unmaintained and if we keep it, we have to be ready to patch security bugs ourselves. (If anyone would like to jump in and contribute here, scanning Oniguruma for any genuine security bugs would be helpful and appreciated... it's better we know if any are there.)