pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xentools33 Import Xen 3.3.0-rc3
details: https://anonhg.NetBSD.org/pkgsrc/rev/2db73071f674
branches: trunk
changeset: 545569:2db73071f674
user: cegger <cegger%pkgsrc.org@localhost>
date: Thu Aug 07 20:26:56 2008 +0000
description:
Import Xen 3.3.0-rc3
The Xen virtual machine monitor allows running several virtual machines on a
single physical machine. The xentools33 package contains the tools to create,
destroy and control the virtual machines.
The xentools33 package contains the tools for Xen 3.3.x
diffstat:
sysutils/xentools33/DESCR | 5 +
sysutils/xentools33/MESSAGE.NetBSD | 17 +
sysutils/xentools33/Makefile | 212 +++++++++
sysutils/xentools33/PLIST | 596 ++++++++++++++++++++++++++
sysutils/xentools33/distinfo | 50 ++
sysutils/xentools33/files/blk_netbsd.c | 39 +
sysutils/xentools33/files/blktapctrl_netbsd.c | 16 +
sysutils/xentools33/files/block-nbsd | 88 +++
sysutils/xentools33/files/elf_machdep.h | 41 +
sysutils/xentools33/files/hvm-nbsd | 68 ++
sysutils/xentools33/files/int_types.h | 73 +++
sysutils/xentools33/files/netbsd1-nbsd | 48 ++
sysutils/xentools33/files/qemu-ifup-nbsd | 3 +
sysutils/xentools33/files/vif-bridge-nbsd | 35 +
sysutils/xentools33/files/vif-ip-nbsd | 33 +
sysutils/xentools33/files/xenbackendd.c | 319 +++++++++++++
sysutils/xentools33/files/xenbackendd.sh | 17 +
sysutils/xentools33/files/xend.sh | 30 +
sysutils/xentools33/files/xendomains.sh | 134 +++++
sysutils/xentools33/patches/patch-aa | 22 +
sysutils/xentools33/patches/patch-ab | 13 +
sysutils/xentools33/patches/patch-ac | 23 +
sysutils/xentools33/patches/patch-ad | 16 +
sysutils/xentools33/patches/patch-ae | 32 +
sysutils/xentools33/patches/patch-af | 39 +
sysutils/xentools33/patches/patch-ag | 28 +
sysutils/xentools33/patches/patch-ah | 23 +
sysutils/xentools33/patches/patch-ai | 16 +
sysutils/xentools33/patches/patch-aj | 58 ++
sysutils/xentools33/patches/patch-ba | 45 +
sysutils/xentools33/patches/patch-bb | 13 +
sysutils/xentools33/patches/patch-bc | 22 +
sysutils/xentools33/patches/patch-bd | 13 +
sysutils/xentools33/patches/patch-be | 13 +
sysutils/xentools33/patches/patch-bf | 13 +
sysutils/xentools33/patches/patch-bg | 15 +
sysutils/xentools33/patches/patch-bh | 19 +
sysutils/xentools33/patches/patch-bi | 43 +
sysutils/xentools33/patches/patch-bj | 56 ++
sysutils/xentools33/patches/patch-ca | 17 +
sysutils/xentools33/patches/patch-cb | 90 +++
sysutils/xentools33/patches/patch-cc | 47 ++
sysutils/xentools33/patches/patch-cd | 36 +
sysutils/xentools33/patches/patch-ce | 31 +
sysutils/xentools33/patches/patch-cf | 12 +
sysutils/xentools33/patches/patch-cg | 15 +
sysutils/xentools33/patches/patch-da | 34 +
sysutils/xentools33/patches/patch-db | 22 +
sysutils/xentools33/patches/patch-dc | 23 +
sysutils/xentools33/patches/patch-dd | 15 +
sysutils/xentools33/patches/patch-de | 104 ++++
sysutils/xentools33/patches/patch-df | 51 ++
sysutils/xentools33/patches/patch-ea | 13 +
sysutils/xentools33/patches/patch-eb | 13 +
sysutils/xentools33/patches/patch-ec | 13 +
sysutils/xentools33/patches/patch-ed | 24 +
sysutils/xentools33/patches/patch-ee | 22 +
sysutils/xentools33/patches/patch-ef | 17 +
sysutils/xentools33/patches/patch-eg | 16 +
sysutils/xentools33/patches/patch-fa | 24 +
sysutils/xentools33/patches/patch-fb | 36 +
sysutils/xentools33/patches/patch-fc | 22 +
sysutils/xentools33/patches/patch-fd | 55 ++
sysutils/xentools33/patches/patch-fe | 29 +
64 files changed, 3127 insertions(+), 0 deletions(-)
diffs (truncated from 3383 to 300 lines):
diff -r 6c3ba940ae8b -r 2db73071f674 sysutils/xentools33/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools33/DESCR Thu Aug 07 20:26:56 2008 +0000
@@ -0,0 +1,5 @@
+The Xen virtual machine monitor allows running several virtual machines
+on a single physical machine. The xentools33 package contains the
+tools to create, destroy and control the virtual machines.
+
+The xentools33 package contains the tools for Xen 3.3.x
diff -r 6c3ba940ae8b -r 2db73071f674 sysutils/xentools33/MESSAGE.NetBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools33/MESSAGE.NetBSD Thu Aug 07 20:26:56 2008 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2008/08/07 20:26:56 cegger Exp $
+
+Please ensure that the Xen-specific devices needed by xend(8) exist:
+
+ cd /dev && sh MAKEDEV xen
+
+There are example configuration files for setting up a guest domain in:
+
+ ${EGDIR}/
+
+Please also refer to the the "NetBSD/xen How-To" for more information on
+creating a Xen setup:
+
+ http://www.NetBSD.org/ports/xen/howto.html
+
+===========================================================================
diff -r 6c3ba940ae8b -r 2db73071f674 sysutils/xentools33/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools33/Makefile Thu Aug 07 20:26:56 2008 +0000
@@ -0,0 +1,212 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/07 20:26:56 cegger Exp $
+#
+
+VERSION= 3.3-18261
+DISTNAME= xen-${VERSION}
+PKGNAME= xentools33-${VERSION}
+CATEGORIES= sysutils
+#MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
+MASTER_SITES= http://www.netbsd.org/~cegger/
+EXTRACT_SUFX= .tar.gz
+
+MAINTAINER= cegger%NetBSD.org@localhost
+HOMEPAGE= http://xen.org/
+COMMENT= Userland Tools for Xen 3.3.x
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+#DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
+
+BUILD_DEPENDS+= dev86-[0-9]*:../../devel/dev86 # needed to build firmware
+
+PKG_SYSCONFSUBDIR= xen
+
+ONLY_FOR_PLATFORM= Linux-2.6*-i386 Linux-2.6*-x86_64
+ONLY_FOR_PLATFORM+= NetBSD-4.99.*-x86_64 NetBSD-4.99.*-i386
+ONLY_FOR_PLATFORM+= NetBSD-[5-9].*-x86_64 NetBSD-[5-9].*-i386
+
+
+CONFLICTS+= libxen-[0-9]*
+CONFLICTS+= xentools20-[0-9]*
+CONFLICTS+= xentools30-* xentools3-* xentools32-*
+
+WRKSRC= ${WRKDIR}/xen-${VERSION}/tools
+CHECK_PORTABILITY_SKIP= examples/* xm-test/ramdisk/make-release.sh
+
+EGDIR= ${PREFIX}/share/examples/xen
+MESSAGE_SUBST= EGDIR=${EGDIR}
+
+USE_TOOLS+= perl #for pod2man
+USE_TOOLS+= gmake
+MAKE_ENV+= CONFIG_NetBSD=yes
+MAKE_ENV+= CONFIG_MBOOTPACK=no
+MAKE_ENV+= EGDIR=${EGDIR:Q}
+MAKE_ENV+= MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
+.if ${MACHINE_ARCH} == "i386"
+MAKE_ENV+= XEN_TARGET_ARCH="x86_32" XEN_COMPILE_ARCH="x86_32"
+.elif ${MACHINE_ARCH} == "x86_64"
+MAKE_ENV+= XEN_TARGET_ARCH="x86_64" XEN_COMPILE_ARCH="x86_64"
+.else
+MAKE_ENV+= XEN_TARGET_ARCH="unsupported"
+.endif
+PY_PATCHPLIST= yes
+PYTHON_PATCH_SCRIPTS+= misc/xm
+PYTHON_PATCH_SCRIPTS+= misc/netfix
+PYTHON_PATCH_SCRIPTS+= misc/xen-bugtool
+PYTHON_PATCH_SCRIPTS+= misc/xencons
+PYTHON_PATCH_SCRIPTS+= misc/xend
+PYTHON_PATCH_SCRIPTS+= misc/xensymoops
+PYTHON_PATCH_SCRIPTS+= misc/xen-python-path
+PYTHON_PATCH_SCRIPTS+= pygrub/src/pygrub
+PYTHON_PATCH_SCRIPTS+= python/xen/util/*.py
+PYTHON_PATCH_SCRIPTS+= python/xen/xend/*.py
+PYTHON_PATCH_SCRIPTS+= python/xen/xm/*.py
+PYTHON_PATCH_SCRIPTS+= python/xen/util/*.py
+PYTHON_PATCH_SCRIPTS+= python/*.py
+PYTHON_PATCH_SCRIPTS+= security/python/xensec_gen/cgi-bin/policy.cgi
+PYTHON_PATCH_SCRIPTS+= security/python/xensec_gen/*.py
+PYTHON_PATCH_SCRIPTS+= security/python/*.py
+PYTHON_PATCH_SCRIPTS+= security/*.py
+PYTHON_PATCH_SCRIPTS+= xenmon/*.py
+PYTHON_PATCH_SCRIPTS+= xentrace/xentrace_format
+
+SUBST_CLASSES+= pathsvar
+SUBST_STAGE.pathsvar= pre-configure
+SUBST_FILES.pathsvar= examples/init.d/sysconfig.xendomains \
+ examples/xend-config.sxp \
+ python/xen/xend/server/relocate.py \
+ python/xen/xend/XendOptions.py \
+ security/Makefile security/python/xensec_gen/main.py \
+ xenstore/xs_lib.c
+SUBST_SED.pathsvar= -e "s|/var/lib|${VARBASE}/run|g"
+
+SUBST_CLASSES+= py
+SUBST_STAGE.py= pre-configure
+SUBST_FILES.py= check/check_python
+SUBST_FILES.py+= check/check_python_devel
+SUBST_FILES.py+= pygrub/Makefile
+SUBST_FILES.py+= python/Makefile
+SUBST_FILES.py+= security/Makefile
+SUBST_FILES.py+= include/xen-foreign/Makefile
+SUBST_FILES.py+= include/xen-foreign/mkheader.py
+SUBST_FILES.py+= ../xen/tools/get-fields.sh
+SUBST_SED.py= -e "s,python,${PYTHONBIN},g"
+
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= pre-configure
+SUBST_FILES.conf= python/xen/xend/XendOptions.py
+SUBST_FILES.conf+= python/xen/xend/osdep.py
+SUBST_FILES.conf+= python/xen/xm/create.py
+SUBST_FILES.conf+= python/xen/xm/addlabel.py
+SUBST_FILES.conf+= python/xen/xm/getlabel.py
+SUBST_FILES.conf+= python/xen/xm/rmlabel.py
+SUBST_FILES.conf+= ioemu/configure
+SUBST_FILES.conf+= ioemu/vl.c
+SUBST_SED.conf= -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g"
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= python/xen/util/auxbin.py
+SUBST_FILES.prefix+= python/xen/xend/osdep.py
+SUBST_FILES.prefix+= misc/xen-python-path
+SUBST_FILES.prefix+= ioemu/vl.c
+SUBST_SED.prefix= -e "s,@PREFIX@,${PREFIX},g"
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+SUBST_CLASSES+= proc
+SUBST_STAGE.proc= pre-configure
+SUBST_FILES.proc= python/xen/xend/XendVnet.py
+SUBST_SED.proc= -e "s|/proc|/kern|g"
+PROCPATH= /kern
+.else
+PROCPATH= /proc
+.endif
+
+RCD_SCRIPTS= xend xenbackendd xendomains
+FILES_SUBST+= RCD_INTERPRETER=${PYTHONBIN:Q}
+FILES_SUBST+= PROCPATH=${PROCPATH:Q}
+FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
+
+BLKTAP_FILES= blk_netbsd.c blktapctrl_netbsd.c
+
+XEND_SCRIPTS= block vif-bridge vif-ip
+
+CONF_FILES= ${EGDIR}/xend-config.sxp \
+ ${PKG_SYSCONFDIR}/xend-config.sxp
+.for s in ${XEND_SCRIPTS}
+CONF_FILES_PERMS+= ${EGDIR}/${s} ${PKG_SYSCONFDIR}/scripts/${s} \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
+.endfor
+
+OWN_DIRS= ${PKG_SYSCONFDIR}/scripts /var/log/xen
+
+pre-build:
+ rm ${WRKSRC}/check/check_x11_devel
+.if ${MACHINE_ARCH} == "x86_64"
+ ${MKDIR} ${WRKSRC}/include/machine
+ ${TEST} -f ${WRKSRC}/include/machine/int_types.h || \
+ ${CP} ${FILESDIR}/int_types.h ${WRKSRC}/include/machine
+ ${TEST} -f ${WRKSRC}/libxc/include/elf_machdep.h || \
+ ${CP} ${FILESDIR}/elf_machdep.h ${WRKSRC}/include/machine
+.endif
+.for s in ${BLKTAP_FILES}
+ cp ${FILESDIR}/${s} ${WRKSRC}/blktap/drivers/
+.endfor
+ pod2man ${WRKSRC}/../docs/man/xend-config.sxp.pod.5 |\
+ sed -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+ >${WRKDIR}/xend-config.sxp.5
+ pod2man ${WRKSRC}/../docs/man/xmdomain.cfg.pod.5 |\
+ sed -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+ >${WRKDIR}/xmdomain.cfg.5
+ pod2man ${WRKSRC}/../docs/man/xm.pod.1 |\
+ sed -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g" \
+ >${WRKDIR}/xm.1
+
+.if ${OPSYS} == "NetBSD"
+post-build:
+ cd ${FILESDIR}; for src in *-nbsd; do \
+ dst="$${src%-nbsd}"; \
+ ${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
+ -e "s|@PREFIX@|${PREFIX}|g" \
+ $$src > ${WRKSRC}/examples/$$dst; \
+ done
+ ${CC} ${CFLAGS} ${LDFLAGS} \
+ -DVBD_SCRIPT=\"${PKG_SYSCONFDIR}/scripts/block\" \
+ -DLOG_FILE=\"${VARBASE}/log/xenbackendd.log\" \
+ -DPID_FILE=\"${VARBASE}/run/xenbackendd.pid\" \
+ -o ${WRKDIR}/xenbackendd.bin ${FILESDIR}/xenbackendd.c \
+ -I${WRKSRC}/libxc -I${WRKSRC}/include -L${WRKSRC}/libxc \
+ -I${WRKSRC}/xenstore -L${WRKSRC}/xenstore \
+ -lxenctrl -lxenstore
+
+.endif
+
+INSTALLATION_DIRS= ${EGDIR} ${PKGMANDIR}/man5
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/xenbackendd.bin \
+ ${DESTDIR}${PREFIX}/sbin/xenbackendd
+ for f in xend-config.sxp xmexample1 xmexample2 xmexample3 netbsd1; do \
+ ${INSTALL_DATA} ${WRKSRC}/examples/$$f ${DESTDIR}${EGDIR}/$$f; \
+ done
+.for s in ${XEND_SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/${s} ${DESTDIR}${EGDIR}/${s}
+.endfor
+ ${INSTALL_DATA} ${WRKDIR}/xend-config.sxp.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+ ${INSTALL_DATA} ${WRKDIR}/xmdomain.cfg.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+ ${INSTALL_DATA} ${WRKDIR}/xm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ for f in hvm qemu-ifup; do \
+ ${INSTALL_DATA} ${WRKSRC}/examples/$$f ${DESTDIR}${EGDIR}/$$f; \
+ done
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../textproc/py-xml/buildlink3.mk"
+.include "../../devel/py-curses/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+#.include "../../devel/SDL/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6c3ba940ae8b -r 2db73071f674 sysutils/xentools33/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools33/PLIST Thu Aug 07 20:26:56 2008 +0000
@@ -0,0 +1,596 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/08/07 20:26:57 cegger Exp $
+bin/lsevtchn
+bin/pygrub
+bin/readnotes
+bin/xc_restore
+bin/xc_save
+bin/xen-detect
+bin/xencons
+bin/xenconsole
+bin/xenctx
+bin/xenperf
+bin/xenstore
+bin/xenstore-chmod
+bin/xenstore-control
+bin/xenstore-exists
+bin/xenstore-list
+bin/xenstore-ls
+bin/xenstore-read
+bin/xenstore-rm
+bin/xenstore-write
+bin/xentrace
+bin/xentrace_format
+bin/xentrace_setsize
+etc/xen/qemu-ifup
+include/blktaplib.h
+include/flask.h
+include/fsimage.h
+include/fsimage_grub.h
+include/fsimage_plugin.h
+include/xen/COPYING
+include/xen/arch-ia64.h
+include/xen/arch-ia64/debug_op.h
+include/xen/arch-ia64/hvm/memmap.h
+include/xen/arch-ia64/hvm/save.h
+include/xen/arch-ia64/sioemu.h
+include/xen/arch-x86/cpuid.h
+include/xen/arch-x86/hvm/save.h
+include/xen/arch-x86/xen-mca.h
+include/xen/arch-x86/xen-x86_32.h
+include/xen/arch-x86/xen-${MACHINE_ARCH}.h
+include/xen/arch-x86/xen.h
+include/xen/arch-x86_32.h
+include/xen/arch-${MACHINE_ARCH}.h
+include/xen/callback.h
+include/xen/dom0_ops.h
+include/xen/domctl.h
+include/xen/elfnote.h
+include/xen/elfstructs.h
+include/xen/event_channel.h
+include/xen/features.h
Home |
Main Index |
Thread Index |
Old Index