Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421859 - www-client/opera-12.00.1467 - needs more pax marking
Summary: www-client/opera-12.00.1467 - needs more pax marking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 21:52 UTC by Alex Efros
Modified: 2012-06-20 14:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2012-06-18 21:52:34 UTC
Opera's ebuild already contain paxmarking command, but looks like it doesn't work since opera-12 - either file name is wrong (plugin wrappers are now in separate subdirectory), or "C" option needed in addition to "m" option.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-19 12:16:22 UTC
Index: opera-12.00.1467.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/opera/opera-12.00.1467.ebuild,v
retrieving revision 1.5
diff -u -B -r1.5 opera-12.00.1467.ebuild
--- opera-12.00.1467.ebuild     18 Jun 2012 02:34:00 -0000      1.5
+++ opera-12.00.1467.ebuild     19 Jun 2012 12:16:03 -0000
@@ -196,7 +196,7 @@
                > "${D}"/etc/revdep-rebuild/90${PN}
 
        # Set PaX markings for hardened/PaX (bug #344267)
-       pax-mark m "${D}"/${OPREFIX}/${PN}/opera*
+       pax-mark m $( list-paxables $( find "${D}"/${OPREFIX}/${PN}/ ) )
 }
 
 pkg_preinst() {

Is this doing what you expect?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-20 14:35:10 UTC
I have added that patch to =www-client/opera-12.00.1467-r1 (and to =www-client/opera-next-12.01.1473 ). Please test and reopen this bug report if it still is not right.