cvs commit: ports/security/yara Makefile distinfo
ports/security/yara/files patch-libyara__proc.c
Alexey Dokuchaev
danfe at FreeBSD.org
Tue May 24 01:42:49 UTC 2011
On Mon, May 23, 2011 at 08:16:24PM +0200, Matthias Andree wrote:
> Am 23.05.2011 19:04, schrieb Alexey Dokuchaev:
> > Could you perhaps explain the rationale behind pcre -> re2 (never heard
> > of it before) change? I mean, lots of ports depend on devel/pcre, which
> > seems to be de-facto regex library, and having two similar (well, that's
> > maybe an underestimation) libraries installed in a system without some
> > sufficiently strong reason seems at least questionable. (Unless, of
> > course, this port deliberately requires re2 and cannot be built against
> > pcre or easily converted.)
>
> PCRE is questionable because the standard regexp matcher is regex.h/libc.
Lots of ports depend on pcre, which means that whatever regex.h/libc
offers is not enough. In this context I refer to pcre as standard
library when Perl-compatible (read: real) regexps are wanted.
> Seriously, we should question the use of software that has awkward
> worst-case behaviour...
I wouldn't mind. I am firmly advocating careful and uniform dependecy
selection across Ports Collection.
./danfe
More information about the cvs-ports
mailing list