diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-10-24 04:42:50 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-10-24 04:42:50 +0000 |
commit | ed2745544827a2c6f38f3a7d8ea05bedce2002b0 (patch) | |
tree | 08bf714ea6929a632f8a34eebab9200169a03a11 /media-libs/gstreamer | |
parent | Bump #439366 (diff) | |
download | gentoo-2-ed2745544827a2c6f38f3a7d8ea05bedce2002b0.tar.gz gentoo-2-ed2745544827a2c6f38f3a7d8ea05bedce2002b0.tar.bz2 gentoo-2-ed2745544827a2c6f38f3a7d8ea05bedce2002b0.zip |
Disable PaX memory protection only when USE=orc (bug #421579, requested by Magnus Granberg); pax-mark gst-launch-0.10 as well as gst-plugin-scanner to allow constructing orc-using pipelines on the command line.
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'media-libs/gstreamer')
-rw-r--r-- | media-libs/gstreamer/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-0.10.36.ebuild | 9 | ||||
-rw-r--r-- | media-libs/gstreamer/metadata.xml | 3 |
3 files changed, 15 insertions, 5 deletions
diff --git a/media-libs/gstreamer/ChangeLog b/media-libs/gstreamer/ChangeLog index 1fdc5d6c6857..063e15f11688 100644 --- a/media-libs/gstreamer/ChangeLog +++ b/media-libs/gstreamer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/gstreamer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.311 2012/10/21 07:49:51 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.312 2012/10/24 04:42:50 tetromino Exp $ + + 24 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + gstreamer-0.10.36.ebuild, metadata.xml: + Disable PaX memory protection only when USE=orc (bug #421579, requested by + Magnus Granberg); pax-mark gst-launch-0.10 as well as gst-plugin-scanner to + allow constructing orc-using pipelines on the command line. *gstreamer-0.10.36 (21 Oct 2012) diff --git a/media-libs/gstreamer/gstreamer-0.10.36.ebuild b/media-libs/gstreamer/gstreamer-0.10.36.ebuild index 64d50849d708..b94c878aa926 100644 --- a/media-libs/gstreamer/gstreamer-0.10.36.ebuild +++ b/media-libs/gstreamer/gstreamer-0.10.36.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.10.36.ebuild,v 1.1 2012/10/21 07:49:51 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.10.36.ebuild,v 1.2 2012/10/24 04:42:50 tetromino Exp $ EAPI=4 @@ -16,7 +16,7 @@ SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" LICENSE="LGPL-2+" SLOT=${PV_MAJ_MIN} KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="+introspection nls test" +IUSE="+introspection nls +orc test" RDEPEND=">=dev-libs/glib-2.24:2 dev-libs/libxml2 @@ -80,6 +80,7 @@ src_install() { # Punt useless .la files prune_libtool_files --modules - # Needed for certain gst plugins on hardened/PaX systems, bug #421579 - pax-mark -m "${ED}usr/libexec/gstreamer-0.10/gst-plugin-scanner" + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 + use orc && pax-mark -m "${ED}usr/bin/gst-launch-0.10" \ + "${ED}usr/libexec/gstreamer-0.10/gst-plugin-scanner" } diff --git a/media-libs/gstreamer/metadata.xml b/media-libs/gstreamer/metadata.xml index 10aab2c8eff9..cee6ae072b90 100644 --- a/media-libs/gstreamer/metadata.xml +++ b/media-libs/gstreamer/metadata.xml @@ -5,5 +5,8 @@ <use> <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> + <flag name="orc">Disable some PaX memory protections to allow plugins + that use <pkg>dev-lang/orc</pkg> for runtime optimization to be + used on hardened PaX systems</flag> </use> </pkgmetadata> |