From ea5b7f2452b1c332c70f7c0a0f835148d8ab24ac Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Mon, 9 Nov 2015 14:23:06 +0100 Subject: [PATCH] system/xen: Updated for version 4.5.2. Signed-off-by: Mario Preksavec --- system/xen/dom0/kernel-xen.sh | 2 +- system/xen/xen.SlackBuild | 11 ++++++++++- system/xen/xen.info | 6 +++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/system/xen/dom0/kernel-xen.sh b/system/xen/dom0/kernel-xen.sh index a48c686833..383f6d3cbe 100644 --- a/system/xen/dom0/kernel-xen.sh +++ b/system/xen/dom0/kernel-xen.sh @@ -6,7 +6,7 @@ # Modified by Mario Preksavec KERNEL=${KERNEL:-3.10.17} -XEN=${XEN:-4.5.1} +XEN=${XEN:-4.5.2} BOOTLOADER=${BOOTLOADER:-lilo} ROOTMOD=${ROOTMOD:-ext4} diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index 4b08a011b4..38d3ecbfdd 100644 --- a/system/xen/xen.SlackBuild +++ b/system/xen/xen.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xen -VERSION=${VERSION:-4.5.1} +VERSION=${VERSION:-4.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -96,6 +96,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Apply Xen Security Advisory patches +for i in $CWD/patches/xsa* ; do + case $i in + *qemut*.patch) patch -d tools/qemu-xen-traditional -p1 <$i ;; + *qemuu*.patch) patch -d tools/qemu-xen -p1 <$i ;; + *.patch) patch -p1 <$i ;; + esac +done + # Tweak some things sed "s/@@LIBSSH2@@/$LIBSSH2/;s/@@BLUEZ@@/$BLUEZ/" \ $CWD/patches/qemu_configure_options.diff | patch -p1 diff --git a/system/xen/xen.info b/system/xen/xen.info index 503770ff57..188a611444 100644 --- a/system/xen/xen.info +++ b/system/xen/xen.info @@ -1,7 +1,7 @@ PRGNAM="xen" -VERSION="4.5.1" +VERSION="4.5.2" HOMEPAGE="http://www.xenproject.org/" -DOWNLOAD="http://mirror.slackware.hr/sources/xen/xen-4.5.1.tar.gz \ +DOWNLOAD="http://mirror.slackware.hr/sources/xen/xen-4.5.2.tar.gz \ http://mirror.slackware.hr/sources/xen-extfiles/ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz \ http://mirror.slackware.hr/sources/xen-extfiles/lwip-1.3.0.tar.gz \ http://mirror.slackware.hr/sources/xen-extfiles/zlib-1.2.3.tar.gz \ @@ -12,7 +12,7 @@ DOWNLOAD="http://mirror.slackware.hr/sources/xen/xen-4.5.1.tar.gz \ http://mirror.slackware.hr/sources/xen-extfiles/gmp-4.3.2.tar.bz2 \ http://mirror.slackware.hr/sources/xen-extfiles/tpm_emulator-0.7.4.tar.gz \ http://mirror.slackware.hr/sources/xen-extfiles/seabios-git-rel-1.7.5.tar.gz" -MD5SUM="d12dc9e5e8bd22a68b5c7f53119221f1 \ +MD5SUM="a8cfa7bc4b27ac02885b4693fe01be82 \ 7496268cebf47d5c9ccb0696e3b26065 \ 36cc57650cffda9a0269493be2a169bb \ debc62758716a169df9f62e6ab2bc634 \