From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0A883138A1F for ; Tue, 15 Apr 2014 13:30:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB115E0AFD; Tue, 15 Apr 2014 13:30:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3FA23E0AFD for ; Tue, 15 Apr 2014 13:30:31 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E68533F844 for ; Tue, 15 Apr 2014 13:30:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 3906718163 for ; Tue, 15 Apr 2014 13:30:28 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1397568535.747c3fa8dbf5ee03c8ff3df546cb6dd6825f0d6c.anarchy@gentoo> Subject: [gentoo-commits] proj/mozilla:master commit in: www-client/firefox/ X-VCS-Repository: proj/mozilla X-VCS-Files: www-client/firefox/firefox-28.0.ebuild X-VCS-Directories: www-client/firefox/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: 747c3fa8dbf5ee03c8ff3df546cb6dd6825f0d6c X-VCS-Branch: master Date: Tue, 15 Apr 2014 13:30:28 +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: 719a31a0-3f56-4b1a-ab9b-9eca133f7d6e X-Archives-Hash: 684c73d16be89b6a54296d90b73b158f commit: 747c3fa8dbf5ee03c8ff3df546cb6dd6825f0d6c Author: Jory A. Pratt gentoo org> AuthorDate: Tue Apr 15 13:28:55 2014 +0000 Commit: Jory Pratt gentoo org> CommitDate: Tue Apr 15 13:28:55 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=747c3fa8 Add hardened useflag and append relro ldflags, bug #500186 --- www-client/firefox/firefox-28.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www-client/firefox/firefox-28.0.ebuild b/www-client/firefox/firefox-28.0.ebuild index 2c2619c..b656489 100644 --- a/www-client/firefox/firefox-28.0.ebuild +++ b/www-client/firefox/firefox-28.0.ebuild @@ -39,7 +39,7 @@ HOMEPAGE="http://www.mozilla.com/firefox" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="bindist gstreamer +jit +minimal pgo pulseaudio selinux system-cairo system-icu system-jpeg system-sqlite test" +IUSE="bindist gstreamer hardened +jit +minimal pgo pulseaudio selinux system-cairo system-icu system-jpeg system-sqlite test" # More URIs appended below... SRC_URI="${SRC_URI} @@ -205,6 +205,9 @@ src_configure() { # It doesn't compile on alpha without this LDFLAGS use alpha && append-ldflags "-Wl,--no-relax" + # Add full relro support for hardened + use hardened && append-ldflags "-Wl,-z,relro,-z,now" + # We must force enable jemalloc 3 threw .mozconfig echo "export MOZ_JEMALLOC=1" >> ${S}/.mozconfig || die