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.13.0 -> 3.15.0 #41656

Merged
merged 1 commit into from Jun 8, 2018
Merged

wolfssl: 3.13.0 -> 3.15.0 #41656

merged 1 commit into from Jun 8, 2018

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Jun 8, 2018

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 743136566213f093ef80540352b26857ce29ed8b && 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.0 in filename of file in /nix/store/gx03mc7m4r07ybly7san7xk3v17pm264-wolfssl-3.15.0
- directory tree listing: https://gist.github.com/79fbf246bbacf1d8014bee57d274625a
- du listing: https://gist.github.com/1f19919b71d52208a236a55cf066a003
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: wolfssl

Partial log (click to expand)

strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ql814f840jbn9g9i0wn38jpdlpcsv06f-wolfssl-3.15.0-dev/lib  /nix/store/ql814f840jbn9g9i0wn38jpdlpcsv06f-wolfssl-3.15.0-dev/bin
patching script interpreter paths in /nix/store/ql814f840jbn9g9i0wn38jpdlpcsv06f-wolfssl-3.15.0-dev
/nix/store/ql814f840jbn9g9i0wn38jpdlpcsv06f-wolfssl-3.15.0-dev/bin/wolfssl-config: interpreter directive changed from " /bin/sh" to "/nix/store/9gghkkqhn6v7dvpf2319qvrxkkw03vwr-bash-4.4-p19/bin/sh"
strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/c4chj5mff894ds4wkpqgfj51v4ylz9z8-wolfssl-3.15.0-doc
strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/n7fksb0ds2rk993w1ihwyibqlp0ib886-wolfssl-3.15.0-lib/lib
patching script interpreter paths in /nix/store/n7fksb0ds2rk993w1ihwyibqlp0ib886-wolfssl-3.15.0-lib
/nix/store/1v1wrkfybp0djhffhx3zdzpxpha0dh17-wolfssl-3.15.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: wolfssl

Partial log (click to expand)

strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/far4vwhff60hxs5lfw6gbzzy81mhx6h2-wolfssl-3.15.0-doc
checking for references to /build in /nix/store/far4vwhff60hxs5lfw6gbzzy81mhx6h2-wolfssl-3.15.0-doc...
shrinking RPATHs of ELF executables and libraries in /nix/store/g63wnbwdw3z1jnyxrv8bgg0jjmkm4ybz-wolfssl-3.15.0-lib
shrinking /nix/store/g63wnbwdw3z1jnyxrv8bgg0jjmkm4ybz-wolfssl-3.15.0-lib/lib/libwolfssl.so.17.0.0
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g63wnbwdw3z1jnyxrv8bgg0jjmkm4ybz-wolfssl-3.15.0-lib/lib
patching script interpreter paths in /nix/store/g63wnbwdw3z1jnyxrv8bgg0jjmkm4ybz-wolfssl-3.15.0-lib
checking for references to /build in /nix/store/g63wnbwdw3z1jnyxrv8bgg0jjmkm4ybz-wolfssl-3.15.0-lib...
/nix/store/gx03mc7m4r07ybly7san7xk3v17pm264-wolfssl-3.15.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: wolfssl

Partial log (click to expand)

strip is /nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/m9i3wc77bp6zx5raaqyckclskx1nf5nx-wolfssl-3.15.0-doc
checking for references to /build in /nix/store/m9i3wc77bp6zx5raaqyckclskx1nf5nx-wolfssl-3.15.0-doc...
shrinking RPATHs of ELF executables and libraries in /nix/store/fzaccfc877gra8fbznvwjicp5nsspzyh-wolfssl-3.15.0-lib
shrinking /nix/store/fzaccfc877gra8fbznvwjicp5nsspzyh-wolfssl-3.15.0-lib/lib/libwolfssl.so.17.0.0
strip is /nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fzaccfc877gra8fbznvwjicp5nsspzyh-wolfssl-3.15.0-lib/lib
patching script interpreter paths in /nix/store/fzaccfc877gra8fbznvwjicp5nsspzyh-wolfssl-3.15.0-lib
checking for references to /build in /nix/store/fzaccfc877gra8fbznvwjicp5nsspzyh-wolfssl-3.15.0-lib...
/nix/store/ly4zlbz29y42q3783m2fsvx18kzndd0g-wolfssl-3.15.0

@mcmtroffaes
Copy link
Contributor

Thanks for the update! For testing I recompiled curl against wolfssl using the following shell.nix:

with import <nixpkgs> {};
let
  curlwolfssl = (curl.override {
    openssl = wolfssl;
  }).overrideDerivation (oldAttrs: {
    configureFlags =
      (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

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.

@ryantm
Copy link
Member

ryantm commented Jun 8, 2018

Thanks for testing the update, @mcmtroffaes! Do you approve of these changes (are you happy for this to be merged in)?

@Mic92 Mic92 merged commit e5eb5b5 into NixOS:master Jun 8, 2018
@r-ryantm r-ryantm deleted the auto-update/wolfssl branch June 8, 2018 13:47
@mcmtroffaes
Copy link
Contributor

Thanks @ryantm !

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

5 participants