summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-05-09 17:01:18 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-05-10 08:52:47 -0400
commit45ef61e72bd8a80130cb333a78137942b0ed5d93 (patch)
treebff38a829fde1dac02fb1067c4554e08d0628da2
parentapp-office/liblangtag: bug #547368. (diff)
downloadhardened-dev-45ef61e72bd8a80130cb333a78137942b0ed5d93.tar.gz
hardened-dev-45ef61e72bd8a80130cb333a78137942b0ed5d93.tar.bz2
hardened-dev-45ef61e72bd8a80130cb333a78137942b0ed5d93.zip
net-misc/openssh: disable stack-protector for x86 and ppc
-rw-r--r--net-misc/openssh/Manifest2
-rw-r--r--net-misc/openssh/openssh-6.7_p1-r99.ebuild4
2 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/openssh/Manifest b/net-misc/openssh/Manifest
index d5720d91..7ec1e094 100644
--- a/net-misc/openssh/Manifest
+++ b/net-misc/openssh/Manifest
@@ -19,5 +19,5 @@ DIST openssh-6.7p1+x509-8.2.diff.gz 241798 SHA256 85acfcd560b40d4533b82a4e3f443b
DIST openssh-6.7p1-hpnssh14v5.tar.xz 25652 SHA256 7284db65548b6b04142930da86972f96b1f5aa8ad3fc125134412f904f369d7e SHA512 21929805f40c79684ee3ecdb2b495d3204dca90b932aa633c4e0f6a093a417259cdeee10b3e49f3dff426febc6792f45ee23cc0688f05bf047630f3016e0926a WHIRLPOOL 5515cd4c745b061a3e92ac03e8121fb3ffc4b2ff116140625ca7ab2c0211c673b6345e5b08134df8b1743e03f9964017e789e1f0b9da99a0fd5970e14665e681
DIST openssh-6.7p1.tar.gz 1351367 SHA256 b2f8394eae858dabbdef7dac10b99aec00c95462753e80342e530bbb6f725507 SHA512 2469dfcd289948374843311dd9e5f7e144ce1cebd4bfce0d387d0b75cb59f3e1af1b9ebf96bd4ab6407dfa77a013c5d25742971053e61cae2541054aeaca559d WHIRLPOOL ac8ce86d0f6c78c4cb3624b480f189f951d508db38b22d7a5550b7302d5277c1c7d18eaa713d52139abc0f77edacfdb03ced2603125e3ddf9bc09c69e6b70518
DIST openssh-lpk-6.7p1-0.3.14.patch.xz 16920 SHA256 0203e6e44e41d58ec46d1611d7efc985134e662bbee51632c29f43ae809003f0 SHA512 344ccde4a04aeb1500400f779e64b2d8a5ad2970de3c4c343ca9605758e22d3812ef5453cd3221b18ad74a9762583c62417879107e4e1dda1398a6a65bcd04b2 WHIRLPOOL 5b6beeb743d04deea70c8b471a328b5f056fd4651e1370c7882e5d12f54fa2170486dcd6f97aa8c58e80af9a2d4012e2dfbcf53185317976d309783ca8d6cf73
-EBUILD openssh-6.7_p1-r99.ebuild 9990 SHA256 3e1738f7115a9a3066036f875ed39dbfad81c82cfe099080544fbbe58293b5d8 SHA512 ab6217812a9f1946f8c89d358963b6e524ed9ca8bdecabc01c448e5fcbae17242fb0ba2ca5eb4809cc0972ccc8d3044a6c4053cbd2b8901ada05c06a1cc637a0 WHIRLPOOL 326a7ddaaa56249c4efdc95865189e40c313f2f87d602da34750b121a61d5593c04c99409ffbae6e82aad93ef4195ad35665fb857404c9401af35160a6c8bef5
+EBUILD openssh-6.7_p1-r99.ebuild 10109 SHA256 3f94d0374656b23805d4d211bc6bf882814082a2d71a7f505e043550dedf029e SHA512 e311b8c49059904226b78bc4184e9e85c9c3e331f50937e20a8db8e337baa9ac8e6d12ab63642aa4247913ff5402fc532fa70192fdaef3072f790db2609a9297 WHIRLPOOL 6fb85a46881a1e226ac8a50fc8bd848d67f21689ff117f457882ae72faff424266816cbd078fea89464a55d3b33cf46bb49f8eaa80f252713d6b8b0ba06da246
MISC metadata.xml 1912 SHA256 7b838285f09ad395f237a0d0b9963eee86d0e85b58e6e5b4d5edb093fa888a0a SHA512 e55c10ffd12488720c3da19e55942cfedec63fe767fc1608439b5a3932eeb5488086ad7ef4e1f858c89381e737426f035845ea5e8bede4ed8a0ccabdc656d9b5 WHIRLPOOL 5c07b3dd4a4002cff5df62133ecf570bf79f58e9477d0ad25d60f185ee029183d11118147e3adfec373542659d921e99e787054cfe9284031c974d694de6e9ed
diff --git a/net-misc/openssh/openssh-6.7_p1-r99.ebuild b/net-misc/openssh/openssh-6.7_p1-r99.ebuild
index 7edc50d1..f6ad39c5 100644
--- a/net-misc/openssh/openssh-6.7_p1-r99.ebuild
+++ b/net-misc/openssh/openssh-6.7_p1-r99.ebuild
@@ -189,6 +189,10 @@ src_configure() {
append-ldflags -lutil
fi
+ # __stack_chk_fail_local
+ use x86 && myconf+=( --without-stackprotect)
+ use ppc && myconf+=( --without-stackprotect)
+
econf \
--with-ldflags="${LDFLAGS}" \
--disable-strip \