summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-12-31 15:07:02 +0100
committerUltrabug <ultrabug@gentoo.org>2015-12-31 15:07:02 +0100
commitb7d145c08adf1bb3cb8fa5621760fb2cc2e25ec4 (patch)
tree9ac78cb51f2c6b22fc1a4a09902ad77afdec0445 /dev-db/mongodb/files
parentwww-servers/uwsgi: drop old (diff)
downloadgentoo-b7d145c08adf1bb3cb8fa5621760fb2cc2e25ec4.tar.gz
gentoo-b7d145c08adf1bb3cb8fa5621760fb2cc2e25ec4.tar.bz2
gentoo-b7d145c08adf1bb3cb8fa5621760fb2cc2e25ec4.zip
dev-db/mongodb: drop 2.4 series
Package-Manager: portage-2.2.25
Diffstat (limited to 'dev-db/mongodb/files')
-rw-r--r--dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch13
-rw-r--r--dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch33
-rw-r--r--dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch23
-rw-r--r--dev-db/mongodb/files/mongodb.confd14
-rw-r--r--dev-db/mongodb/files/mongodb.initd-r140
5 files changed, 0 insertions, 123 deletions
diff --git a/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch b/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch
deleted file mode 100644
index b6c9a1eb55df..000000000000
--- a/dev-db/mongodb/files/mongodb-2.2-r1-fix-boost.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- mongodb-src-r2.2.0/SConstruct.old 2012-10-09 12:41:25.000000000 -0400
-+++ mongodb-src-r2.2.0/SConstruct 2012-10-09 12:41:41.000000000 -0400
-@@ -171,8 +171,8 @@
- add_option( "extrapathdyn", "comma separated list of add'l paths (--extrapath /opt/foo/,/foo) dynamic linking" , 1 , True )
- add_option( "extralib", "comma separated list of libraries (--extralib js_static,readline" , 1 , True )
-
--add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , True , "boostCompiler" )
--add_option( "boost-version", "boost version for linking(1_38)" , 1 , True , "boostVersion" )
-+add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , False , "boostCompiler" )
-+add_option( "boost-version", "boost version for linking(1_38)" , 1 , False , "boostVersion" )
-
- add_option( "no-glibc-check" , "don't check for new versions of glibc" , 0 , False )
-
diff --git a/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch b/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch
deleted file mode 100644
index 553967e8dedd..000000000000
--- a/dev-db/mongodb/files/mongodb-2.4-fix-sasl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/src/mongo/client/sasl_client_session.cpp 2014-10-15 00:40:29.000000000 +0400
-+++ b/src/mongo/client/sasl_client_session.cpp 2015-02-07 18:56:02.287762467 +0300
-@@ -29,17 +29,26 @@
- * doesn't initialize the library for us.
- */
-
-- void* saslOurMalloc(unsigned long sz) {
-+// Version 2.1.26 is the first version to use size_t in the allocator signatures
-+#if (SASL_VERSION_FULL >= ((2 << 16) | (1 << 8) | 26))
-+ typedef size_t SaslAllocSize;
-+#else
-+ typedef unsigned long SaslAllocSize;
-+#endif
-+
-+ typedef int(*SaslCallbackFn)();
-+
-+ void* saslOurMalloc(SaslAllocSize sz) {
- return ourmalloc(sz);
- }
-
-- void* saslOurCalloc(unsigned long count, unsigned long size) {
-+ void* saslOurCalloc(SaslAllocSize count, SaslAllocSize size) {
- void* ptr = calloc(count, size);
-- if (!ptr) printStackAndExit(0);
-+ if (!ptr) abort();
- return ptr;
- }
-
-- void* saslOurRealloc(void* ptr, unsigned long sz) {
-+ void* saslOurRealloc(void* ptr, SaslAllocSize sz) {
- return ourrealloc(ptr, sz);
- }
-
diff --git a/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch b/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch
deleted file mode 100644
index 5050fe7daa35..000000000000
--- a/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- b/SConstruct 2014-09-01 19:12:24.289585592 +0200
-+++ a/SConstruct 2014-09-01 19:14:12.550312261 +0200
-@@ -704,7 +704,6 @@
- # -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",
-@@ -719,9 +718,10 @@
- env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
-
- env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
-- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
-+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
-+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
- env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] )
-- env.Append( LIBS=[] )
-+ env.Append( LIBS=['pcre', 'pcrecpp', 'snappy'] )
-
- #make scons colorgcc friendly
- for key in ('HOME', 'TERM'):
diff --git a/dev-db/mongodb/files/mongodb.confd b/dev-db/mongodb/files/mongodb.confd
deleted file mode 100644
index 4f76c5a79f9f..000000000000
--- a/dev-db/mongodb/files/mongodb.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# Mongodb essentials
-MONGODB_EXEC="/usr/bin/mongod"
-MONGODB_RUN="/var/run/mongodb"
-MONGODB_DATA="/var/lib/mongodb"
-MONGODB_USER="mongodb"
-
-# Listen to specified IP, comment this to listen to all
-MONGODB_IP="127.0.0.1"
-
-# Listen to specified port
-MONGODB_PORT="27017"
-
-# Set extra options here, such as disabling the admin web server
-MONGODB_OPTIONS="--journal"
diff --git a/dev-db/mongodb/files/mongodb.initd-r1 b/dev-db/mongodb/files/mongodb.initd-r1
deleted file mode 100644
index f52cca2fd408..000000000000
--- a/dev-db/mongodb/files/mongodb.initd-r1
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- use net
-}
-
-start() {
- checkpath -d -m 0750 -o "${MONGODB_USER}":mongodb "${MONGODB_RUN}"
-
- # Listen to MONGODB_IP if configured
- [ -z "${MONGODB_IP}" ] || MONGODB_OPTIONS="--bind_ip ${MONGODB_IP} ${MONGODB_OPTIONS}"
-
- # Baselayout-1 user should use --chuid instead of --user
- local USEROPT="--user"
- if [ ! -f /etc/init.d/sysfs ]; then
- USEROPT="--chuid"
- fi
-
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --background --start --make-pidfile \
- --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid \
- ${USEROPT} ${MONGODB_USER:-mongodb} \
- --exec ${MONGODB_EXEC:-/usr/bin/mongod} \
- -- \
- --port ${MONGODB_PORT:-27017} \
- --dbpath ${MONGODB_DATA:-/var/lib/mongodb} \
- --unixSocketPrefix ${MONGODB_RUN:-/var/run/mongodb} \
- --logappend --logpath /var/log/mongodb/${SVCNAME}.log \
- ${MONGODB_OPTIONS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid
- eend $?
-}