From owner-svn-ports-head@FreeBSD.ORG Tue Oct 7 02:00:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4161B84; Tue, 7 Oct 2014 02:00:41 +0000 (UTC) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "nyi.unixathome.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B671BAC; Tue, 7 Oct 2014 02:00:41 +0000 (UTC) Received: from nyi.unixathome.org (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 123EE5084A; Tue, 7 Oct 2014 01:52:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by nyi.unixathome.org (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EsoEtOpR5RJh; Tue, 7 Oct 2014 01:52:34 +0000 (UTC) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 9C35950847 ; Tue, 7 Oct 2014 01:52:33 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_68896277-5F6F-4C5A-BC63-976365AB7012"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r370242 - in head/emulators: . hyperv-is hyperv-is/files From: Dan Langille In-Reply-To: <201410062258.s96MwoqK063529@svn.freebsd.org> Date: Mon, 6 Oct 2014 21:52:05 -0400 Message-Id: <11C48B58-C7D2-4482-988E-2AE0CBF81569@langille.org> References: <201410062258.s96MwoqK063529@svn.freebsd.org> To: John Marino X-Mailer: Apple Mail (2.1878.6) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 07 Oct 2014 02:00:42 -0000 --Apple-Mail=_68896277-5F6F-4C5A-BC63-976365AB7012 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 heads up: emulators/hyperv-is does not have emulators listed in = CATEGORIES On Oct 6, 2014, at 6:58 PM, John Marino wrote: > Author: marino > Date: Mon Oct 6 22:58:50 2014 > New Revision: 370242 > URL: https://svnweb.freebsd.org/changeset/ports/370242 > QAT: https://qat.redports.org/buildarchive/r370242/ >=20 > Log: > Add new port emulators/hyperv-is (FreeBSD 8.4, 9.1, 9.2, 9.3, 10.0) >=20 > PR: 182209 > Submitted by: kylie (bsdic @ microsoft) >=20 > The hyperv-is provision a collection of kernel mode drivers as well = as > user-space daemons to facilitate integration with Hyper-v to provide = a > feature rich and high performance FreeBSD guest experience. >=20 > The FreeBSD Integration Service on Hyper-v includes a collection of = kernel > mode drivers as well as user-space daemons to interact with the = drivers > that are required to run Hyper-V-specific devices known as FreeBSD > Integration Services (BIS). It is to facilitate integration with = Hyper-v > to provide a feature rich and high performance FreeBSD guest = experience. > See the man page for a list of binaries and their functions. >=20 > FreeBSD support for hyperv-is was first added by Microsoft BSD = Integration > Services Team . >=20 > Added: > head/emulators/hyperv-is/ > head/emulators/hyperv-is/Makefile (contents, props changed) > head/emulators/hyperv-is/distinfo (contents, props changed) > head/emulators/hyperv-is/files/ > head/emulators/hyperv-is/files/pkg-message.A.in (contents, props = changed) > head/emulators/hyperv-is/files/pkg-message.B.in (contents, props = changed) > head/emulators/hyperv-is/pkg-descr (contents, props changed) > head/emulators/hyperv-is/pkg-install (contents, props changed) > head/emulators/hyperv-is/pkg-plist (contents, props changed) > Modified: > head/emulators/Makefile >=20 > Modified: head/emulators/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/emulators/Makefile Mon Oct 6 22:54:24 2014 = (r370241) > +++ head/emulators/Makefile Mon Oct 6 22:58:50 2014 = (r370242) > @@ -53,6 +53,7 @@ > SUBDIR +=3D hercules > SUBDIR +=3D higan > SUBDIR +=3D hugo > + SUBDIR +=3D hyperv-is > SUBDIR +=3D i386-wine > SUBDIR +=3D i386-wine-compholio > SUBDIR +=3D i386-wine-devel >=20 > Added: head/emulators/hyperv-is/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/Makefile Mon Oct 6 22:58:50 2014 = (r370242) > @@ -0,0 +1,61 @@ > +# $FreeBSD$ > + > +PORTNAME=3D hyperv-is > +PORTVERSION=3D 1.1 > +CATEGORIES=3D kld > +MASTER_SITES=3D https://github.com/${MSLINK}/ > +DISTNAME=3D ${DNAME} > + > +MAINTAINER=3D bsdic@microsoft.com > +COMMENT=3D FreeBSD Integration Service on Hyper-v > + > +ONLY_FOR_ARCHS=3D amd64 i386 > + > +USES+=3D uidfix > +BIS=3D ${PORTVERSION} > +MSBASE=3D = FreeBSDonHyper-V/Hyperv-Ports/raw/hyperv-is-master > +MSLINK=3D ${MSBASE}/BIS-${BIS}/FreeBSD-${OSREL}/ports > +SUB_FILES=3D ${PMSG} > + > +.include > + > +.if ${OPSYS} !=3D FreeBSD > +IGNORE=3D ${OPSYS} not supported > +.endif > + > +.if ${OSREL} =3D=3D "10.0" > +BIS=3D 1.0 > +PLIST_SUB=3D A=3D"@comment " B=3D"" > +PMSG=3D pkg-message.B > +.else > +CC=3D gcc -w > +WRKSRC=3D ${WRKDIR}/hyperv-is-${PORTVERSION} > +PLIST_SUB=3D B=3D"@comment " A=3D"" > +PMSG=3D pkg-message.A > +.endif > + > +FILE_84=3D hyperv-is-8.4.${BIS} > +FILE_91=3D hyperv-is-9.1.${BIS} > +FILE_92=3D hyperv-is-9.2.${BIS} > +FILE_93=3D hyperv-is-9.3.${BIS} > +FILE_100=3D hv-kvp-${BIS} > +DNAME=3D ${FILE_${OSREL:S/.//}} > + > +.if empty(DNAME) > +IGNORE=3D OSREL ${OSREL} not supported > +.endif > + > +pre-install: > + @${MKDIR} ${STAGEDIR}/boot/kernel \ > + ${STAGEDIR}/etc/rc.d \ > + ${STAGEDIR}/usr/share/man/man1 \ > + ${STAGEDIR}/usr/share/man/man4 \ > + ${STAGEDIR}/usr/share/man/man8 \ > + ${STAGEDIR}/usr/local/hyperv/scripts \ > + ${STAGEDIR}/usr/sbin > + ${MV} ${WRKDIR}/${PMSG} ${WRKDIR}/pkg-message > + > +post-install: > + ${RM} ${STAGEDIR}/boot/kernel/linker.hints > + > +.include >=20 > Added: head/emulators/hyperv-is/distinfo > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/distinfo Mon Oct 6 22:58:50 2014 = (r370242) > @@ -0,0 +1,10 @@ > +SHA256 (hyperv-is-8.4.1.1.tar.gz) =3D = 21f21bf8192892b823a63ebcea8cfd916ab0572b965c06471388386765346ae6 > +SIZE (hyperv-is-8.4.1.1.tar.gz) =3D 94356 > +SHA256 (hyperv-is-9.1.1.1.tar.gz) =3D = ab4dc50d4f66ef983bd0de96388ba95e29d1e987362336bf44e3ff971425245a > +SIZE (hyperv-is-9.1.1.1.tar.gz) =3D 94286 > +SHA256 (hyperv-is-9.2.1.1.tar.gz) =3D = 75e4ed3ba0c75ce5c67efed7b4f72ada3047f4cc986659b64c14979227292fd5 > +SIZE (hyperv-is-9.2.1.1.tar.gz) =3D 94294 > +SHA256 (hyperv-is-9.3.1.1.tar.gz) =3D = 10a63b7b2a7bbfd158eed3852b0c25bfba3362c3cec28dfac641e22e61b23587 > +SIZE (hyperv-is-9.3.1.1.tar.gz) =3D 94296 > +SHA256 (hv-kvp-1.0.tar.gz) =3D = c2c60ae645cae75b25934aae7b18c8a29bf00660a1e4ade5d8f31bb98d7ecc78 > +SIZE (hv-kvp-1.0.tar.gz) =3D 30815 >=20 > Added: head/emulators/hyperv-is/files/pkg-message.A.in > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/files/pkg-message.A.in Mon Oct 6 = 22:58:50 2014 (r370242) > @@ -0,0 +1,19 @@ > = +#########################################################################= #### > +After installing do the following steps: > +# Deleting Hyper-v BIS driver names > + sed -i "" '/Loader labels for Hyper-v BIS driver/d' = /boot/loader.conf > + sed -i "" '/hv_vmbus_load/d' /boot/loader.conf > + sed -i "" '/hv_utils_load/d' /boot/loader.conf > + sed -i "" '/hv_storvsc_load/d' /boot/loader.conf > + sed -i "" '/hv_netvsc_load/d' /boot/loader.conf > + sed -i "" '/hv_ata_pci_disengage_load/d' /boot/loader.conf > + > + #Hyper-v driver names > + echo "# Loader labels for Hyper-v BIS drivers -do not modify" >> = /boot/loader.conf > + echo 'hv_vmbus_load=3D"YES"' >> /boot/loader.conf > + echo 'hv_utils_load=3D"YES"' >> /boot/loader.conf > + echo 'hv_storvsc_load=3D"YES"' >> /boot/loader.conf > + echo 'hv_netvsc_load=3D"YES"' >> /boot/loader.conf > + echo 'hv_ata_pci_disengage_load=3D"YES"' >>/boot/loader.conf > +When deinstalled, restore /boot/loader.conf > = +#########################################################################= #### >=20 > Added: head/emulators/hyperv-is/files/pkg-message.B.in > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/files/pkg-message.B.in Mon Oct 6 = 22:58:50 2014 (r370242) > @@ -0,0 +1,17 @@ > = +#########################################################################= #### > +To enable hv_kvp, you should do the steps following: > + # Deleting kvp label > + sed -i "" '/Loader labels for Hyper-V KVP drivers/d' /etc/rc.conf=20= > + sed -i "" '/hv_kvp_load/d' /etc/rc.conf=20 > + > + #hyperv driver names > + echo '# Loader labels for Hyper-V KVP drivers -do not modify' >> = /boot/loader.conf > + echo 'hv_kvp_load=3D"YES"' >> /boot/loader.conf > + > +# KVP - daemon label > + sed -i "" '/Label for KVP daemon/d' /etc/rc.conf > + sed -i "" '/hv_kvp_daemon_enable/d' /etc/rc.conf > + echo '# Label for KVP daemon -do not modify' >> /etc/rc.conf > + echo 'hv_kvp_daemon_enable=3D"YES"' >> /etc/rc.conf > +After deinstall, you should restore /boot/loader.conf and = /etc/rc.conf > = +#########################################################################= #### >=20 > Added: head/emulators/hyperv-is/pkg-descr > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/pkg-descr Mon Oct 6 22:58:50 2014 = (r370242) > @@ -0,0 +1,13 @@ > +The hyperv-is provision a collection of kernel mode drivers as well = as > +user-space daemons to facilitate integration with Hyper-v to provide = a > +feature rich and high performance FreeBSD guest experience. > + > +The FreeBSD Integration Service on Hyper-v includes a collection of = kernel > +mode drivers as well as user-space daemons to interact with the = drivers > +that are required to run Hyper-V-specific devices known as FreeBSD > +Integration Services (BIS). It is to facilitate integration with = Hyper-v > +to provide a feature rich and high performance FreeBSD guest = experience. > +See the man page for a list of binaries and their functions. > + > +FreeBSD support for hyperv-is was first added by Microsoft BSD = Integration > +Services Team . >=20 > Added: head/emulators/hyperv-is/pkg-install > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/pkg-install Mon Oct 6 22:58:50 2014 = (r370242) > @@ -0,0 +1,55 @@ > +#!/bin/sh > +# > +# make install or pkg_add script > +# Checks labels/gptids for roots and swap partitions > +# adds hyperv labels in loader.conf=20 > +# > + > +#Check poudriere workdirs > +POD_WRK_HOME=3D/wrkdirs > +if [ ! -d ${POD_WRK_HOME} ]; then > + POD_WRK_HOME=3D/ > +fi > + > +WRKDIRS=3D${POD_WRK_HOME}$(pwd |awk '{print $1}')/work/stage > +if [ ! -d ${WRKDIRS} ]; then > + WRKDIRS=3D/ > +fi > + > +if [ "$2" =3D "PRE-INSTALL" ]; then > +echo "=3D=3D=3D> Pre-install Check" > + > +#rootfs check > +root_flag=3D$(mount | awk '/ on \/ / { print $1 }' | cut -d / -f3-) > +if [ "$root_flag" !=3D "" ]; then > + fs_test=3D$(glabel status | awk '{print $1}' | grep $root_flag) > + if [ "$fs_test" =3D=3D "" ]; then > + echo " xxx rootfs Label/gptid missing in fstab" =20 > + fi > +else=20 > + echo " xxx rootfs Label/gptid missing in fstab" > +fi > +#swap check > +[ -f /etc/fstab ] && swap_flag=3D$(grep swap /etc/fstab | awk '{print = $1}' | cut -d / -f3-) > +if [ "$swap_flag" !=3D "" ]; then > + sw_test=3D$(glabel status | awk '{print $1}' | grep $swap_flag) > + if [ "$sw_test" =3D=3D "" ]; then > + echo " xxx swap Label/gptid missing in fstab" =20 > + fi > +else =20 > + echo " xxx swap Label/gptid missing in fstab " > +fi > + > +if [ "$fs_test" !=3D "" -a "$sw_test" !=3D "" ]; then > + echo "=3D=3D=3D> Labels/gptids Found" > + echo "=3D=3D=3D> Hyper-V BIS Installation Continues" > +else > + echo "=3D=3D=3D> Labels/gptids Not found" > + echo "=3D=3D=3D> Hyper-V BIS Installation Aborted" > + echo "=3D=3D=3D> Refer to Disk UUID section in README document" > + echo "=3D=3D=3D> Please refer the Prerequisites page and complete = all steps"=20 > + echo "WWW: = https://github.com/FreeBSDonHyper-V/Hyperv-Ports/wiki/Prerequisites "=20 > + exit 1=20 > +fi > +fi > +exit 0 >=20 > Added: head/emulators/hyperv-is/pkg-plist > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/emulators/hyperv-is/pkg-plist Mon Oct 6 22:58:50 2014 = (r370242) > @@ -0,0 +1,25 @@ > +hyperv/scripts/hv_get_dhcp_info > +hyperv/scripts/hv_get_dns_info > +hyperv/scripts/hv_set_ifconfig > +@cwd /boot/kernel > +%%A%%hv_ata_pci_disengage.ko > +%%A%%hv_netvsc.ko > +%%A%%hv_storvsc.ko > +%%A%%hv_utils.ko > +%%A%%hv_vmbus.ko > +%%B%%hv_kvp.ko > +@cwd /etc/rc.d > +hv_kvpd > +%%A%%@cwd /usr/share/man/man1 > +%%A%%hyperv-is.1.gz > +%%B%%@cwd /usr/sbin > +%%B%%hv_kvp_daemon > +@cwd /usr/share/man/man4 > +%%A%%hv_ata_pci_disengage.4.gz > +hv_kvp.4.gz > +%%A%%hv_netvsc.4.gz > +%%A%%hv_storvsc.4.gz > +%%A%%hv_utils.4.gz > +%%A%%hv_vmbus.4.gz > +%%B%%@cwd /usr/share/man/man8 > +%%B%%hv_kvp_daemon.8.gz > _______________________________________________ > svn-ports-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-ports-head > To unsubscribe, send any mail to = "svn-ports-head-unsubscribe@freebsd.org" =97=20 Dan Langille --Apple-Mail=_68896277-5F6F-4C5A-BC63-976365AB7012 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iKYEARECAGYFAlQzR11fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3REZBQjJGRUQ3NEE5QkE0NTNGOUJCNzBB MEIxNzE0Q0ZGQjlEM0MACgkQCgsXFM/7nTxxAQCfWRf/61ZgoLSKCCicV3Utwz9T oQwAoNDpVfsgsmDDvny0xWIupmfhfmgJ =UmM4 -----END PGP SIGNATURE----- --Apple-Mail=_68896277-5F6F-4C5A-BC63-976365AB7012--