aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-07-31 22:08:25 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-07-31 22:08:25 -0500
commitbfedff010c0c95a9ba28f097ad4f6adf6fde2fc7 (patch)
treef45af76c35d2a071fc54831573ff7de56754a155
parent42d43d1695dcbd98b6be7ede901fb513c894a049 (diff)
downloadaports-bfedff010c0c95a9ba28f097ad4f6adf6fde2fc7.tar.bz2
aports-bfedff010c0c95a9ba28f097ad4f6adf6fde2fc7.tar.xz
testing/libc6: more work here
-rw-r--r--testing/libc6/APKBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/libc6/APKBUILD b/testing/libc6/APKBUILD
index 830035e572..2eb91a2192 100644
--- a/testing/libc6/APKBUILD
+++ b/testing/libc6/APKBUILD
@@ -21,6 +21,14 @@ subpackages="$pkgname-dev
nscd"
options="!strip"
source="http://dev.alpinelinux.org/~nenolod/eglibc-${pkgver}.r${svnrev}.tar.gz
+
+ glibc-2.12-hardened-pie.patch
+ glibc-2.10-hardened-configure-picdefault.patch
+ glibc-2.10-hardened-inittls-nosysenter.patch
+
+ chk_fail.c
+ stack_chk_fail.c
+
nscd.initd"
_srcdir="$srcdir"/eglibc-$pkgver
@@ -34,6 +42,10 @@ prepare() {
esac
done
echo "slibdir=/lib" >> configparms
+
+ cp "$srcdir"/chk_fail.c "$_srcdir"/debug/chk_fail.c
+ cp "$srcdir"/stack_chk_fail.c "$_srcdir"/debug/stack_chk_fail.c
+
mkdir "$_builddir"
}
@@ -56,6 +68,7 @@ build() {
--enable-bind-now \
--with-tls \
--with-__thread \
+ --without-zoneinfo \
--without-cvs \
--without-gd \
--with-pkgversion="Alpine EGLIBC ${pkgver}-r${pkgrel} [svn r${svnrev}]" \
@@ -96,4 +109,9 @@ nscd() {
}
md5sums="c6de1455fcef3487ee42c14349a72cf4 eglibc-2.14.r14663.tar.gz
+03ffc414f8eb9f1fcb93325008f5ecd7 glibc-2.12-hardened-pie.patch
+8bca42eb8f6d117107ab8e356566b805 glibc-2.10-hardened-configure-picdefault.patch
+d3b50eec50099791bf2f0c10b605ff7c glibc-2.10-hardened-inittls-nosysenter.patch
+1b31d2c7a39298da10e3840076514823 chk_fail.c
+6a6b9992c76a9bece219eb00a16d7549 stack_chk_fail.c
ff0b0069eeb662145d287d7f98c79447 nscd.initd"