git.iko.soy/typeable/nixpkgs
on master help sign in
xen: 4.5.2 -> 4.5.5, drop old versions
commit4e89b237bc5fa834d11fd68d12cb007fd1b8660c authorGraham Christensen <graham@grahamc.com> dateFri 14 Oct 2016, 08:15 (10 years ago) parent6351c4d
3 files changed+14−100
pkgs/applications/virtualization/xen/4.5.0.nix−79 pkgs/applications/virtualization/xen/4.5.2.nix → pkgs/applications/virtualization/xen/4.5.nix+11−17 pkgs/top-level/all-packages.nix+3−4
pkgs/applications/virtualization/xen/4.5.0.nixdeleted−79
@@ -1,79 +0,0 @@
1−{ callPackage, fetchurl, fetchgit, ... } @ args:
2−
3−let
4− # Xen 4.5.0
5− xenConfig = rec {
6− version = "4.5.0";
7− name = "xen-${version}";
8−
9− src = fetchurl {
10− url = "http://bits.xensource.com/oss-xen/release/${version}/${name}.tar.gz";
11− sha256 = "0fvg00d596gh6cfm51xr8kj2mghcyivrf6np3dafnbldnbi41nsv";
12− };
13−
14− # Sources needed to build the xen tools and tools/firmware.
15− firmwareGits =
16− [ # tag 1.7.5
17− { git = { name = "seabios";
18− url = https://xenbits.xen.org/git-http/seabios.git;
19− rev = "e51488c5f8800a52ac5c8da7a31b85cca5cc95d2";
20− sha256 = "0jk54ybhmw97pzyhpm6jr2x99f702kbn0ipxv5qxcbynflgdazyb";
21− };
22− patches = [ ./0000-qemu-seabios-enable-ATA_DMA.patch ];
23− }
24− { git = { name = "ovmf";
25− url = https://xenbits.xen.org/git-http/ovmf.git;
26− rev = "447d264115c476142f884af0be287622cd244423";
27− sha256 = "7086f882495a8be1497d881074e8f1005dc283a5e1686aec06c1913c76a6319b";
28− };
29− }
30− ];
31−
32− toolsGits =
33− [ # tag qemu-xen-4.5.0
34− { git = { name = "qemu-xen";
35− url = https://xenbits.xen.org/git-http/qemu-xen.git;
36− rev = "1ebb75b1fee779621b63e84fefa7b07354c43a99";
37− sha256 = "0yp9vmna3yl28vm5fkirghzhndaihmsm34fjzgr9sl6s46wx5yzg";
38− };
39− }
40− # tag xen-4.5.0
41− { git = { name = "qemu-xen-traditional";
42− url = https://xenbits.xen.org/git-http/qemu-xen-traditional.git;
43− rev = "b0d42741f8e9a00854c3b3faca1da84bfc69bf22";
44− sha256 = "1lxlf1s81y5j0rhzzm1f4sbyrnbvd32vxiczs1qjcg6ls866vlki";
45− };
46− }
47− { git = { name = "xen-libhvm";
48− url = https://github.com/ts468/xen-libhvm;
49− rev = "442dcc4f6f4e374a51e4613532468bd6b48bdf63";
50− sha256 = "9ba97c39a00a54c154785716aa06691d312c99be498ebbc00dc3769968178ba8";
51− };
52− description = ''
53− Helper library for reading ACPI and SMBIOS firmware values
54− from the host system for use with the HVM guest firmware
55− pass-through feature in Xen.
56− '';
57− #license = licenses.bsd2;
58− }
59− ];
60−
61− xenserverPatches =
62− let
63− patches = {
64− url = https://github.com/ts468/xen-4.5.pg.git;
65− rev = "3442b65b490f43c817cbc53369220d0b1ab9b785";
66− sha256 = "31436c15def0a300b3ea1a63b2208c4a3bcbb143db5c6488d4db370b3ceeb845";
67− };
68− in ''
69− cp -r ${fetchgit patches}/master patches
70− quilt push -a
71− substituteInPlace tools/xenguest/Makefile --replace "_BSD_SOURCE" "_DEFAULT_SOURCE"
72− '';
73−
74− xenPatches = [ ./0001-libxl-Spice-image-compression-setting-support-for-up.patch
75− ./0002-libxl-Spice-streaming-video-setting-support-for-upst.patch
76− ./0003-Add-qxl-vga-interface-support-for-upstream-qem.patch ];
77− };
78−
79−in callPackage ./generic.nix (args // { xenConfig=xenConfig; })
pkgs/applications/virtualization/xen/4.5.2.nix → pkgs/applications/virtualization/xen/4.5.nixrenamed+11−17
@@ -1,47 +1,41 @@
11{ callPackage, fetchurl, fetchgit, ... } @ args:
22
33let
4− # Xen 4.5.2
4+ # Xen 4.5.5
55 xenConfig = rec {
6− version = "4.5.2";
6+ version = "4.5.5";
77 name = "xen-${version}";
88
99 src = fetchurl {
1010 url = "http://bits.xensource.com/oss-xen/release/${version}/${name}.tar.gz";
11− sha256 = "1s7702zrxpsmx4vqvll4x2s762cfdiss4vgpx5s4jj7a9sn5v7jc";
11+ sha256 = "1y74ms4yc3znf8jc3fgyq94va2y0pf7jh8m9pfqnpgklywqnw8g2";
1212 };
1313
1414 # Sources needed to build the xen tools and tools/firmware.
1515 firmwareGits =
16− [ # tag 1.7.5
16+ [
1717 { git = { name = "seabios";
1818 url = https://xenbits.xen.org/git-http/seabios.git;
19− rev = "e51488c5f8800a52ac5c8da7a31b85cca5cc95d2";
19+ rev = "rel-1.7.5";
2020 sha256 = "0jk54ybhmw97pzyhpm6jr2x99f702kbn0ipxv5qxcbynflgdazyb";
2121 };
2222 patches = [ ./0000-qemu-seabios-enable-ATA_DMA.patch ];
2323 }
24− { git = { name = "ovmf";
25− url = https://xenbits.xen.org/git-http/ovmf.git;
26− rev = "cb9a7ebabcd6b8a49dc0854b2f9592d732b5afbd";
27− sha256 = "07zmdj90zjrzip74fvd4ss8n8njk6cim85s58mc6snxmqqv7gmcq";
28− };
29− }
3024 ];
3125
3226 toolsGits =
33− [ # tag qemu-xen-4.5.2
27+ [
3428 { git = { name = "qemu-xen";
3529 url = https://xenbits.xen.org/git-http/qemu-xen.git;
36− rev = "e5a1bb22cfb307db909dbd3404c48e5bbeb9e66d";
37− sha256 = "00h6hc1y19y9wafxk01hvwm2j8lysz26wi2dnv8md76zxavg4maa";
30+ rev = "refs/tags/qemu-xen-${version}";
31+ sha256 = "014s755slmsc7xzy7qhk9i3kbjr2grxb5yznjp71dl6xxfvnday2";
3832 };
3933 }
40− # tag xen-4.5.2
4134 { git = { name = "qemu-xen-traditional";
4235 url = https://xenbits.xen.org/git-http/qemu-xen-traditional.git;
43− rev = "dfe880e8d5fdc863ce6bbcdcaebaf918f8689cc0";
44− sha256 = "07jwpxgk9ls5hma6vv1frnx1aczlvpddlgiyii9qmmlxxwjs21yj";
36+ # rev = "28c21388c2a32259cff37fc578684f994dca8c9f";
37+ rev = "refs/tags/xen-${version}";
38+ sha256 = "0n0ycxlf1wgdjkdl8l2w1i0zzssk55dfv67x8i6b2ima01r0k93r";
4539 };
4640 }
4741 { git = { name = "xen-libhvm";
pkgs/top-level/all-packages.nix+3−4
@@ -15101,10 +15101,9 @@ in
1510115101
1510215102 xdotool = callPackage ../tools/X11/xdotool { };
1510315103
15104− xen_4_5_0 = callPackage ../applications/virtualization/xen/4.5.0.nix { stdenv = overrideCC stdenv gcc49; };
15105− xen_4_5_2 = callPackage ../applications/virtualization/xen/4.5.2.nix { stdenv = overrideCC stdenv gcc49; };
15106− xen_xenServer = callPackage ../applications/virtualization/xen/4.5.0.nix { xenserverPatched = true; stdenv = overrideCC stdenv gcc49; };
15107− xen = xen_4_5_2;
15104+ xen_4_5 = callPackage ../applications/virtualization/xen/4.5.nix { stdenv = overrideCC stdenv gcc49; };
15105+ xen_xenServer = callPackage ../applications/virtualization/xen/4.5.nix { xenserverPatched = true; stdenv = overrideCC stdenv gcc49; };
15106+ xen = xen_4_5;
1510815107
1510915108 win-spice = callPackage ../applications/virtualization/driver/win-spice { };
1511015109 win-virtio = callPackage ../applications/virtualization/driver/win-virtio { };