Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongodb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
mongodb
Commits
ae4539ad
Commit
ae4539ad
authored
Aug 23, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated mongodb to r4.2.8
parent
138a60fc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
11 deletions
+23
-11
Makefile
Makefile
+8
-7
mongodb-src-r4.2.8-cstdlib.patch
mongodb-src-r4.2.8-cstdlib.patch
+11
-0
mongodb-src-r4.2.8-no_debug.patch
mongodb-src-r4.2.8-no_debug.patch
+4
-4
mongodb-src-r4.2.8.tar.gz
mongodb-src-r4.2.8.tar.gz
+0
-0
No files found.
Makefile
View file @
ae4539ad
...
@@ -31,20 +31,21 @@ all: mongodb-service
...
@@ -31,20 +31,21 @@ all: mongodb-service
mkdir
-p
/root/.cargo
mkdir
-p
/root/.cargo
mount
--bind
.cargo
/root/.cargo
mount
--bind
.cargo
/root/.cargo
tar
xf
mongo-r4.2.4.tar.gz
tar
xf
mongodb-src-r4.2.8.tar.gz
patch
-Np1
-d
mongo-r4.2.4
<
mongo-r4.2.4-no_debug.patch
patch
-Np1
-d
mongodb-src-r4.2.8
<
mongodb-src-r4.2.8-no_debug.patch
patch
-Np1
-d
mongodb-src-r4.2.8
<
mongodb-src-r4.2.8-cstdlib.patch
mkdir
mongo-home
mkdir
mongo-home
cd
mongo
-r4.2.4
&&
HOME
=
$(CURDIR)
/mongo-home pip3
install
-r
buildscripts/requirements.txt
cd
mongo
db-src-r4.2.8
&&
HOME
=
$(CURDIR)
/mongo-home pip3
install
-r
buildscripts/requirements.txt
cd
mongo
-r4.2.4
&&
scons
all
--release
--opt
=
on
--disable-warnings-as-errors
MONGO_VERSION
=
4.2.4
-j
1
cd
mongo
db-src-r4.2.8
&&
scons
all
--release
--opt
=
on
--disable-warnings-as-errors
MONGO_VERSION
=
4.2.8
-j
1
cd
mongo
-r4.2.4
&&
scons
--prefix
=
/usr
install
--disable-warnings-as-errors
MONGO_VERSION
=
4.2.4
cd
mongo
db-src-r4.2.8
&&
scons
--prefix
=
/usr
install
--disable-warnings-as-errors
MONGO_VERSION
=
4.2.8
cd
mongo
-r4.2.4
&&
HOME
=
$(CURDIR)
/mongo-home pip3 uninstall
-y
-r
buildscripts/requirements.txt
cd
mongo
db-src-r4.2.8
&&
HOME
=
$(CURDIR)
/mongo-home pip3 uninstall
-y
-r
buildscripts/requirements.txt
@echo
"$$MONGODB_SERVICE"
>
/lib/systemd/system/mongodb.service
@echo
"$$MONGODB_SERVICE"
>
/lib/systemd/system/mongodb.service
systemctl
enable
mongodb.service
systemctl
enable
mongodb.service
install
-v
-Dm755
mongod.conf
/etc
install
-v
-Dm755
mongod.conf
/etc
install
-v
-m755
-o
mongodb
-g
mongodb
-d
/var/lib/mongodb
install
-v
-m755
-o
mongodb
-g
mongodb
-d
/var/lib/mongodb
@echo
"d /run/mongodb 755 mongodb mongodb -"
>
/usr/lib/tmpfiles.d/mongodb.conf
@echo
"d /run/mongodb 755 mongodb mongodb -"
>
/usr/lib/tmpfiles.d/mongodb.conf
rm
-rf
mongo-home
rm
-rf
mongo-home
rm
-rf
mongo
-r4.2.4
rm
-rf
mongo
db-src-r4.2.8
umount
/root/.cargo
umount
/root/.cargo
rm
-rf
/root/.cargo
rm
-rf
/root/.cargo
...
...
mongodb-src-r4.2.8-cstdlib.patch
0 → 100644
View file @
ae4539ad
diff -uNr mongodb-src-r4.2.8/src/mongo/stdx/thread.h mongodb-src-r4.2.8-cstdlib/src/mongo/stdx/thread.h
--- mongodb-src-r4.2.8/src/mongo/stdx/thread.h 2020-06-09 11:21:32.000000000 +0930
+++ mongodb-src-r4.2.8-cstdlib/src/mongo/stdx/thread.h 2021-08-22 16:40:12.608816653 +0930
@@ -33,6 +33,7 @@
#include <csignal>
#include <cstddef>
#include <cstdint>
+#include <cstdlib>
#include <ctime>
#include <exception>
#include <thread>
mongo
-r4.2.4
-no_debug.patch
→
mongo
db-src-r4.2.8
-no_debug.patch
View file @
ae4539ad
diff -uNr mongo
-r4.2.4/SConstruct mongo-r4.2.4
-no_debug/SConstruct
diff -uNr mongo
db-src-r4.2.8/SConstruct mongodb-src-r4.2.8
-no_debug/SConstruct
--- mongo
-r4.2.4/SConstruct 2020-03-02 22:31:44.000000000 +000
0
--- mongo
db-src-r4.2.8/SConstruct 2020-06-09 11:21:32.000000000 +093
0
+++ mongo
-r4.2.4-no_debug/SConstruct 2020-08-22 23:21:30.870326651 +000
0
+++ mongo
db-src-r4.2.8-no_debug/SConstruct 2021-08-22 07:54:42.738092129 +093
0
@@ -18
59,7 +1859
,6 @@
@@ -18
67,7 +1867
,6 @@
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
env.Append( CCFLAGS=["-fno-omit-frame-pointer",
env.Append( CCFLAGS=["-fno-omit-frame-pointer",
"-fno-strict-aliasing",
"-fno-strict-aliasing",
...
...
mongo
-r4.2.4
.tar.gz
→
mongo
db-src-r4.2.8
.tar.gz
View file @
ae4539ad
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment