1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

75 commits

Author SHA1 Message Date
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
R. Ryantm c2a1eed128 pacemaker: 2.1.8 -> 2.1.9 2024-11-01 05:36:50 +00:00
R. Ryantm 45089df0cf pacemaker: 2.1.7 -> 2.1.8 2024-08-19 12:04:52 +00:00
Julien Malka 58b29b2328
pacemaker: fix build failure 2024-08-15 21:38:56 +02:00
Alexis Hildebrandt bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Stanisław Pitucha 4ba83903ac auditbeat7,filebeat7,heartbeat7,metricbeat7,packetbeat7: fix meta merging
With a set merge, most of the meta was lost, including the license and
platform information. Change to deep merge to preserve the attributes.
2024-06-06 21:46:38 +10:00
Thomas Gerbet afb57ff041 elasticsearch: 7.17.10 -> 7.17.16
Fixes CVE-2023-31417, CVE-2023-31418, CVE-2023-31419, CVE-2023-46673 and CVE-2023-46674.

Security announces:
https://www.elastic.co/guide/en/security/7.17/release-notes-header-7.17.0.html#release-notes-7.17.16

Release notes:
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.16.html
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.15.html
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.14.html
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.13.html
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.12.html
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.17.11.html
2024-01-14 12:21:45 +01:00
R. Ryantm 9db17e1fe0 pacemaker: 2.1.6 -> 2.1.7 2023-12-20 10:34:58 +00:00
Vanilla 13fe5cbd8f
auditbeat7: init 2023-08-26 13:28:06 +08:00
R. Ryantm b79b4f294e pacemaker: 2.1.5 -> 2.1.6 2023-05-28 06:39:28 +00:00
Thomas Gerbet f29911cd75 elk7: 7.17.9 -> 7.17.10
Fixes CVE-2023-31413, CVE-2023-26486 and CVE-2023-26487.

https://discuss.elastic.co/t/elastic-stack-8-7-0-7-17-10-security-updates/332327

The non official analysis-lemmagen plugin has not yet been released for ES 7.17.10.
It is marked as broken in the meantime.
2023-05-20 00:33:51 +02:00
Thomas Gerbet b41c49ee2d elk7: 7.17.4 -> 7.17.9
Fixes CVE-2022-38779.

Advisory:
https://discuss.elastic.co/t/kibana-7-17-9-and-8-6-2-security-update/325782

