diff --git a/README b/README new file mode 100644 index 0000000000000000000000000000000000000000..0d3625d81cfc32655003f12de227690bbf395e9d --- /dev/null +++ b/README @@ -0,0 +1,93 @@ +MongoDB README + +Welcome to MongoDB 4.0! + +COMPONENTS + + mongod - The database server. + mongos - Sharding router. + mongo - The database shell (uses interactive javascript). + +UTILITIES + + mongodump - Create a binary dump of the contents of a database. + mongorestore - Restore data from the output created by mongodump. + mongoexport - Export the contents of a collection to JSON or CSV. + mongoimport - Import data from JSON, CSV or TSV. + mongofiles - Put, get and delete files from GridFS. + mongostat - Show the status of a running mongod/mongos. + bsondump - Convert BSON files into human-readable formats. + mongoreplay - Traffic capture and replay tool. + mongotop - Track time spent reading and writing data. + install_compass - Installs MongoDB Compass for your platform. + +BUILDING + + See docs/building.md. + +RUNNING + + For command line options invoke: + + $ ./mongod --help + + To run a single server database: + + $ sudo mkdir -p /data/db + $ ./mongod + $ + $ # The mongo javascript shell connects to localhost and test database by default: + $ ./mongo + > help + +INSTALLING COMPASS + + You can install compass using the install_compass script packaged with MongoDB: + + $ ./install_compass + + This will download the appropriate MongoDB Compass package for your platform + and install it. + +DRIVERS + + Client drivers for most programming languages are available at + https://docs.mongodb.com/manual/applications/drivers/. Use the shell + ("mongo") for administrative tasks. + +BUG REPORTS + + See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports. + +PACKAGING + + Packages are created dynamically by the package.py script located in the + buildscripts directory. This will generate RPM and Debian packages. + +DOCUMENTATION + + https://docs.mongodb.com/manual/ + +CLOUD HOSTED MONGODB + + https://www.mongodb.com/cloud/atlas + +MAIL LISTS + + https://groups.google.com/forum/#!forum/mongodb-user + + A forum for technical questions about using MongoDB. + + https://groups.google.com/forum/#!forum/mongodb-dev + + A forum for technical questions about building and developing MongoDB. + +LEARN MONGODB + + https://university.mongodb.com/ + +LICENSE + + Most MongoDB source files (src/mongo folder and below) are made available + under the terms of the GNU Affero General Public License (GNU AGPLv3). See + individual files for details. diff --git a/inconsistent-tabs.patch b/inconsistent-tabs.patch index 863818f2bea2d99de3fe945a8e202e3d78fc617d..2d86825814ef0ee93d2dab21b19da1f24d00e72b 100644 --- a/inconsistent-tabs.patch +++ b/inconsistent-tabs.patch @@ -1,13 +1,12 @@ -diff --git a/SConstruct b/SConstruct -index b76f4876eb..a07ff2e2da 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -3312,7 +3312,7 @@ def doConfigure(myenv): - +diff -uprN mongo-r4.0.1_raw/SConstruct mongo-r4.0.1/SConstruct +--- mongo-r4.0.1_raw/SConstruct 2018-07-28 02:14:20.000000000 +0800 ++++ mongo-r4.0.1/SConstruct 2020-01-10 17:33:08.800735290 +0800 +@@ -3320,7 +3320,7 @@ def doConfigure(myenv): + outputIndex = next((idx for idx in [0,1] if conf.CheckAltivecVbpermqOutput(idx)), None) if outputIndex is not None: - conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex) + conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex) else: myenv.ConfError("Running on ppc64le, but can't find a correct vec_vbpermq output index. Compiler or platform not supported") - + diff --git a/mongodb.spec b/mongodb.spec index 1f1ede4696f9de03bfce25acb4b3f955cd6fe7bb..8290a3504934460b3a59e9c11bf7c479a1bd017a 100644 --- a/mongodb.spec +++ b/mongodb.spec @@ -2,7 +2,7 @@ Name: mongodb Version: 4.0.1 -Release: 2 +Release: 3 Summary: The global cloud database service for modern applications License: AGPLv3 and zlib and ASL 2.0 URL: http://www.mongodb.org @@ -129,7 +129,6 @@ fi %{_unitdir}/*.service %files test -%doc %{_datadir}/mongodb-test/README %defattr(-,mongodb,root) %dir %attr(0755, mongodb, root) %{_datadir}/mongodb-test %dir %attr(0755, mongodb, root) %{_datadir}/mongodb-test/var @@ -139,5 +138,8 @@ fi %{_mandir}/man1/{mongo.1*,mongod.1*,mongos.1*} %changelog +* Mon Feb 13 2020 Ling Yang - 4.0.1-3 +- Add README + * Wed Feb 8 2020 Ling Yang - 4.0.1-2 - Package init