Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2011 13:14:00 -0400
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/security/yara Makefile distinfo ports/security/yara/files patch-libyara__proc.c
Message-ID:  <20110523171400.GA73989@atarininja.org>
In-Reply-To: <20110523170435.GA15903@FreeBSD.org>
References:  <201105231554.p4NFsBdt024494@repoman.freebsd.org> <20110523170435.GA15903@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110523171400.GA73989>