[MONGOCRYPT-173] Update Java binding build process to use libmongocrypt with no native crypto Created: 11/Jul/19  Updated: 28/Oct/23  Resolved: 18/Jul/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to PYTHON-1925 Add libmongocrypt cypto hooks Closed
Epic Link: Build libmongocrypt library

 Description   

Once we get rid of the OpenSSL dependency requirement in libmongocrypt by implementing the crypt callbacks in the java bindings, we can ship a single jar with a single linux-x86-64 mongocrypt.so file inside of it.

Also update the build process for the main mongocrypt jar file to use the version of mongocrypt library with no native crypto.



 Comments   
Comment by Githook User [ 18/Jul/19 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}

Message: Use the RHEL 6.2 build for linux-x86-64

CDRIVER-3231
Branch: master
https://github.com/mongodb/libmongocrypt/commit/30bfe9b7010ad0c18fb6e0cc924cff22c1d02b23

Comment by Githook User [ 18/Jul/19 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}

Message: Remove dependency between publish-snapshot and rhel-70 build

CDRIVER-3231
Branch: master
https://github.com/mongodb/libmongocrypt/commit/9225d3358b4d8bed95a6c38cf4143c5159c474f1

Comment by Githook User [ 18/Jul/19 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}

Message: Rely on nocrypto builds of libmongocrypt

  • Remove classifier jars, since we only need a single .so per arch
  • Include the nocrypt builds of libmongocrypt both locally and from the
    tar.gz file

CDRIVER-3231
Branch: master
https://github.com/mongodb/libmongocrypt/commit/dc108e89e5323181a7ba6092138194e877e90de8

Comment by Jeffrey Yemin [ 18/Jul/19 ]

https://github.com/mongodb/libmongocrypt/pull/31

Comment by Jeffrey Yemin [ 18/Jul/19 ]

I'm going to open a separate ticket for support of the other architectures.

Comment by Kevin Albertson [ 16/Jul/19 ]

We'll also need libmongocrypt built for s390x, powerpc, and arm64.

Generated at Thu Feb 08 09:08:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.