Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/spotify/
Date: Mon, 21 Sep 2015 19:20:47
Message-Id: 1442863191.703a5a3857497d85c0c40d7ca177c2d2a097d2ca.prometheanfire@gentoo
1 commit: 703a5a3857497d85c0c40d7ca177c2d2a097d2ca
2 Author: Matthew Thode <mthode <AT> mthode <DOT> org>
3 AuthorDate: Mon Sep 21 19:19:27 2015 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 19:19:51 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703a5a38
7
8 media-sound/spotify: readding paxmarks
9
10 Package-Manager: portage-2.2.20.1
11
12 media-sound/spotify/spotify-1.0.14.ebuild | 11 +++++++++++
13 1 file changed, 11 insertions(+)
14
15 diff --git a/media-sound/spotify/spotify-1.0.14.ebuild b/media-sound/spotify/spotify-1.0.14.ebuild
16 index 71eb980..1105ded 100644
17 --- a/media-sound/spotify/spotify-1.0.14.ebuild
18 +++ b/media-sound/spotify/spotify-1.0.14.ebuild
19 @@ -80,6 +80,17 @@ src_install() {
20 "spotify-client.png"
21 done
22 domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop"
23 + if use pax_kernel; then
24 + #create the headers, reset them to default, then paxmark -m them
25 + pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die
26 + pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die
27 + pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die
28 + eqawarn "You have set USE=pax_kernel meaning that you intend to run"
29 + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
30 + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
31 + eqawarn "you suspect that ${PN} is being broken by this modification,"
32 + eqawarn "please open a bug."
33 + fi
34 }
35
36 pkg_preinst() {