summaryrefslogtreecommitdiff
path: root/system/xen/xen.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-11-09 14:23:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:08:01 +0700
commitea5b7f2452b1c332c70f7c0a0f835148d8ab24ac (patch)
tree7bce595df73abf73d5896327e345b3037115684d /system/xen/xen.SlackBuild
parent2822f53632f3306e95c48e6974cf86716600b420 (diff)
downloadslackbuilds-ea5b7f2452b1c332c70f7c0a0f835148d8ab24ac.tar.gz
system/xen: Updated for version 4.5.2.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/xen/xen.SlackBuild')
-rw-r--r--system/xen/xen.SlackBuild11
1 files changed, 10 insertions, 1 deletions
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