Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: libmodsecurity 3.0.16 -> 3.0.17 https://github.com/owasp-modsecurity/ModSecurity/releases
attrpath: libmodsecurity
Checking auto update branch...
No auto update branch exists
[version]
[version] updated version and sha256
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
Diff after rewrites:
diff --git a/pkgs/by-name/li/libmodsecurity/package.nix b/pkgs/by-name/li/libmodsecurity/package.nix
index 6baec57daee1..525ff8780878 100644
--- a/pkgs/by-name/li/libmodsecurity/package.nix
+++ b/pkgs/by-name/li/libmodsecurity/package.nix
@@ -20,13 +20,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libmodsecurity";
- version = "3.0.16";
+ version = "3.0.17";
src = fetchFromGitHub {
owner = "owasp-modsecurity";
repo = "ModSecurity";
rev = "v${finalAttrs.version}";
- hash = "sha256-KkUZ52IQ8kZPP4znvNX2kDCbYFBesmvV5i1tVgHFct8=";
+ hash = "sha256-OebDDhaOQfOf22MoQ1htHwB25O52OnJBSzZlxhnJ0Zo=";
fetchSubmodules = true;
};
@@ -63,7 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
];
postPatch = ''
- # https://github.com/owasp-modsecurity/ModSecurity/blob/v3.0.16/build.sh#L6-L25
+ # https://github.com/owasp-modsecurity/ModSecurity/blob/v3.0.17/build.sh#L6-L25
echo "noinst_HEADERS = \\" > ./src/headers.mk
ls -1 ./src/ \
actions/*.h \
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `f807ef2e3ebbe3a5ee058b2d500fdda7276b1ccf`
---
### `x86_64-linux`
:white_check_mark: 2 packages built:
- libmodsecurity
- nginxModules.modsecurity
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from https://github.com/owasp-modsecurity/ModSecurity/releases.
meta.description for libmodsecurity is: ModSecurity v3 library component.
meta.homepage for libmodsecurity is: https://github.com/owasp-modsecurity/ModSecurity
###### Updates performed
- Version update
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 3.0.17 with grep in /nix/store/3f9lyhfrlk7f192h7wgmcy1pnabpn3gd-libmodsecurity-3.0.17
- found 3.0.17 in filename of file in /nix/store/3f9lyhfrlk7f192h7wgmcy1pnabpn3gd-libmodsecurity-3.0.17
---
Rebuild report (if merged into master) (click to expand)
```
6 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
libmodsecurity
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/3f9lyhfrlk7f192h7wgmcy1pnabpn3gd-libmodsecurity-3.0.17 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A libmodsecurity https://github.com/r-ryantm/nixpkgs/archive/f807ef2e3ebbe3a5ee058b2d500fdda7276b1ccf.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/f807ef2e3ebbe3a5ee058b2d500fdda7276b1ccf#libmodsecurity
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/3f9lyhfrlk7f192h7wgmcy1pnabpn3gd-libmodsecurity-3.0.17
ls -la /nix/store/3f9lyhfrlk7f192h7wgmcy1pnabpn3gd-libmodsecurity-3.0.17/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `f807ef2e3ebbe3a5ee058b2d500fdda7276b1ccf`
---
### `x86_64-linux`
:white_check_mark: 2 packages built:
- libmodsecurity
- nginxModules.modsecurity
---
###### Maintainer pings
cc @Izorkin for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/568458