Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 22:53:16 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448742 - in head/emulators/qemu-sbruno: . files
Message-ID:  <201708252253.v7PMrG7o021028@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Fri Aug 25 22:53:16 2017
New Revision: 448742
URL: https://svnweb.freebsd.org/changeset/ports/448742

Log:
  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>

Modified:
  head/emulators/qemu-sbruno/Makefile
  head/emulators/qemu-sbruno/distinfo
  head/emulators/qemu-sbruno/files/qemu_user_static.in
  head/emulators/qemu-sbruno/pkg-plist

Modified: head/emulators/qemu-sbruno/Makefile
==============================================================================
--- head/emulators/qemu-sbruno/Makefile	Fri Aug 25 21:08:52 2017	(r448741)
+++ head/emulators/qemu-sbruno/Makefile	Fri Aug 25 22:53:16 2017	(r448742)
@@ -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>

Modified: head/emulators/qemu-sbruno/distinfo
==============================================================================
--- head/emulators/qemu-sbruno/distinfo	Fri Aug 25 21:08:52 2017	(r448741)
+++ head/emulators/qemu-sbruno/distinfo	Fri Aug 25 22:53:16 2017	(r448742)
@@ -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

Modified: head/emulators/qemu-sbruno/files/qemu_user_static.in
==============================================================================
--- head/emulators/qemu-sbruno/files/qemu_user_static.in	Fri Aug 25 21:08:52 2017	(r448741)
+++ head/emulators/qemu-sbruno/files/qemu_user_static.in	Fri Aug 25 22:53:16 2017	(r448742)
@@ -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

Modified: head/emulators/qemu-sbruno/pkg-plist
==============================================================================
--- head/emulators/qemu-sbruno/pkg-plist	Fri Aug 25 21:08:52 2017	(r448741)
+++ head/emulators/qemu-sbruno/pkg-plist	Fri Aug 25 22:53:16 2017	(r448742)
@@ -1,5 +1,3 @@
-%%SOFTMMU%%bin/ivshmem-client
-%%SOFTMMU%%bin/ivshmem-server
 %%SOFTMMU%%bin/qemu-ga
 %%SOFTMMU%%bin/qemu-img
 %%SOFTMMU%%bin/qemu-io



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708252253.v7PMrG7o021028>