ultrabug 14/05/14 09:16:49 Added: mongos.initd-r2 mongodb.initd-r2 mongodb-2.6.1-fix-scons.patch mongos.conf-r2 mongodb.confd-r2 mongos.confd-r2 mongodb.conf-r2 mms-agent.initd-r2 Log: version 2.6.x bump fix #508190 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Revision Changes Path 1.1 dev-db/mongodb/files/mongos.initd-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2?rev=1.1&content-type=text/plain Index: mongos.initd-r2 =================================================================== #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $ config_file=${config_file:-/etc/${SVCNAME}.conf} run_dir=${run_dir:-/run/mongodb} command="/usr/bin/mongos" command_args="--config ${config_file}" command_background="true" pidfile=${run_dir}/${SVCNAME}.pid user=${user:-mongodb} group=${group:-mongodb} depend() { use net } start_pre() { checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}" if [ ! -f ${config_file} ]; then eerror "Missing configuration file ${config_file}" return 1 fi } 1.1 dev-db/mongodb/files/mongodb.initd-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2?rev=1.1&content-type=text/plain Index: mongodb.initd-r2 =================================================================== #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $ config_file=${config_file:-/etc/${SVCNAME}.conf} run_dir=${run_dir:-/run/mongodb} command="/usr/bin/mongod" command_args="--config ${config_file}" command_background="true" pidfile=${run_dir}/${SVCNAME}.pid user=${user:-mongodb} group=${group:-mongodb} depend() { use net } start_pre() { checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}" if [ ! -f ${config_file} ]; then eerror "Missing configuration file ${config_file}" return 1 fi } 1.1 dev-db/mongodb/files/mongodb-2.6.1-fix-scons.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.6.1-fix-scons.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.6.1-fix-scons.patch?rev=1.1&content-type=text/plain Index: mongodb-2.6.1-fix-scons.patch =================================================================== diff --git SConstruct SConstruct index 3886d1b..81c59a9 100644 --- SConstruct +++ SConstruct @@ -811,19 +811,17 @@ if nix: # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. env.Append( CCFLAGS=["-fPIC", "-fno-strict-aliasing", - "-ggdb", "-pthread", "-Wall", "-Wsign-compare", "-Wno-unknown-pragmas", "-Winvalid-pch"] ) # env.Append( " -Wconversion" ) TODO: this doesn't really work yet - if linux or darwin: - env.Append( CCFLAGS=["-Werror", "-pipe"] ) env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] ) - env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] ) env.Append( LINKFLAGS=["-fPIC", "-pthread"] ) + env.Append( CXXFLAGS=os.environ['CXXFLAGS']) + env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) # SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program # startup. @@ -840,7 +838,7 @@ if nix: if not darwin: env.Append( LINKFLAGS=["-rdynamic"] ) - env.Append( LIBS=[] ) + env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] ) #make scons colorgcc friendly for key in ('HOME', 'TERM'): 1.1 dev-db/mongodb/files/mongos.conf-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.conf-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.conf-r2?rev=1.1&content-type=text/plain Index: mongos.conf-r2 =================================================================== # !! IMPORTANT !! # # This file uses the YAML format as described in the documentation: # http://docs.mongodb.org/manual/reference/configuration-options/ systemLog: destination: file path: "/var/log/mongodb/mongos.log" quiet: true logAppend: true net: port: 27017 bindIp: 127.0.0.1 ssl: mode: disabled #security: #keyFile: #clusterAuthMode: #sharding: #configDB: # Specifies one of the MongoDB parameters described here: # http://docs.mongodb.org/manual/reference/parameters/ # # You can specify multiple setParameter fields such as: # setParameter: {enableTestCommands: 1} #setParameter: 1.1 dev-db/mongodb/files/mongodb.confd-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.confd-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.confd-r2?rev=1.1&content-type=text/plain Index: mongodb.confd-r2 =================================================================== # !! IMPORTANT !! # # This file is ONLY used to override some of the init script configuration. # # You should NOT use this file to configure your mongodb instance, # see the /etc/mongodb.conf file instead. # # Available init script modifiers : # - config_file : the configuration file to use (default : /etc/mongodb.conf) # - user : the user used to run your mongodb instance (default : mongodb) # - group : the group used to run your mongodb instance (default : mongodb) # - run_dir : the run directory for your PID files (default : /run/mongodb) 1.1 dev-db/mongodb/files/mongos.confd-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.confd-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.confd-r2?rev=1.1&content-type=text/plain Index: mongos.confd-r2 =================================================================== # !! IMPORTANT !! # # This file is ONLY used to override some of the init script configuration. # # You should NOT use this file to configure your mongos instance, # see the /etc/mongos.conf file instead. # # Available init script modifiers : # - config_file : the configuration file to use (default : /etc/mongos.conf) # - user : the user used to run your mongodb instance (default : mongodb) # - group : the group used to run your mongodb instance (default : mongodb) # - run_dir : the run directory for your PID files (default : /run/mongodb) 1.1 dev-db/mongodb/files/mongodb.conf-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.conf-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.conf-r2?rev=1.1&content-type=text/plain Index: mongodb.conf-r2 =================================================================== # !! IMPORTANT !! # # This file uses the YAML format as described in the documentation: # http://docs.mongodb.org/manual/reference/configuration-options/ storage: dbPath: "/var/lib/mongodb" systemLog: destination: file path: "/var/log/mongodb/mongodb.log" quiet: true logAppend: true net: port: 27017 bindIp: 127.0.0.1 ssl: mode: disabled #security: #keyFile: #clusterAuthMode: #replication: #replSetName: # Specifies one of the MongoDB parameters described here: # http://docs.mongodb.org/manual/reference/parameters/ # # You can specify multiple setParameter fields such as: # setParameter: {enableTestCommands: 1} #setParameter: 1.1 dev-db/mongodb/files/mms-agent.initd-r2 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2?rev=1.1&content-type=text/plain Index: mms-agent.initd-r2 =================================================================== #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $ logfile=/var/log/mongodb/mms-agent.log run_dir=${run_dir:-/run/mongodb} command="/usr/bin/python2 agent.py &>${logfile}" command_background="true" pidfile=${run_dir}/${SVCNAME}.pid user=${user:-mongodb} group=${group:-mongodb} depend() { need net use syslog } start_pre() { checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}" cd /opt/mms-agent }