Commit graph

61 commits

Author SHA1 Message Date
jperkin
c00f92c14c *: Move GCC_REQD above bsd.prefs.mk where possible. 2019-11-09 20:01:14 +00:00
ryoon
edacf2bbcb Recursive revbump from boost-1.71.0 2019-08-22 12:22:48 +00:00
wiz
c30c5fbc0b *: recursive bump for nettle 3.5.1 2019-07-20 22:45:58 +00:00
ryoon
57d0806c39 Recursive revbump from boost-1.70.0 2019-07-01 04:07:44 +00:00
gdt
e0f2051481 databases/mongodb: Re-add comment about needing c11
mongodb's build script says it needs a c11 compiler.  However, one
can't add change c99 to c11 in USE_LANGUAGES like one would expect
because mk/compiler* doesn't yet have c11 support.  Note this, to be
fixed when we have c11 support in mk/compiler*.
2019-06-28 16:21:11 +00:00
adam
c13bb1f0a1 mongodb: remove unused comment 2019-06-28 12:57:28 +00:00
gdt
9954dc3b01 databases/mongodb: Update LICENSE
(The license of mongodb changed as of version 4.)
2019-06-28 12:04:59 +00:00
gdt
1dc547ce3b lang/mongodb: Specify gcc 8 and c++17
According to upstream documentation
  https://github.com/mongodb/mongo/blob/master/docs/building.md
mongodb 4 requires gcc 8 and c++17.
2019-06-28 00:46:53 +00:00
gdt
a6f7495ef2 databases/mongodb: Use system icu
This package had been configured to use mongodb's bundled icu, but
something in the dependencies brought in icu anyway, and there were
type conflicts between pkgsrc and bundled.  Apparently whatever was
trouble in earlier mongodb has been fixed, as the build gets much
further with "system" (pkgsrc) icu.
2019-06-27 01:02:22 +00:00
gdt
410e644091 databases/mongobdb: Set GCC_REQS to 6
With gcc 5, as found on netbsd-8, there are multiple issues.  With 6,
far more progress is made.  Because this is not shocking for c++14,
just set GCC_REQD, as it will not harm netbsd-current, which is
currently the only platform with even a single report of successful
buildin..
2019-06-27 00:58:54 +00:00
gdt
d76e6261ae databases/mongodb: Reset MAINTAINER to pkgsrc-users@
(After checking with previous $MAINTAINER.)
2019-06-27 00:56:32 +00:00
gdt
b91106834c databases/mongodb: Improve USE_LANGUAGES
mongodb requires C++14; change from c++ to c++14.  It also seems to
require C11, but c11 seems not to be recognized by USE_LANGUAGES, so
change c to c99 and add a comment.

PKGREVISION in case there's anyplace this builds.
2019-06-26 16:39:59 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
ryoon
6fc378bce9 Recursive revbump from textproc/icu 2019-04-03 00:32:25 +00:00
adam
56be3855fe mongodb: updated to 4.0.6
4.0.6:
Issues fixed:
SERVER-37778: Platform Support: Add Community & Enterprise Ubuntu 18.04 (zSeries)
SERVER-37777: Platform Support: Add Community SLES12 (zSeries)
SERVER-37775: Platform Support: Add Community RHEL7 (zSeries)
SERVER-39180: Wrong initial chunk owner shard can be selected when sharding non-empty collection with pre-created zones
SERVER-32146: Log slow oplog entry application
SERVER-38293: Make listDatabases understand collection privileges
SERVER-38887: Mongo.getDBs() does not correctly inspect privileges

4.0.5:
Issues fixed:
SERVER-36437: The dbstats command should lock the database in MODE_IS instead of MODE_S
SERVER-37182: Different values when referencing whole object vs. a field of that object after $arrayToObject
SERVER-37200: $match stage following $listSessions not working against mongos
SERVER-37557: Add startup warning about enableMajorityReadConcern and usage of arbiters

4.0.4:
Issues fixed:
SERVER-26854: LockStats for sub-operations should not include time for previous sub ops
SERVER-35323: sessionId matching ignores userId part of the lsid
SERVER-37058: Update with numeric field names inside an array can cause validation to fail
SERVER-37132: Negation of $in with regex can incorrectly plan from the cache, leading to missing query results
TOOLS-2069: mongoreplay does not support SCRAM-SHA-256
TOOLS-2131: mongorestore hang in replaying oplog with –archive and –oplogReplay option

