From e53e921662c600add0e15ead54fb2dce15adb0a4 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 21 Dec 2010 15:55:47 +0000 Subject: Set PaX markings by Paulo Matias (bug #344267). Package-Manager: portage-2.2.0_alpha9/cvs/Linux i686 --- www-client/opera/opera-11.00.1156.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'www-client/opera/opera-11.00.1156.ebuild') diff --git a/www-client/opera/opera-11.00.1156.ebuild b/www-client/opera/opera-11.00.1156.ebuild index 075eb11f59b5..137549d2d55f 100644 --- a/www-client/opera/opera-11.00.1156.ebuild +++ b/www-client/opera/opera-11.00.1156.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00.1156.ebuild,v 1.1 2010/12/21 15:37:19 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00.1156.ebuild,v 1.2 2010/12/21 15:55:47 jer Exp $ EAPI="3" -inherit eutils multilib versionator +inherit eutils multilib pax-utils versionator DESCRIPTION="A standards-compliant graphical Web browser" HOMEPAGE="http://www.opera.com/" @@ -193,6 +193,12 @@ src_install() { # Stop revdep-rebuild from checking opera binaries dodir /etc/revdep-rebuild echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera + + # Set PaX markings for hardened/PaX (bug #344267) + pax-mark m \ + "${D}/${OPREFIX}/opera/opera" \ + "${D}/${OPREFIX}/opera/operaplugincleaner" \ + "${D}/${OPREFIX}/opera/operapluginwrapper" } pkg_postinst() { -- cgit v1.2.3-65-gdbad