diff options
Diffstat (limited to 'dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch')
-rw-r--r-- | dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch b/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch new file mode 100644 index 000000000000..0755705ed55f --- /dev/null +++ b/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch @@ -0,0 +1,43 @@ +diff --git a/src/mongo/SConscript b/src/mongo/SConscript +index 62fbfc02..5be336f7 100644 +--- a/src/mongo/SConscript ++++ b/src/mongo/SConscript +@@ -841,30 +841,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()): + for target in env["DIST_BINARIES"]: + installBinary(env, "db/modules/" + target) + +-compass_script = "install_compass" +-if env.TargetOSIs('windows'): +- compass_script = "Install-Compass.ps1" +- +-compass_installer = f"$BUILD_DIR/mongo/installer/compass/{compass_script}" +- +-distBinaries.append(compass_installer) +- +-if not hygienic: +- compass_script_installer = env.Install("$DESTDIR/bin", compass_installer) +-else: +- compass_script_installer = env.AutoInstall( +- target='$PREFIX_BINDIR', +- source=[ +- compass_installer, +- ], +- AIB_COMPONENT='dist', +- AIB_ROLE='runtime', +- ) +- +-if env.TargetOSIs('posix'): +- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' ) +- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' ) +- + if not hygienic: + server_archive = env.Command( + target='#/${SERVER_ARCHIVE}', +@@ -878,7 +854,6 @@ if not hygienic: + '--transform $BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin', + '--transform $BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin', + '--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin', +- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin', + '${TEMPFILE(SOURCES[1:])}' + ], + ), |