Commit Graph

17 Commits

Author SHA1 Message Date
R. Ryantm
c20a2c9c32 curl-impersonate-chrome: 0.7.0 -> 0.8.0 2024-09-26 07:10:05 +00:00
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
GGG
2939ad7bd9 curl-impersonate: 0.6.1 -> 0.7.0 2024-08-10 00:01:53 -03:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Lily Foster
c678743f80 treewide: remove lilyinstarlight 2024-07-02 03:17:01 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Lily Foster
1acb0ea6a9
curl-impersonate: add meta.mainProgram 2024-05-09 13:22:07 -04:00
Lily Foster
11d974e67a
curl-impersonate: fix darwin build and make cross-compilation work 2024-05-09 13:21:40 -04:00
Chuang Zhu
6786f11afb curl-impersonate: install headers 2024-05-09 14:09:46 +08:00
Chuang Zhu
f409d2f9ae curl-impersonate: patch knownVulnerabilities
* SOCKS5 heap buffer overflow -
  https://curl.se/docs/CVE-2023-38545.html: Patched
* fopen TOCTOU race condition -
  https://curl.se/docs/CVE-2023-32001.html: Retracted
* HSTS bypass - https://curl.se/docs/CVE-2022-43551.html: Not affected in curl >= 7.87.0
* HSTS bypass - https://curl.se/docs/CVE-2022-42916.html: Not affected in curl >= 7.86.0
2024-05-06 07:31:39 +08:00
John Titor
0b7ae75f53
curl-impersonate: 0.5.4 -> 0.6.1 2024-04-05 18:56:14 +05:30
Sergei Trofimovich
d15ca5b841 curl-impersonate: switch to gcc-13, disable blanket -Werror
While at it fixed build failure against `autoconf-2.71` by downgrading
to `2.69`.
2024-03-11 22:52:20 +00:00
Lily Foster
d9eddb2270
curl-impersonate: add CVE-2023-38545 as a known vulnerability 2023-10-12 15:11:47 -04:00
Lily Foster
a4cdbf3512
curl-impersonate: update goModules usage 2023-07-23 14:16:46 -04:00
Lily Foster
e28c49d86d
nixosTests.curl-impersonate: init 2023-07-21 14:37:48 -04:00
Lily Foster
ad8023acb3
curl-impersonate: init at 0.5.4 2023-07-21 14:37:24 -04:00
deliciouslytyped
7f60529b07 curl-impersonate-bin: init at v0.5.3 2022-09-18 23:01:55 +02:00