diff options
Diffstat (limited to 'system/xen/xen.SlackBuild')
-rw-r--r-- | system/xen/xen.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index 4b08a011b4079..38d3ecbfdd363 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 |