diff options
author | Ebben Aries <earies@dscp.org> | 2021-05-22 17:15:52 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-26 00:12:53 +0700 |
commit | fedc8e6b153854eaa7b21075f55d14fbbd6a3183 (patch) | |
tree | 4daa40c70a9fcb7221593ba855217339fce894f3 /libraries | |
parent | 1d571f51520589ec44e3ec997d647ed66f4223aa (diff) | |
download | slackbuilds-fedc8e6b153854eaa7b21075f55d14fbbd6a3183.tar.gz |
Upgrade hyperscan slackbuild to 5.4.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/hyperscan/build_wrapper.sh.patch | 11 | ||||
-rw-r--r-- | libraries/hyperscan/hyperscan.SlackBuild | 7 | ||||
-rw-r--r-- | libraries/hyperscan/hyperscan.info | 8 |
3 files changed, 20 insertions, 6 deletions
diff --git a/libraries/hyperscan/build_wrapper.sh.patch b/libraries/hyperscan/build_wrapper.sh.patch new file mode 100644 index 0000000000..b113554981 --- /dev/null +++ b/libraries/hyperscan/build_wrapper.sh.patch @@ -0,0 +1,11 @@ +--- cmake/build_wrapper.sh 2021-05-22 15:57:12.307345284 +0200 ++++ cmake/build_wrapper.sh.new 2021-05-22 15:57:57.926340747 +0200 +@@ -17,7 +17,7 @@ + LIBC_SO=$("$@" --print-file-name=libc.so.6) + cp ${KEEPSYMS_IN} ${KEEPSYMS} + # get all symbols from libc and turn them into patterns +-nm -f p -g -D ${LIBC_SO} | sed -s 's/\([^ ]*\).*/^\1$/' >> ${KEEPSYMS} ++nm -f p -g -D ${LIBC_SO} | sed -s 's/\([^ @]*\).*/^\1$/' >> ${KEEPSYMS} + # build the object + "$@" + # rename the symbols in the object diff --git a/libraries/hyperscan/hyperscan.SlackBuild b/libraries/hyperscan/hyperscan.SlackBuild index 258d4ad1dc..ac1ae80f5d 100644 --- a/libraries/hyperscan/hyperscan.SlackBuild +++ b/libraries/hyperscan/hyperscan.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Hyperscan -# Copyright 2018, 2019 Ebben Aries <e@dscp.org> +# Copyright 2018-2021 Ebben Aries <slackbuilds@dscp.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hyperscan -VERSION=${VERSION:-5.1.1} +VERSION=${VERSION:-5.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patch build issue for hyperscan 5.4.0 +patch -p0 < $CWD/build_wrapper.sh.patch + mkdir -p build cd build cmake \ diff --git a/libraries/hyperscan/hyperscan.info b/libraries/hyperscan/hyperscan.info index a7d59dcc21..f066950228 100644 --- a/libraries/hyperscan/hyperscan.info +++ b/libraries/hyperscan/hyperscan.info @@ -1,10 +1,10 @@ PRGNAM="hyperscan" -VERSION="5.1.1" +VERSION="5.4.0" HOMEPAGE="https://www.hyperscan.io" -DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.1.1/hyperscan-5.1.1.tar.gz" -MD5SUM="96f9cd558132dd65ec03648aaaba2a48" +DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.4.0/hyperscan-5.4.0.tar.gz" +MD5SUM="65e08385038c24470a248f6ff2fa379b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ragel" MAINTAINER="Ebben Aries" -EMAIL="e@dscp.org" +EMAIL="slackbuilds@dscp.org" |