FreeBSD Bugzilla – Attachment 182571 Details for
Bug 219259
[MAINTAINER UPDATE] databases/mongodb34-rocks: fix BROKEN port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
svn diff to unbreak this port and fix inaccurate description
mongodb34-rocks.svn-diff.txt (text/plain), 2.67 KB, created by
Šimun Mikecin
on 2017-05-13 15:27:51 UTC
(
hide
)
Description:
svn diff to unbreak this port and fix inaccurate description
Filename:
MIME Type:
Creator:
Šimun Mikecin
Created:
2017-05-13 15:27:51 UTC
Size:
2.67 KB
patch
obsolete
>Index: mongodb34-rocks/files/mongos.in >=================================================================== >--- mongodb34-rocks/files/mongos.in (nonexistent) >+++ mongodb34-rocks/files/mongos.in (working copy) >@@ -0,0 +1,59 @@ >+#!/bin/sh >+ >+# PROVIDE: mongos >+# REQUIRE: NETWORK ldconfig >+# KEYWORD: shutdown >+# >+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# mongos_enable (bool): Set to "NO" by default. >+# Set it to "YES" to enable mongos. >+# mongos_limits (bool): Set to "NO" by default. >+# Set it to yes to run `limits -e -U mongodb` >+# just before mongos starts. >+# mongos_flags (str): Custom additional arguments to be passed to mongos. >+# Default to "--logpath /var/log/mongodb/mongos.log --logappend". >+# mongos_config (str): Default to "%%PREFIX%%/etc/mongos.conf" >+# Path to config file >+# >+ >+. /etc/rc.subr >+ >+name="mongos" >+rcvar=mongos_enable >+ >+load_rc_config $name >+ >+: ${mongos_enable="NO"} >+: ${mongos_limits="NO"} >+: ${mongos_logpath="/var/log/mongodb"} >+: ${mongos_flags="--logpath ${mongos_logpath}/mongos.log --logappend"} >+: ${mongos_user="mongodb"} >+: ${mongos_group="mongodb"} >+: ${mongos_config="%%PREFIX%%/etc/mongos.conf"} >+ >+pidfile="/var/run/mongodb/mongos.pid" >+command=%%PREFIX%%/bin/${name} >+command_args="--config $mongos_config --fork >/dev/null 2>/dev/null" >+start_precmd="${name}_prestart" >+ >+mongos_create_dbpath() >+{ >+ mkdir ${mongos_logpath} >/dev/null 2>/dev/null >+ [ $? -eq 0 ] && chown -R ${mongos_user}:${mongos_group} ${mongos_logpath} >+} >+ >+mongos_prestart() >+{ >+ if [ ! -d ${mongos_logpath} ]; then >+ mongos_create_dbpath || return 1 >+ fi >+ if checkyesno mongos_limits; then >+ eval `/usr/bin/limits -e -U ${mongos_user}` 2>/dev/null >+ else >+ return 0 >+ fi >+} >+ >+run_rc_command "$1" > >Property changes on: mongodb34-rocks/files/mongos.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: mongodb34-rocks/pkg-descr >=================================================================== >--- mongodb34-rocks/pkg-descr (revision 440669) >+++ mongodb34-rocks/pkg-descr (working copy) >@@ -2,6 +2,6 @@ > schema-free, document-oriented database. A common name in the > "NOSQL" community. > >-This port uses a RocksDB Storage Engine as a MongoDB backend. >+This port can optionally use a RocksDB Storage Engine as a MongoDB backend. > > WWW: http://www.mongodb.org/
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
Flags:
numisemis
:
maintainer-approval+
Actions:
View
Attachments on
bug 219259
: 182571