From owner-freebsd-ports@FreeBSD.ORG Sat May 23 12:57:01 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAE5B1065673; Sat, 23 May 2009 12:57:01 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from mail-pz0-f105.google.com (mail-pz0-f105.google.com [209.85.222.105]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3778FC1D; Sat, 23 May 2009 12:57:01 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by pzk3 with SMTP id 3so2033079pzk.3 for ; Sat, 23 May 2009 05:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:message-id:to:cc :subject:from:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=WJS+z0le3uTjq3o5+NT5BZwS8vs0wTmf4PfKsXAYRyw=; b=qaGj78oMU7ZK56D3MInmmNFWvBUimIxnJyGcGDM+IAsltl4s+T+Qe3FW/5z9cqyAo9 N+cXH0ccFtBiRtK0X6sOKaqwKAUKd6lBaNy/jmKorcqrKS/YhsjonNDQv58NZ+T2sdxH 9bedSt07z71/BfcBHxH9SpMCcOQ9HdzE2jXYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:cc:subject:from:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=v+XlG6GM5V3VUfmRfDpo+1tZGakrKkQOQvVOLNFLgk20m/wg5iIjL7yhGuszRpMq3r wU8LlyEzj3g18LTF6iezLfim3nQCII2UmtYjb4lUVmKUhuImx2rdzzJCvkEvQuSBDJCA 2Ysr8Pa/1pUrcgTkrx0sbfIWl5oFu4KCw/Lfc= Received: by 10.142.185.21 with SMTP id i21mr1598582wff.220.1243082100960; Sat, 23 May 2009 05:35:00 -0700 (PDT) Received: from localhost (rikad42.riken.jp [134.160.214.42]) by mx.google.com with ESMTPS id 28sm10096595wfd.3.2009.05.23.05.34.58 (version=SSLv3 cipher=RC4-MD5); Sat, 23 May 2009 05:34:59 -0700 (PDT) Sender: Maho NAKATA Date: Sat, 23 May 2009 21:32:52 +0900 (JST) Message-Id: <20090523.213252.193744936.chat95@mac.com> To: miwi@FreeBSD.org From: Maho NAKATA In-Reply-To: <20090522202635.GC33004@bsdcrew.de> References: <20090522202102.GB33004@bsdcrew.de> <4A1709EA.2000207@entel.upc.edu> <20090522202635.GC33004@bsdcrew.de> X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_May_23_21_32_52_2009_908)--" Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, freebsd-current@FreeBSD.org, freebsd-emulation@FreeBSD.org, gperez@entel.upc.edu Subject: Adding Guestadditions.iso Re: [Call For Testing] VirtualBox for FreeBSD! take 3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2009 12:57:02 -0000 ----Security_Multipart(Sat_May_23_21_32_52_2009_908)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi miwi, Here is a patch adding "WITH_GUESTADDITIONS" knob. With this knob we also installs Guest additions.iso. This driver makes Windows XP, Linux and Solaris faster. I'm a newbie to VirtualBox so it is not the correct patch. I don't check it thoroughly but ISO image itself is not a GPL one. Best, --- Makefile 2009-05-23 01:59:37.000000000 +0900 +++ Makefile 2009-05-23 21:14:52.000000000 +0900 @@ -6,16 +6,26 @@ # PORTNAME= virtualbox -PORTVERSION= 2.2.2r19852 +PORTVERSION= ${VBOXVER}r19852 CATEGORIES= emulators kld MASTER_SITES= http://tmp.chruetertee.ch/ \ http://freebsd.unixfreunde.de/sources/ \ http://disasterarea.chruetertee.ch/ \ http://mirror.4bit.ws/ +.if defined(WITH_GUESTADDITIONS) +MASTER_SITES+= http://dlc.sun.com/virtualbox/${VBOXVER}/:guestadditons +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${GUESTADDITIONS}:guestaddtions +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +.endif MAINTAINER= decke@bluelife.at COMMENT= A general-purpose full virtualizer for x86 hardware +VBOXVER= 2.2.2 +FETCH_ARGS= -pRr +GUESTADDITIONS_GENERICNAME= VBoxGuestAdditions.iso +GUESTADDITIONS= VBoxGuestAdditions_${VBOXVER}.iso + BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ as86:${PORTSDIR}/devel/dev86 \ xsltproc:${PORTSDIR}/textproc/libxslt \ @@ -52,6 +62,9 @@ KMODDIR= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} +.if defined(WITH_GUESTADDITIONS) +PLIST_FILES+= lib/virtualbox/${GUESTADDITIONS} lib/virtualbox/${GUESTADDITIONS_GENERICNAME} +.endif KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} @@ -127,7 +140,10 @@ ${MKDIR} ${PREFIX}/lib/virtualbox (cd ${WRKSRC}/out/${KMK_ARCH}/release/bin && ${COPYTREE_SHARE} "*.so *.gc *.r0 components" ${PREFIX}/lib/virtualbox) - +.if defined(WITH_GUESTADDITIONS) + ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} ${PREFIX}/lib/virtualbox/ + ${LN} -sf ${PREFIX}/lib/virtualbox/${GUESTADDITIONS} ${PREFIX}/lib/virtualbox/${GUESTADDITIONS_GENERICNAME} +.endif ${MKDIR} ${PREFIX}/bin .for f in VBoxBFE VBoxHeadless VBoxManage VBoxNetDHCP VBoxSDL VBoxSVC VBoxXPCOMIPCD VirtualBox ${INSTALL_PROGRAM} ${WRKSRC}/out/${KMK_ARCH}/release/bin/$f ${PREFIX}/lib/virtualbox/ --- distinfo 2009-05-23 01:59:37.000000000 +0900 +++ distinfo 2009-05-23 20:17:28.000000000 +0900 @@ -1,3 +1,6 @@ MD5 (virtualbox-2.2.2r19852.tar.gz) = ff1e05bd04fd7974a90e12394cb58626 SHA256 (virtualbox-2.2.2r19852.tar.gz) = 7b898c643551f5b74d169a79ad41801cc5675b5e57a7da0f700875dd11265a5f SIZE (virtualbox-2.2.2r19852.tar.gz) = 58070688 +MD5 (VBoxGuestAdditions_2.2.2.iso) = 9c09a9e88abe9edd8fec6fd3cf453535 +SHA256 (VBoxGuestAdditions_2.2.2.iso) = 3727c024d8d426443158b1063a9d7355d492da3725470c4c01fafbe4bc382687 +SIZE (VBoxGuestAdditions_2.2.2.iso) = 28755968 ----Security_Multipart(Sat_May_23_21_32_52_2009_908)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkoX7PYACgkQpcQqaPiEzfkSlwCeJExFJmCKaGXex7VvW63KZx3L hisAnRmu4/U9VBTStn9rfakEK1yq2Uqi =/U2l -----END PGP SIGNATURE----- ----Security_Multipart(Sat_May_23_21_32_52_2009_908)----