aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl-hardened
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-09-21 13:46:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-22 19:26:48 +0000
commit2d17638878cb09fc172a071d763f30cfa019aa1b (patch)
tree06dcd9bf914a59682aede92e06b6939cc153c63f /main/spl-hardened
parentd9839608afdde8fd22f29c0203e7d13c28fc7da6 (diff)
downloadaports-2d17638878cb09fc172a071d763f30cfa019aa1b.tar.bz2
aports-2d17638878cb09fc172a071d763f30cfa019aa1b.tar.xz
main/spl-hardened: upgrade to 0.7.1 and 4.9.51 kernel
Diffstat (limited to 'main/spl-hardened')
-rw-r--r--main/spl-hardened/APKBUILD10
-rw-r--r--main/spl-hardened/pax-rap-fixes.patch13
2 files changed, 18 insertions, 5 deletions
diff --git a/main/spl-hardened/APKBUILD b/main/spl-hardened/APKBUILD
index 59af79bcbf..195abfb0ab 100644
--- a/main/spl-hardened/APKBUILD
+++ b/main/spl-hardened/APKBUILD
@@ -5,10 +5,10 @@ _realname=spl
_name=$_realname-$_flavor
_kpkg=linux-$_flavor
-_kver=4.9.50
+_kver=4.9.51
_kpkgrel=0
-_realver=0.6.5.9
+_realver=0.7.1
_mypkgrel=0
_kernelver=$_kver-r$_kpkgrel
@@ -23,7 +23,7 @@ arch="x86 x86_64"
license="GPL"
depends="linux-${_flavor}=${_kernelver}"
depends_dev="linux-${_flavor}-dev=$_kernelver"
-makedepends="$depends_dev linux-headers"
+makedepends="$depends_dev linux-headers file"
install=""
subpackages="$pkgname-dev"
provides="${_realname}-grsec=${pkgver}-r${pkgrel}"
@@ -74,5 +74,5 @@ dev() {
default_dev
}
-sha512sums="356db95fcc93eb4ee298efc1ac25d38743572c539fc10b2d1533af861b4fd60804e61c3fb9f9bbad3d7a51cf123113b5b0bcbd49eba1bad7b1d8823d206022e8 spl-0.6.5.9.tar.gz
-cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e pax-rap-fixes.patch"
+sha512sums="1edd0d21f6bc24c3c1295a3e1002ccc03954b1a8657f34050ca9992aac33eb2caa4356c92c74b1c1767ce69f67f3463bcab749b411b2676b5ed16c6ca838e0fe spl-0.7.1.tar.gz
+b86ad86832e85c035fca4e0399fbcd1c860331c72cade48fb5a99cdad4c7eb2a13e32d23bc5f36ddf8bd8388736172e6bec613928539b81c8c709fe18ddd2aae pax-rap-fixes.patch"
diff --git a/main/spl-hardened/pax-rap-fixes.patch b/main/spl-hardened/pax-rap-fixes.patch
index e69de29bb2..b5b727938c 100644
--- a/main/spl-hardened/pax-rap-fixes.patch
+++ b/main/spl-hardened/pax-rap-fixes.patch
@@ -0,0 +1,13 @@
+diff --git a/include/sys/thread.h b/include/sys/thread.h
+index 433a076..1ca9911 100644
+--- a/include/sys/thread.h
++++ b/include/sys/thread.h
+@@ -46,7 +46,7 @@
+ typedef void (*thread_func_t)(void *);
+
+ #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \
+- __thread_create(stk, stksize, (thread_func_t)func, \
++ __thread_create(stk, stksize, func, \
+ #func, arg, len, pp, state, pri)
+ #define thread_exit() __thread_exit()
+ #define thread_join(t) VERIFY(0)