aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-04 02:22:44 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-04 06:39:49 +0000
commitda96de2472554e5edb0b9081416b56a82f80dc38 (patch)
tree9797cde2ee6eedf928b9a41f0c31d06dbd1a40c8
parentc8497c03b98e87d75a28be771716ef5b33518709 (diff)
downloadaports-da96de2472554e5edb0b9081416b56a82f80dc38.tar.gz
aports-da96de2472554e5edb0b9081416b56a82f80dc38.tar.bz2
aports-da96de2472554e5edb0b9081416b56a82f80dc38.tar.xz
main/pcre2: remove paxmark support
We no longer use grsec so no reason to keep them around
-rw-r--r--main/pcre2/APKBUILD12
1 files changed, 1 insertions, 11 deletions
diff --git a/main/pcre2/APKBUILD b/main/pcre2/APKBUILD
index e317d3702f..7833d43d66 100644
--- a/main/pcre2/APKBUILD
+++ b/main/pcre2/APKBUILD
@@ -8,7 +8,7 @@ url="https://pcre.org/"
arch="all"
license="BSD-3-Clause"
depends_dev="libedit-dev zlib-dev"
-makedepends="$depends_dev paxmark"
+makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools
libpcre2-16:_libpcre libpcre2-32:_libpcre"
source="https://ftp.pcre.org/pub/pcre/pcre2-$pkgver.tar.gz
@@ -46,19 +46,9 @@ build() {
# Note: RunTest and pcre2_jit_test generates some binaries in .libs that needs
# to disable MPROTECT on grsecurity kernel. That's why it's so complicated...
check() {
- local is_pax=$(grep -q PaX /proc/$$/status && echo 'yes' || echo 'no')
-
- if [ "$is_pax" = yes ]; then
- timeout -t 1 -s KILL ./RunTest 2>/dev/null || true
- find .libs -type f ! -name 'lib*' | xargs paxmark m
- fi
./RunTest
if [ -n "$_enable_jit" ]; then
- if [ "$is_pax" = yes ]; then
- timeout -t 1 -s KILL ./pcre2_jit_test >/dev/null || true
- find .libs -type f ! -name 'lib*' | xargs paxmark m
- fi
./pcre2_jit_test
fi
}