pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hyperscan devel/hyperscan: Import v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64366598c90b
branches:  trunk
changeset: 307496:64366598c90b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 07 22:18:53 2018 +0000
description:
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.

diffstat:

 devel/hyperscan/DESCR         |   6 ++++++
 devel/hyperscan/Makefile      |  34 ++++++++++++++++++++++++++++++++++
 devel/hyperscan/PLIST         |  16 ++++++++++++++++
 devel/hyperscan/buildlink3.mk |  13 +++++++++++++
 devel/hyperscan/distinfo      |   9 +++++++++
 5 files changed, 78 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r a26dfe7a0ffb -r 64366598c90b devel/hyperscan/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hyperscan/DESCR     Mon May 07 22:18:53 2018 +0000
@@ -0,0 +1,6 @@
+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.
diff -r a26dfe7a0ffb -r 64366598c90b devel/hyperscan/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hyperscan/Makefile  Mon May 07 22:18:53 2018 +0000
@@ -0,0 +1,34 @@
+# $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@localhost
+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"
diff -r a26dfe7a0ffb -r 64366598c90b devel/hyperscan/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hyperscan/PLIST     Mon May 07 22:18:53 2018 +0000
@@ -0,0 +1,16 @@
+@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
diff -r a26dfe7a0ffb -r 64366598c90b devel/hyperscan/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hyperscan/buildlink3.mk     Mon May 07 22:18:53 2018 +0000
@@ -0,0 +1,13 @@
+# $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
diff -r a26dfe7a0ffb -r 64366598c90b devel/hyperscan/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hyperscan/distinfo  Mon May 07 22:18:53 2018 +0000
@@ -0,0 +1,9 @@
+$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



Home | Main Index | Thread Index | Old Index