FreeBSD Bugzilla – Attachment 171787 Details for
Bug 210570
[NEW PORT] databases/mongodb-rocks: Distributed document-oriented database with a RocksDB Storage Engine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
mongodb-rocks.shar (text/plain), 8.09 KB, created by
Šimun Mikecin
on 2016-06-25 12:51:51 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Šimun Mikecin
Created:
2016-06-25 12:51:51 UTC
Size:
8.09 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># mongodb-rocks ># mongodb-rocks/pkg-plist ># mongodb-rocks/distinfo ># mongodb-rocks/Makefile ># mongodb-rocks/files ># mongodb-rocks/files/mongod.in ># mongodb-rocks/files/patch-SConstruct ># mongodb-rocks/files/patch-rpm_mongod.conf ># mongodb-rocks/pkg-descr ># >echo c - mongodb-rocks >mkdir -p mongodb-rocks > /dev/null 2>&1 >echo x - mongodb-rocks/pkg-plist >sed 's/^X//' >mongodb-rocks/pkg-plist << 'b3ad57611129f6c9213fdb3089a2cc89' >X@sample etc/mongodb.conf.sample >Xbin/mongo >Xbin/mongod >Xbin/mongoperf >Xbin/mongos >Xbin/mongosniff >b3ad57611129f6c9213fdb3089a2cc89 >echo x - mongodb-rocks/distinfo >sed 's/^X//' >mongodb-rocks/distinfo << '3d4b2c047231c82306df86a0b5a33158' >XSHA256 (mongodb-src-r3.2.7.tar.gz) = cd89676af6f97561700a08b599c287fb638f14a6a1019ef9167cf55ed6a3952a >XSIZE (mongodb-src-r3.2.7.tar.gz) = 28494513 >XSHA256 (r3.2.7.tar.gz) = 94ebd783483313520bed35c69618850c3e57c57ca605a9f82a1f5e84255bd147 >XSIZE (r3.2.7.tar.gz) = 51018 >3d4b2c047231c82306df86a0b5a33158 >echo x - mongodb-rocks/Makefile >sed 's/^X//' >mongodb-rocks/Makefile << 'd226a1bcd09ba659252dd2ee348588e1' >X# $FreeBSD$ >X >XPORTNAME= mongodb >XPORTVERSION= 3.2.7 >XDISTVERSIONPREFIX= r >XCATEGORIES= databases net >XMASTER_SITES= https://fastdl.mongodb.org/src/:main \ >X http://fastdl.mongodb.org/src/:main \ >X http://download.mongodb.org/src/:main \ >X https://github.com/mongodb-partners/mongo-rocks/archive/:module >XPKGNAMESUFFIX= -rocks >XDISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} >XDISTFILES= mongodb-src-r${PORTVERSION}.tar.gz:main \ >X r${PORTVERSION}.tar.gz:module >X >XMAINTAINER= numisemis@yahoo.com >XCOMMENT= Distributed document-oriented database with a RocksDB Storage Engine >X >X# mongodb is AGPLv3, C++ driver is APACHE20 >XLICENSE= AGPLv3 APACHE20 >XLICENSE_COMB= multi >X >X# Bugs when compiled with < Clang 3.7 >X# - https://jira.mongodb.org/browse/SERVER-21217 >X# - https://jira.mongodb.org/browse/SERVER-22740 >XBUILD_DEPENDS= ${LOCALBASE}/bin/clang37:lang/clang37 >XLIB_DEPENDS= libpcre.so:devel/pcre \ >X libsnappy.so:archivers/snappy \ >X librocksdb.so:databases/rocksdb >XTEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ >X ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo >X >XCPP= clang-cpp37 >XCC= clang37 >XCXX= clang++37 >XCHOSEN_COMPILER_TYPE= clang >X >XONLY_FOR_ARCHS= amd64 >XONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" >X >XCONFLICTS_BUILD= mongo-cxx-driver >XCONFLICTS_INSTALL= mongodb mongodb32 >XOPTIONS_DEFINE= SASL SSL >XOPTIONS_DEFAULT= SASL SSL >X >XSASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 >XSASL_MAKE_ARGS= --use-sasl-client >X >XSSL_USE= openssl=yes >XSSL_MAKE_ARGS= --ssl >X >XUSES= cpe execinfo python:build scons >X >XMAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ >X --use-system-pcre --use-system-snappy \ >X --release >X >XUSERS= mongodb >XGROUPS= mongodb >X >XUSE_RC_SUBR= mongod >X >XALL_TARGET= core >XTEST_TARGET= unittests >X >X.include <bsd.port.pre.mk> >X >X.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 >X# Cannot be built >XIGNORE= unsupported on FreeBSD 10.1 or older >X.endif >X >Xpost-patch: >X @${MKDIR} ${WRKSRC}/src/mongo/db/modules/ >X @${LN} -sf ${WRKDIR}/mongo-rocks-r${PORTVERSION} ${WRKSRC}/src/mongo/db/modules/rocks >X >Xpost-install: >X.for f in mongo mongod mongoperf mongos mongosniff >X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} >X.endfor >X ${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample >X >Xdo-test: >X @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ >X ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} &&\ >X ${PYTHON_CMD} ${BUILD_WRKSRC}/buildscripts/resmoke.py\ >X --suites=unittests --jobs=${MAKE_JOBS_NUMBER} >X >XPORTSCOUT= limitw:1,even >X >XCPE_PRODUCT= mongodb >X >X.include <bsd.port.post.mk> >d226a1bcd09ba659252dd2ee348588e1 >echo c - mongodb-rocks/files >mkdir -p mongodb-rocks/files > /dev/null 2>&1 >echo x - mongodb-rocks/files/mongod.in >sed 's/^X//' >mongodb-rocks/files/mongod.in << 'c37f49a040139b44c3c6ad6cab96af3b' >X#!/bin/sh >X >X# PROVIDE: mongod >X# REQUIRE: NETWORK ldconfig >X# KEYWORD: shutdown >X# >X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# mongod_enable (bool): Set to "NO" by default. >X# Set it to "YES" to enable mongod. >X# mongod_limits (bool): Set to "NO" by default. >X# Set it to yes to run `limits -e -U mongodb` >X# just before mongod starts. >X# mongod_dbpath (str): Default to "/var/db/mongodb" >X# Base database directory. >X# mongod_flags (str): Custom additional arguments to be passed to mongod. >X# Default to "--logpath ${mongod_dbpath}/mongod.log --logappend". >X# >X >X. /etc/rc.subr >X >Xname="mongod" >Xrcvar=mongod_enable >X >Xload_rc_config $name >X >X: ${mongod_enable="NO"} >X: ${mongod_limits="NO"} >X: ${mongod_dbpath="/var/db/mongodb"} >X: ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend"} >X: ${mongod_user="mongodb"} >X: ${mongod_group="mongodb"} >X >Xpidfile="${mongod_dbpath}/mongod.lock" >Xcommand=%%PREFIX%%/bin/${name} >Xcommand_args="--config %%PREFIX%%/etc/mongodb.conf --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null" >Xstart_precmd="${name}_prestart" >X >Xmongod_create_dbpath() >X{ >X mkdir ${mongod_dbpath} >/dev/null 2>/dev/null >X [ $? -eq 0 ] && chown -R ${mongod_user}:${mongod_group} ${mongod_dbpath} >X} >X >X >Xmongod_prestart() >X{ >X if [ ! -d ${mongod_dbpath} ]; then >X mongod_create_dbpath || return 1 >X fi >X if checkyesno mongod_limits; then >X eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null >X else >X return 0 >X fi >X} >X >Xrun_rc_command "$1" >c37f49a040139b44c3c6ad6cab96af3b >echo x - mongodb-rocks/files/patch-SConstruct >sed 's/^X//' >mongodb-rocks/files/patch-SConstruct << '50c7d055b0ca742e850a40cfa5aad82c' >X--- SConstruct.orig 2015-12-02 19:01:34 UTC >X+++ SConstruct >X@@ -840,9 +840,9 @@ if has_option('variables-help'): >X print env_vars.GenerateHelpText(env) >X Exit(0) >X >X-unknown_vars = env_vars.UnknownVariables() >X-if unknown_vars: >X- env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys())) >X+#unknown_vars = env_vars.UnknownVariables() >X+#if unknown_vars: >X+# env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys())) >X >X def set_config_header_define(env, varname, varval = 1): >X env['CONFIG_HEADER_DEFINES'][varname] = varval >50c7d055b0ca742e850a40cfa5aad82c >echo x - mongodb-rocks/files/patch-rpm_mongod.conf >sed 's/^X//' >mongodb-rocks/files/patch-rpm_mongod.conf << 'cacfd68684128604e638235cfbe260f7' >X--- rpm/mongod.conf.orig 2016-03-01 04:38:06 UTC >X+++ rpm/mongod.conf >X@@ -1,4 +1,4 @@ >X-# mongod.conf >X+# mongodb.conf >X >X # for documentation of all options, see: >X # http://docs.mongodb.org/manual/reference/configuration-options/ >X@@ -7,11 +7,11 @@ >X systemLog: >X destination: file >X logAppend: true >X- path: /var/log/mongodb/mongod.log >X+ path: /var/log/mongodb/log >X >X # Where and how to store data. >X storage: >X- dbPath: /var/lib/mongo >X+ dbPath: /var/db/mongo >X journal: >X enabled: true >X # engine: >X@@ -21,7 +21,7 @@ storage: >X # how the process runs >X processManagement: >X fork: true # fork and run in background >X- pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile >X+ pidFilePath: /var/run/mongodb/pid # location of pidfile >X >X # network interfaces >X net: >cacfd68684128604e638235cfbe260f7 >echo x - mongodb-rocks/pkg-descr >sed 's/^X//' >mongodb-rocks/pkg-descr << '1eabee1a35ad64c67a6343d967147aec' >XMongo (from "humongous") is a high-performance, open source, >Xschema-free, document-oriented database. A common name in the >X"NOSQL" community. >XThis is a version that supports RocksDB Storage Engine. >X >XWWW: http://www.mongodb.org/ >1eabee1a35ad64c67a6343d967147aec >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 210570
:
171786
|
171787
|
172709
|
173564
|
173731
|
173761
|
173762
|
173763
|
173842
|
173843
|
175034
|
175385
|
181334
|
182377