Changelogs:
https://www.elastic.co/guide/en/welcome-to-elastic/7.17/new.html
2023-04-26 23:42:46 +02:00
ajs124 426fbcb5a6 *beat6: remove 2023-04-04 10:32:26 +02:00
Artturin 3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Thomas Gerbet 66444200f4 metricbeat7: fix passthru.tests 2023-02-06 22:01:39 +02:00
R. Ryantm 04a2aa7b80 pacemaker: 2.1.4 -> 2.1.5 2022-12-25 12:01:07 +01:00
R. Ryantm 38e3858441 pacemaker: 2.1.2 -> 2.1.4 2022-07-30 07:03:19 +00:00
Dan Fithian 021f4cac52 beats: add dfithian as maintainer 2022-07-18 15:20:34 -04:00
PedroHLC ☭ 8b4c4bf34f elk7: 7.16.1 -> 7.17.4 2022-06-03 11:11:06 -04:00
ajs124 63828897eb packetbeat: remove after being marked broken for over two years
It was marked in commit 5aa4b19 by Linus Heckemann on 2019-10-07 (commited on 2019-10-08)
2022-04-03 16:14:59 +01:00
Astro 70c1e849c0 nixos/tests/pacemaker: init 2022-03-09 01:19:10 +01:00
Ryan Mulligan 2b78cfdb09 pacemaker: init at 2.1.2 2022-03-08 20:26:52 +01:00
zowoq 2fe2f500d4 beats7: update vendorSha256 2022-01-30 20:34:40 +10:00
Kim Lindberger ebaa226853
elk7: 7.11.1 -> 7.16.1, 6.8.3 -> 6.8.21 + add filebeat module and tests (#150879)
* elk7: 7.11.1 -> 7.16.1

* nixosTests.elk: Improve reliability and compatibility with ELK 7.x

- Use comparisons in jq instead of grepping
- Match for `.hits.total.value` if version >= 7, otherwise it always
  passes
- Make curl fail if requests fails

* nixos/filebeat: Add initial module and test

Filebeat is an open source file harvester, mostly used to fetch logs
files and feed them into logstash.

This module can be used instead of journalbeat if used with
`filebeat7` and configured with the `journald` input.

* python3Packages.parsedmarc.tests: Fix breakage

- Don't use the deprecated elasticsearch7-oss package
- Improve jq query robustness and add tracing

* rl-2205: Note the addition of the filebeat service

* elk6: 6.8.3 -> 6.8.21

The latest version includes a fix for CVE-2021-44228.

* nixos/journalbeat: Add a loose dependency on elasticsearch

Avoid unnecssary back-off when elasticsearch is running on the same
host.
2021-12-17 00:20:52 +09:00
Andrew Childs 98469f2c55 beats7: 7.5.1 -> 7.11.1 2021-11-03 11:37:04 +01:00
Robert Hensing 68a8d86415 es *beat6: Fix build on aarch64 2021-09-23 18:42:29 +02:00
happysalada 59e34733b7 beats: buildGoPackage -> buildGoModule 2021-08-31 09:06:13 +09:00
happysalada f9321de0f3 elk7: 7.5.1 -> 7.10.2
Update pkgs/development/tools/misc/kibana/7.x.nix

Co-authored-by: Mihai Fufezan <36706276+fufexan@users.noreply.github.com>

Update pkgs/servers/search/elasticsearch/7.x.nix

Co-authored-by: Mihai Fufezan <36706276+fufexan@users.noreply.github.com>

Update pkgs/servers/search/elasticsearch/7.x.nix

Co-authored-by: Mihai Fufezan <36706276+fufexan@users.noreply.github.com>

Update pkgs/development/tools/misc/kibana/7.x.nix

Co-authored-by: Mihai Fufezan <36706276+fufexan@users.noreply.github.com>
2021-08-31 09:06:13 +09:00
happysalada 8b2cecc3ce beats: nixpkgs-fmt 2021-08-31 09:06:13 +09:00
Robert Hensing 5699d027ec nixos/metricbeat: init 2021-05-31 10:42:08 +02:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Florian Klink 05a61fc30a filebeat7: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
2020-08-13 20:51:41 +02:00
Florian Klink 8ccbb4747e filebeat6: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
2020-08-13 20:51:41 +02:00
zowoq b5dc07a4b4 treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vasile luta 620297784e packetbeat7: 7.3.1 -> 7.5.1 2020-01-06 15:24:25 +02:00
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e675498026
1e9cc5b984
793a2fe1e8
c19cf65261
f6544d618f
2019-10-08 17:14:26 +02:00
adisbladis 723148f92e
elastic7: 7.0.1 -> 7.3.1 2019-09-07 12:48:42 +01:00
adisbladis 3ab433df34
elastic6: 6.7.2 -> 6.8.3 2019-09-07 12:43:40 +01:00
adisbladis bded2f69d3
beats-5.*: Drop EOL packages 2019-09-06 14:30:49 +01:00
Bas van Dijk 1a0818e941 elk6: 6.7.1 -> 6.7.2 2019-05-10 23:32:44 +02:00
Bas van Dijk 8673d82bc1 elk5: 5.6.9 -> 5.6.16 2019-05-10 22:46:12 +02:00
Bas van Dijk 42c9c6df73 journalbeat7: fix binary by setting RPATH to systemd using patchelf 2019-05-10 15:36:53 +02:00
Bas van Dijk 42f357d1ac journalbeat6: fix binary by setting RPATH to systemd using patchelf 2019-05-10 15:29:35 +02:00
Bas van Dijk 78cb9b7898 elk: 7.0.0 -> 7.0.1 2019-05-09 11:37:48 +02:00
Bas van Dijk 13352f28d2 elk7: init at 7.0.0
This adds the following new packages:

+ elasticsearch7
+ elasticsearch7-oss
+ logstash7
+ logstash7-oss
+ kibana7
+ kibana7-oss
+ filebeat7
+ heartbeat7
+ metricbeat7
+ packetbeat7
+ journalbeat7

The default major version of the ELK stack stays at 6. We should
probably set it to 7 in a next commit.
2019-04-14 21:39:46 +02:00
Bas van Dijk 7062a073e8 elk: 6.5.1 -> 6.7.1 2019-04-09 12:34:01 +02:00