summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/mongodb/Makefile2
-rw-r--r--databases/mongodb/distinfo4
-rw-r--r--databases/mongodb/files/mongod.in11
3 files changed, 14 insertions, 3 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 08ab51b71b2d..6ef95ddd81f7 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mongodb
-PORTVERSION= 2.2.0
+PORTVERSION= 2.2.2
PORTREVISION= 2
CATEGORIES= databases net
MASTER_SITES= http://downloads.mongodb.org/src/
diff --git a/databases/mongodb/distinfo b/databases/mongodb/distinfo
index 4594e72d7191..8b8a165622f1 100644
--- a/databases/mongodb/distinfo
+++ b/databases/mongodb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mongodb-src-r2.2.0.tar.gz) = 084626e476ac747dfae143889c24a10f739cd54480af9bf253f50999f065608b
-SIZE (mongodb-src-r2.0.6.tar.gz) = 10150762
+SHA256 (mongodb-src-r2.2.2.tar.gz) = e646abd0a9839dec11fa4f35089aad8e9aeef628bce7832ab40a3138c7462127
+SIZE (mongodb-src-r2.2.2.tar.gz) = 10171793
diff --git a/databases/mongodb/files/mongod.in b/databases/mongodb/files/mongod.in
index c0e8efbf520a..272ecbea3ca7 100644
--- a/databases/mongodb/files/mongod.in
+++ b/databases/mongodb/files/mongod.in
@@ -32,6 +32,17 @@ load_rc_config $name
: ${mongod_dbpath="/var/db/mongodb"}
: ${mongod_user="mongodb"}
+# Note: if you use a config file for mongodb,
+# the parameters passed on cl override the config file
+# ie, dbpath, logappend, logpath etc in the command_args below.
+# This means that your config file will be ignored unless
+# you comment out remove the cl parameters.
+#
+# Using config file: uncomment the following line AND comment out
+# the next line.
+
+# command_args="-f $mongod_config"
+
command_args="-f $mongod_config --dbpath $mongod_dbpath --logappend --logpath $mongod_dbpath/mongod.log --fork"
required_dirs=${mongod_dbpath}