From owner-svn-ports-head@freebsd.org Wed Feb 13 09:44:27 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B2AC14E9B79; Wed, 13 Feb 2019 09:44:27 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA80D81D10; Wed, 13 Feb 2019 09:44:26 +0000 (UTC) (envelope-from royger@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C5D63257DF; Wed, 13 Feb 2019 09:44:26 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1D9iQG1085823; Wed, 13 Feb 2019 09:44:26 GMT (envelope-from royger@FreeBSD.org) Received: (from royger@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1D9iQrl085822; Wed, 13 Feb 2019 09:44:26 GMT (envelope-from royger@FreeBSD.org) Message-Id: <201902130944.x1D9iQrl085822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: royger set sender to royger@FreeBSD.org using -f From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Date: Wed, 13 Feb 2019 09:44:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492838 - head/sysutils/xen-tools411 X-SVN-Group: ports-head X-SVN-Commit-Author: royger X-SVN-Commit-Paths: head/sysutils/xen-tools411 X-SVN-Commit-Revision: 492838 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DA80D81D10 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 09:44:27 -0000 Author: royger (src committer) Date: Wed Feb 13 09:44:26 2019 New Revision: 492838 URL: https://svnweb.freebsd.org/changeset/ports/492838 Log: xen-tools411: add optional SPICE support Add a new config option to enable SPICE support for QEMU. Note that the SPICE code in QEMU requires llvm 7.0 or higher, so it's currently only available for FreeBSD 13.0 and higher and disabled by default. Submitted by: Oleg Ginzburg Reviewed by: royger Modified: head/sysutils/xen-tools411/Makefile Modified: head/sysutils/xen-tools411/Makefile ============================================================================== --- head/sysutils/xen-tools411/Makefile Wed Feb 13 09:39:20 2019 (r492837) +++ head/sysutils/xen-tools411/Makefile Wed Feb 13 09:44:26 2019 (r492838) @@ -3,7 +3,7 @@ PORTNAME= xen PKGNAMESUFFIX= -tools411 PORTVERSION= 4.11.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= sysutils emulators MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ @@ -21,8 +21,14 @@ BUILD_DEPENDS= seabios>0:misc/seabios RUN_DEPENDS= seabios>0:misc/seabios DOCS_BUILD_DEPENDS=markdown:textproc/markdown -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS SPICE +OPTIONS_DEFAULT= DOCS +SPICE_DESC= Enable SPICE protocol for QEMU +SPICE_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-spice" +SPICE_BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol +SPICE_LIB_DEPENDS= libspice-server.so:devel/libspice-server + ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than amd64" @@ -69,6 +75,10 @@ IGNORE= only supported on FreeBSD .if ${OSVERSION} < 1200074 IGNORE= only supported on recent FreeBSD HEAD +.endif + +.if ${PORT_OPTIONS:MSPICE} && ${OSVERSION} < 1300008 +BROKEN= SPICE support requires FreeBSD version 13.0 or higher .endif post-patch: