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

wolfssl: 3.15.0 -> 3.15.3 #42670

Merged
merged 1 commit into from Jun 29, 2018
Merged

wolfssl: 3.15.0 -> 3.15.3 #42670

merged 1 commit into from Jun 29, 2018

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/wolfssl/versions.

These checks were done:

meta.description for wolfssl is: '"A small, fast, portable implementation of TLS/SSL for embedded devices"'.

cc @mcmtroffaes for testing.

Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:

One time setup in nixpkgs Git checkout:

cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:

git fetch r-ryantm && git checkout 889223acf52079c26b9ab69532396d2cea404185 && nix-shell --pure -I nixpkgs=. -p wolfssl

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/wolfssl/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 3.15.3 in filename of file in /nix/store/64hjsmi2gzinf6qn0dfs16c3zzi4rfpx-wolfssl-3.15.3
- directory tree listing: https://gist.github.com/f48303498f02ef2dc587368e1b17a323
- du listing: https://gist.github.com/db2ab599e28e35132df0568d69c7f4c8
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: wolfssl

Partial log (click to expand)

strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/bpxw1ypcnbj96byvz9ghj4l0mh23m7f1-wolfssl-3.15.3-doc
checking for references to /build in /nix/store/bpxw1ypcnbj96byvz9ghj4l0mh23m7f1-wolfssl-3.15.3-doc...
shrinking RPATHs of ELF executables and libraries in /nix/store/8j5yxmcz50fxlp3dcgryp4c1wfnh919c-wolfssl-3.15.3-lib
shrinking /nix/store/8j5yxmcz50fxlp3dcgryp4c1wfnh919c-wolfssl-3.15.3-lib/lib/libwolfssl.so.18.0.0
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8j5yxmcz50fxlp3dcgryp4c1wfnh919c-wolfssl-3.15.3-lib/lib
patching script interpreter paths in /nix/store/8j5yxmcz50fxlp3dcgryp4c1wfnh919c-wolfssl-3.15.3-lib
checking for references to /build in /nix/store/8j5yxmcz50fxlp3dcgryp4c1wfnh919c-wolfssl-3.15.3-lib...
/nix/store/64hjsmi2gzinf6qn0dfs16c3zzi4rfpx-wolfssl-3.15.3

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: wolfssl

Partial log (click to expand)

strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/yx7prl3wwi2higd8b2d28iza612s67b7-wolfssl-3.15.3-dev/lib  /nix/store/yx7prl3wwi2higd8b2d28iza612s67b7-wolfssl-3.15.3-dev/bin
patching script interpreter paths in /nix/store/yx7prl3wwi2higd8b2d28iza612s67b7-wolfssl-3.15.3-dev
/nix/store/yx7prl3wwi2higd8b2d28iza612s67b7-wolfssl-3.15.3-dev/bin/wolfssl-config: interpreter directive changed from " /bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/cl6f8vmiyq965n8jnb222ii5ca5xknxa-wolfssl-3.15.3-doc
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/scl0vxzvc4c12rbisxk9zrwznbzlkhdw-wolfssl-3.15.3-lib/lib
patching script interpreter paths in /nix/store/scl0vxzvc4c12rbisxk9zrwznbzlkhdw-wolfssl-3.15.3-lib
/nix/store/ki8sm6svby2acw7an622hkf0rnzfgbnf-wolfssl-3.15.3

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: wolfssl

Partial log (click to expand)

strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/kkrvn7nyfjmr4jv4xg3xfmh36d96l913-wolfssl-3.15.3-doc
checking for references to /build in /nix/store/kkrvn7nyfjmr4jv4xg3xfmh36d96l913-wolfssl-3.15.3-doc...
shrinking RPATHs of ELF executables and libraries in /nix/store/iqvr0y2dhhc8xc80kdxs528yqwknw5z0-wolfssl-3.15.3-lib
shrinking /nix/store/iqvr0y2dhhc8xc80kdxs528yqwknw5z0-wolfssl-3.15.3-lib/lib/libwolfssl.so.18.0.0
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/iqvr0y2dhhc8xc80kdxs528yqwknw5z0-wolfssl-3.15.3-lib/lib
patching script interpreter paths in /nix/store/iqvr0y2dhhc8xc80kdxs528yqwknw5z0-wolfssl-3.15.3-lib
checking for references to /build in /nix/store/iqvr0y2dhhc8xc80kdxs528yqwknw5z0-wolfssl-3.15.3-lib...
/nix/store/66s6i48n7qy33b4xsvvzsn79mq6f44lw-wolfssl-3.15.3

@mcmtroffaes
Copy link
Contributor

Looks good to me, thanks for this automated update!

No package currently depends on wolfssl, so for testing I recompiled curl against wolfssl using the following shell.nix:

with import <nixpkgs> {};
let
  curlwolfssl = (curl.override {
    openssl = wolfssl;
  }).overrideDerivation (oldAttrs: {
    configureFlags =
      # --with-ca-fallback does not work with wolfssl
      (builtins.filter (x: x != "--with-ca-fallback") oldAttrs.configureFlags)
      ++ ["--with-cyassl=${wolfssl}"];
  });
in
{
  my-env = stdenv.mkDerivation {
    name = "my-env";
    buildInputs = [
      curlwolfssl
    ];
  };
}

I tested the resulting curl binary and compared its output against my local curl binary provided by Fedora:

curl -2 https://nixos.org
curl https://nixos.org > 1.txt
/usr/bin/curl https://nixos.org > 2.txt
diff 1.txt 2.txt

The first line gives an error message "curl: (35) CyaSSL does not support SSLv2" confirming that CyaSSL - which is the old name for wolfssl still referred to by curl - is indeed used. Diff of output of local curl and this new curl shows identical outputs as expected.

@xeji
Copy link
Contributor

xeji commented Jun 29, 2018

Thanks for testing!

@xeji xeji merged commit c9362d5 into NixOS:master Jun 29, 2018
@r-ryantm r-ryantm deleted the auto-update/wolfssl branch July 1, 2018 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants