From a8b0d35ab742f31538d515dea39716e566d533c0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Jan 2018 23:13:57 +0000 Subject: gentoo resync : 06.01.2018 --- .../mongodb/files/mongodb-3.6.1-no-compass.patch | 46 ++++++++++++++++++++++ dev-db/mongodb/files/mongodb.conf | 8 ---- dev-db/mongodb/files/mongodb.conf-r2 | 33 ---------------- 3 files changed, 46 insertions(+), 41 deletions(-) create mode 100644 dev-db/mongodb/files/mongodb-3.6.1-no-compass.patch delete mode 100644 dev-db/mongodb/files/mongodb.conf delete mode 100644 dev-db/mongodb/files/mongodb.conf-r2 (limited to 'dev-db/mongodb/files') diff --git a/dev-db/mongodb/files/mongodb-3.6.1-no-compass.patch b/dev-db/mongodb/files/mongodb-3.6.1-no-compass.patch new file mode 100644 index 000000000000..133c10fd258b --- /dev/null +++ b/dev-db/mongodb/files/mongodb-3.6.1-no-compass.patch @@ -0,0 +1,46 @@ +diff --git a/src/mongo/SConscript b/src/mongo/SConscript +index 9cde728..e29664e 100644 +--- a/src/mongo/SConscript ++++ b/src/mongo/SConscript +@@ -629,33 +629,6 @@ for full_dir, archive_dir in env["ARCHIVE_ADDITION_DIR_MAP"].items(): + for target in env["DIST_BINARIES"]: + installBinary(env, "db/modules/" + target) + +-# Set the download url to the right place +-compass_type = 'compass-community' +-if 'enterprise' in env['MONGO_MODULES']: +- compass_type = 'compass' +- +-compass_script = "install_compass" +-if env.TargetOSIs('windows'): +- # On windows the .in needs to be explicitly added to the file. +- compass_script = "Install-Compass.ps1.in" +- +-compass_python_interpreter = '/usr/bin/env python2' +-if env.TargetOSIs('darwin'): +- compass_python_interpreter = '/usr/bin/env python' +- +-compass_installer = env.Substfile('#/src/mongo/installer/compass/' + compass_script, +- SUBST_DICT=[ +- ('@compass_type@', compass_type), +- ('@python_interpreter@', compass_python_interpreter), +- ]) +-distBinaries.append(compass_installer) +- +-compass_script_installer = env.Install("$INSTALL_DIR/bin", compass_installer) +- +-if env.TargetOSIs('posix'): +- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' ) +- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' ) +- + # "dist" target is valid only when --use-new-tools is specified + # Attempts to build release artifacts without tools must fail + if has_option("use-new-tools"): +@@ -673,7 +646,6 @@ if has_option("use-new-tools"): + '--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin', + '--transform $BUILD_DIR/mongo/stripped/src/mongo-tools=$SERVER_DIST_BASENAME/bin', + '--transform src/mongo-tools=$SERVER_DIST_BASENAME/bin', +- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin', + '${TEMPFILE(SOURCES[1:])}' + ], + ), diff --git a/dev-db/mongodb/files/mongodb.conf b/dev-db/mongodb/files/mongodb.conf deleted file mode 100644 index c5272b7f2df3..000000000000 --- a/dev-db/mongodb/files/mongodb.conf +++ /dev/null @@ -1,8 +0,0 @@ -# See http://www.mongodb.org/display/DOCS/File+Based+Configuration for format details -# Run mongod --help to see a list of options - -bind_ip = 127.0.0.1 -quiet = true -dbpath = /var/lib/mongodb -logpath = /var/log/mongodb/mongod.log -logappend = true diff --git a/dev-db/mongodb/files/mongodb.conf-r2 b/dev-db/mongodb/files/mongodb.conf-r2 deleted file mode 100644 index 8e8a64408cdf..000000000000 --- a/dev-db/mongodb/files/mongodb.conf-r2 +++ /dev/null @@ -1,33 +0,0 @@ -# !! IMPORTANT !! -# -# This file uses the YAML format as described in the documentation: -# http://docs.mongodb.org/manual/reference/configuration-options/ - -storage: - dbPath: "/var/lib/mongodb" - -systemLog: - destination: file - path: "/var/log/mongodb/mongodb.log" - quiet: true - logAppend: true - -net: - port: 27017 - bindIp: 127.0.0.1 -# ssl: -# mode: disabled - -#security: - #keyFile: - #clusterAuthMode: - -#replication: - #replSetName: - -# Specifies one of the MongoDB parameters described here: -# http://docs.mongodb.org/manual/reference/parameters/ -# -# You can specify multiple setParameter fields such as: -# setParameter: {enableTestCommands: 1} -#setParameter: -- cgit v1.2.3