4.0.3:
Issues fixed:
SERVER-19815: Make repair more robust with the WiredTiger storage engine
SERVER-35989: db.collection.countDocuments() and db.collection.estimatedDocumentCount() helpers
SERVER-36982: Reintroduce enableMajorityReadConcern:false server parameter

4.0.2:
Issues fixed:
SERVER-35720: Allow zones to be created on non-existent collection
SERVER-35441: drop/dropDatabase does not cleanup config.tags
SERVER-36102: Create initial chunks on appropriate shards for zoned sharding
SERVER-36070: Aggregation with $out results in error when Auditing is enabled
SERVER-34846: Covered index with collated field returns incorrect result when collation not involved in match or sort
SERVER-34664: Commands that are unsupported in a transaction should error

4.0.1:
Issues fixed:
SERVER-33000: Platform Support: add Ubuntu 18.04.
SERVER-34933: PCRE verb support.
SERVER-35101: Handle bindIp argument that contains whitespaces.
SERVER-36027: Enterprise build does not recognize the --redactClientLogData flag.
2019-03-05 19:35:58 +00:00
tnn
be0df0bfb5 mongodb: catch up with scons update 2019-01-02 20:25:00 +00:00
adam
5b12b7b592 revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
gavan
142d875d4f mongodb: Mark as unavailable on i386 platforms.
MongoDB since 3.4 has explicitly not supported 32-bit x86 platforms.
As the current package fails to build, let's acknowledge that up front.
2018-09-14 11:04:20 +00:00
tnn
6cad02a023 mongodb: fix botched patchsum 2018-08-29 14:10:47 +00:00
tnn
6d8dbe0ea6 mongodb: fix build w/ boost>=1.66. From upstream. 2018-08-29 14:07:30 +00:00
adam
9d06c0a472 revbump after boost-libs update 2018-08-16 18:54:26 +00:00
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
adam
35aa3efc12 revbump for boost-libs update 2018-04-29 21:31:17 +00:00
adam
983847f667 Revbump after boost update 2018-01-01 21:18:06 +00:00
tnn
51d9334720 mongodb: unbreak previous change
The binary is called mongod, not mongodb.
2017-12-16 17:15:05 +00:00
gdt
66140f2f46 mongodb: Mark bin/mongodb as not MPROTECT safe
As reported by Paul Ripke on pkgsrc-users, and no objection from
$MAINTAINER for days.
2017-11-27 14:06:16 +00:00
tnn
a0f2b84c37 mongodb: fix scons-3.0 compatibility issues 2017-10-08 22:17:06 +00:00
adam
931d707fe2 Revbump for boost update 2017-08-24 20:03:08 +00:00
joerg
d22aaee4d1 Deal with former namespace pollution from libbson. 2017-07-11 19:35:51 +00:00
kamil
99b7ea4110 Correct mongodb build failure on NetBSD 8.99.1
Address <sys/user.h> removal fallout.
2017-06-24 04:24:56 +00:00
ryoon
517bb4e046 Update to 3.4.4
* Disable PaX MPROTECT for bin/mongo

Changelog:
3.4.4 – Apr 21, 2017

Issues fixed:

    SERVER-18794: Add an aggregation operator $objectToArray to convert an object to an array of key, value pairs.
    SERVER-23310: Add an aggregation operator $arrayToObject to convert an array of pairs to an object.
    SERVER-22611: ChunkManager refresh can occasionally cause a full reload.
    3.4.4 Changelog
    All JIRA issues closed in 3.4.4

3.4.3 – Mar 28, 2017

Issues fixed:

    SERVER-27863: Reschedule firing of early alarms in NetworkInterfaceASIO to avoid mongos crash.
    SERVER-28017: $ne should respect collection’s default collation.
    SERVER-27700: Improve WiredTiger performance on secondary when cache is full.
    3.4.3 Changelog
    All JIRA issues closed in 3.4.3

3.4.2 – Feb 1, 2017

Issues fixed:

    SERVER-27125: Arbiters in pv1 should vote no in elections if they can see a healthy primary of equal or greater priority to the candidate.
    SERVER-27584 Add support for filter to listDatabases
    WT-2670 Inefficient I/O when read full DB (poor readahead)
    3.4.2 Changelog
    All JIRA issues closed in 3.4.2

3.4.1 – Dec 20, 2016

Issues fixed:

    SERVER-27124: Disallow readConcern: majority reads on replica set protocolVersion 0 (pv0).
    SERVER-27201: $graphLookup triggers null pointer dereference.
    SERVER-27207: Find operation with a sort on a view via mongos may incorrectly return empty result set.
    SERVER-27213: Two $match pipeline stages can combine incorrectly to produce incorrect results.
    3.4.1 Changelog
    All JIRA issues closed in 3.4.1
2017-05-29 14:44:46 +00:00
ryoon
76884737ca Recursive revbump from boost update 2017-04-30 01:21:19 +00:00
adam
76632718ac Revbump after boost update 2017-01-01 16:05:55 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
ryoon
286a151bcc Fix replaced PREFIX in the patch 2016-10-24 19:25:47 +00:00
ryoon
7cde356086 Update to 3.2.10
* Fix build with boost 1.62.0
* Use fsync(2) instead of fdatasync(2) on NetBSD
  When fdatasync(2) is used, journaling support does not work
  on 7.99.39 and 7.0.1

Changelog:
MongoDB 3.2.10 is out and is ready for production deployment. This release contains only fixes since 3.2.9, and is a recommended upgrade for all 3.2 users.

Fixed in this release:

    SERVER-12048 Calling "service mongod start" with mongod running prevents "service mongod stop" from working
    SERVER-16801 Update considers a change in numerical type to be a noop
    SERVER-20306 75% excess memory usage under WiredTiger during stress test
    SERVER-24885 The systemd MaxTasks feature can prevent mongod from accepting new connections
    SERVER-24971 Excessive memory held by sessions when application threads do evictions
    SERVER-25478 Use wtimeout in sh.setBalancerState
    SERVER-25951 Report additional metrics in getMore slowms logging
    SERVER-25974 Application threads stall for extended period when cache fills
    TOOLS-1429 mongostat panic when monitored server is restarted
    WT-2026 Maximum pages size at eviction too large
    WT-2924 Ensure we are doing eviction when threads are waiting for it
2016-10-10 13:15:39 +00:00
adam
3b88bd43a5 Revbump post boost update 2016-10-07 18:25:29 +00:00
ryoon
3012e8aecc Update to 3.2.9
Changelog: https://docs.mongodb.com/manual/release-notes/3.2-changelog/
3.2.9 Changelog
Security
    SERVER-17856 users on mongods should always be able to run currentOp and killOp on their own operations

Sharding
    SERVER-23958 DBConfig::_loadIfNeeded will not do a reload even in cases where a force reload is needed
    SERVER-24810 Swap movePrimary command for ShardingTest::ensurePrimaryShard
    SERVER-24842 ShardingStateRecovery::recover cleanup should not wait for replication
    SERVER-24892 "Creating first chunks failed: Data inconsistency detected amongst config servers" when using 3.2.3+ without replica set config servers
    SERVER-25029 Segmentation fault in mongos when config servers not available
    SERVER-25052 csrs_upgrade_set_shard_version.js test is racy
    SERVER-25254 Only advance config server optime in response to messages from cluster members
    SERVER-25258 Improve parsing of killOp opID in mongos

Replication
    SERVER-22136 Attach term metadata to UpdatePosition command
    SERVER-23795 master/slave looks at on-disk size on a resync
    SERVER-24630 Mongos erroneously advances config optime for writes that fail write concern
    SERVER-24933 Clean shutdown of secondaries should occur in between oplog batches, not during
    SERVER-25353 Clean shutdown should leave secondaries without the batch-in-progress flag

Query
    SERVER-24693 group7.js should deterministically check for yields
    SERVER-24761 Queries being planned with the subplanner can ignore when the PlanExecutor is killed

Storage
    SERVER-16910 sorth.js makes invalid assumption about order of results

WiredTiger
    SERVER-23659 Provide useful message when wiredTigerJournalCompressor is changed
    SERVER-24334 Support conditional files in WiredTiger builds
    WT-2711 Change statistics log configuration options
    WT-2730 cursor next/prev can return the wrong key/value pair when crossing a page boundary
    WT-2760 Fix a bug in backup related to directory sync. Change the filesystem API to make durable the default
    WT-2798 Crash vulnerability with nojournal after create during checkpoint
    WT-2802 Transaction commit causes heap-use-after free

Operations
    SERVER-20239 Built-in sampling heap profiler
    SERVER-22347 Mongo shell replica set connections must use legacy readMode
    SERVER-22383 mongo shell should permit mongodb:// URI without database name
    SERVER-23069 Improve tcmalloc freelist statistics
    SERVER-23145 Shell sharding helpers should give feedback on success
    SERVER-23409 Add tunability to tcmalloc serverStatus detail
    SERVER-23830 On RHEL7/Centos7 mongod can't stop if pid location in conf differs from the init.d script
    SERVER-24335 Shell sharding helpers should use wtimeout and respond appropriately

Build and Packaging
    SERVER-7285 Support systemd in future compatible distributions
    SERVER-19986 clang-format.py lint fails in mci if files were deleted
    SERVER-21820 Export "endian" option from SConstruct
    SERVER-21830 Import the edit "endian" option in SConscript
    SERVER-24849 Vendor SCons

Tools
    TOOLS-1336 Make -version spit out a bit more information.

Internals
    SERVER-23226 Port resmoke.py's CheckReplDBHash hook to javascript
    SERVER-23306 Check collection attributes during (js) testing
    SERVER-23661 $sample takes disproportionately long time on newly created collection
    SERVER-23902 Failing to create a thread should fail with a useful error message
    SERVER-24073 Update system perf, longevity, and distributed correctness projects to use dedicated work directory
    SERVER-24346 Run jstestfuzz on rhel55-test instead of rhel55
    SERVER-24593 virtualenv used for ese test should not use system-site-package
    SERVER-24716 Remove the CheckReplDBHashDeprecated hook
    SERVER-24758 Move initial_sync suite of tests into its own tasks in sys-perf project
    SERVER-24820 move push tasks to use relevant ec2 distro rather than rhel55
    SERVER-24919 Perf.yml should consistently call pip install in venv
    SERVER-24925 add url_raw field to resmoke
    SERVER-24946 Evergreen.yml test for storageEngineCacheSizeGB cannot use [[ ]]
    SERVER-24990 Update command_line_parsing.js to ignore cacheSizeGB in configuration comparison
    SERVER-25006 Connection Pool ASIO must indicate use separately from non-error
    SERVER-25074 make performance analysis run with log analysis
    SERVER-25146 JS replset dbhash hook fails when checking nindexes with a collection containing a background index
    SERVER-25169 for all branches earlier than master, change rhel55 compile distro to rhel55-large
    SERVER-25193 Update system_perf.yml to simplify patch builds
    SERVER-25198 Increase scons stack size for eslint
    SERVER-25199 performance project: enable time logic for log analysis
    SERVER-25212 work around stale dbhash value on v3.2
    SERVER-25259 Drop temporary databases in dbhash testing hook
    SERVER-25273 Concurrency suite dbHash check should call checkDBHashesFsyncLocked
    SERVER-25274 Make checkDBHashesFsyncLocked from jstests/hooks/check_repl_dbhash.js, an internal function
    SERVER-25302 turn on YCSB throughput analysis for YCSB tasks in sys-perf
    SERVER-25330 Update system_perf.yml to use different test_control file for replica and sharded ycsb
    TOOLS-1079 write_concern_mongos jstests are flaky
    TOOLS-1176 -dumpDbUsersAndRoles without users creates broken dumps
2016-09-26 13:28:14 +00:00
wiz
ad0031c15e Remove python33: adapt all packages that refer to it. 2016-07-09 13:03:30 +00:00
fhajny
81be02dffa Update databases/mongodb to 3.2.7.
3.2.7 Jun 7, 2016

Issues fixed:

SERVER-24054: JS segmentation fault on load of certain NaNs.
SERVER-24058: Connection pool asio doesn't honor setup
              timeouts.
SERVER-24117: Mongo binaries ELF stack has become executable.

3.2.6 Apr 28, 2016

First production release of the in-memory storage engine.

Issues fixed:

SERVER-22970: Background index build may result in extra index key
              entries that do not correspond to indexed documents.
SERVER-22043: mongo shell method count() ignores read preference.

3.2.5 Apr 14, 2016

Issues fixed:

SERVER-22964: IX GlobalLock held while waiting for WiredTiger
              cache eviction.
SERVER-22831: Low query rate with heavy cache pressure and an idle
              collection.
SERVER-21681: Include index size stats for in-memory storage
              engine.
2016-06-17 11:51:07 +00:00
fhajny
a47c57fce5 Update databases/mongodb to 3.2.4.
- Fixed issue with setting optime when running with journaling
  disabled
- Have read concern majority reflect journaled state on
  the primary
- Fixed issue where specifying replication.enableMajorityReadConcern
  implied true regardless of the actual boolean value
- Fixed issue causing segfault when running aggregation that
  includes $lookup
2016-03-13 20:50:53 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
fhajny
8f2f48a8cb Add note about databases/wiredtiger 2016-02-26 16:03:09 +00:00
fhajny
a191fba8b9 Make wiredtiger an option, only make it available on 64bit platforms. 2016-02-26 12:33:26 +00:00
fhajny
3b4ab330fe Update databases/mongodb to 3.2.3.
Use yaml-cpp and zlib dependencies in place of bundled copies.

Notable changes:
- Fixed issue with MMAPv1 journaling where the "last sequence number"
  file (lsn file) may be ahead of what is synced to the data files
- Fixed issue where in some cases, insert operations fails to add
  the _id field to large documents
- Increased timeout for querying oplog to 1 minute

Full changelog:

https://docs.mongodb.org/manual/release-notes/3.2-changelog/
2016-02-22 11:35:34 +00:00
ryoon
48c47a8d02 Update to 3.2.1
* Change JavaScript engine from V8 to SpiderMonkey.

Changelog:
3.2.1 – Jan 12, 2016

    Fixed error where during a regular shutdown of a replica set, secondaries may mark certain replicated but yet to be applied operations as successfully applied: SERVER-21868.
    Improve insert workload performance with WiredTiger on Windows: SERVER-20262.
    Fixed long-running transactions during chunk moves: SERVER-21366
    All issues closed in 3.2.1

3.0.9 – Jan 26, 2016

    Fixed issue where queries which specify sort and batch size can return results out of order if documents are concurrently updated. SERVER-19996
    Fixed performance issue where large amounts of create and drop collections can cause listDatabases to be slow under WiredTiger. SERVER-20961
    Modified the authentication failure message to include the client IP address. SERVER-22054
    All issues closed in 3.0.9

3.0.8 – Dec 15, 2015

    Fixed issue where findAndModify on mongos can upsert to the wrong shard. SERVER-20407.
    Fixed WiredTiger commit visibility issue which caused document not found. SERVER-21275.
    Fixed issue where the oplog can grow to 3x configured size. SERVER-21553
    All issues closed in 3.0.8
2016-02-12 03:37:24 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
agc
efd9ad4549 Remove duplicate SHA512 digests that crept in. 2015-11-04 17:41:15 +00:00
agc
d549bff9a5 Add SHA512 digests for distfiles for databases category
Problems found with existing distfiles:
	distfiles/D6.data.ros.gz
	distfiles/cstore0.2.tar.gz
	distfiles/data4.tar.gz
	distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:56:09 +00:00
ryoon
bf5ce919c1 Update to 3.0.7
Changelog:
3.0.7 – Oct 13, 2015

    Improvements to WiredTiger memory handling and performance: SERVER-20159, SERVER-20204, SERVER-20091, and SERVER-20176.
    Fixed issue where replica set nodes will not step down: SERVER-19464.
    Additional privileges for built-in roles: SERVER-19131, SERVER-15893, and SERVER-13647.
    All issues closed in 3.0.7
2015-10-18 05:45:37 +00:00