From: Matthew Thode Date: Mon, 21 Sep 2015 19:19:27 +0000 (-0500) Subject: media-sound/spotify: readding paxmarks X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=703a5a3857497d85c0c40d7ca177c2d2a097d2ca;p=gentoo.git media-sound/spotify: readding paxmarks Package-Manager: portage-2.2.20.1 --- 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() {