Skip to content

libressl: add 4.3.1, remove unsupported 4.1.2, add myself as maintainer - #515600

Merged
fpletz merged 5 commits into
NixOS:stagingfrom
ruuda:libressl-4.3
May 17, 2026
Merged

fpletz merged 5 commits into
NixOS:stagingfrom
ruuda:libressl-4.3

Conversation

@ruuda

@ruuda ruuda commented May 1, 2026

Copy link
Copy Markdown
Contributor
  • Add LibreSSL 4.3.1, which will be part of the upcoming OpenBSD 7.9 release.
  • Remove LibreSSL 4.1.2, which became unsupported on April 28, 2026, one year after the release of OpenBSD 7.7 in which this LibreSSL was included.
  • To make it easier to determine whether a package is still supported in the future, add a comment to every package that states until when the branch is supported.
  • Add myself as a maintainer of this package. I’ve been helping out with this package for the past 8 years and my personal webserver depends on it, so I’m happy to reduce the load on other maintainers.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci
nixpkgs-ci Bot requested review from fpletz and thoughtpolice May 1, 2026 20:25
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 1, 2026
@ruuda

ruuda commented May 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Hmm, when trying this out on my own server, there is a regression where libcrypto.so.57 now requires an executable stack. I vaguely recall seeing this problem before, will look into it, please don’t merge in the meantime. Edit: Ah yes, this must be broken by the release 🤔

github-actions[bot]

This comment was marked as outdated.

@ruuda
ruuda changed the base branch from master to staging May 1, 2026 21:03
@nixpkgs-ci nixpkgs-ci Bot closed this May 1, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this May 1, 2026
github-actions[bot]

This comment was marked as outdated.

ruuda added 4 commits May 1, 2026 23:23
I also added expiration date comments on all of them, because I always
spend some time chasing what the support dates are, and it would save
maintainer time to be able to see what to do with these branches.
LibreSSL branches are supported for one year after the OpenBSD release
in which they are included. LibreSSL 4.1 was part of OpenBSD 7.7, which
was released on April 28, 2025, so it's end of life now.
I've been keeping this package up to date over the past few years, since
I run a webserver that depends on it. I'd be happy to be co-maintainer
for it, and hopefully reduce the load on others.
@github-actions
github-actions Bot dismissed their stale review May 1, 2026 21:24

Review dismissed automatically

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. and removed 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 1, 2026
@ruuda

ruuda commented May 12, 2026 •

Copy link
Copy Markdown
Contributor Author

I diagnosed it further and opened an issue upstream.

And also add an additional check to preCheck that will enable us to
catch executable stack issues earlier next time.
@ruuda

ruuda commented May 12, 2026

Copy link
Copy Markdown
Contributor Author

Upstream has fixed it very quickly. I pulled in the change as a patch here, and I added an additional check in preCheck to catch this early next time (because executable stack does not cause the build to fail, or even prevent the binary from running unless you explicitly disallow it). I also confirmed that this check works by disabling the patch. I also confirmed that the resulting libcrypto works with Nginx running under systemd with MemoryDenyWriteExecute=true (which it previously failed).

If upstream releases 4.3.2 before this PR lands in Nixpkgs I’ll update the PR and we can drop the patch again.

@fpletz fpletz added the backport staging-26.05 Backport PR automatically label May 17, 2026

@fpletz fpletz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for adopting the package and the fixes. LGTM! ❤️

@fpletz
fpletz added this pull request to the merge queue May 17, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels May 17, 2026
Merged via the queue into NixOS:staging with commit 4e8be57 May 17, 2026
30 of 32 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented May 17, 2026

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 17, 2026
@mdaniels5757 mdaniels5757 mentioned this pull request Jun 8, 2026
5 of 14 tasks
@hmenke

hmenke commented Jun 24, 2026

Copy link
Copy Markdown
Member

I believe this broke the static build of libressl, see my comments on the backport PR #521158

@hmenke

hmenke commented Jun 24, 2026

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review-gha (19a7901)

Command: nixpkgs-review pr 515600 --pkgs=pkgsStatic --package=libressl
Commit: 5198c49a5a58932c1a782aee9ad2fd6509f935e1 (subsequent changes)
Merge: 4e8be5704107e4dfd356d53ea8224350a0a97f91

Logs: https://github.com/hmenke/nixpkgs-review-gha/actions/runs/28095552526/attempts/1


x86_64-linux

❌ 1 package failed to build:
  • pkgsStatic.libressl

aarch64-linux

❌ 1 package failed to build:
  • pkgsStatic.libressl

@ruuda ruuda mentioned this pull request Jun 25, 2026
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport staging-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants