From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D52F1138334 for ; Sat, 1 Sep 2018 09:01:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2054E0831; Sat, 1 Sep 2018 09:01:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7191EE0831 for ; Sat, 1 Sep 2018 09:01:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 054FA335C96 for ; Sat, 1 Sep 2018 09:01:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C94633A6 for ; Sat, 1 Sep 2018 09:01:39 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1535792494.9acfbf506aef6feb95d6d8c6896bc840fd609f2e.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libssh/libssh-0.7.4.ebuild net-libs/libssh/libssh-0.7.5-r2.ebuild net-libs/libssh/libssh-0.8.1.ebuild net-libs/libssh/libssh-9999.ebuild X-VCS-Directories: net-libs/libssh/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 9acfbf506aef6feb95d6d8c6896bc840fd609f2e X-VCS-Branch: master Date: Sat, 1 Sep 2018 09:01:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7d171a42-e384-4267-8886-562e7e90e88b X-Archives-Hash: 1adfcc41d7dcf2b5ca42da9f69c07626 commit: 9acfbf506aef6feb95d6d8c6896bc840fd609f2e Author: Jeroen Roovers gentoo org> AuthorDate: Sat Sep 1 08:52:13 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Sep 1 09:01:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9acfbf50 net-libs/libssh: Set -DWITH_STACK_PROTECTOR=OFF The build system injects -fstack-protector _after_ CFLAGS, which means that when CFLAGS define a stronger SSP, this lowers its protection instead of improving it. Additionally, the test for the compiler flag succeeds on HPPA when it shouldn't, causing the build to fail later on: In file included from src/agent.c:53:0: include/libssh/priv.h:169:4: error: #error "Your system must provide a __func__ macro" Bug: https://bugs.gentoo.org/59506 Package-Manager: Portage-2.3.48, Repoman-2.3.10 net-libs/libssh/libssh-0.7.4.ebuild | 1 + net-libs/libssh/libssh-0.7.5-r2.ebuild | 1 + net-libs/libssh/libssh-0.8.1.ebuild | 1 + net-libs/libssh/libssh-9999.ebuild | 1 + 4 files changed, 4 insertions(+) diff --git a/net-libs/libssh/libssh-0.7.4.ebuild b/net-libs/libssh/libssh-0.7.4.ebuild index 3b45d1fa582..f3308692332 100644 --- a/net-libs/libssh/libssh-0.7.4.ebuild +++ b/net-libs/libssh/libssh-0.7.4.ebuild @@ -64,6 +64,7 @@ multilib_src_configure() { -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" -DWITH_SSH1="$(usex ssh1)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_TESTING="$(usex test)" diff --git a/net-libs/libssh/libssh-0.7.5-r2.ebuild b/net-libs/libssh/libssh-0.7.5-r2.ebuild index ea3291593f7..95aba9f77ea 100644 --- a/net-libs/libssh/libssh-0.7.5-r2.ebuild +++ b/net-libs/libssh/libssh-0.7.5-r2.ebuild @@ -67,6 +67,7 @@ multilib_src_configure() { -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" -DWITH_SSH1="$(usex ssh1)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_TESTING="$(usex test)" diff --git a/net-libs/libssh/libssh-0.8.1.ebuild b/net-libs/libssh/libssh-0.8.1.ebuild index 8aaceace64c..641c1853e98 100644 --- a/net-libs/libssh/libssh-0.8.1.ebuild +++ b/net-libs/libssh/libssh-0.8.1.ebuild @@ -76,6 +76,7 @@ multilib_src_configure() { -DWITH_PCAP="$(usex pcap)" -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_ZLIB="$(usex zlib)" diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild index 8aaceace64c..641c1853e98 100644 --- a/net-libs/libssh/libssh-9999.ebuild +++ b/net-libs/libssh/libssh-9999.ebuild @@ -76,6 +76,7 @@ multilib_src_configure() { -DWITH_PCAP="$(usex pcap)" -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_ZLIB="$(usex zlib)"