xenPackages: deprecate Xen 4.5, security support ended
This commit is contained in:
parent
ddddca5c2f
commit
3e3d72b95a
@ -39,6 +39,10 @@ in
|
|||||||
callPackage (import ./generic.nix (rec {
|
callPackage (import ./generic.nix (rec {
|
||||||
version = "4.5.5";
|
version = "4.5.5";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
knownVulnerabilities = [ "Security support ended in January 2018" ];
|
||||||
|
};
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.xenproject.org/release/xen/${version}/xen-${version}.tar.gz";
|
url = "https://downloads.xenproject.org/release/xen/${version}/xen-${version}.tar.gz";
|
||||||
sha256 = "1y74ms4yc3znf8jc3fgyq94va2y0pf7jh8m9pfqnpgklywqnw8g2";
|
sha256 = "1y74ms4yc3znf8jc3fgyq94va2y0pf7jh8m9pfqnpgklywqnw8g2";
|
||||||
|
@ -221,6 +221,7 @@ stdenv.mkDerivation (rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# TODO(@oxij): Stop referencing args here
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.xen.org/;
|
homepage = http://www.xen.org/;
|
||||||
description = "Xen hypervisor and related components"
|
description = "Xen hypervisor and related components"
|
||||||
@ -231,5 +232,5 @@ stdenv.mkDerivation (rec {
|
|||||||
+ withXenfiles (name: x: ''* ${name}: ${x.meta.description or "(No description)"}.'');
|
+ withXenfiles (name: x: ''* ${name}: ${x.meta.description or "(No description)"}.'');
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = with stdenv.lib.maintainers; [ eelco tstrobel oxij ];
|
maintainers = with stdenv.lib.maintainers; [ eelco tstrobel oxij ];
|
||||||
};
|
} // (config.meta or {});
|
||||||
} // removeAttrs config [ "xenfiles" "buildInputs" "patches" "postPatch" "meta" ])
|
} // removeAttrs config [ "xenfiles" "buildInputs" "patches" "postPatch" "meta" ])
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, stdenv, overrideCC, gcc49
|
, stdenv, overrideCC, gcc49
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# TODO on new Xen version: generalize this to generate [vanilla slim
|
# TODO(@oxij) on new Xen version: generalize this to generate [vanilla slim
|
||||||
# light] for each ./<version>.nix.
|
# light] for each ./<version>.nix.
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
@ -149,8 +149,8 @@ rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xen-vanilla = xen_4_5-vanilla;
|
xen-vanilla = xen_4_8-vanilla;
|
||||||
xen-slim = xen_4_5-slim;
|
xen-slim = xen_4_8-slim;
|
||||||
xen-light = xen_4_5-light;
|
xen-light = xen_4_8-light;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -18353,9 +18353,10 @@ with pkgs;
|
|||||||
|
|
||||||
xenPackages = recurseIntoAttrs (callPackage ../applications/virtualization/xen/packages.nix {});
|
xenPackages = recurseIntoAttrs (callPackage ../applications/virtualization/xen/packages.nix {});
|
||||||
|
|
||||||
xen = xenPackages.xen_4_5-vanilla;
|
xen = xenPackages.xen-vanilla;
|
||||||
xen-slim = xenPackages.xen_4_5-slim;
|
xen-slim = xenPackages.xen-slim;
|
||||||
xen-light = xenPackages.xen_4_5-light;
|
xen-light = xenPackages.xen-light;
|
||||||
|
|
||||||
xen_4_8 = xenPackages.xen_4_8-vanilla;
|
xen_4_8 = xenPackages.xen_4_8-vanilla;
|
||||||
xen_4_8-slim = xenPackages.xen_4_8-slim;
|
xen_4_8-slim = xenPackages.xen_4_8-slim;
|
||||||
xen_4_8-light = xenPackages.xen_4_8-light;
|
xen_4_8-light = xenPackages.xen_4_8-light;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user