Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Oct 2012 19:45:40 -0500
From:      Mark Felder <feld@feld.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172468: [NEW PORT] sysutils/xe-guest-utilities: FreeBSD VM tools for Citrix XenServer and XCP
Message-ID:  <E1TL1TY-000O0C-3e@feld.me>
Resent-Message-ID: <201210080050.q980oFE6036023@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172468
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/xe-guest-utilities: FreeBSD VM tools for Citrix XenServer and XCP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 08 00:50:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     feld
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r239731: Mon Aug 27 09:53:18 CDT
>Description:
FreeBSD VM tools for Citrix XenServer and XCP

This has been split out from sysutils/xen-tools. 

A few changes imported from NetBSD's xe-guest-utilities. These include:

- xe_wrapper no longer needed
- rc script is now called "xenguest"

Please use xenguest_enable="YES" in rc.conf instead of the previous xe_daemon_enable="YES".

Generated with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xe-guest-utilities
#	xe-guest-utilities/pkg-descr
#	xe-guest-utilities/distinfo
#	xe-guest-utilities/Makefile
#	xe-guest-utilities/files
#	xe-guest-utilities/files/xenguest.in
#
echo c - xe-guest-utilities
mkdir -p xe-guest-utilities > /dev/null 2>&1
echo x - xe-guest-utilities/pkg-descr
sed 's/^X//' >xe-guest-utilities/pkg-descr << 'a3361059b6784b0279fb5580c7700919'
XFreeBSD VM tools for Citrix XenServer and XCP
a3361059b6784b0279fb5580c7700919
echo x - xe-guest-utilities/distinfo
sed 's/^X//' >xe-guest-utilities/distinfo << 'cb77de9d06b3db40db03356e6f22299c'
XSHA256 (felderado-freebsd-xen-tools-scripts-5a355c9.tar.gz) = c6d934103079cae5f9bd4abdb77586cea56eb04bdafd7dfc2e3401ab271bf278
XSIZE (felderado-freebsd-xen-tools-scripts-5a355c9.tar.gz) = 49171
cb77de9d06b3db40db03356e6f22299c
echo x - xe-guest-utilities/Makefile
sed 's/^X//' >xe-guest-utilities/Makefile << '5a56985d9bc106ab4110b8511428963c'
X# New ports collection makefile for:    xe-guest-utilities
X# Date created:                         07 October 2012
X# Whom:                                 Mark Felder <feld@feld.me>
X#
X# $FreeBSD$
X
XPORTNAME=	xe-guest-utilities
XPORTVERSION=	6.0.2
XCATEGORIES=	sysutils
XDISTNAME=	xen-${PORTVERSION}
X
XMAINTAINER=	feld@feld.me
XCOMMENT=	FreeBSD VM tools for Citrix XenServer and XCP
X
XMASTER_SITES=	https://github.com/${GIT_ACCOUNT}/${GIT_PROJECT}/tarball/${GIT_VERSION}/
XDISTFILES=	${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}.tar.gz
X
XRUN_DEPENDS=	xen-tools>0:${PORTSDIR}/sysutils/xen-tools
X
XFETCH_ARGS=	-pRr
XGIT_ACCOUNT=	felderado
XGIT_PROJECT=	freebsd-xen-tools-scripts
XGIT_VERSION=	5a355c9
XGITSRC=		${WRKDIR}/${GIT_ACCOUNT}-${GIT_PROJECT}-${GIT_VERSION}/src/
X
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
XUSE_RC_SUBR=	xenguest
X
XONLY_FOR_ARCHS=		amd64 i386
XONLY_FOR_ARCHS_REASON=	"Requires i385 XEN or amd64 XENHVM kernels"
X
XPLIST_FILES=	sbin/xe-daemon \
X		sbin/xe-update-guest-attrs
X
Xdo-build:
X	@${DO_NADA}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-daemon ${PREFIX}/sbin
X	${INSTALL_SCRIPT} ${GITSRC}/sbin/xe-update-guest-attrs ${PREFIX}/sbin
X
X.include <bsd.port.mk>
5a56985d9bc106ab4110b8511428963c
echo c - xe-guest-utilities/files
mkdir -p xe-guest-utilities/files > /dev/null 2>&1
echo x - xe-guest-utilities/files/xenguest.in
sed 's/^X//' >xe-guest-utilities/files/xenguest.in << '4dc77e6330ba539e5685873e186e00d8'
X#!/bin/sh
X
X# $FreeBSD$
X#
X# PROVIDE: xenguest
X# REQUIRE: LOGIN
X# KEYWORD: nojail shutdown
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# xenguest_enable (bool): Set to NO by default.
X#       Set it to YES to enable xenguest.
X
X. /etc/rc.subr
X
Xname=xenguest
Xrcvar=xenguest_enable
X
Xload_rc_config $name
X
X: ${xe_daemon_enable="NO"}
X
Xpidfile="/var/run/xe-daemon.pid"
Xcommand="%%PREFIX%%/sbin/xe-daemon"
Xcommand_interpreter="/bin/sh"
Xcommand_args='-p $pidfile &'
X
Xrun_rc_command "$1"
4dc77e6330ba539e5685873e186e00d8
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TL1TY-000O0C-3e>