mirror of https://github.com/mongodb/mongo
SERVER-40242 Update banner inclusions for vendored tools
This commit is contained in:
parent
92d941353e
commit
e5d7bb7eaf
|
|
@ -492,7 +492,7 @@ def unpack_binaries_into(build_os, arch, spec, where):
|
|||
try:
|
||||
sysassert(["tar", "xvzf", rootdir + "/" + tarfile(build_os, arch, spec)])
|
||||
release_dir = glob('mongodb-linux-*')[0]
|
||||
for releasefile in "bin", "LICENSE-Community.txt", "README", "THIRD-PARTY-NOTICES", "MPL-2":
|
||||
for releasefile in "bin", "LICENSE-Community.txt", "README", "THIRD-PARTY-NOTICES", "THIRD-PARTY-NOTICES.gotools", "MPL-2":
|
||||
print "moving file: %s/%s" % (release_dir, releasefile)
|
||||
os.rename("%s/%s" % (release_dir, releasefile), releasefile)
|
||||
os.rmdir(release_dir)
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ def unpack_binaries_into(build_os, arch, spec, where):
|
|||
try:
|
||||
packager.sysassert(["tar", "xvzf", rootdir + "/" + tarfile(build_os, arch, spec)])
|
||||
release_dir = glob('mongodb-linux-*')[0]
|
||||
for releasefile in "bin", "snmp", "LICENSE-Enterprise.txt", "README", "THIRD-PARTY-NOTICES", "MPL-2":
|
||||
for releasefile in "bin", "snmp", "LICENSE-Enterprise.txt", "README", "THIRD-PARTY-NOTICES", "THIRD-PARTY-NOTICES.gotools", "MPL-2":
|
||||
os.rename("%s/%s" % (release_dir, releasefile), releasefile)
|
||||
os.rmdir(release_dir)
|
||||
except Exception:
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ snmp/MONGODBINC-MIB.txt
|
|||
LICENSE-Enterprise.txt
|
||||
README
|
||||
THIRD-PARTY-NOTICES
|
||||
THIRD-PARTY-NOTICES.gotools
|
||||
MPL-2
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ snmp/MONGODBINC-MIB.txt
|
|||
LICENSE-Enterprise.txt
|
||||
README
|
||||
THIRD-PARTY-NOTICES
|
||||
THIRD-PARTY-NOTICES.gotools
|
||||
MPL-2
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
LICENSE-Community.txt
|
||||
README
|
||||
THIRD-PARTY-NOTICES
|
||||
THIRD-PARTY-NOTICES.gotools
|
||||
MPL-2
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
LICENSE-Community.txt
|
||||
README
|
||||
THIRD-PARTY-NOTICES
|
||||
THIRD-PARTY-NOTICES.gotools
|
||||
MPL-2
|
||||
|
|
|
|||
|
|
@ -1026,6 +1026,9 @@ functions:
|
|||
"../../../../../../mongo-tools/$i${exe|}" --version
|
||||
done
|
||||
|
||||
mkdir -p ../../../../../../mongo-tools/distsrc
|
||||
cp THIRD-PARTY-NOTICES ../../../../../../mongo-tools/distsrc/THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
"get modified patch files":
|
||||
command: shell.exec
|
||||
params:
|
||||
|
|
|
|||
|
|
@ -257,6 +257,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -246,6 +246,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -248,6 +248,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -257,6 +257,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -251,6 +251,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -251,6 +251,7 @@ fi
|
|||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
#%doc README
|
||||
%doc THIRD-PARTY-NOTICES.gotools
|
||||
|
||||
%{_bindir}/bsondump
|
||||
%{_bindir}/install_compass
|
||||
|
|
|
|||
|
|
@ -717,7 +717,11 @@ def installExternalBinary( e, name_str ):
|
|||
# "--use-new-tools" adds dependencies for rewritten (Go) tools
|
||||
# It is required for "dist" but optional for "install"
|
||||
if has_option("use-new-tools"):
|
||||
|
||||
env.Append(MODULE_BANNERS=[env.File('#/src/mongo-tools/distsrc/THIRD-PARTY-NOTICES.gotools')])
|
||||
|
||||
toolsRoot = "src/mongo-tools"
|
||||
|
||||
for t in rewrittenTools:
|
||||
installExternalBinary(env, "%s/%s" % (toolsRoot, t))
|
||||
if has_option("build-mongoreplay") and get_option("build-mongoreplay") == "true":
|
||||
|
|
|
|||
Loading…
Reference in New Issue