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
commit662ee2f98af88497f4f53928298c30142f791ea8 (patch)
tree0cc0ab53ccf8b1cd3ef04878e94f666cb881857d /dev-db/mongodb/mongodb-1.8.4-r1.ebuild
parentDrop more useless quoting (diff)
downloadhistorical-662ee2f98af88497f4f53928298c30142f791ea8.tar.gz
historical-662ee2f98af88497f4f53928298c30142f791ea8.tar.bz2
historical-662ee2f98af88497f4f53928298c30142f791ea8.zip
PaX mark mongo/mongod for v8 installations, fix #399605
Package-Manager: portage-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}"