From 703a5a3857497d85c0c40d7ca177c2d2a097d2ca Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Mon, 21 Sep 2015 14:19:27 -0500 Subject: [PATCH] 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 71eb9807b20e..1105ded0ba74 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() { -- 2.26.2