On Thu, May 14, 2020 at 03:22:27PM +0200, Theo Buehler wrote:
> This an optional runtime dependency that speeds up the some of the
> tlsfuzzer tests quite a bit (by a factor of 4-6 on my laptop) simply by
> replacing the native python crypto implementations by faster versions.

> This is purely convenience.  I can also add two packages, but I would
> expect this to make everyone's lives easier (especially other LibreSSL
> devs who will hopefully be running these tests from time to time).

> The current test script I have in my tree takes about 3 minutes with
>  py-M2Crypto installed, without it, we're talking 15-20 minutes.

Sounds good. Probably will prevent a future phantom failure if py-M2Crypto
gets junked during build.

ok kmos

--Kurt

> Index: Makefile
> ===================================================================
> RCS file: /var/cvs/ports/security/py-tlsfuzzer/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  15 Mar 2020 05:45:03 -0000      1.3
> +++ Makefile  14 May 2020 12:59:36 -0000
> @@ -6,6 +6,7 @@ MODPY_EGG_VERSION =   20200313
>  DISTNAME =           tlsfuzzer-${MODPY_EGG_VERSION}
>  PKGNAME =            py-${DISTNAME}
>  CATEGORIES =         security
> +REVISION =           0
>  
>  GH_ACCOUNT =         tomato42
>  GH_PROJECT =         tlsfuzzer
> @@ -20,7 +21,8 @@ FLAVORS =           python3
>  
>  WANTLIB +=           ${MODPY_WANTLIB}
>  
> -RUN_DEPENDS +=               net/py-tlslite-ng${MODPY_FLAVOR}
> +RUN_DEPENDS +=               net/py-tlslite-ng${MODPY_FLAVOR} \
> +                     security/py-M2Crypto${MODPY_FLAVOR}
>  
>  # GPLv2
>  PERMIT_PACKAGE =     Yes
> 

Reply via email to