Closed linuxmaniac closed 2 years ago
Thanks for the info!
It could be disabled for now with --without-pcre
configure flag.
I imagine adding compatibility with libpcre2 would require source changes, so I'll try to add them for 1.4.11 as soon as I can.
Regards
Hi @Kaian and @linuxmaniac
Debian package is stucked to version 1.4.6 that miss some recent fixes.
Could we consider to abandon pcre usage in /pkg/debian to allow newer versions on debian ?
I'm not aware of the Debian Packaging release process, but if i should provide some help, just tell me.
Regards
Hi @dvillaume
Thanks for the input. I have created a pcre2 branch some time ago that should replace all pcre3 calls with their equivalent:
83d0292bfa7a26070f75d2b7b8c995c0524ad098 ebb3bb7093b735bf4e2dc364a8b7eadb675f3baf
/pkg
directory is not used by the official debian packages, it's just for Irontec repositories (see Wiki).
The only drawback of migrating to pcre2 is that we will break compatibility with some old systems, so I'm still thinking if it's better to add a second configure flag --with-pcre2 or just replace the existing --with-pcre one and abandon pcre3.
Regards
Hi @Kaian
Thanks for your feedback and clarifications.
As a simple user i cannot pretend pointing you the better way to process, but i'm so happy to be able to use sngrep even on oldest platform that i would vote for the --with-pcre2 version.
Regards
Hi!
Above commit should add support for libpcre2 while keeping support with old libpcre. Use --with-pcre2 in configure script to compile against new libpcre-2 library.
Sorry for taking so long to code this!
Regards!
From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999958: