We are deploying an application utilizing mongodb+srv:// uris, and it would be nice to be able to use the default binary package for this. --- a/devel/mongo-c-driver/Makefile +++ b/devel/mongo-c-driver/Makefile @@ -33,7 +33,7 @@ CMAKE_OFF= BUILD_TESTING \ OPTIONS_DEFINE= CRYPTOPROFILE DOCS ICU MONGODBAWS RDTSCP SASL SNAPPY \ SRV SSL ZSTD -OPTIONS_DEFAULT= SSL +OPTIONS_DEFAULT= SRV SSL OPTIONS_SUB= yes CRYPTOPROFILE_DESC= Use system crypto profile (requires OpenSSL)
It is OK for me :-))) As I understand you have patch which covers this new knob?
(In reply to Krzysztof from comment #1) Just the OPTIONS_DEFAULT change shown above. Do you believe something more is necessary? I didn't bother with an attachment since it's so trivial, if that's what you're getting at. Thanks...
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef680967ddb686418f7936a08ff518184fdc1fc7 commit ef680967ddb686418f7936a08ff518184fdc1fc7 Author: Jason W. Bacon <jwb@FreeBSD.org> AuthorDate: 2025-09-21 23:23:16 +0000 Commit: Jason W. Bacon <jwb@FreeBSD.org> CommitDate: 2025-09-21 23:25:35 +0000 devel/mongo-c-driver: Enable SRV option by default Adds support for mongodb+srv:// uris PR: 289732 Approved by: ports@bsdserwis.com devel/mongo-c-driver/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)