summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2012-03-19 14:51:15 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2012-03-19 14:51:15 +0000
commit6c32bc8deed33369b8566a9c5e741d134a19d574 (patch)
tree2a92052aa82cd415323435aa2db3c68ea6413aa9 /dev-db/mongodb/mongodb-1.8.4-r1.ebuild
parentDrop more useless quoting (diff)
downloadgentoo-2-6c32bc8deed33369b8566a9c5e741d134a19d574.tar.gz
gentoo-2-6c32bc8deed33369b8566a9c5e741d134a19d574.tar.bz2
gentoo-2-6c32bc8deed33369b8566a9c5e741d134a19d574.zip
PaX mark mongo/mongod for v8 installations, fix #399605
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/mongodb/mongodb-1.8.4-r1.ebuild')
-rw-r--r--dev-db/mongodb/mongodb-1.8.4-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-db/mongodb/mongodb-1.8.4-r1.ebuild b/dev-db/mongodb/mongodb-1.8.4-r1.ebuild
index e7aa2a147c26..42976657c254 100644
--- a/dev-db/mongodb/mongodb-1.8.4-r1.ebuild
+++ b/dev-db/mongodb/mongodb-1.8.4-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-1.8.4-r1.ebuild,v 1.2 2011/10/27 13:34:28 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-1.8.4-r1.ebuild,v 1.3 2012/03/19 14:51:15 ultrabug Exp $
EAPI=4
SCONS_MIN_VERSION="1.2.0"
-inherit eutils multilib scons-utils versionator
+inherit eutils multilib pax-utils scons-utils versionator
MY_P=${PN}-src-r${PV/_rc/-rc}
@@ -57,6 +57,8 @@ src_install() {
use static-libs || rm "${D}/usr/$(get_libdir)/libmongoclient.a"
+ use v8 && pax-mark m "${D}"/usr/bin/{mongo,mongod}
+
for x in /var/{lib,log,run}/${PN}; do
keepdir "${x}"
fowners mongodb:mongodb "${x}"