Merge pull request #138058 from helsinki-systems/upd/varnish
varnish6/7: updates
This commit is contained in:
commit
352bb62051
@ -1002,8 +1002,8 @@ Superuser created successfully.
|
||||
<listitem>
|
||||
<para>
|
||||
The <literal>varnish</literal> package was upgraded from 6.3.x
|
||||
to 6.5.x. <literal>varnish60</literal> for the last LTS
|
||||
release is also still available.
|
||||
to 7.x. <literal>varnish60</literal> for the last LTS release
|
||||
is also still available.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -310,7 +310,7 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||
configures the address and port the web UI is listening, it defaults to `:9001`.
|
||||
To be able to access the web UI this port needs to be opened in the firewall.
|
||||
|
||||
- The `varnish` package was upgraded from 6.3.x to 6.5.x. `varnish60` for the last LTS release is also still available.
|
||||
- The `varnish` package was upgraded from 6.3.x to 7.x. `varnish60` for the last LTS release is also still available.
|
||||
|
||||
- The `kubernetes` package was upgraded to 1.22. The `kubernetes.apiserver.kubeletHttps` option was removed and HTTPS is always used.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, pcre, libxslt, groff, ncurses, pkg-config, readline, libedit, coreutils
|
||||
{ lib, stdenv, fetchurl, fetchpatch, pcre, pcre2, libxslt, groff, ncurses, pkg-config, readline, libedit, coreutils
|
||||
, python3, makeWrapper }:
|
||||
|
||||
let
|
||||
@ -16,8 +16,10 @@ let
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [ pkg-config docutils sphinx ];
|
||||
buildInputs = [
|
||||
pcre libxslt groff ncurses readline libedit makeWrapper python3
|
||||
];
|
||||
libxslt groff ncurses readline libedit makeWrapper python3
|
||||
]
|
||||
++ lib.optional (lib.versionOlder version "7") pcre
|
||||
++ lib.optional (lib.versionAtLeast version "7") pcre2;
|
||||
|
||||
buildFlags = [ "localstatedir=/var/spool" ];
|
||||
|
||||
@ -45,11 +47,18 @@ let
|
||||
in
|
||||
{
|
||||
varnish60 = common {
|
||||
version = "6.0.7";
|
||||
sha256 = "0njs6xpc30nc4chjdm4d4g63bigbxhi4dc46f4az3qcz51r8zl2a";
|
||||
};
|
||||
varnish65 = common {
|
||||
version = "6.5.2";
|
||||
sha256 = "041gc22h8cwsb8jw7zdv6yk5h8xg2q0g655m5zhi5jxq35f2sljx";
|
||||
version = "6.0.8";
|
||||
sha256 = "1zk83hfxgjq1d0n4zx86q3f05y9f2zc6a1miz1zcvfa052q4bljx";
|
||||
};
|
||||
varnish70 = (common {
|
||||
version = "7.0.0";
|
||||
sha256 = "11z0pa618lh925ih67wmp1gqk7i46l486j4spjy71g1n3w5mqylc";
|
||||
}).overrideAttrs (oA: {
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/varnishcache/varnish-cache/commit/20e007a5b17c1f68f70ab42080de384f9e192900.patch";
|
||||
sha256 = "0vvihbjknb0skdv2ksn2lz89pwmn4f2rjmb6q65cvgnnjfj46s82";
|
||||
})
|
||||
];
|
||||
});
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ callPackage, varnish60, varnish65, fetchFromGitHub }: {
|
||||
{ callPackage, varnish60, varnish70, fetchFromGitHub }: {
|
||||
varnish60Packages = rec {
|
||||
varnish = varnish60;
|
||||
digest = callPackage ./digest.nix {
|
||||
@ -12,8 +12,8 @@
|
||||
sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk";
|
||||
};
|
||||
};
|
||||
varnish65Packages = rec {
|
||||
varnish = varnish65;
|
||||
varnish70Packages = rec {
|
||||
varnish = varnish70;
|
||||
digest = callPackage ./digest.nix {
|
||||
inherit varnish;
|
||||
version = "6.6";
|
||||
@ -21,8 +21,8 @@
|
||||
};
|
||||
dynamic = callPackage ./dynamic.nix {
|
||||
inherit varnish;
|
||||
version = "2.3.1";
|
||||
sha256 = "060vkba7jwcvx5704hh6ds0g0kfzpkdrg8548frvkrkz2s5j9y88";
|
||||
version = "2.4.0";
|
||||
sha256 = "1g53zblyxi1jivwppmpdqhi5xnzapsfib453sxyqbc5dfs7fijxr";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -969,6 +969,7 @@ mapAliases ({
|
||||
vamp = { vampSDK = vamp-plugin-sdk; }; # added 2020-03-26
|
||||
varnish62 = throw "varnish62 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release."; # 2021-07-26
|
||||
varnish63 = throw "varnish63 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release."; # 2021-07-26
|
||||
varnish65 = throw "varnish65 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release."; # 2021-09-15
|
||||
venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # added 2021-02-05
|
||||
vdirsyncerStable = vdirsyncer; # added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168
|
||||
vimbWrapper = vimb; # added 2015-01
|
||||
|
@ -10415,11 +10415,11 @@ with pkgs;
|
||||
valum = callPackage ../development/web/valum { };
|
||||
|
||||
inherit (callPackages ../servers/varnish { })
|
||||
varnish60 varnish65;
|
||||
varnish60 varnish70;
|
||||
inherit (callPackages ../servers/varnish/packages.nix { })
|
||||
varnish60Packages varnish65Packages;
|
||||
varnish60Packages varnish70Packages;
|
||||
|
||||
varnishPackages = varnish65Packages;
|
||||
varnishPackages = varnish70Packages;
|
||||
varnish = varnishPackages.varnish;
|
||||
|
||||
hitch = callPackage ../servers/hitch { };
|
||||
|
Loading…
Reference in New Issue
Block a user