Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 02:07:40 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305627 - in head/sysutils: . xe-guest-utilities xe-guest-utilities/files
Message-ID:  <201210100207.q9A27ec8030328@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Oct 10 02:07:40 2012
New Revision: 305627
URL: http://svn.freebsd.org/changeset/ports/305627

Log:
  FreeBSD VM tools for Citrix XenServer and XCP
  
  PR:		ports/172468
  Submitted by:	Mark Felder <feld@feld.me>

Added:
  head/sysutils/xe-guest-utilities/
  head/sysutils/xe-guest-utilities/Makefile   (contents, props changed)
  head/sysutils/xe-guest-utilities/distinfo   (contents, props changed)
  head/sysutils/xe-guest-utilities/files/
  head/sysutils/xe-guest-utilities/files/xenguest.in   (contents, props changed)
  head/sysutils/xe-guest-utilities/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed Oct 10 01:47:02 2012	(r305626)
+++ head/sysutils/Makefile	Wed Oct 10 02:07:40 2012	(r305627)
@@ -1029,6 +1029,7 @@
     SUBDIR += xcdroast
     SUBDIR += xcpustate
     SUBDIR += xdu
+    SUBDIR += xe-guest-utilities
     SUBDIR += xen-tools
     SUBDIR += xfburn
     SUBDIR += xfce4-battery-plugin

Added: head/sysutils/xe-guest-utilities/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/xe-guest-utilities/Makefile	Wed Oct 10 02:07:40 2012	(r305627)
@@ -0,0 +1,39 @@
+# Created by: 	Mark Felder <feld@feld.me>
+#
+# $FreeBSD$
+
+PORTNAME=	xe-guest-utilities
+PORTVERSION=	6.0.2
+CATEGORIES=	sysutils
+MASTER_SITES=	https://github.com/${GIT_ACCOUNT}/${GIT_PROJECT}/tarball/${GIT_VERSION}/
+DISTNAME=	${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}
+
+MAINTAINER=	feld@feld.me
+COMMENT=	FreeBSD VM tools for Citrix XenServer and XCP
+
+RUN_DEPENDS=	xen-tools>0:${PORTSDIR}/sysutils/xen-tools
+
+FETCH_ARGS=	-pRr
+GIT_ACCOUNT=	felderado
+GIT_PROJECT=	freebsd-xen-tools-scripts
+GIT_VERSION=	5a355c9
+GITSRC=		${WRKDIR}/${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}/src/
+
+USE_GMAKE=	yes
+USE_PYTHON=	yes
+USE_RC_SUBR=	xenguest
+
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	"Requires i385 XEN or amd64 XENHVM kernels"
+
+PLIST_FILES=	sbin/xe-daemon \
+		sbin/xe-update-guest-attrs
+
+do-build:
+	@${DO_NADA}
+
+do-install:
+	${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-daemon ${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-update-guest-attrs ${PREFIX}/sbin
+
+.include <bsd.port.mk>

Added: head/sysutils/xe-guest-utilities/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/xe-guest-utilities/distinfo	Wed Oct 10 02:07:40 2012	(r305627)
@@ -0,0 +1,2 @@
+SHA256 (felderado-freebsd-xen-tools-scripts-5a355c9.tar.gz) = c6d934103079cae5f9bd4abdb77586cea56eb04bdafd7dfc2e3401ab271bf278
+SIZE (felderado-freebsd-xen-tools-scripts-5a355c9.tar.gz) = 49171

Added: head/sysutils/xe-guest-utilities/files/xenguest.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/xe-guest-utilities/files/xenguest.in	Wed Oct 10 02:07:40 2012	(r305627)
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: xenguest
+# REQUIRE: LOGIN
+# KEYWORD: nojail shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# xenguest_enable (bool): Set to NO by default.
+#       Set it to YES to enable xenguest.
+
+. /etc/rc.subr
+
+name=xenguest
+rcvar=xenguest_enable
+
+load_rc_config $name
+
+: ${xe_daemon_enable="NO"}
+
+pidfile="/var/run/xe-daemon.pid"
+command="%%PREFIX%%/sbin/xe-daemon"
+command_interpreter="/bin/sh"
+command_args='-p $pidfile &'
+
+run_rc_command "$1"

Added: head/sysutils/xe-guest-utilities/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/xe-guest-utilities/pkg-descr	Wed Oct 10 02:07:40 2012	(r305627)
@@ -0,0 +1 @@
+FreeBSD VM tools for Citrix XenServer and XCP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210100207.q9A27ec8030328>