Commit Graph

4458 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
27164432bc btop: 1.3.2 -> 1.4.0 2024-09-22 12:27:43 +00:00
José Ribeiro
0997fa43d1
zx: 8.1.7 -> 8.1.8
Diff: https://github.com/google/zx/compare/8.1.7...8.1.8
Changelog: https://github.com/google/zx/releases/tag/8.1.8
2024-09-20 02:43:09 +01:00
Bjørn Forsman
b03e47330b
smartmontools: build with systemdLibs on linux (#342407) 2024-09-19 20:49:26 +02:00
Fabian Affolter
849b29a665
mediawriter: 5.1.2 -> 5.1.3 (#342799) 2024-09-19 00:38:46 +02:00
R. Ryantm
8bccb662d4 mediawriter: 5.1.2 -> 5.1.3 2024-09-18 13:18:07 +00:00
Nick Cao
c61b20f267
zx: 8.1.6 -> 8.1.7 (#342616) 2024-09-18 08:18:38 -04:00
Muhammad Falak R Wani
25c916d554 bfs: 3.1.3 -> 4.0.2
Diff: https://github.com/tavianator/bfs/compare/3.1.3...4.0.2
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-09-18 09:07:28 +05:30
Nick Cao
3dd3008e4f
nsc: 2.8.8 -> 2.8.9 (#342066) 2024-09-17 15:52:43 -04:00
José Ribeiro
3863ea9ed8
zx: 8.1.6 -> 8.1.7
Diff: https://github.com/google/zx/compare/8.1.6...8.1.7
Changelog: https://github.com/google/zx/releases/tag/8.1.7
2024-09-17 20:20:03 +01:00
h7x4
94bc565cec
smartmontools: run nixfmt 2024-09-16 23:28:29 +02:00
h7x4
d447b5366e
smartmontools: build with systemdLibs on linux 2024-09-16 23:20:43 +02:00
Jörg Thalheim
ba74d07245
treewide: remove a bunch of unmaintained and old packages (#341837) 2024-09-16 00:00:19 +02:00
R. Ryantm
b9d465144a nsc: 2.8.8 -> 2.8.9 2024-09-15 13:17:43 +00:00
aleksana
8d9d116f35 psensor: remove 2024-09-15 20:13:13 +08:00
R. Ryantm
289996b763 automatic-timezoned: 2.0.31 -> 2.0.32 2024-09-15 11:59:42 +00:00
Weijia Wang
60d398885c
nsc: 2.8.7 -> 2.8.8 (#339686) 2024-09-13 11:52:28 +02:00
Austin Horstman
f8726f98ae
netdata: 1.47.0 -> 1.47.1 2024-09-12 20:09:46 -05:00
Austin Horstman
da31ab50f3
netdata: fix darwin 2024-09-12 19:54:33 -05:00
Austin Horstman
3b6197558a
netdata: cleanup rec 2024-09-12 19:48:00 -05:00
Austin Horstman
3dbab8acbb
netdata: format 2024-09-12 19:42:06 -05:00
R. Ryantm
c585a85e49 nsc: 2.8.7 -> 2.8.8 2024-09-13 02:17:44 +02:00
Weijia Wang
f6556fc148
openseachest: 23.12 -> 24.08 (#338086) 2024-09-13 00:15:15 +02:00
José Ribeiro
c11f1b7a26
zx: 8.1.5 -> 8.1.6
Diff: https://github.com/google/zx/compare/8.1.5...8.1.6
Changelog: https://github.com/google/zx/releases/tag/8.1.6
2024-09-11 15:31:05 +01:00
José Ribeiro
562e8d5975
zx: add versionCheckHook 2024-09-11 15:31:05 +01:00
Weijia Wang
e39edc5b91
automatic-timezoned: 2.0.30 -> 2.0.31 (#339665) 2024-09-11 00:45:00 +02:00
Weijia Wang
03cfa6e67b
java-service-wrapper: 3.5.58 -> 3.5.59 (#329802) 2024-09-10 00:49:35 +02:00
R. Ryantm
8f2c0d309a stress-ng: 0.18.02 -> 0.18.04 2024-09-09 00:49:05 +00:00
Peder Bergebakken Sundt
4af1a36c38
mlc: bump src (#336562) 2024-09-05 11:09:09 -04:00
Ryan Horiguchi
737d1ffb22 netdata: 1.46.1 -> 1.47.0 2024-09-05 10:19:35 +02:00
R. Ryantm
ccc257f60d automatic-timezoned: 2.0.30 -> 2.0.31 2024-09-05 00:59:56 +00:00
Florian Klink
876f98a2dd
amtterm: enable SSL support (#338662) 2024-09-01 11:22:34 +03:00
Felix Singer
4ce2599a98 acpica-tools: Move package definition into by-name directory
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-08-31 21:31:01 +02:00
Martin Weinelt
282e35e076
acpica-tools: 20240322 -> 20240827 (#337897) 2024-08-31 21:22:30 +02:00
Florian Klink
cbc93ea250 amtterm: enable SSL support
Current versions of Intel AMT/vPro only support connecting over SSL, but
our current amtterm version isn't built with SSL support.

Set the `USE_OPENSSL=1` makeFlag and add openssl and pkg-config.

It adds an additional `-C cacert` parameter, which needs to point to
a previously downloaded server certificate.

The server certificate can be retrieved with
`openssl s_client -showcerts -connect $host:16995`.

However, due to the use of `UnsafeLegacyRenegotiation`, `OPENSSL_CONF`
needs to point to a text file explicitly allowing this:

```
openssl_conf = default_conf

[ default_conf ]
ssl_conf = ssl_sect

[ssl_sect]
system_default = ssl_default_sect

[ssl_default_sect]
Options = UnsafeLegacyRenegotiation
```

With this, I'm able to connect to `/dev/ttyS2` inside the host:

```
❯ AMT_PASSWORD='supersecret' amtterm $host 16995 -C cert.pem
amtterm: NONE -> CONNECT (connection to host)
ipv4 $ip [$ip] 16995 open
amtterm: CONNECT -> INIT (redirection initialization)
amtterm: INIT -> AUTH (session authentication)
amtterm: AUTH -> INIT_SOL (serial-over-lan initialization)
amtterm: INIT_SOL -> RUN_SOL (serial-over-lan active)
serial-over-lan redirection ok
connected now, use ^] to escape
Hello World
```
2024-08-31 21:06:24 +03:00
Sebastián Mancilla
0a0ee828a5
tuptime: 5.2.3 -> 5.2.4 (#327150) 2024-08-30 00:14:58 -04:00
R. Ryantm
47bf0716f1 openseachest: 23.12 -> 24.08 2024-08-29 02:54:12 +00:00
José Ribeiro
85007e0daf
zx: 8.1.4 -> 8.1.5
Diff: https://github.com/google/zx/compare/8.1.4...8.1.5
Changelog: https://github.com/google/zx/releases/tag/8.1.5
2024-08-29 01:31:12 +01:00
José Ribeiro
4f2695c0a8
zx: set passthru.updateScript 2024-08-29 01:15:09 +01:00
Sandro Jäckel
d50e23f0a4
glxinfo: replace with mesa-demos 2024-08-28 14:38:12 +02:00
Felix Singer
c735bb6521 acpica-tools: 20240322 -> 20240827
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-08-28 10:33:33 +02:00
lewo
0781491369
osquery: add update script (#327267) 2024-08-28 09:57:19 +02:00
Martin Weinelt
9c50de8b57
tree-wide: remove eelco as maintainer from things he no longer maintains (#336287) 2024-08-26 20:39:56 +02:00
squalus
ef7100c21e osquery: add update script
- add update script
- remove openssl hash verification logic since the hash is computed
  automatically now in the update script
2024-08-24 21:28:30 -07:00
Franz Pletz
444e578124
Merge pull request #303923 from colbs255/bottom-add-desktop-file 2024-08-25 01:13:31 +02:00
Nick Cao
bce2c8e2ff
Merge pull request #336822 from r-ryantm/auto-update/nsc
nsc: 2.8.6 -> 2.8.7
2024-08-24 10:44:33 -04:00
R. Ryantm
3ec1b0472c nsc: 2.8.6 -> 2.8.7 2024-08-23 17:26:16 +00:00
Anderson Torres
74ffb29e90 isc-cron: migrate to by-name 2024-08-23 12:22:22 -03:00
Fabian Affolter
ab682c47b2
Merge pull request #336658 from r-ryantm/auto-update/nats-top
nats-top: 0.6.1 -> 0.6.2
2024-08-23 08:30:43 +02:00
Sebastián Mancilla
a26a8c6a1d
Merge pull request #331422 from r-ryantm/auto-update/stress-ng
stress-ng: 0.18.01 -> 0.18.02
2024-08-22 22:43:14 -04:00