tcp_wrappers: 7.6.q-33 -> 7.6.q-36 and fetch patches from salsa#465685
tcp_wrappers: 7.6.q-33 -> 7.6.q-36 and fetch patches from salsa#465685dotlambda merged 1 commit intoNixOS:masterfrom
Conversation
SuperSandro2000
left a comment
There was a problem hiding this comment.
As a follow up, we could clean up the prePatch and split it into patches and postPatch and use --replace-fail
raboof
left a comment
There was a problem hiding this comment.
Seems like a good improvement, thanks. One comment for your consideration, and it might be nice to include the -> notation in the commit message, but otherwise LGTM.
| debian = fetchurl { | ||
| url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${version}.debian.tar.xz"; | ||
| hash = "sha256-Lykjyu4hKDS/DqQ8JAFhKDffHrbJ9W1gjBKNpdaNRew="; | ||
| src = fetchFromGitLab { |
There was a problem hiding this comment.
I wonder if it would be slightly better to take src from http://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz and only rely on the Debian repo for the patches
There was a problem hiding this comment.
I agree. That would be better.
9f295d6 to
aef3bb0
Compare
I changed the PR title to something that would be okay. |
aef3bb0 to
ae0005e
Compare
thanks, I was about to ask what you meant because this isn't just version update so it falls into "etc". Oh whoops, was mid-edit when I amended that. Give me a moment to finish it. I've confirmed porcupine matches what was in debian's salsa |
| }; | ||
|
|
||
| prePatch = '' | ||
| tar -xaf $debian | ||
| patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches" |
There was a problem hiding this comment.
| patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches" | |
| patches="$(cat ${debian}/patches/series | sed 's,^,debian/patches/,') $patches" |
There was a problem hiding this comment.
Actually, this only works if a substituteInPlace below is no longer needed.
| }; | ||
|
|
||
| prePatch = '' | ||
| tar -xaf $debian | ||
| patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches" | ||
|
|
||
| substituteInPlace Makefile --replace STRINGS STRINGDEFS |
There was a problem hiding this comment.
Is this and the line below still needed? I would be good to use --replace-fail in that case.
There was a problem hiding this comment.
Honestly I can't tell you why this substitution is being made, but it is making one functional substitution in both files. I'm inclined to leave it be
a6abd5b to
110c5c3
Compare
|
If someone could also add the backport 25.11 label that would be appreciated. This is a blocker for building the ISOs unless a user disables zfs |
Not anymore I assume since #465984 was merged. |
| url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${vanillaVersion}.orig.tar.gz"; | ||
| sha256 = "0p9ilj4v96q32klavx0phw9va21fjp8vpk11nbh6v2ppxnnxfhwm"; | ||
| url = "http://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz"; | ||
| sha256 = "sha256-lUPXre33im3gsiHMu9GVLgi1E4cX9K3oFAObtImkMV0="; |
There was a problem hiding this comment.
| sha256 = "sha256-lUPXre33im3gsiHMu9GVLgi1E4cX9K3oFAObtImkMV0="; | |
| hash = "sha256-lUPXre33im3gsiHMu9GVLgi1E4cX9K3oFAObtImkMV0="; |
There was a problem hiding this comment.
@conatsera Mind making this change? Then I'll merge.
That PR hasn't backported yet, but yeah that would unblock it too. Not sure how many users of tcp_wrappers there are but I think it's still reasonable to backport this one anyways. The existing package.nix is non-functional as it is. |
110c5c3 to
0f61c40
Compare
0f61c40 to
1df3a50
Compare
|
Successfully created backport PR for |
Patch level 33 is no longer available from Debian mirrors. This also changes to fetch from the Debian salsa gitlab which will prevent this issue from reoccurring. This is an alternate PR to #456509
closes #456509
This also needs to be backported to release-25.11 as this blocks building the ISO from source due to the dependency chain zfs -> nfs-utils -> tcp_wrappers
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.