Commit graph

54 commits

Author SHA1 Message Date
Ronald Klop
81e626be7f
databases/mongodb50: update to 5.0.31
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0-changelog/#std-label-5.0.31-changelog

Upstream releases new versions after the announced EOL date so I postponed
the expiration date by 3 months.
2025-01-30 13:01:36 +01:00
Ronald Klop
96ab663bbf
databases/mongodb50: update to 5.0.30
changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.30---oct-24--2024

Security:	CVE-2024-10921
2024-11-22 23:35:58 +01:00
Ronald Klop
abe39441c2
databases/mongodb50: stick to <= llvm18 on FreeBSD 15
build is broken with llvm19

fixes:
[00:35:47] In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp:2:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.cpp:7:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:10:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.h:14:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:22:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/gc/Zone.h:18:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:27:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/frontend/NameCollections.h:13:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/Stack.h:23:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/JSJitFrameIter.h:15:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSFunction.h:17:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSScript.h:31:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/SharedImmutableStringsCache.h:21:
[00:35:48] src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h:124:33: error: reference to non-static member function must be called
[00:35:48]   124 |       : lock_(mozilla::Move(rhs.lock))
[00:35:48]       |                             ~~~~^~~~
2024-10-29 08:52:04 +01:00
Ronald Klop
9271e3185f
databases/mongodb50: update to 5.0.29
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.29---sep-30--2024
2024-10-01 21:56:57 +02:00
Ronald Klop
3f41069bec
databases/mongodb50: deprecate, EOL from October 2024
See https://www.mongodb.com/legal/support-policy/lifecycles.
Please use databases/mongodb60.

There are no ports dependent upon this port.

See UPDATING for instructions on upgrading.
2024-09-27 15:04:30 +02:00
Ronald Klop
0d2c09e668
databases/mongodb50: update to 5.0.28 and add do-test
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.28---jul-09--2024

do-test:
The port has had situations in which the code compiled, but the
executables did not work. Try to catch this early with make test.
2024-07-10 11:47:15 +02:00
Po-Chuan Hsieh
1a80ec7c22
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change
2024-07-07 16:05:33 +08:00
Jason E. Hale
ad593a9d4d */*: Add ${PY_SETUPTOOLS} to BUILD_DEPENDS
Fix build when setuptools is removed from RUN_DEPENDS in
Mk/Uses/python.mk.

PR:		270510
Approved by:	portmgr (blanket)
2024-06-29 01:02:34 -04:00
Ronald Klop
306226b3a1
databases/mongodb50: update to 5.0.27
changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.27---jun-04--2024

- distfiles are not distributed in the "old" way anymore so switch
  to github. I couldn't find an official remark about this and my
  question on the MongoDB forum is unanswered.
  https://www.mongodb.com/community/forums/t/mongodb-5-0-27-is-released/283806/2?u=r_k
  NB: mongodb60 and mongodb70 already get the source via github.
- tweak the comment and pkg-descr to use words upstream uses.
2024-06-25 11:39:08 +02:00
Daniel Engberg
5d8c7870e1
databases/mongodb50: Convert post-patch to EXTRACT_AFTER_ARGS
Saves I/O by not extracting bundled deps

PR:	278758
2024-05-19 20:12:33 +02:00
Ronald Klop
1707c0aac8
databases/mongodb50: enable non-AVX CPUs by default
By popular demand as this port is used by net-mgmt/unifi8.

I couldn't find any information on the internet that the binary really
does something which requires AVX. For example this discussion:
https://github.com/turnkeylinux/tracker/issues/1724

PR:	277990
Requested by:	glebius@
2024-04-25 13:54:45 +02:00
Ronald Klop
9220f0b112
databases/mongodb50: turn off LTO
After upgrading snappy 1.1.0 -> 1.2.0, mongodb50 fails to start:

ld-elf.so.1: /usr/local/bin/mongod: Undefined symbol "_ZN6snappy8CompressEPKcmPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE"

Apparentally turning off LTO fixes this.

PR:	278254
2024-04-08 19:16:25 +02:00
Ronald Klop
e749baafd1
databases/mongodb50: update to 5.0.26
changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.26---mar-26--2024
2024-03-28 09:26:49 +01:00
Ronald Klop
7a4e291e50
databases/mongodb50: update to 5.0.25
changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.25---february-28--2024

Security:       CVE-2024-1351 Improper Certificate Validation
2024-03-20 21:04:34 +01:00
Dima Panov
db616534ff
devel/boost: bump consumers after library update 2024-02-13 17:44:22 +03:00
Ronald Klop
bc7d0baa55
databases/mongodb50: update to 5.0.24
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.24---jan-18--2024

- version bump
- only build the community edition. Skip "enterprise" module. Similar as: mongodb44 in d68520a06c
- poudriere stage-qa: ok (aarch64)
2024-01-25 09:41:08 +01:00
Ronald Klop
35b02b6543
databases/mongodb50: update to 5.0.23
changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.23---nov-27--2023

version bump
poudriere stage-qa: ok (on aarch64)
2023-12-02 12:01:43 +01:00
Ronald Klop
38c7b81387
databases/mongodb50: update to 5.0.22
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.22---october-26--2023

version bump
poudriere stage-qa: ok
2023-11-10 09:56:13 +01:00
Dima Panov
21d8008e86
devel/boost*: bump all consumers after 1.83.0 2023-09-27 17:36:30 +03:00
Ronald Klop
4a935f8b1f
databases/mongodb50: update to 5.0.21
Changes: https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.21---september-12--2023

version bump
poudriere stage-qa: ok
2023-09-21 11:20:37 +02:00
Ronald Klop
dc8ecdfe14
databases/mongodb50: update 5.0.20
Changes: https://www.mongodb.com/docs/manual/release-notes/5.0/

* trivial version bump
* pet portclippy
* poudriere stage-qa: ok
2023-08-13 10:15:02 +02:00
Ronald Klop
3ed2298fd6
databases/mongodb50: upgrade to 5.0.19
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.19---jul-13--2023

* trivial version bump
* poudriere stage-qa: ok
2023-07-24 09:09:49 +02:00
Ronald Klop
7711191a2a
databases/mongodb50: fix build with llvm16/clang16
* BOOST_NO_CXX98_FUNCTION_BASE fixes:
In file included from src/third_party/boost/boost/functional/hash.hpp:6:
src/third_party/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
        struct hash_base : std::unary_function<T, std::size_t> {};
                           ~~~~~^~~~~~~~~~~~~~
                                __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^

* And "#if 1" fixes:

In file included from src/third_party/boost/boost/mpl/integral_c.hpp:32:
src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:73:31: error:
integer value -1 is outside the valid range of values [0, 3] for the enumeration
type 'lock_access_mode' [-Wenum-constexpr-conversion]
    typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE,
(value - 1)) ) prior;

PR:	272295
2023-07-02 20:58:49 +02:00
Rene Ladan
3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00
Ronald Klop
9bfbcf1d74
databases/mongodb50: update to 5.0.18
trivial version bump
poudriere stage-qa:ok

Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.18---may-18--2023
2023-06-08 10:26:00 +02:00
Ronald Klop
09731f9309
databases/mongodb50: update to 5.0.17
changelog:
https://www.mongodb.com/docs/manual/release-notes/5.0/
2023-05-02 22:15:26 +02:00
Dima Panov
3e45e8e244
*/*: bump all direct Boost cunsumers 2023-04-27 21:25:55 +03:00
Ronald Klop
cb83106ca2
databases/mongodb50: update to 5.0.16
changelog:
https://www.mongodb.com/docs/manual/release-notes/5.0/

Please read the release notes: Some past releases have critical issues.

Followed an upstream chagne in mongod.conf about removal of 2 settings. See UPDATING.
2023-04-17 00:17:45 +02:00
Ronald Klop
d04cd83954
databases/mongodb50: use in-source boost
Does not compile with new boost 1.81.0 from ports.

PR:	269024
Approved by: rene (mentor)
Differential Revision: https://reviews.freebsd.org/D38134
2023-01-20 14:15:01 +01:00
Dima Panov
e1287d0d12 */*: bump libboost*.so libraries consumert after Boost upgrade 2023-01-16 22:32:07 +03:00
Borja Marcos
fb2179e940
databases/mongodb50: optionally support pre-AVX CPUs
Upstream defaults to Sandybridge+ CPUs for amd64.
It is reported to still work with older CPUs.
No revision bump as the change does not impact the default build.

PR:	268510
Approved by: rene (mentor)
Differential Revision: https://reviews.freebsd.org/D37924
2023-01-03 13:05:18 +01:00
Ronald Klop
f6739404a2
databases/mongodb50: update to 5.0.14
Changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.14---nov-21--2022

Approved by: pkubaj (mentor)
Differential Revision: https://reviews.freebsd.org/D37494
2022-11-26 21:27:29 +01:00
Ronald Klop
ad19911beb
databases/mongodb50: update to 5.0.13
changes:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.13---sep-29--2022

* use llvm-ar instead of binutils ar similar to mongodb60

Test Plan: poudriere stage-qa ok on aarch64/14

Approved by: rene (mentor)
Differential Revision: https://reviews.freebsd.org/D37384
2022-11-18 12:00:46 +01:00
Ronald Klop
54fd3ec017 databases/mongodb50: update to 5.0.12
ChangeLog:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.12---sep-05--2022

 * Add new implicitlyCreateIndex and enforceUniquenessCheck to shardCollection
   command
 * Add new enforceUniqueness to refineCollectionShardKey command
 * Add addl. activation condition for
   interruptBeforeProcessingPrePostImageOriginatingOp fail point
 * A retry of _configSvrReshardCollection can succeed causing
   resharding_coordinator_recovers_abort_decision.js to fail
 * A retry of _shardsvrReshardCollection can cause DuplicateKey error
   (resharding_nonblocking_coordinator_rebuild.js)

PR:		266293
Reported by:	ronald-lists@klop.ws (maintainer)
2022-09-12 22:01:07 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Ronald Klop
a751920c8e databases/mongodb50: Update to 5.0.11
Re-enable LTO on FreeBSD 14 (aarch64) as it now compiles using LLVM 14

Changelog: https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.11---aug-19--2022

PR:		266012
2022-08-26 21:12:20 +02:00
Daniel Engberg
cdca8109d6 databases/mongodb50: Use more external libraries
Make use of following libraries in tree:
devel/boost-libs
textproc/snowballstemmer
devel/libunwind
devel/yaml-cpp
archivers/zstd

While at it remove mtune option on amd64 as it potentially overrides
CPUTYPE set by ports framework

References:
[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-4.4.1-boost.patch
    https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch

PR:		265210
Reviewed by:	Ronald Klop <ronald-lists@klop.ws> (maintainer)
2022-08-15 22:27:40 +02:00
Ronald Klop
7c57fa58d1 databases/mongodb50: Update to 5.0.10
ChangeLog:	https://www.mongodb.com/docs/manual/release-notes/5.0/
PR:		265531
2022-07-31 16:13:06 +01:00
Daniel Engberb
0aabc02be1 databases/mongodb50: Disable LTO by default.
Building mongo with LTO enabled takes a ridiculously amount of memory
(32GB in amd64).
Disable -ggdb so memory requirements don't sky rocket (around 10-12GB)

PR:     264340
Reported by:    ulassayginim@gmail.com
Approved by:	ronald-lists@klop.ws (maintainer)
2022-07-16 17:11:58 +02:00
Stefan Eßer
da00957fbe Fix CONFLICTS_INSTALL in the databases category
Approved by:	portmgr (implicit)
2022-06-29 17:57:40 +02:00
Ronald Klop
af13f94fea databases/mongodb50: Update to 5.0.9
ChangeLog: https://github.com/mongodb/mongo/releases/tag/r5.0.9

 * Remove limits on number of LDAP connections per host
 * Detect namespace changes when refreshing Collection after yielding
 * Sharding an empty collection releases the critical section too early
 * Mongos fails to attach RetryableWrite Error Label For Command Interrupted
   In _parseCommand
 * Fix search near returning wrong key/value sometimes when key doesn't exist

PR:	264341
Reported by:	ulassayginim@gmail.com
MFH:	2022Q2 (many bugfixes)
2022-06-17 07:27:06 +02:00
Ronald Klop
867751717c databases/mongodb50: update to 5.0.7
Changes: https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.7---april-11--2022

PR:	263235
2022-04-20 08:30:41 -07:00
Ronald Klop
0dfb70c647 databases/mongodb50: Update to 5.0.6
- Fix PORTSCOUT; mongo changed versioning policy
- Document llvm13 as not working with LTO on aarch64 either

Changelog:	https://docs.mongodb.com/manual/release-notes/5.0-changelog/#5.0.6-changelog

PR:		261533
2022-01-29 05:05:48 -05:00
Ronald Klop
8d35ca7745 databases/mongodb50: update to 5.0.5
Changelog:
https://docs.mongodb.com/manual/release-notes/5.0-changelog/#std-label-5.0.5-changelog

PR:		259828
Approved by:	ronald-lists@klop.ws (maintainer)
2021-12-09 23:11:57 +01:00
Alexey Dokuchaev
61b6613393 Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.

While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
2021-10-25 12:58:29 +00:00
Ronald Klop
4188e64d9c databases/mongodb50: Update to 5.0.3
* Enable LSE atomics on 14-CURRENT aarch64
* Pet portlint and portclippy
* Reformat Makefile with portfmt

ChangeLog:	https://docs.mongodb.com/manual/release-notes/5.0-changelog/#5.0.3-changelog
PR:		258978
Approved by:	meta (mentor)
Differential Revision:	https://reviews.freebsd.org/D32391
2021-10-25 16:12:16 +09:00
Jimmy Olgeni
4460cf727a *: fix tab vs. space issues, and comments according to the guide. 2021-10-16 11:51:39 +02:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Ronald Klop
77c5529691 databases/mongodb50: Fix build failure with scons 4.2.0 by using in source scons 3.1.2
- Fix scons by using in source scons 3.1.2 (They are planning to move to Scons
    4.2.0 in the future)
  - Disable LTO on clang12/aarch64, bug #257765
  - Build already installs in $STAGEDIR, so only strip in do-install.
  - Fix a portlint warnings about the comment at the LICENSE section.

PR:		257925
2021-08-28 15:42:10 +02:00