Commit Graph

90 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
Sergei Trofimovich
a7251acc64 varnish60Packages.modules: fix hash prefix
Without the change the eval fails as:

    $ nix build --no-link -f. varnish60Packages.modules
    error:
       error: hash '1lwgjhgr5yw0d17kbqwlaj5pkn70wvaqqjpa1i0n459nx5cf5pqj' does not include a type, nor is the type otherwise known from context
2024-07-23 22:48:10 +01:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
isabel
63aceac766 treewide: remove unused occurence of fetchFromGitHub argument 2024-05-30 05:56:07 +00:00
Thomas Gerbet
8528f32728
varnish75: init at 7.5.0 (#308604)
Changes: https://varnish-cache.org/docs/7.5/whats-new/changes-7.5.html
2024-05-03 19:03:01 +00:00
Thomas Gerbet
d03e5b7c1a varnish60: 6.0.12 -> 6.0.13
Includes the mitigation for CVE-2023-44487.
https://varnish-cache.org/security/VSV00013.html

https://varnish-cache.org/releases/rel6.0.13.html
2024-03-24 15:00:47 +01:00
Thomas Gerbet
f3ddb90555 varnish: 7.4.2 -> 7.4.3
Includes the mitigation for CVE-2023-44487.
https://varnish-cache.org/security/VSV00013.html

https://varnish-cache.org/releases/rel7.4.3.html
2024-03-24 14:57:39 +01:00
Thomas Gerbet
62ce8b2b37 varnish: 7.4.1 -> 7.4.2
Includes the mitigation for CVE-2023-44487.
https://varnish-cache.org/security/VSV00013.html#vsv00013

https://github.com/varnishcache/varnish-cache/blob/varnish-7.4.2/doc/changes.rst
2024-02-04 12:09:00 +01:00
Thomas Gerbet
7c80c4c9bb varnish60: 6.0.11 -> 6.0.12
Includes the mitigation for CVE-2023-44487.

https://varnish-cache.org/security/VSV00013.html#vsv00013
https://github.com/varnishcache/varnish-cache/blob/varnish-6.0.12/doc/changes.rst
2024-02-04 11:43:29 +01:00
ajs124
7b6580dba4 maintainers/teams: init and add helsinki-systems 2023-11-30 19:11:08 +01:00
ajs124
fd35d495c8 varnish/modules: update/clean-up 2023-10-09 14:16:32 +02:00
ajs124
dbe4e6d2c0 varnish74: init at 7.4.1 2023-10-09 14:14:21 +02:00
Raito Bezarius
f9f7fd208a varnish72: drop, varnish73: drop
All of them are EOL according to https://endoflife.date/varnish
2023-10-09 03:06:32 +02:00
Thomas Gerbet
16c6122a88 varnish73: init at 7.3.0
https://varnish-cache.org/releases/rel7.3.0.html
2023-05-20 13:49:24 +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
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
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
2023-02-22 21:23:04 +02:00
Weijia Wang
4c109d3aa0 varnish: unbreak on darwin 2023-01-29 07:08:14 +01:00
ajs124
f9c4148be7 varnish60: 6.0.10 -> 6.0.11
https://github.com/varnishcache/varnish-cache/blob/6.0/doc/changes.rst#varnish-cache-6011-2022-11-08
2022-11-08 14:37:26 +01:00
ajs124
807220b9f9 varnish72: 7.2.0 -> 7.2.1
https://github.com/varnishcache/varnish-cache/blob/7.2/doc/changes.rst#varnish-cache-721-2022-11-08
2022-11-08 14:37:10 +01:00
ajs124
47cbd610ce varnish71: drop 2022-11-08 14:35:01 +01:00
ajs124
4f968607f9 varnish: add passthru.tests 2022-09-28 11:01:34 +02:00
ajs124
04d71bccc1 varnish72: init at 7.2.0
see https://varnish-cache.org/releases/rel7.2.0.html
2022-09-27 21:09:00 +02:00
Rick van Schijndel
44b4be94cf varnish: move makeWrapper to nativeBuildInputs 2022-08-14 00:17:01 +03:00
ajs124
cdbf0d5d67 varnish: add myself as maintainer 2022-08-10 15:39:05 +02:00
ajs124
1b6c66d38c varnish71: 7.1.0 -> 7.1.1
https://varnish-cache.org/security/VSV00009.html#vsv00009
2022-08-10 15:38:57 +02:00
ajs124
56a3a71d36 varnish: sha256 -> hash 2022-08-10 15:36:34 +02:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
Rick van Schijndel
879d278253
treewide: pkgs/servers: mark broken for darwin 2022-05-30 13:42:58 +02:00
ajs124
733068d254 varnish: 7.0.2 -> 7.1.0 2022-03-19 21:01:27 +01:00
Robert Scott
cf2bdd298b varnish60: 6.0.9 -> 6.0.10 2022-01-27 18:24:09 +00:00
Robert Scott
683d5696e3 varnish70: 7.0.1 -> 7.0.2 2022-01-27 18:24:09 +00:00
Jean-Baptiste Giraudeau
714a677850 varnish: build modules for varnish 6 & 7. 2022-01-10 13:14:54 -08:00
Jean-Baptiste Giraudeau
785f04f986 varnish: use jemalloc instead of glibc's malloc on linux.
this is the recommanded default, as glibc cause memory leaks:

 "We ran into a problem with glibc's malloc on Linux where it seemed
 like it failed to ever give memory back to the OS, causing the system
 to swap. We have now switched to jemalloc which appears not to have
 this problem." (from varnish-cache/doc/changes.rst)
2022-01-07 09:35:27 -08:00
ajs124
31fdf8b75e varnish60: 6.0.8 -> 6.0.9 2021-11-25 18:02:17 +01:00
ajs124
d1d48675c4 varnish70: 7.0.0 -> 7.0.1 2021-11-23 19:24:09 +01:00
ajs124
3a9ffac149 varnish70: fix build on darwin 2021-09-30 20:26:39 +02:00
ajs124
145f628f69 varnish65*: drop because it is EOL upstream
varnish66 could be introduced, but I don't think it's worth the effort
2021-09-30 20:26:39 +02:00
ajs124
83261624ae varnish60: 6.0.7 -> 6.0.8 2021-09-30 20:26:39 +02:00
ajs124
eba8f7e3d5 varnish70: init at 7.0.0 2021-09-30 20:26:39 +02:00
ajs124
d0d171cadc varnishPackages.*: fix and update digest module 2021-08-12 19:09:00 +02:00
ajs124
881f8b97eb varnish: fix varnishtest 2021-08-12 19:08:59 +02:00
ajs124
9c765d4534 varnishPackages.*: fix and update dynamic module 2021-08-12 19:08:59 +02:00
ajs124
49df287d20 varnish65: init at 6.5.2 2021-08-12 19:08:59 +02:00
ajs124
4bf7a9f124 varnish6(2|3): drop 2021-08-12 19:08:59 +02:00
Felix Buehler
a56d117bdb servers: replace name with pname&version 2021-07-26 20:15:46 +02:00
Jonathan Ringer
1fc22c2593 varnishPackages.dynamic: fix build, use autoreconfHook269 2021-02-28 14:11:29 -08:00
Thomas Gerbet
9a6fb4d895 varnish63: 6.3.1 -> 6.3.2 2021-01-26 22:05:16 +01:00
Thomas Gerbet
bfc2799d51 varnish62: 6.2.2 -> 6.2.3 2021-01-26 22:02:57 +01:00
Thomas Gerbet
88afccf4ff varnish60: 6.0.5 -> 6.0.7 2021-01-26 22:00:29 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00