summaryrefslogtreecommitdiff
path: root/qemu
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2020-09-02 13:49:51 +0200
committerJuergen Daubert <jue@jue.li>2020-09-02 13:49:51 +0200
commit4c3f08daad7b991e4ada755713e6191fc0137da3 (patch)
tree05ce8508251925b25fc5bfc4133b684216a2f36f /qemu
parent9458b408d7044d5464d2f90b610457e32c5ca1d3 (diff)
downloadopt-4c3f08daad7b991e4ada755713e6191fc0137da3.tar.gz
opt-4c3f08daad7b991e4ada755713e6191fc0137da3.tar.xz
qemu: update to 5.1.0
Diffstat (limited to 'qemu')
-rw-r--r--qemu/.footprint14
-rw-r--r--qemu/.signature9
-rw-r--r--qemu/Pkgfile56
-rw-r--r--qemu/qemu-man-5.1.0.tar.xzbin0 -> 234320 bytes
4 files changed, 40 insertions, 39 deletions
diff --git a/qemu/.footprint b/qemu/.footprint
index 6e52de6c5..c042310cc 100644
--- a/qemu/.footprint
+++ b/qemu/.footprint
@@ -14,15 +14,15 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/qemu-io
-rwxr-xr-x root/root usr/bin/qemu-keymap
-rwxr-xr-x root/root usr/bin/qemu-nbd
--rwxr-xr-x root/root usr/bin/qemu-pr-helper
+-rwxr-xr-x root/root usr/bin/qemu-storage-daemon
-rwxr-xr-x root/root usr/bin/qemu-system-i386
-rwxr-xr-x root/root usr/bin/qemu-system-x86_64
-rwxr-xr-x root/root usr/bin/qemu-x86_64
--rwxr-xr-x root/root usr/bin/virtfs-proxy-helper
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/qemu/
-rwxr-xr-x root/root usr/lib/qemu/qemu-bridge-helper
+-rwxr-xr-x root/root usr/lib/qemu/qemu-pr-helper
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/qemu.desktop
@@ -60,7 +60,15 @@ drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/qemu-img.1.gz
-rw-r--r-- root/root usr/share/man/man1/qemu.1.gz
+-rw-r--r-- root/root usr/share/man/man1/virtfs-proxy-helper.1.gz
+-rw-r--r-- root/root usr/share/man/man1/virtiofsd.1.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/qemu-block-drivers.7.gz
+-rw-r--r-- root/root usr/share/man/man7/qemu-cpu-models.7.gz
+-rw-r--r-- root/root usr/share/man/man7/qemu-ga-ref.7.gz
+-rw-r--r-- root/root usr/share/man/man7/qemu-qmp-ref.7.gz
drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/qemu-ga.8.gz
-rw-r--r-- root/root usr/share/man/man8/qemu-nbd.8.gz
drwxr-xr-x root/root usr/share/qemu/
-rw-r--r-- root/root usr/share/qemu/QEMU,cgthree.bin
@@ -137,13 +145,13 @@ drwxr-xr-x root/root usr/share/qemu/keymaps/
-rw-r--r-- root/root usr/share/qemu/openbios-ppc
-rw-r--r-- root/root usr/share/qemu/openbios-sparc32
-rw-r--r-- root/root usr/share/qemu/openbios-sparc64
+-rw-r--r-- root/root usr/share/qemu/opensbi-riscv32-sifive_u-fw_jump.bin
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv32-virt-fw_jump.bin
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv64-sifive_u-fw_jump.bin
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv64-virt-fw_jump.bin
-rw-r--r-- root/root usr/share/qemu/palcode-clipper
-rw-r--r-- root/root usr/share/qemu/petalogix-ml605.dtb
-rw-r--r-- root/root usr/share/qemu/petalogix-s3adsp1800.dtb
--rw-r--r-- root/root usr/share/qemu/ppc_rom.bin
-rw-r--r-- root/root usr/share/qemu/pvh.bin
-rw-r--r-- root/root usr/share/qemu/pxe-e1000.rom
-rw-r--r-- root/root usr/share/qemu/pxe-eepro100.rom
diff --git a/qemu/.signature b/qemu/.signature
index e8f2dc65d..5f8c13381 100644
--- a/qemu/.signature
+++ b/qemu/.signature
@@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/cVQtJ7xiBpQnvlu17IZiV+vy0O65XEiP5rWB03PrgHsRcVkYQ8vonP+zTJI8Z6+tfUW8JIDJYtUkcy56DLm6gs=
-SHA256 (Pkgfile) = efbd494a4d5a73f1577b1e4c0f5787b231a6dd1ae5ad554f27b0b0c4e59babcd
-SHA256 (.footprint) = 2345b65afef6e00868a64051a34cd39fff673b1e265ca63df933b25cb9cd5edc
-SHA256 (qemu-4.2.0.tar.bz2) = 3cf4f3f73233a12211a045f07eef467fdc7bf3877568cd0c8a0cf36121da9fbd
+RWSE3ohX2g5d/RlC/fbxmpLvxWJm+c0GSHHBcvdEyYAipvkglqg2ew3QgwFsbRC9616t0UWHqXJqldeS04cg1cf2AKwg3NFnEww=
+SHA256 (Pkgfile) = 8945e8419ad0d021d5b8c3417492087edd735bf3c21dc7e1c25faf008bff5dde
+SHA256 (.footprint) = a462ac4d43ee676f6ca2902df530c27492d2d29d842a270769c49f6a8af40d5a
+SHA256 (qemu-5.1.0.tar.xz) = c9174eb5933d9eb5e61f541cd6d1184cd3118dfe4c5c4955bc1bdc4d390fa4e5
+SHA256 (qemu-man-5.1.0.tar.xz) = 5eb71bf090938309b7d61b989a1f061904130731d375abc45e830b5bf5145976
diff --git a/qemu/Pkgfile b/qemu/Pkgfile
index ca16adc1e..50efd21c2 100644
--- a/qemu/Pkgfile
+++ b/qemu/Pkgfile
@@ -1,44 +1,36 @@
# Description: Fast CPU emulator and virtualizer for the x86 platform
-# URL: http://www.qemu-project.org/
+# URL: https://www.qemu.org/
# Maintainer: Thomas Penteker, tek at serverop dot de
-# Depends on: glib libsdl xorg-libpixman libxkbcommon
-# Optional: libseccomp libiscsi libusb usbredir spice
+# Depends on: libusb linux-pam util-linux glib libsdl2 xorg-libpixman libxkbcommon
name=qemu
-version=4.2.0
-release=2
-source=(http://wiki.qemu-project.org/download/qemu-$version.tar.bz2)
+version=5.1.0
+release=1
+source=(https://download.qemu.org/$name-$version.tar.xz
+ $name-man-$version.tar.xz)
build() {
- cd $name-$version
+ cd $name-$version
- ./configure --prefix=/usr \
- --cc="${CC:=gcc}" \
- --host-cc="${CC:=gcc}" \
- --sysconfdir=/etc \
- --disable-docs \
- --libexecdir=/usr/lib/qemu \
- --disable-gtk \
- --localstatedir=/var \
- --python=/usr/bin/python3 \
- --target-list=x86_64-linux-user,i386-linux-user,i386-softmmu,x86_64-softmmu
+ ./configure \
+ --prefix=/usr \
+ --cc="${CC:=gcc}" \
+ --host-cc="${CC:=gcc}" \
+ --sysconfdir=/etc \
+ --disable-docs \
+ --libexecdir=/usr/lib/qemu \
+ --disable-gtk \
+ --localstatedir=/var \
+ --python=/usr/bin/python3 \
+ --target-list=x86_64-linux-user,i386-linux-user,i386-softmmu,x86_64-softmmu
- # fix include issues with libcap
- sed -i -e '/#include "qemu\/xattr.h"/d' \
- -e 's|#include <sys/resource.h>|#include <sys/resource.h>\r\n#include "qemu\/xattr.h"|g' \
- fsdev/virtfs-proxy-helper.c
+ make
+ make DESTDIR=$PKG install
- make ${MAKEFLAGS:=}
- make DESTDIR=$PKG install
+ cp -r $SRC/man $PKG/usr/share
- make qemu.1 qemu-img.1 qemu-nbd.8
- install -D -m 644 qemu.1 $PKG/usr/share/man/man1/qemu.1
- install -D -m 644 qemu-img.1 $PKG/usr/share/man/man1/qemu-img.1
- install -D -m 644 qemu-nbd.8 $PKG/usr/share/man/man8/qemu-nbd.8
+ install -d $PKG/etc/udev/rules.d/
+ echo 'KERNEL=="kvm", NAME="kvm", OWNER="root", GROUP="kvm", MODE="0660"' > \
+ $PKG/etc/udev/rules.d/60-kvm.rules
- install -d $PKG/etc/udev/rules.d/
- echo 'KERNEL=="kvm", NAME="kvm", OWNER="root", GROUP="kvm", MODE="0660"' > \
- $PKG/etc/udev/rules.d/60-kvm.rules
-
- rm -rf $PKG/usr/share/locale
}
diff --git a/qemu/qemu-man-5.1.0.tar.xz b/qemu/qemu-man-5.1.0.tar.xz
new file mode 100644
index 000000000..eccbf0c9c
--- /dev/null
+++ b/qemu/qemu-man-5.1.0.tar.xz
Binary files differ

Generated by cgit