mongodb: update to 3.0.0.
This commit is contained in:
parent
54a372b9aa
commit
e6fa062394
7
srcpkgs/mongodb/INSTALL
Normal file
7
srcpkgs/mongodb/INSTALL
Normal file
@ -0,0 +1,7 @@
|
||||
case "$ACTION" in
|
||||
post)
|
||||
if [ "$UPDATE" = "yes" ]; then
|
||||
chown -R mongodb var/lib/mongodb/* var/log/mongodb/*
|
||||
fi
|
||||
;;
|
||||
esac
|
@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
exec mongod --quiet --config /etc/mongodb/mongodb.conf
|
||||
[ -r conf ] && . ./conf
|
||||
exec chpst -u mongodb mongod ${OPTS:=--quiet --config /etc/mongodb/mongodb.conf}
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Template file for 'mongodb'
|
||||
pkgname=mongodb
|
||||
version=2.6.8
|
||||
revision=2
|
||||
version=3.0.0
|
||||
revision=1
|
||||
hostmakedepends="scons"
|
||||
makedepends="boost-devel pcre-devel snappy-devel libressl-devel>=2.1.4 libpcap-devel gperftools-devel v8-3.16-devel"
|
||||
makedepends="boost-devel pcre-devel snappy-devel libressl-devel>=2.1.4 libpcap-devel gperftools-devel"
|
||||
conf_files="/etc/mongodb/mongodb.conf"
|
||||
system_accounts="mongodb"
|
||||
mongodb_homedir="/var/lib/mongodb"
|
||||
@ -12,7 +12,7 @@ maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://www.mongodb.org"
|
||||
license="AGPL-3"
|
||||
distfiles="http://downloads.mongodb.org/src/mongodb-src-r${version}.tar.gz"
|
||||
checksum="1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06"
|
||||
checksum="c1fdbb6bbc33eafedc4aa363be2b3cdf1eea8b8eb618d25131c5a30def24aad9"
|
||||
make_dirs="
|
||||
/var/lib/mongodb 0700 mongodb mongodb
|
||||
/var/log/mongodb 0750 mongodb mongodb"
|
||||
@ -21,12 +21,11 @@ _scons_args=" --use-system-boost \
|
||||
--use-system-pcre \
|
||||
--use-system-snappy \
|
||||
--use-system-tcmalloc \
|
||||
--use-system-v8 \
|
||||
--ssl \
|
||||
--sharedclient \
|
||||
--variant-dir=void \
|
||||
--nostrip \
|
||||
--disable-warnings-as-errors"
|
||||
# --use-system-v8 \ # disabled - configure error
|
||||
build_options="systemd"
|
||||
# ETOOHUGE
|
||||
nodebug=1
|
||||
@ -36,7 +35,7 @@ do_configure() {
|
||||
}
|
||||
|
||||
do_build() {
|
||||
scons all ${makejobs} \
|
||||
scons core ${makejobs} \
|
||||
--cc=$CC \
|
||||
--cxx=$CXX \
|
||||
--ld=$CXX \
|
||||
|
Loading…
Reference in New Issue
Block a user