Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cstruct to 4.0 and its dependents #387

Merged
merged 3 commits into from
May 22, 2019

Conversation

psafont
Copy link
Member

@psafont psafont commented May 15, 2019

nocrypto has been changed to have the same patches as the default opam repository. The only difference is that the flag "--accelerate" "false" was kept.

cstruct-sexplib has been added as it's needed by x509.0.6.3. It looks like it's next version is going to break API and also drop the dependency.

psafont added 3 commits May 15, 2019 10:26
This is necessary to support newer cstruct packages without importing
the full history of the nocrypto, as it hasn't had a release for more
than 2 years. The compile option to disallow hardware acceleration has
been kept from our previous package definition.

Signed-off-by: Pau Ruiz Safont <[email protected]>
also update x509 to 0.6.3 as it needs to be updated at the same time
"0003-Auto-detect-ppx_sexp_conv-runtime-library.patch"
"0004-pack-package-workaround-ocamlbuild-272.patch"
"0005-use-modern-cstruct-findlib.patch"
"0006-explicit-dependency-on-sexplib.patch"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package has accumulated quite a few packaging patches, looks like upstream hasn't made a release (or merged PRs) in quite a while

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the latest release was done in 2017, master was last updated on February. The PR for porting the build system to dune got stuck on early April: mirleft/ocaml-nocrypto#158

@lindig lindig merged commit 74c998d into xapi-project:master May 22, 2019
@psafont psafont deleted the cstruct-update branch May 22, 2019 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants