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

miniupnpc: 2.2.7 -> 2.2.8 , support static build #325273

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

nagy
Copy link
Member

@nagy nagy commented Jul 7, 2024

Description of changes

New release

https://github.com/miniupnp/miniupnp/releases/tag/miniupnpc_2_2_8

and support building with pkgsStatic.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Copy link
Member

@fpletz fpletz left a comment

Choose a reason for hiding this comment

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

LGTM. Confirmed that the removed postInstall fixes are not necessary anymore.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jul 8, 2024
@fpletz fpletz merged commit 0101bf7 into NixOS:master Jul 9, 2024
29 checks passed
@nagy nagy deleted the update-miniupnpc branch July 9, 2024 14:47
@K900
Copy link
Contributor

K900 commented Jul 10, 2024

This is an API break: miniupnp/miniupnp#758

Which is likely to affect most downstreams. Reverting until addressed in some way.

@nagy
Copy link
Member Author

nagy commented Jul 10, 2024

Should we introduce a miniupnpc_2_2_7 package and call affected packages with that?

@K900
Copy link
Contributor

K900 commented Jul 10, 2024

I genuinely don't know, it's touching a pretty core part of the API, so someone needs to investigate the real impact and see if the affected packages can be patched. If not, maybe we should just hold off on updating this.

@emilazy
Copy link
Member

emilazy commented Jul 10, 2024

I would be interested in triaging and patching stuff here, including sending stuff upstream. Going by https://github.com/transmission/transmission/pull/6907/files#diff-5631965d253feb0720bcea80f285ac7e3fb20818fe46fc846706b3dba8e9b32c, it’s just a matter of adding NULL, 0 to the argument list. A shame that upstream doesn’t seem to priority API stability even for a trivial case like this, though.

@K900
Copy link
Contributor

K900 commented Jul 10, 2024

Have fun, I guess. I honestly don't care which way we go as long as we don't break everything.

@emilazy
Copy link
Member

emilazy commented Jul 11, 2024

I’ve started on this.

@emilazy emilazy mentioned this pull request Jul 11, 2024
13 tasks
@emilazy
Copy link
Member

emilazy commented Jul 11, 2024

Done: #326402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants