From c22722818f07eb9c8ad0056775cd4d925e933c89 Mon Sep 17 00:00:00 2001 From: Nathan Phillip Brink Date: Sun, 12 Jun 2011 03:21:12 +0000 Subject: Disabled PIE for USE="profile", should fix bug #371119. (Portage version: 2.2.0_alpha37-r1/cvs/Linux x86_64) --- net-irc/atheme-services/ChangeLog | 6 +++++- net-irc/atheme-services/atheme-services-6.0.8.ebuild | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'net-irc') diff --git a/net-irc/atheme-services/ChangeLog b/net-irc/atheme-services/ChangeLog index e26e53922888..ac2cb6a95147 100644 --- a/net-irc/atheme-services/ChangeLog +++ b/net-irc/atheme-services/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/atheme-services # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.4 2011/06/11 18:43:00 binki Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.5 2011/06/12 03:21:12 binki Exp $ + + 12 Jun 2011; Nathan Phillip Brink + atheme-services-6.0.8.ebuild: + Disabled PIE for USE="profile", should fix bug #371119. 11 Jun 2011; Nathan Phillip Brink metadata.xml: Mark myself as maintainer of net-irc/atheme-services. diff --git a/net-irc/atheme-services/atheme-services-6.0.8.ebuild b/net-irc/atheme-services/atheme-services-6.0.8.ebuild index c8a5a48433a9..12e6c43c8077 100644 --- a/net-irc/atheme-services/atheme-services-6.0.8.ebuild +++ b/net-irc/atheme-services/atheme-services-6.0.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.8.ebuild,v 1.1 2011/06/09 04:38:06 binki Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.8.ebuild,v 1.2 2011/06/12 03:21:12 binki Exp $ EAPI=4 @@ -28,6 +28,13 @@ pkg_setup() { # overwhelms cc1 with this flag :-( filter-flags -combine + if use profile; then + # bug #371119 + ewarn "USE=\"profile\" is incompatible with the hardened profile's -pie flag." + ewarn "Disabling PIE. Please ignore any warning messages about -nopie being invalid." + append-ldflags -nopie + fi + enewgroup ${PN} enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} } -- cgit v1.2.3-65-gdbad