cvs commit: ports/security/yara Makefile distinfo ports/security/yara/files patch-libyara__proc.c

Wesley Shields wxs at FreeBSD.org
Mon May 23 17:13:18 UTC 2011


On Mon, May 23, 2011 at 05:04:35PM +0000, Alexey Dokuchaev wrote:
> On Mon, May 23, 2011 at 03:54:11PM +0000, Wesley Shields wrote:
> > wxs         2011-05-23 15:54:11 UTC
> > 
> >   Modified files:
> >     security/yara        Makefile distinfo 
> >   Added files:
> >     security/yara/files  patch-libyara__proc.c 
> >   Log:
> >   - Update to 1.5.
> >   - Switch to devel/re2 instead of PCRE.
> 
> 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.)

yara currently supports either PCRE or re2.  I intend on making PCRE be
optional, but I switched to re2 by default because yara upstream claims
to be faster with it. They are mutually exclusive options, and I went
with the one that is supposedly faster with yara.

-- WXS


More information about the cvs-ports mailing list