diff options
author | sbruno <sbruno@FreeBSD.org> | 2017-08-26 06:53:16 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2017-08-26 06:53:16 +0800 |
commit | b96365e9ba308ac0cfd24f3ea24843a6ecb635c7 (patch) | |
tree | c28ce669f5f2c950d14b09f00f83405030f7cff0 | |
parent | 390feccd2533502c899f6f5f42a0159b3888b8ca (diff) | |
download | freebsd-ports-gnome-b96365e9ba308ac0cfd24f3ea24843a6ecb635c7.tar.gz freebsd-ports-gnome-b96365e9ba308ac0cfd24f3ea24843a6ecb635c7.tar.zst freebsd-ports-gnome-b96365e9ba308ac0cfd24f3ea24843a6ecb635c7.zip |
Bump qemu-sbruno to chase qemu release candidates.
Add redirection for "armv7" so the poudriere can be tested for this
target when its ready.
Fix bsd-mem.h do_obreak() to invoke an mmap() with a proper -1 argument
for the fd argument.
Submitted by: Mikael Urankanar <mikael.urankar@gmail.com>
-rw-r--r-- | emulators/qemu-sbruno/Makefile | 5 | ||||
-rw-r--r-- | emulators/qemu-sbruno/distinfo | 6 | ||||
-rw-r--r-- | emulators/qemu-sbruno/files/qemu_user_static.in | 10 | ||||
-rw-r--r-- | emulators/qemu-sbruno/pkg-plist | 2 |
4 files changed, 15 insertions, 8 deletions
diff --git a/emulators/qemu-sbruno/Makefile b/emulators/qemu-sbruno/Makefile index 8272f74250d1..884e7d3ebfc2 100644 --- a/emulators/qemu-sbruno/Makefile +++ b/emulators/qemu-sbruno/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= qemu -PORTVERSION= 2.9.50.g20170721 +PORTVERSION= 2.9.94.g20170825 CATEGORIES= emulators MASTER_SITES= GH PKGNAMESUFFIX?= -sbruno @@ -16,7 +16,7 @@ LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= seanbruno GH_PROJECT= ${PORTNAME}-bsd-user -GH_TAGNAME= 17977d0 +GH_TAGNAME= 2dbc44a HAS_CONFIGURE= yes USES= gmake pkgconfig bison perl5 python:2,build USE_PERL5= build @@ -299,7 +299,6 @@ post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ivshmem-* .endif .include <bsd.port.mk> diff --git a/emulators/qemu-sbruno/distinfo b/emulators/qemu-sbruno/distinfo index c71555d48cb2..4f4e2d60075e 100644 --- a/emulators/qemu-sbruno/distinfo +++ b/emulators/qemu-sbruno/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1500667034 -SHA256 (qemu/2.9.50.g20170721/seanbruno-qemu-bsd-user-2.9.50.g20170721-17977d0_GH0.tar.gz) = 4c637b3db30a002e51a676787304c8fdaca0321678d4386210491964b6727ad3 -SIZE (qemu/2.9.50.g20170721/seanbruno-qemu-bsd-user-2.9.50.g20170721-17977d0_GH0.tar.gz) = 14562658 +TIMESTAMP = 1503667589 +SHA256 (qemu/2.9.94.g20170825/seanbruno-qemu-bsd-user-2.9.94.g20170825-2dbc44a_GH0.tar.gz) = 3fc2f3532a0e4c809c9a070f0616a46ab3110c2829f3271012c1ecd19f4741a2 +SIZE (qemu/2.9.94.g20170825/seanbruno-qemu-bsd-user-2.9.94.g20170825-2dbc44a_GH0.tar.gz) = 14636493 diff --git a/emulators/qemu-sbruno/files/qemu_user_static.in b/emulators/qemu-sbruno/files/qemu_user_static.in index 9c97176d5622..38fb48ab31b7 100644 --- a/emulators/qemu-sbruno/files/qemu_user_static.in +++ b/emulators/qemu-sbruno/files/qemu_user_static.in @@ -54,6 +54,16 @@ list_cmd="${BINMISCCTL} list" else echo "$0: interpreter ${interpreter} not found, cannot register." fi + # register armv7 interpreter styled 'arm' + interpreter=${QEMU_DIR}/${QEMU_PREFIX}arm${QEMU_SUFFIX} + if [ -x "${interpreter}" ]; then + ${BINMISCCTL} add armv7 --interpreter "${interpreter}" \ + --magic "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" \ + --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff" \ + --size 20 --set-enabled + else + echo "$0: interpreter ${interpreter} not found, cannot register." + fi # register aarch64 interpreter styled 'aarch64' interpreter=${QEMU_DIR}/${QEMU_PREFIX}aarch64${QEMU_SUFFIX} if [ -x "${interpreter}" ]; then diff --git a/emulators/qemu-sbruno/pkg-plist b/emulators/qemu-sbruno/pkg-plist index 6d2a28be7902..c0dd28c707d7 100644 --- a/emulators/qemu-sbruno/pkg-plist +++ b/emulators/qemu-sbruno/pkg-plist @@ -1,5 +1,3 @@ -%%SOFTMMU%%bin/ivshmem-client -%%SOFTMMU%%bin/ivshmem-server %%SOFTMMU%%bin/qemu-ga %%SOFTMMU%%bin/qemu-img %%SOFTMMU%%bin/qemu-io |