summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Heß2017-07-20 15:49:49 +0200
committerJanne Heß2017-07-20 15:49:49 +0200
commitb7ceaca6dab61f2be34336fa31d9b59f0b0343fd (patch)
tree83a5e26032db8c955617fa42978023ad3f365323
parentd26c95f2d0ea9ce5232e5f36cf3f509a8edaf3f1 (diff)
downloadaur-b7ceaca6dab61f2be34336fa31d9b59f0b0343fd.tar.gz
Update to 4.9.0-1
-rw-r--r--.SRCINFO47
-rw-r--r--.gitignore2
-rw-r--r--ChangeLog6
-rw-r--r--PKGBUILD100
-rw-r--r--tmpfiles.conf4
-rw-r--r--xen.install6
6 files changed, 57 insertions, 108 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 87af47f85f40..8721029b8b47 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat May 6 18:43:55 UTC 2017
+# Thu Jul 20 13:49:40 UTC 2017
pkgbase = xen
pkgdesc = Virtual Machine Hypervisor & Tools
- pkgver = 4.8.0
- pkgrel = 7
+ pkgver = 4.9.0
+ pkgrel = 1
url = http://www.xenproject.org/
changelog = ChangeLog
arch = x86_64
@@ -44,50 +44,22 @@ pkgbase = xen
noextract = ipxe-git-827dd1bfee67daa683935ce65316f7e0f057fe1c.tar.gz
options = !buildflags
options = !strip
- source = http://bits.xensource.com/oss-xen/release/4.8.0/xen-4.8.0.tar.gz
- source = http://bits.xensource.com/oss-xen/release/4.8.0/xen-4.8.0.tar.gz.sig
+ source = https://downloads.xenproject.org/release/xen/4.9.0/xen-4.9.0.tar.gz
+ source = https://downloads.xenproject.org/release/xen/4.9.0/xen-4.9.0.tar.gz.sig
source = http://xenbits.xen.org/xen-extfiles/ipxe-git-827dd1bfee67daa683935ce65316f7e0f057fe1c.tar.gz
- source = https://xenbits.xen.org/xsa/xsa203-4.8.patch
- source = https://xenbits.xen.org/xsa/xsa204-4.8.patch
- source = https://xenbits.xen.org/xsa/xsa207.patch
- source = https://xenbits.xen.org/xsa/xsa208-qemut.patch
- source = https://xenbits.xen.org/xsa/xsa208-qemuu.patch
- source = https://xenbits.xen.org/xsa/xsa209-qemut.patch
- source = https://xenbits.xen.org/xsa/xsa209-qemuu/0001-display-cirrus-ignore-source-pitch-value-as-needed-i.patch
- source = https://xenbits.xen.org/xsa/xsa209-qemuu/0002-cirrus-add-blit_is_unsafe-call-to-cirrus_bitblt_cput.patch
- source = https://xenbits.xen.org/xsa/xsa210.patch
- source = https://xenbits.xen.org/xsa/xsa211-qemut.patch
- source = https://xenbits.xen.org/xsa/xsa211-qemuu-4.8.patch
- source = https://xenbits.xen.org/xsa/xsa212.patch
- source = https://xenbits.xen.org/xsa/xsa213-4.8.patch
- source = https://xenbits.xen.org/xsa/xsa214.patch
source = grub-mkconfig-helper
source = efi-xen.cfg
source = grub.conf
source = xen.conf
source = tmpfiles.conf
- sha256sums = 1e15c713ab7ba3bfda8b4a285ed973529364fd1100e6dd5a61f29583dc667b04
+ sha256sums = cade643fe3310d4d6f97d0c215c6fa323bc1130d7e64d7e2043ffaa73a96f33b
sha256sums = SKIP
sha256sums = 36deacb946c59ad1d6600f6e5b89d6a7a8961e65eb000900e184075920120f49
- sha256sums = 4218fcfff11ec4788462a3ea9dddecb25b9d9fb1beaad17ca0f723b07b6675e4
- sha256sums = fa2a69682868104b6263655abbfc6b326f76deebdac3273b4b65da6673f5d977
- sha256sums = e9bcf807b3785ac4d78b621fba4a9395cd713d6e57cdaa66559bccf95ded1cd9
- sha256sums = afde3e9d4bf5225f92c36dec9ff673b0b1b0bad4452d406f0c12edc85e2fec72
- sha256sums = e492d528141be5899d46c2ac0bcd0c40ca9d9bfc40906a8e7a565361f17ce38d
- sha256sums = 167af9ed7163fa7cf4abb52f865290ced3163c7684151bdc1324eb5e534faf13
- sha256sums = e698b73d8de24af0fe33968a43561e5e1d094f4caf2443caa447b552677d2683
- sha256sums = 50c60e45151ef2265cce4f92b204e9fd75f8bc8952f097e77ab4fe1c1446bc98
- sha256sums = 10e26c017c916dcac261c6a3c92656831f0ad037f792940e6faf6905c6e23861
- sha256sums = 9d0cf413dcc9654ee95f6b04fa9c5714f36775cbc9ab0390a3041ec4a68845ab
- sha256sums = bea7cf4065bd9d0085f4dfc3395e59c3ca9d4de9d786a3018c8dc7fd9f3d8b6e
- sha256sums = be1255bcda06158cdb86eb5297e8a271e05318e88cd21035c58a67f9ada6ccba
- sha256sums = 20c12810ac73809ba74cfde811d420b1b544a07f759c393380afde1a09eb5274
- sha256sums = 1c038c3927d08e6abdf3ce320bb8b0b68a106e6ac86b4e8194035dc5e4726d64
sha256sums = 06c9f6140f7ef4ccfc4b1a7d9732a673313e269733180f53afcd9e43bf6c26bb
sha256sums = ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f
sha256sums = 3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568
sha256sums = 50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c
- sha256sums = 40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf
+ sha256sums = 80227f8daa62a49c08fb7ffcc7de8cabbd0645396e46c04f7caaa71b04f446f0
pkgname = xen
install = xen.install
@@ -112,7 +84,7 @@ pkgname = xen
optdepends = openvswitch: Optional Networking support
optdepends = seabios: Boot VMs with BIOS
optdepends = ovmf: Boot VMs with UEFI
- provides = xen-4.8.0
+ provides = xen-4.9.0
conflicts = xen-4.2
conflicts = xen-4.2-testing-hg
conflicts = xen-gdbsx
@@ -127,6 +99,7 @@ pkgname = xen
conflicts = xen-4.6
conflicts = xen-4.7
conflicts = xen-4.8
+ conflicts = xen-4.9
backup = etc/conf.d/xencommons
backup = etc/conf.d/xendomains
backup = etc/xen/efi-xen.cfg
@@ -138,7 +111,7 @@ pkgname = xen
pkgname = xen-docs
pkgdesc = Virtual Machine Hypervisor documentation
arch = any
- provides = xen-docs-4.8.0
+ provides = xen-docs-4.9.0
conflicts = xen-docs-4.2
conflicts = xen-docs-4.2-testing-hg
conflicts = xen-docs-gdbsx
diff --git a/.gitignore b/.gitignore
index c1e844621621..3e07d651a09c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,5 @@
/pkg/
/src/
-/ovmf/
-/seabios/
/xsa*
*.tar
diff --git a/ChangeLog b/ChangeLog
index 093ba35f7ebf..c1a21dd581ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-20 Janne Heß
+ * 4.9.0
+ Xen 4.9.0
+ Completely patch out Werror
+ Remove all obsolete patches
+
2017-05-06 Janne Heß
* 4.8.0-7
Apply XSA patches: 213 214
diff --git a/PKGBUILD b/PKGBUILD
index 8e4b16698e77..0d3c327ce0a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,10 +20,10 @@ _build_stubdom=${build_stubdom:-false}
# Versions
#####
-_xen_version='4.8.0'
+_xen_version='4.9.0'
_xen_major_version='4'
-_xen_minor_version='8'
-# grep IPXE_GIT_TAG src/xen-*/tools/firmware/etherboot
+_xen_minor_version='9'
+# grep -R IPXE_GIT_TAG src/xen-*/tools/firmware/etherboot
_git_tag_ipxe='827dd1bfee67daa683935ce65316f7e0f057fe1c'
# grep '_VERSION=' src/xen-*/stubdom/configure
if [ "${_build_stubdom}" = true ]; then
@@ -46,7 +46,7 @@ fi
pkgbase=xen
pkgname=(xen xen-docs)
pkgver="${_xen_version}"
-pkgrel=7
+pkgrel=1
pkgdesc='Virtual Machine Hypervisor & Tools'
url='http://www.xenproject.org/'
license=('GPL2')
@@ -93,25 +93,12 @@ makedepends=(
# Sources
source=(
- "http://bits.xensource.com/oss-xen/release/${pkgver}/${pkgbase}-${pkgver}.tar.gz"
- "http://bits.xensource.com/oss-xen/release/${pkgver}/${pkgbase}-${pkgver}.tar.gz.sig"
+ "https://downloads.xenproject.org/release/xen/${pkgver}/${pkgbase}-${pkgver}.tar.gz"
+ "https://downloads.xenproject.org/release/xen/${pkgver}/${pkgbase}-${pkgver}.tar.gz.sig"
"http://xenbits.xen.org/xen-extfiles/ipxe-git-${_git_tag_ipxe}.tar.gz"
# XSA patches
- 'https://xenbits.xen.org/xsa/xsa203-4.8.patch'
- 'https://xenbits.xen.org/xsa/xsa204-4.8.patch'
- 'https://xenbits.xen.org/xsa/xsa207.patch'
- 'https://xenbits.xen.org/xsa/xsa208-qemut.patch'
- 'https://xenbits.xen.org/xsa/xsa208-qemuu.patch'
- 'https://xenbits.xen.org/xsa/xsa209-qemut.patch'
- 'https://xenbits.xen.org/xsa/xsa209-qemuu/0001-display-cirrus-ignore-source-pitch-value-as-needed-i.patch'
- 'https://xenbits.xen.org/xsa/xsa209-qemuu/0002-cirrus-add-blit_is_unsafe-call-to-cirrus_bitblt_cput.patch'
- 'https://xenbits.xen.org/xsa/xsa210.patch'
- 'https://xenbits.xen.org/xsa/xsa211-qemut.patch'
- 'https://xenbits.xen.org/xsa/xsa211-qemuu-4.8.patch'
- 'https://xenbits.xen.org/xsa/xsa212.patch'
- 'https://xenbits.xen.org/xsa/xsa213-4.8.patch'
- 'https://xenbits.xen.org/xsa/xsa214.patch'
+ # None yet
# Files
'grub-mkconfig-helper'
@@ -136,31 +123,18 @@ if [ "${_build_stubdom}" = true ] ; then
fi
sha256sums=(
- '1e15c713ab7ba3bfda8b4a285ed973529364fd1100e6dd5a61f29583dc667b04'
+ 'cade643fe3310d4d6f97d0c215c6fa323bc1130d7e64d7e2043ffaa73a96f33b'
'SKIP'
'36deacb946c59ad1d6600f6e5b89d6a7a8961e65eb000900e184075920120f49'
# XSA patches
- '4218fcfff11ec4788462a3ea9dddecb25b9d9fb1beaad17ca0f723b07b6675e4'
- 'fa2a69682868104b6263655abbfc6b326f76deebdac3273b4b65da6673f5d977'
- 'e9bcf807b3785ac4d78b621fba4a9395cd713d6e57cdaa66559bccf95ded1cd9'
- 'afde3e9d4bf5225f92c36dec9ff673b0b1b0bad4452d406f0c12edc85e2fec72'
- 'e492d528141be5899d46c2ac0bcd0c40ca9d9bfc40906a8e7a565361f17ce38d'
- '167af9ed7163fa7cf4abb52f865290ced3163c7684151bdc1324eb5e534faf13'
- 'e698b73d8de24af0fe33968a43561e5e1d094f4caf2443caa447b552677d2683'
- '50c60e45151ef2265cce4f92b204e9fd75f8bc8952f097e77ab4fe1c1446bc98'
- '10e26c017c916dcac261c6a3c92656831f0ad037f792940e6faf6905c6e23861'
- '9d0cf413dcc9654ee95f6b04fa9c5714f36775cbc9ab0390a3041ec4a68845ab'
- 'bea7cf4065bd9d0085f4dfc3395e59c3ca9d4de9d786a3018c8dc7fd9f3d8b6e'
- 'be1255bcda06158cdb86eb5297e8a271e05318e88cd21035c58a67f9ada6ccba'
- '20c12810ac73809ba74cfde811d420b1b544a07f759c393380afde1a09eb5274'
- '1c038c3927d08e6abdf3ce320bb8b0b68a106e6ac86b4e8194035dc5e4726d64'
+ # None yet. Last checked: XSA-225
# PKGBUILD files
'06c9f6140f7ef4ccfc4b1a7d9732a673313e269733180f53afcd9e43bf6c26bb'
'ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f'
'3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568'
'50a9b7fd19e8beb1dea09755f07318f36be0b7ec53d3c9e74f3266a63e682c0c'
- '40e0760810a49f925f2ae9f986940b40eba477dc6d3e83a78baaae096513b3cf'
+ '80227f8daa62a49c08fb7ffcc7de8cabbd0645396e46c04f7caaa71b04f446f0'
)
@@ -204,26 +178,18 @@ prepare() {
# XSA Patches
msg2 'Applying XSA Patches...'
- patch -Np1 -i "${srcdir}/xsa203-4.8.patch"
- patch -Np1 -i "${srcdir}/xsa204-4.8.patch"
- patch -Np1 -i "${srcdir}/xsa207.patch"
- patch -Np1 -i "${srcdir}/xsa210.patch"
- patch -Np1 -i "${srcdir}/xsa212.patch"
- patch -Np1 -i "${srcdir}/xsa213-4.8.patch"
- patch -Np1 -i "${srcdir}/xsa214.patch"
+ # None yet. Example:
+ #patch -Np1 -i "${srcdir}/xsa214.patch"
# qemu-xen-traditional
- pushd 'tools/qemu-xen-traditional'
- patch -Np1 -i "${srcdir}/xsa208-qemut.patch"
- patch -Np1 -i "${srcdir}/xsa209-qemut.patch"
- patch -Np1 -i "${srcdir}/xsa211-qemut.patch"
- popd
+ pushd 'tools/qemu-xen-traditional' >/dev/null
+ # None yet. Example:
+ #patch -Np1 -i "${srcdir}/xsa211-qemut.patch"
+ popd >/dev/null >/dev/null
# qemu-xen upstream
- pushd 'tools/qemu-xen'
- patch -Np1 -i "${srcdir}/xsa208-qemuu.patch"
- patch -Np1 -i "${srcdir}/0001-display-cirrus-ignore-source-pitch-value-as-needed-i.patch"
- patch -Np1 -i "${srcdir}/0002-cirrus-add-blit_is_unsafe-call-to-cirrus_bitblt_cput.patch"
- patch -Np1 -i "${srcdir}/xsa211-qemuu-4.8.patch"
- popd
+ pushd 'tools/qemu-xen' >/dev/null
+ # None yet. Example:
+ #patch -Np1 -i "${srcdir}/xsa211-qemuu-4.8.patch"
+ popd >/dev/null
# Patch EFI binary build with mingw
msg2 'Patching EFI build...'
@@ -251,10 +217,11 @@ prepare() {
cp "${srcdir}/tpm_emulator-${_tpmemu_version}.tar.gz" stubdom/
fi
- # Workaround for cannot compute sizeof (unsigned short)
- # Makefile:170: recipe for target 'gmp-x86_64' failed
- # Probably not safe!
- #sed -i.bak "/< gmp.patch/a\ sed -i.bak 's/\\\\(\\\\s*\\\\)\\\\(fprintf (f,\\\\)\\\\(.*\\\\)/\\\\1\\\\2\\\\3\\\\n\\\\1clearerr(f);/' \$@/configure" stubdom/Makefile
+ # Patch out Werror
+ msg2 'Patching out Werror...'
+ # Copied from Gentoo's xen 4.8.1-r2 ebuild
+ find . \( -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' \) -exec sed -i 's/ *-Werror */ /' '{}' ';'
+ sed -i 's/, "-Werror"//' 'tools/python/setup.py'
}
build() {
@@ -280,7 +247,12 @@ build() {
--with-extra-qemuu-configure-args="--disable-bluez --disable-gtk --enable-spice --enable-usb-redir --disable-werror"
msg2 'Building Xen...'
- make LANG=C PYTHON=python2 APPEND_CFLAGS=-Wno-error dist
+ # NO_WERROR is required for iPXE, as the sources are not extracted before the build
+ # and the Werror cannot be patched out
+ make LANG=C PYTHON=python2 NO_WERROR=1 dist || :
+ # This is an honestly ugly hack. If someone finds out why the build fails the first time, please contact me.
+ # It's ugly but it makes the package build
+ make LANG=C PYTHON=python2 NO_WERROR=1 dist
}
package_xen() {
@@ -318,7 +290,7 @@ package_xen() {
"etc/${pkgbase}/xl.conf"
)
install="${pkgbase}.install"
- conflicts=(xen-4.2{,-testing-hg} xen-{gdbsx,hg-unstable,rc,git,igvtg} xen-4.3{,-testing-hg} xen-4.{4..8})
+ conflicts=(xen-4.2{,-testing-hg} xen-{gdbsx,hg-unstable,rc,git,igvtg} xen-4.3{,-testing-hg} xen-4.{4..9})
provides=("xen-${pkgver}")
cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -365,15 +337,15 @@ package_xen() {
# Hypervisor symlinks
rm -f boot/xen{,-${_xen_major_version}{,.${_xen_minor_version}}}.{gz,efi}
+ # sysvinit files
+ rm -r etc/init.d
+
# Documentation cleanup ( see xen-docs package )
rm -rf usr/share/doc
rm -rf usr/share/man
# Temporary directories
- rmdir run/xen run/xenstored
-
- # sysvinit scripts
- rm -rf etc/init.d
+ rmdir var/run/xen var/run/xenstored var/run
# Unnecessary qemu support files
rm usr/share/qemu-xen/qemu/{palcode,openbios}-*
diff --git a/tmpfiles.conf b/tmpfiles.conf
index a55258b0feae..f0fe8de6edc9 100644
--- a/tmpfiles.conf
+++ b/tmpfiles.conf
@@ -1,2 +1,2 @@
-d /run/xen 0755 root root -
-d /run/xenstored 0755 root root -
+d /var/run/xen 0755 root root -
+d /var/run/xenstored 0755 root root -
diff --git a/xen.install b/xen.install
index 8104a1911e0f..c54a959b7985 100644
--- a/xen.install
+++ b/xen.install
@@ -32,11 +32,11 @@ __EOF__
upgrade_msg() {
cat << __EOF__
-Xen 4.8
+Xen 4.9
Release notes
-http://wiki.xen.org/wiki/Xen_Project_4.8_Release_Notes
+http://wiki.xen.org/wiki/Xen_Project_4.9_Release_Notes
Feature list
-http://wiki.xen.org/wiki/Xen_Project_4.8_Feature_List
+http://wiki.xen.org/wiki/Xen_Project_4.9_Feature_List
__EOF__
if [ "$(vercmp 4.8.0-4 "$1")" -lt 0 ]; then