From owner-svn-ports-all@FreeBSD.ORG Tue Jun 11 03:37:02 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7E2CF46F; Tue, 11 Jun 2013 03:37:02 +0000 (UTC) (envelope-from kuriyama@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6128818AF; Tue, 11 Jun 2013 03:37:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5B3b2dv055698; Tue, 11 Jun 2013 03:37:02 GMT (envelope-from kuriyama@svn.freebsd.org) Received: (from kuriyama@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5B3b1LC055692; Tue, 11 Jun 2013 03:37:01 GMT (envelope-from kuriyama@svn.freebsd.org) Message-Id: <201306110337.r5B3b1LC055692@svn.freebsd.org> From: Jun Kuriyama Date: Tue, 11 Jun 2013 03:37:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320528 - in head/emulators/virtio-kmod: . 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.14 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: Tue, 11 Jun 2013 03:37:02 -0000 Author: kuriyama Date: Tue Jun 11 03:37:01 2013 New Revision: 320528 URL: http://svnweb.freebsd.org/changeset/ports/320528 Log: - Update to r250249. - Backport fix for if_vtnet with qemu-1.5.0 (kern/178955). Added: head/emulators/virtio-kmod/files/patch-if_vtnet.c (contents, props changed) Modified: head/emulators/virtio-kmod/Makefile head/emulators/virtio-kmod/distinfo head/emulators/virtio-kmod/pkg-descr head/emulators/virtio-kmod/pkg-message Modified: head/emulators/virtio-kmod/Makefile ============================================================================== --- head/emulators/virtio-kmod/Makefile Tue Jun 11 03:14:19 2013 (r320527) +++ head/emulators/virtio-kmod/Makefile Tue Jun 11 03:37:01 2013 (r320528) @@ -1,9 +1,4 @@ -# New ports collection makefile for: virtio-kmod -# Date created: 20 Nov 2011 -# Whom: Jun Kuriyama -# # $FreeBSD$ -# PORTNAME= virtio PORTVERSION= 0.${SVN_REV} @@ -14,14 +9,14 @@ PKGNAMESUFFIX= -kmod-${OSBRANCH} DISTFILES= ${FILE_8} ${FILE_9} MAINTAINER= kuriyama@FreeBSD.org -COMMENT= virtio kernel modules port for 8.[23]/9.[01] +COMMENT= virtio kernel modules port for 8.[234]/9.[01] ONLY_FOR_ARCHS= amd64 i386 WRKSRC= ${WRKDIR} KMODDIR?= /boot/modules PLIST_SUB= KMODDIR=${KMODDIR:C,^/,,} -NEEDSUBDIRS= amd64 conf contrib dev/pci geom i386 kern net netinet netinet6 \ +NEEDSUBDIRS= amd64 cam conf contrib dev/pci geom i386 kern net netinet netinet6 \ sys tools vm x86 .include @@ -30,7 +25,7 @@ NEEDSUBDIRS= amd64 conf contrib dev/pci IGNORE= requires kernel source to be installed .endif -SVN_REV= 242658 +SVN_REV= 250249 FILE_8= ${PORTNAME}-8-0.${SVN_REV}${EXTRACT_SUFX} FILE_9= ${PORTNAME}-9-0.${SVN_REV}${EXTRACT_SUFX} .if ${OSREL} == "8.2" @@ -39,6 +34,9 @@ EXTRACT_ONLY= ${FILE_8} .elif ${OSREL} == "8.3" OSBRANCH= 8.3 EXTRACT_ONLY= ${FILE_8} +.elif ${OSREL} == "8.4" +OSBRANCH= 8.4 +EXTRACT_ONLY= ${FILE_8} .elif ${OSREL} == "9.0" OSBRANCH= 9.0 EXTRACT_ONLY= ${FILE_9} @@ -86,8 +84,9 @@ maintainer-tar: cd ${EXPDIR} && ${TAR} cfvz ${DISTDIR}/${FILE_8} dev modules maintainer-check: - @new=`svn log -ql 1 ${SVN_MIRROR}@HEAD stable/9/sys/dev/virtio | ${GREP} -v ^- | ${SED} -e 's| .*||; s|r||'`;\ + @new9=`svn log -ql 1 ${SVN_MIRROR}@HEAD stable/9/sys/dev/virtio | ${GREP} -v ^- | ${SED} -e 's| .*||; s|r||'`;\ + new8=`svn log -ql 1 ${SVN_MIRROR}@HEAD stable/8/sys/dev/virtio | ${GREP} -v ^- | ${SED} -e 's| .*||; s|r||'`;\ old="${SVN_REV}";\ - if [ "$${new}" -gt "$${old}" ]; then ${ECHO_MSG} "New virtio rev: r$${new}"; fi + if [ "$${new9}" -gt "$${old}" ]; then ${ECHO_MSG} "New virtio rev: r$${new9} (was $${old}, 8-stable is $${new8})"; fi .include Modified: head/emulators/virtio-kmod/distinfo ============================================================================== --- head/emulators/virtio-kmod/distinfo Tue Jun 11 03:14:19 2013 (r320527) +++ head/emulators/virtio-kmod/distinfo Tue Jun 11 03:37:01 2013 (r320528) @@ -1,4 +1,4 @@ -SHA256 (virtio-8-0.242658.tar.gz) = d0f01f95d5416c1d886961e382aece5b2fde4fbed7551b01f6c43b97127586b3 -SIZE (virtio-8-0.242658.tar.gz) = 48435 -SHA256 (virtio-9-0.242658.tar.gz) = 623bd98413cdfe0ad93e5a55f35f1e8f9ed3961da75fb337dd64abe3f0393099 -SIZE (virtio-9-0.242658.tar.gz) = 48592 +SHA256 (virtio-8-0.250249.tar.gz) = 0a4d4327973c4ed2ddc63f8fc8b62dcca23f673f92bb45257a0e46991a0bafbb +SIZE (virtio-8-0.250249.tar.gz) = 64687 +SHA256 (virtio-9-0.250249.tar.gz) = 706876cf4c40eab1f5e0bde08eae806f1ad285f1d489979c179c25e0a2534f8e +SIZE (virtio-9-0.250249.tar.gz) = 65024 Added: head/emulators/virtio-kmod/files/patch-if_vtnet.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/virtio-kmod/files/patch-if_vtnet.c Tue Jun 11 03:37:01 2013 (r320528) @@ -0,0 +1,14 @@ +--- sys/dev/virtio/network/if_vtnet.c.orig 2013-06-10 13:44:32.626245199 +0900 ++++ sys/dev/virtio/network/if_vtnet.c 2013-06-10 13:46:44.810245935 +0900 +@@ -2473,9 +2473,9 @@ + sglist_init(&sg, 4, segs); + error |= sglist_append(&sg, &hdr, sizeof(struct virtio_net_ctrl_hdr)); + error |= sglist_append(&sg, &filter->vmf_unicast, +- sizeof(struct vtnet_mac_table)); ++ sizeof(uint32_t) + filter->vmf_unicast.nentries * ETHER_ADDR_LEN); + error |= sglist_append(&sg, &filter->vmf_multicast, +- sizeof(struct vtnet_mac_table)); ++ sizeof(uint32_t) + filter->vmf_multicast.nentries * ETHER_ADDR_LEN); + error |= sglist_append(&sg, &ack, sizeof(uint8_t)); + KASSERT(error == 0 && sg.sg_nseg == 4, + ("error adding MAC filtering message to sglist")); Modified: head/emulators/virtio-kmod/pkg-descr ============================================================================== --- head/emulators/virtio-kmod/pkg-descr Tue Jun 11 03:14:19 2013 (r320527) +++ head/emulators/virtio-kmod/pkg-descr Tue Jun 11 03:37:01 2013 (r320528) @@ -1,5 +1,5 @@ Port for package building of virtio kernel loadable modules. -This port support only 8.[23] and 9.[01] releases. +This port support only 8.[234] and 9.[01] releases. WWW: http://people.FreeBSD.org/~kuriyama/virtio/ Modified: head/emulators/virtio-kmod/pkg-message ============================================================================== --- head/emulators/virtio-kmod/pkg-message Tue Jun 11 03:14:19 2013 (r320527) +++ head/emulators/virtio-kmod/pkg-message Tue Jun 11 03:37:01 2013 (r320528) @@ -19,6 +19,4 @@ and enable virtio devices in host's doma +
... - --
+ -+