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

libreswan: 3.32 -> 4.1 [DRAFT for others to pick up] #111320

Closed
wants to merge 1 commit into from

Conversation

iblech
Copy link
Contributor

@iblech iblech commented Jan 30, 2021

Motivation for this change

A new major version of libreswan has been released.

Things done

I fixed some of the problems, but not using libreswan myself I lost tuits when encountering the following problem:

../OBJ.linux.x86_64/configs/block -> /nix/store/lvpqg6bqgvpm4ngz47wpwx7khlxj4j58-libreswan-4.1/etc/ipsec.d/policies/block
../OBJ.linux.x86_64/configs/portexcludes.conf -> /nix/store/lvpqg6bqgvpm4ngz47wpwx7khlxj4j58-libreswan-4.1/etc/ipsec.d/policies/portexcludes.conf
mkdir: cannot create directory '/etc/pam.d/': Permission denied
install: cannot create regular file '/etc/pam.d/pluto': No such file or directory
make[2]: *** [Makefile:48: local-install-base] Error 1
make[1]: *** [../mk/targets.mk:73: install-base] Error 2
make[1]: Leaving directory '/build/libreswan-4.1/configs'
make: *** [/build/libreswan-4.1/mk/targets.mk:73: recursive-install-base] Error 2
builder for '/nix/store/i0rfjis0dryp57ibyk4z1h02yg5c0hv7-libreswan-4.1.drv' failed with exit code 2
error: build of '/nix/store/i0rfjis0dryp57ibyk4z1h02yg5c0hv7-libreswan-4.1.drv' failed

This is probably not too hard to fix, but I don't have the time for that.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented May 19, 2021

Superseded by #123254.

@rnhmjoj rnhmjoj closed this May 19, 2021
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

2 participants