Mon May 7 22:18:53 2018 UTC ()
devel/hyperscan: Import version 4.7.0

Hyperscan is a high-performance multiple regex matching library. It
follows the regular expression syntax of the commonly-used libpcre
library, but is a standalone library with its own C API. Hyperscan
uses hybrid automata techniques to allow simultaneous matching of
large numbers (up to tens of thousands) of regular expressions and for
the matching of regular expressions across streams of data.


(minskim)
diff -r0 -r1.1 pkgsrc/devel/hyperscan/DESCR
diff -r0 -r1.1 pkgsrc/devel/hyperscan/Makefile
diff -r0 -r1.1 pkgsrc/devel/hyperscan/PLIST
diff -r0 -r1.1 pkgsrc/devel/hyperscan/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/hyperscan/distinfo

File Added: pkgsrc/devel/hyperscan/DESCR
Hyperscan is a high-performance multiple regex matching library. It
follows the regular expression syntax of the commonly-used libpcre
library, but is a standalone library with its own C API. Hyperscan
uses hybrid automata techniques to allow simultaneous matching of
large numbers (up to tens of thousands) of regular expressions and for
the matching of regular expressions across streams of data.

File Added: pkgsrc/devel/hyperscan/Makefile
# $NetBSD: Makefile,v 1.1 2018/05/07 22:18:53 minskim Exp $

DISTNAME=	hyperscan-4.7.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=01org/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	https://01.org/hyperscan
COMMENT=	High-performance regular expression matching library
LICENSE=	modified-bsd

ONLY_FOR_PLATFORM=	*-*-i386 *-*-x86_64

BUILD_DEPENDS+=	ragel-[0-9]*:../../devel/ragel

GCC_REQD=		4.8.1
PYTHON_FOR_BUILD_ONLY=	yes
USE_CMAKE=		yes
USE_LANGUAGES=		c99 c++11
USE_TOOLS+=		pkg-config

CMAKE_ARGS+=		-DBUILD_SHARED_LIBS=ON
PKGCONFIG_OVERRIDE+=	libhs.pc.in

.include "../../mk/bsd.prefs.mk"

.if empty(CFLAGS:M-march*)
CFLAGS+=	-march=core2
.endif

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/hyperscan/PLIST
@comment $NetBSD: PLIST,v 1.1 2018/05/07 22:18:53 minskim Exp $
include/hs/hs.h
include/hs/hs_common.h
include/hs/hs_compile.h
include/hs/hs_runtime.h
lib/libhs.so
lib/libhs.so.4
lib/libhs.so.${PKGVERSION}
lib/libhs_runtime.so
lib/libhs_runtime.so.4
lib/libhs_runtime.so.${PKGVERSION}
lib/pkgconfig/libhs.pc
share/doc/hyperscan/examples/README.md
share/doc/hyperscan/examples/patbench.cc
share/doc/hyperscan/examples/pcapscan.cc
share/doc/hyperscan/examples/simplegrep.c

File Added: pkgsrc/devel/hyperscan/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2018/05/07 22:18:53 minskim Exp $

BUILDLINK_TREE+=	hyperscan

.if !defined(HYPERSCAN_BUILDLINK3_MK)
HYPERSCAN_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hyperscan+=	hyperscan>=4.5.1
BUILDLINK_PKGSRCDIR.hyperscan?=		../../devel/hyperscan

.endif	# HYPERSCAN_BUILDLINK3_MK

BUILDLINK_TREE+=	-hyperscan

File Added: pkgsrc/devel/hyperscan/distinfo
$NetBSD: distinfo,v 1.1 2018/05/07 22:18:53 minskim Exp $

SHA1 (hyperscan-4.7.0.tar.gz) = 459ee499e712061c2b8417080ee4029f38daccc2
RMD160 (hyperscan-4.7.0.tar.gz) = bbfd448896d6d1953a65ab1182ee75bf8b47ed76
SHA512 (hyperscan-4.7.0.tar.gz) = ec32cecc98165ab590cefe37c31aa9cbad813aedd6bec72760574a8ece2a8aefecc229b1d76a2e90c54a51302d1db70620278dbb96d47091ebf846e9f8c4ff08
Size (hyperscan-4.7.0.tar.gz) = 1738159 bytes
SHA1 (patch-CMakeLists.txt) = b5fee4471c33cd78d86ab712b0b7b994873935dc
SHA1 (patch-tools_hsbench_CMakeLists.txt) = 3b4cdd8a7ed17fedb1a090c3dc76fa307084b7a2
SHA1 (patch-tools_hscollider_CMakeLists.txt) = 261e6d0164927db90155376536add51d0d327d58