mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Remove expired port:
2018-07-23 databases/mongodb: End of Life October 2016
This commit is contained in:
parent
1593d83e42
commit
b5debfbb04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477221
12 changed files with 1 additions and 274 deletions
1
MOVED
1
MOVED
|
@ -10432,3 +10432,4 @@ devel/llvm33|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
||||||
lang/clang33|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
lang/clang33|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
||||||
devel/llvm34|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
devel/llvm34|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
||||||
lang/clang34|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
lang/clang34|devel/llvm60|2018-08-13|Obsolete and unmaintained
|
||||||
|
databases/mongodb|databases/mongodb34|2018-08-15|Has expired: End of Life October 2016
|
||||||
|
|
|
@ -199,7 +199,6 @@
|
||||||
SUBDIR += memcacheq
|
SUBDIR += memcacheq
|
||||||
SUBDIR += metakit
|
SUBDIR += metakit
|
||||||
SUBDIR += monetdb
|
SUBDIR += monetdb
|
||||||
SUBDIR += mongodb
|
|
||||||
SUBDIR += mongodb32
|
SUBDIR += mongodb32
|
||||||
SUBDIR += mongodb32-tools
|
SUBDIR += mongodb32-tools
|
||||||
SUBDIR += mongodb34
|
SUBDIR += mongodb34
|
||||||
|
|
|
@ -1,88 +0,0 @@
|
||||||
# Created by: Mirko Zinn <mail@derzinn.de>
|
|
||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
PORTNAME= mongodb
|
|
||||||
PORTVERSION= 2.6.12
|
|
||||||
PORTREVISION= 5
|
|
||||||
CATEGORIES= databases net
|
|
||||||
MASTER_SITES= http://downloads.mongodb.org/src/
|
|
||||||
DISTNAME= ${PORTNAME}-src-r${PORTVERSION}
|
|
||||||
|
|
||||||
PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME:S|db$||}/commit/
|
|
||||||
PATCHFILES= 0ee4735ab8fb.patch:-p1
|
|
||||||
|
|
||||||
MAINTAINER= ale@FreeBSD.org
|
|
||||||
COMMENT= NOSQL distributed document-oriented database
|
|
||||||
|
|
||||||
EXPIRATION_DATE= 2018-07-23
|
|
||||||
DEPRECATED= End of Life October 2016
|
|
||||||
|
|
||||||
# mongodb is AGPLv3, C++ driver is APACHE20
|
|
||||||
LICENSE= AGPLv3 APACHE20
|
|
||||||
LICENSE_COMB= multi
|
|
||||||
|
|
||||||
BROKEN_SSL= openssl-devel
|
|
||||||
BROKEN_SSL_REASON_openssl-devel= use of undeclared identifier 'BIO_s_file_internal'
|
|
||||||
|
|
||||||
LIB_DEPENDS= libpcre.so:devel/pcre \
|
|
||||||
libsnappy.so:archivers/snappy \
|
|
||||||
libv8.so:lang/v8 \
|
|
||||||
# boost 1.52/1.55 from ports make mongod segfaulting with many tests
|
|
||||||
# LIB_DEPENDS+= libboost_system.so:devel/boost-libs
|
|
||||||
# MAKE_ARGS+= --use-system-boost
|
|
||||||
# use bundled yaml
|
|
||||||
# MAKE_ARGS+= --use-system-yaml
|
|
||||||
# LIB_DEPENDS+= libyaml-cpp.so:devel/yaml-cpp
|
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386 amd64
|
|
||||||
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64"
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= SSL SASL TEST
|
|
||||||
OPTIONS_DEFAULT=SSL
|
|
||||||
TEST_DESC= Add support for running regression test
|
|
||||||
|
|
||||||
USES= cpe scons
|
|
||||||
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} --cc=${CC} --cxx=${CXX} \
|
|
||||||
--use-system-pcre --use-system-snappy --use-system-v8
|
|
||||||
|
|
||||||
USERS= mongodb
|
|
||||||
GROUPS= mongodb
|
|
||||||
|
|
||||||
USE_RC_SUBR= mongod
|
|
||||||
|
|
||||||
PORTSCOUT= limitw:1,even
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MSSL}
|
|
||||||
USES+= ssl
|
|
||||||
MAKE_ARGS+= --ssl
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MSASL}
|
|
||||||
MAKE_ARGS+= --use-sasl-client
|
|
||||||
LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MTEST}
|
|
||||||
USES+= python:build
|
|
||||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.5:databases/pymongo@${PY_FLAVOR}
|
|
||||||
TEST_TARGET= smokeAll smokeCppUnittests
|
|
||||||
. if ${PORT_OPTIONS:MSSL}
|
|
||||||
TEST_TARGET+= smokeSsl
|
|
||||||
. endif
|
|
||||||
.else
|
|
||||||
ALL_TARGET= core tools
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} 's/\["-O3"\]/"${CXXFLAGS}"/' \
|
|
||||||
${WRKSRC}/SConstruct
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MTEST}
|
|
||||||
test: build-depends build
|
|
||||||
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
||||||
${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
|
@ -1,5 +0,0 @@
|
||||||
TIMESTAMP = 1458576586
|
|
||||||
SHA256 (mongodb-src-r2.6.12.tar.gz) = 2dd51eabcfcd133573be74c0131c85b67764042833e7d94077e86adc0b9406dc
|
|
||||||
SIZE (mongodb-src-r2.6.12.tar.gz) = 16462842
|
|
||||||
SHA256 (0ee4735ab8fb.patch) = b5253813bd14c2453bbda01b7fdfc173a6ddf9c48e86d51545fb1c06af99ca79
|
|
||||||
SIZE (0ee4735ab8fb.patch) = 4185
|
|
|
@ -1,62 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# PROVIDE: mongod
|
|
||||||
# REQUIRE: NETWORK ldconfig
|
|
||||||
# KEYWORD: shutdown
|
|
||||||
#
|
|
||||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
|
||||||
# to enable this service:
|
|
||||||
#
|
|
||||||
# mongod_enable (bool): Set to "NO" by default.
|
|
||||||
# Set it to "YES" to enable mongod.
|
|
||||||
# mongod_limits (bool): Set to "NO" by default.
|
|
||||||
# Set it to yes to run `limits -e -U mongodb`
|
|
||||||
# just before mongod starts.
|
|
||||||
# mongod_dbpath (str): Default to "/var/db/mongodb"
|
|
||||||
# Base database directory.
|
|
||||||
# mongod_flags (str): Custom additional arguments to be passed to mongod.
|
|
||||||
# Default to "--logpath ${mongod_dbpath}/mongod.log --logappend".
|
|
||||||
# mongod_config (str): Default to "%%PREFIX%%/etc/mongodb.conf"
|
|
||||||
# Path to config file
|
|
||||||
#
|
|
||||||
|
|
||||||
. /etc/rc.subr
|
|
||||||
|
|
||||||
name="mongod"
|
|
||||||
rcvar=mongod_enable
|
|
||||||
|
|
||||||
load_rc_config $name
|
|
||||||
|
|
||||||
: ${mongod_enable="NO"}
|
|
||||||
: ${mongod_limits="NO"}
|
|
||||||
: ${mongod_dbpath="/var/db/mongodb"}
|
|
||||||
: ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend"}
|
|
||||||
: ${mongod_user="mongodb"}
|
|
||||||
: ${mongod_group="mongodb"}
|
|
||||||
: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"}
|
|
||||||
|
|
||||||
pidfile="${mongod_dbpath}/mongod.lock"
|
|
||||||
command=%%PREFIX%%/bin/${name}
|
|
||||||
command_args="--config $mongod_config --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null"
|
|
||||||
start_precmd="${name}_prestart"
|
|
||||||
|
|
||||||
mongod_create_dbpath()
|
|
||||||
{
|
|
||||||
mkdir ${mongod_dbpath} >/dev/null 2>/dev/null
|
|
||||||
[ $? -eq 0 ] && chown -R ${mongod_user}:${mongod_group} ${mongod_dbpath}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
mongod_prestart()
|
|
||||||
{
|
|
||||||
if [ ! -d ${mongod_dbpath} ]; then
|
|
||||||
mongod_create_dbpath || return 1
|
|
||||||
fi
|
|
||||||
if checkyesno mongod_limits; then
|
|
||||||
eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null
|
|
||||||
else
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
run_rc_command "$1"
|
|
|
@ -1,26 +0,0 @@
|
||||||
--- SConstruct.orig 2016-03-21 17:09:46.000000000 +0100
|
|
||||||
+++ SConstruct 2016-05-02 12:45:18.685329078 +0200
|
|
||||||
@@ -483,10 +483,10 @@ env = Environment( variables=env_vars,
|
|
||||||
)
|
|
||||||
|
|
||||||
# Report any unknown variables as an error.
|
|
||||||
-unknown_vars = env_vars.UnknownVariables()
|
|
||||||
-if unknown_vars:
|
|
||||||
- print "Unknown variables specified: {0}".format(", ".join(unknown_vars.keys()))
|
|
||||||
- Exit(1)
|
|
||||||
+#unknown_vars = env_vars.UnknownVariables()
|
|
||||||
+#if unknown_vars:
|
|
||||||
+# print "Unknown variables specified: {0}".format(", ".join(unknown_vars.keys()))
|
|
||||||
+# Exit(1)
|
|
||||||
|
|
||||||
if has_option("cache"):
|
|
||||||
EnsureSConsVersion( 2, 3, 0 )
|
|
||||||
@@ -867,7 +867,7 @@ if nix:
|
|
||||||
env.Append( LIBS=[] )
|
|
||||||
|
|
||||||
#make scons colorgcc friendly
|
|
||||||
- for key in ('HOME', 'TERM'):
|
|
||||||
+ for key in ('HOME', 'TERM', 'PATH', 'CCACHE_DIR'):
|
|
||||||
try:
|
|
||||||
env['ENV'][key] = os.environ[key]
|
|
||||||
except KeyError:
|
|
|
@ -1,20 +0,0 @@
|
||||||
--- src/mongo/SConscript.orig 2016-03-21 17:09:46.000000000 +0100
|
|
||||||
+++ src/mongo/SConscript 2016-05-02 12:44:35.405331527 +0200
|
|
||||||
@@ -13,7 +13,7 @@ Import("has_option")
|
|
||||||
Import("get_option")
|
|
||||||
Import("usev8")
|
|
||||||
Import("enforce_glibc")
|
|
||||||
-Import("darwin windows solaris linux nix")
|
|
||||||
+Import("darwin windows solaris linux freebsd nix")
|
|
||||||
|
|
||||||
env.SConscript(['base/SConscript',
|
|
||||||
'db/auth/SConscript',
|
|
||||||
@@ -1183,7 +1183,7 @@ def installBinary( e, name ):
|
|
||||||
if enforce_glibc:
|
|
||||||
e.AddPostAction( name, checkGlibc )
|
|
||||||
|
|
||||||
- if (solaris or linux) and (not has_option("nostrip")):
|
|
||||||
+ if (solaris or linux or freebsd) and (not has_option("nostrip")):
|
|
||||||
name = e.Command('stripped/%s' % name, name, Copy('$TARGET', '$SOURCE'))[0]
|
|
||||||
e.AddPostAction(name, 'strip $TARGET')
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/mongo/db/kill_current_op.cpp.orig 2016-03-21 17:09:46.000000000 +0100
|
|
||||||
+++ src/mongo/db/kill_current_op.cpp 2016-05-02 12:44:35.406331476 +0200
|
|
||||||
@@ -152,7 +152,7 @@ namespace {
|
|
||||||
}
|
|
||||||
|
|
||||||
// Return true with (approx) probability p = "chance". Recall: 0 <= chance <= 1.
|
|
||||||
- double next = static_cast<double>(std::abs(checkForInterruptPRNG.nextInt64()));
|
|
||||||
+ double next = std::abs(static_cast<double>(checkForInterruptPRNG.nextInt64()));
|
|
||||||
double upperBound =
|
|
||||||
std::numeric_limits<int64_t>::max() * failPointInfo["chance"].numberDouble();
|
|
||||||
if (next > upperBound) {
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/mongo/db/ops/modifier_push.cpp.orig 2016-03-21 17:09:46.000000000 +0100
|
|
||||||
+++ src/mongo/db/ops/modifier_push.cpp 2016-05-02 12:44:35.408331153 +0200
|
|
||||||
@@ -646,7 +646,7 @@ namespace mongo {
|
|
||||||
}
|
|
||||||
|
|
||||||
const int64_t numChildren = mutablebson::countChildren(_preparedState->elemFound);
|
|
||||||
- int64_t countRemoved = std::max(static_cast<int64_t>(0), numChildren - abs(_slice));
|
|
||||||
+ int64_t countRemoved = std::max(static_cast<int64_t>(0), numChildren - (_slice >= 0 ? _slice : -_slice));
|
|
||||||
|
|
||||||
// If _slice is negative, remove from the bottom, otherwise from the top
|
|
||||||
const bool removeFromEnd = (_slice > 0);
|
|
|
@ -1,29 +0,0 @@
|
||||||
--- src/third_party/boost/libs/filesystem/v3/src/path.cpp.orig 2016-03-21 17:09:46.000000000 +0100
|
|
||||||
+++ src/third_party/boost/libs/filesystem/v3/src/path.cpp 2016-05-02 12:44:35.410331831 +0200
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
#ifdef BOOST_WINDOWS_API
|
|
||||||
# include "windows_file_codecvt.hpp"
|
|
||||||
# include <windows.h>
|
|
||||||
-#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
|
|
||||||
+#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__)
|
|
||||||
# include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -766,7 +766,7 @@ namespace
|
|
||||||
codecvt_facet(&std::use_facet<std::codecvt<wchar_t, char, std::mbstate_t> >
|
|
||||||
(path_locale));
|
|
||||||
|
|
||||||
-#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
|
|
||||||
+#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__)
|
|
||||||
|
|
||||||
// "All BSD system functions expect their string parameters to be in UTF-8 encoding
|
|
||||||
// and nothing else." See
|
|
||||||
@@ -822,7 +822,7 @@ namespace filesystem3
|
|
||||||
const path::codecvt_type*& path::wchar_t_codecvt_facet()
|
|
||||||
{
|
|
||||||
# if defined(BOOST_POSIX_API) && \
|
|
||||||
- !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
|
|
||||||
+ !(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) || defined(__FreeBSD__))
|
|
||||||
// A local static initialized by calling path::imbue ensures that std::locale(""),
|
|
||||||
// which may throw, is called only if path_locale and condecvt_facet will actually
|
|
||||||
// be used. Thus misconfigured environmental variables will only cause an
|
|
|
@ -1,5 +0,0 @@
|
||||||
Mongo (from "humongous") is a high-performance, open source,
|
|
||||||
schema-free, document-oriented database. A common name in the
|
|
||||||
"NOSQL" community.
|
|
||||||
|
|
||||||
WWW: http://www.mongodb.org/
|
|
|
@ -1,16 +0,0 @@
|
||||||
@postunexec if [ ! -s %D/etc/mongodb.conf ]; then /bin/rm -f %D/etc/mongodb.conf; fi
|
|
||||||
@postexec if [ ! -f %D/etc/mongodb.conf ]; then /usr/bin/touch %D/etc/mongodb.conf; fi
|
|
||||||
bin/bsondump
|
|
||||||
bin/mongo
|
|
||||||
bin/mongod
|
|
||||||
bin/mongodump
|
|
||||||
bin/mongoexport
|
|
||||||
bin/mongofiles
|
|
||||||
bin/mongoimport
|
|
||||||
bin/mongooplog
|
|
||||||
bin/mongoperf
|
|
||||||
bin/mongorestore
|
|
||||||
bin/mongos
|
|
||||||
bin/mongosniff
|
|
||||||
bin/mongostat
|
|
||||||
bin/mongotop
|
|
Loading…
Add table
Reference in a new issue