1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Update to 2.4.2 release.

Simplify rc script.
Fix build with spidermonkey [1].

PR:		ports/177703 [1]
Submitted by:	Dmitry Sukhodoyev <raven428@gmail.com>
Feature safe:	yes
This commit is contained in:
Alex Dupre 2013-04-19 10:59:20 +00:00
parent 9975cd5812
commit 3dcf2a9638
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316093
4 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mongodb
PORTVERSION= 2.4.1
PORTVERSION= 2.4.2
CATEGORIES= databases net
MASTER_SITES= http://downloads.mongodb.org/src/
DISTNAME= ${PORTNAME}-src-r${PORTVERSION}

View File

@ -1,2 +1,2 @@
SHA256 (mongodb-src-r2.4.1.tar.gz) = d61ad944b8f27e0efb9a08998cbda587ee5d1a4406a938443e681502738da3b2
SIZE (mongodb-src-r2.4.1.tar.gz) = 14101118
SHA256 (mongodb-src-r2.4.2.tar.gz) = d0a26fef7f425a6652ebfc3addbc7e1b01a10be65c9d68e464730687bd6721c3
SIZE (mongodb-src-r2.4.2.tar.gz) = 14106623

View File

@ -14,8 +14,6 @@
# just before mongod starts.
# mongod_dbpath (str): Default to "/var/db/mongodb"
# Base database directory.
# mongod_pidfile (str): Custum PID file path and name.
# Default to "${mongod_dbpath}/mongod.pid".
# mongod_flags (str): Custom additional arguments to be passed to mongod.
# Default to "--logpath ${mongod_dbpath}/mongod.log --logappend".
#
@ -34,9 +32,9 @@ load_rc_config $name
: ${mongod_user="mongodb"}
: ${mongod_group="mongodb"}
pidfile=${mongod_pidfile:-"${mongod_dbpath}/mongod.pid"}
pidfile="${mongod_dbpath}/mongod.lock"
command=%%PREFIX%%/bin/${name}
command_args="--config %%PREFIX%%/etc/mongodb.conf --dbpath $mongod_dbpath --pidfilepath ${pidfile} --fork"
command_args="--config %%PREFIX%%/etc/mongodb.conf --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null"
start_precmd="${name}_prestart"
mongod_create_dbpath()

View File

@ -23,7 +23,7 @@
+ if not conf.CheckLib("snappy"):
+ Exit(1)
+
+ if usesm and use_system_version_of_library("js"):
+ if usesm and use_system_version_of_library("sm"):
+ if not conf.CheckLib("js"):
+ Exit(1)
+