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

iputils: 20190515 -> 20190709 #64554

Merged
merged 1 commit into from Jul 17, 2019
Merged

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jul 10, 2019

Motivation for this change

https://github.com/iputils/iputils/releases/tag/s20190709

See release notes for details,
but of particular note is that
this expression is now quite simpler
due to the following:

  • ninfod now builds w/nettle!
  • update includes patches we fetched from upstream
  • cross should be handled now, during move to meson
    • prelim testing confirms, meson makes it much easier
      to get things right re:explanation given in comment
      (not propagating host/target info)

This also means our iputils is openssl-free,
which if nothing else is a nice reduction in trans. size :).
(quick imperfect comparison shows:
39MB -> 35MB w/glibc
11.4 -> 7.9 w/musl
)

Last outstanding issue in my mind re:this is to check what was broken
re:musl and idn2 previously and ensure it wasn't something that only
appeared at runtime. I believe it wouldn't compile but just want to
check-- anyway it compiles and seems to work now so, hooray! \o/

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
    • clients mostly and hardly exhaustively tested :)
  • 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.

https://github.com/iputils/iputils/releases/tag/s20190709

See release notes for details,
but of particular note is that
this expression is now quite simpler
due to the following:

* ninfod now builds w/nettle!
* update includes patches we fetched from upstream
* cross should be handled now, during move to meson
  * prelim testing confirms, meson makes it much easier
    to get things right re:explanation given in comment
    (not propagating host/target info)
* issue re:musl+idn2 appears resolved re:compilation,
  but results in unclear runtime errors regarding
  "invalid flags".  Keep disabled as before as this
  is clearer at the expression level and reports
  failure to resolve instead which is a bit clearer.
  (testing with systemd-less iputils)

This also means our iputils is openssl-free,
which if nothing else is a nice reduction in trans. size :).
(quick imperfect comparison shows:
  39MB -> 35MB w/glibc
  11.4 -> 7.9 w/musl
)

iputils: nvm no IDN w/musl

iputils: nvm keep idn disabled w/musl
@dtzWill
Copy link
Member Author

dtzWill commented Jul 10, 2019

No dice re:musl, my mistake. Still, goodness to be had! :)

@primeos
Copy link
Member

primeos commented Jul 10, 2019

@dtzWill: Thanks :) The diff LGTM and the expression is finally a bit cleaner 🎉

Unfortunately I'm a bit short on time and cannot really test it extensively atm but from you comments everything seems to be fine and ready to merge.

@lheckemann
Copy link
Member

@GrahamcOfBorg test networking

@FRidh FRidh changed the base branch from master to staging July 17, 2019 08:28
@FRidh FRidh merged commit d5dc9a2 into NixOS:staging Jul 17, 2019
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