commit:     703a5a3857497d85c0c40d7ca177c2d2a097d2ca
Author:     Matthew Thode <mthode <AT> mthode <DOT> org>
AuthorDate: Mon Sep 21 19:19:27 2015 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 19:19:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703a5a38

media-sound/spotify: readding paxmarks

Package-Manager: portage-2.2.20.1

 media-sound/spotify/spotify-1.0.14.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/media-sound/spotify/spotify-1.0.14.ebuild 
b/media-sound/spotify/spotify-1.0.14.ebuild
index 71eb980..1105ded 100644
--- a/media-sound/spotify/spotify-1.0.14.ebuild
+++ b/media-sound/spotify/spotify-1.0.14.ebuild
@@ -80,6 +80,17 @@ src_install() {
                        "spotify-client.png"
        done
        domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop"
+       if use pax_kernel; then
+               #create the headers, reset them to default, then paxmark -m them
+               pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die
+               pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die
+               pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die
+               eqawarn "You have set USE=pax_kernel meaning that you intend to 
run"
+               eqawarn "${PN} under a PaX enabled kernel.  To do so, we must 
modify"
+               eqawarn "the ${PN} binary itself and this *may* lead to 
breakage!  If"
+               eqawarn "you suspect that ${PN} is being broken by this 
modification,"
+               eqawarn "please open a bug."
+       fi
 }
 
 pkg_preinst() {

Reply via email to