From owner-svn-ports-all@freebsd.org Thu Dec 24 23:06:28 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C607FA50799; Thu, 24 Dec 2015 23:06:28 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9629D113E; Thu, 24 Dec 2015 23:06:28 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBON6RaZ041502; Thu, 24 Dec 2015 23:06:27 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBON6RsN041499; Thu, 24 Dec 2015 23:06:27 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201512242306.tBON6RsN041499@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Thu, 24 Dec 2015 23:06:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404393 - in head/emulators/qemu-sbruno: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 23:06:29 -0000 Author: sbruno Date: Thu Dec 24 23:06:27 2015 New Revision: 404393 URL: https://svnweb.freebsd.org/changeset/ports/404393 Log: Update qemu-sbruno tracking my github branch. - merge to 2.5.0 release - Add support for arm(v4/5) and improve its ability to do stuff. (cognet) Modified: head/emulators/qemu-sbruno/Makefile head/emulators/qemu-sbruno/distinfo head/emulators/qemu-sbruno/files/qemu_user_static.in Modified: head/emulators/qemu-sbruno/Makefile ============================================================================== --- head/emulators/qemu-sbruno/Makefile Thu Dec 24 22:27:41 2015 (r404392) +++ head/emulators/qemu-sbruno/Makefile Thu Dec 24 23:06:27 2015 (r404393) @@ -2,12 +2,10 @@ # $FreeBSD$ PORTNAME= qemu -PORTVERSION= 2.4.50.g20151206 +PORTVERSION= 2.5.50.g20151224 CATEGORIES= emulators MASTER_SITES= GH \ - LOCAL/nox \ LOCAL/nox:dtc \ - http://people.freebsd.org/~nox/tmp/distfiles/ \ http://people.freebsd.org/~nox/tmp/distfiles/:dtc PKGNAMESUFFIX?= -sbruno DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -20,7 +18,7 @@ COMMENT?= QEMU CPU Emulator - github bsd USE_GITHUB= yes GH_ACCOUNT= seanbruno GH_PROJECT= ${PORTNAME}-bsd-user -GH_TAGNAME= 7397bda +GH_TAGNAME= e4ece37 HAS_CONFIGURE= yes USES= gmake pkgconfig bison perl5 python:2,build USE_PERL5= build @@ -61,7 +59,7 @@ SUB_LIST= NAME=qemu_user_static CONFIGURE_ARGS+= --localstatedir=/var CONFIGURE_ARGS+= --extra-ldflags=-L\"${LOCALBASE}/lib\" -CONFIGURE_ARGS+= --disable-smartcard-nss --disable-libssh2 +CONFIGURE_ARGS+= --disable-libssh2 PORTDOCS= docs qemu-doc.html qemu-tech.html qmp-commands.txt .if defined(QEMU_USER_STATIC) @@ -150,9 +148,7 @@ USES+= gettext PLIST_SUB+= GTK2="" .endif -.if empty(PORT_OPTIONS:MGNUTLS) -CONFIGURE_ARGS+= --disable-vnc-tls -.else +.if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls .endif Modified: head/emulators/qemu-sbruno/distinfo ============================================================================== --- head/emulators/qemu-sbruno/distinfo Thu Dec 24 22:27:41 2015 (r404392) +++ head/emulators/qemu-sbruno/distinfo Thu Dec 24 23:06:27 2015 (r404393) @@ -1,4 +1,4 @@ -SHA256 (qemu/2.4.50.g20151206/seanbruno-qemu-bsd-user-2.4.50.g20151206-7397bda_GH0.tar.gz) = 1f2bb1e9dfbdcbbc33fdc15ffbb7ed93bdc448b3157c3ed701890c7ecab1d31d -SIZE (qemu/2.4.50.g20151206/seanbruno-qemu-bsd-user-2.4.50.g20151206-7397bda_GH0.tar.gz) = 11313452 -SHA256 (qemu/2.4.50.g20151206/dtc-v1.4.0.tar.gz) = 39d0713efd82a27adc065ecb9ef36401c53d5ee87ae1764e2bb243fcd97488e3 -SIZE (qemu/2.4.50.g20151206/dtc-v1.4.0.tar.gz) = 131893 +SHA256 (qemu/2.5.50.g20151224/seanbruno-qemu-bsd-user-2.5.50.g20151224-e4ece37_GH0.tar.gz) = 437784294acf1393f236bf0cd6b3e22f1fbfb556db04dc21e88e0069c18f3c0c +SIZE (qemu/2.5.50.g20151224/seanbruno-qemu-bsd-user-2.5.50.g20151224-e4ece37_GH0.tar.gz) = 11703182 +SHA256 (qemu/2.5.50.g20151224/dtc-v1.4.0.tar.gz) = 39d0713efd82a27adc065ecb9ef36401c53d5ee87ae1764e2bb243fcd97488e3 +SIZE (qemu/2.5.50.g20151224/dtc-v1.4.0.tar.gz) = 131893 Modified: head/emulators/qemu-sbruno/files/qemu_user_static.in ============================================================================== --- head/emulators/qemu-sbruno/files/qemu_user_static.in Thu Dec 24 22:27:41 2015 (r404392) +++ head/emulators/qemu-sbruno/files/qemu_user_static.in Thu Dec 24 23:06:27 2015 (r404393) @@ -34,6 +34,16 @@ list_cmd="${BINMISCCTL} list" %%NAME%%_start() { + # register arm interpreter styled 'arm' + interpreter=${QEMU_DIR}/${QEMU_PREFIX}arm${QEMU_SUFFIX} + if [ -x "${interpreter}" ]; then + ${BINMISCCTL} add arm --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 armv6 interpreter styled 'arm' interpreter=${QEMU_DIR}/${QEMU_PREFIX}arm${QEMU_SUFFIX} if [ -x "${interpreter}" ]; then