pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xentools3 Rename xentools30 to xentools3 to a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0207a9b24d9d
branches:  trunk
changeset: 529992:0207a9b24d9d
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Thu Jun 14 19:39:45 2007 +0000

description:
Rename xentools30 to xentools3 to acknowledge that Xen dropped one digit
in version numbers, and upgrade to 3.1.0.
Changes since 3.0.4:
    *   XenAPI 1.0 support
          o XML configuration files for virtual machines;
          o VM life-cycle management operations; and
          o Secure on- or off-box XML-RPC with bindings for many languages
    * Basic save/restore/migrate support for HVM (e.g. Windows) VMs;
    * Dynamic memory control for HVM guests;
    * 32-on-64 PV guest support (run PAE PV VMs on a 64-bit Xen!); and
    * Blktap copy-on-write disk support.

It also fixes some HVM bugs.

diffstat:

 sysutils/xentools3/DESCR                 |    5 +
 sysutils/xentools3/MESSAGE.NetBSD        |   17 +
 sysutils/xentools3/Makefile              |  189 +++++++++++++++
 sysutils/xentools3/PLIST                 |  369 +++++++++++++++++++++++++++++++
 sysutils/xentools3/buildlink3.mk         |   19 +
 sysutils/xentools3/distinfo              |   46 +++
 sysutils/xentools3/files/NetBSD.mk       |    2 +
 sysutils/xentools3/files/block-nbsd      |   88 +++++++
 sysutils/xentools3/files/netbsd1-nbsd    |   48 ++++
 sysutils/xentools3/files/vif-bridge-nbsd |   35 ++
 sysutils/xentools3/files/vif-ip-nbsd     |   33 ++
 sysutils/xentools3/files/xenbackendd.c   |  319 ++++++++++++++++++++++++++
 sysutils/xentools3/files/xenbackendd.sh  |   17 +
 sysutils/xentools3/files/xend.sh         |   29 ++
 sysutils/xentools3/files/xendomains.sh   |  134 +++++++++++
 sysutils/xentools3/files/xenio.h         |  105 ++++++++
 sysutils/xentools3/files/xenio3.h        |   89 +++++++
 sysutils/xentools3/patches/patch-aa      |   67 +++++
 sysutils/xentools3/patches/patch-ab      |  273 ++++++++++++++++++++++
 sysutils/xentools3/patches/patch-ac      |   13 +
 sysutils/xentools3/patches/patch-ad      |  161 +++++++++++++
 sysutils/xentools3/patches/patch-al      |   28 ++
 sysutils/xentools3/patches/patch-as      |   45 +++
 sysutils/xentools3/patches/patch-au      |   16 +
 sysutils/xentools3/patches/patch-av      |   12 +
 sysutils/xentools3/patches/patch-aw      |   42 +++
 sysutils/xentools3/patches/patch-ax      |   14 +
 sysutils/xentools3/patches/patch-ba      |   47 +++
 sysutils/xentools3/patches/patch-bb      |   13 +
 sysutils/xentools3/patches/patch-bc      |   22 +
 sysutils/xentools3/patches/patch-be      |   16 +
 sysutils/xentools3/patches/patch-bf      |   13 +
 sysutils/xentools3/patches/patch-bg      |   13 +
 sysutils/xentools3/patches/patch-bh      |   13 +
 sysutils/xentools3/patches/patch-bo      |   25 ++
 sysutils/xentools3/patches/patch-br      |   16 +
 sysutils/xentools3/patches/patch-bs      |   49 ++++
 sysutils/xentools3/patches/patch-bt      |   78 ++++++
 sysutils/xentools3/patches/patch-bw      |   15 +
 sysutils/xentools3/patches/patch-cb      |   12 +
 sysutils/xentools3/patches/patch-cc      |   24 ++
 sysutils/xentools3/patches/patch-cd      |   16 +
 sysutils/xentools3/patches/patch-cf      |   21 +
 sysutils/xentools3/patches/patch-cg      |   42 +++
 sysutils/xentools3/patches/patch-ch      |  102 ++++++++
 sysutils/xentools3/patches/patch-ci      |   16 +
 sysutils/xentools3/patches/patch-cj      |   23 +
 sysutils/xentools3/patches/patch-ck      |   16 +
 sysutils/xentools3/patches/patch-cm      |   47 +++
 sysutils/xentools3/patches/patch-cn      |   36 +++
 sysutils/xentools3/patches/patch-co      |   40 +++
 sysutils/xentools3/patches/patch-cp      |   14 +
 sysutils/xentools3/patches/patch-cq      |   16 +
 sysutils/xentools3/patches/patch-cr      |   22 +
 sysutils/xentools3/patches/patch-cs      |   21 +
 sysutils/xentools3/patches/patch-ct      |   56 ++++
 sysutils/xentools3/patches/patch-cu      |   13 +
 sysutils/xentools3/patches/patch-cv      |   13 +
 58 files changed, 3085 insertions(+), 0 deletions(-)

diffs (truncated from 3317 to 300 lines):

diff -r 78b8aa831728 -r 0207a9b24d9d sysutils/xentools3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools3/DESCR  Thu Jun 14 19:39:45 2007 +0000
@@ -0,0 +1,5 @@
+The Xen virtual machine monitor allows running several virtual machines
+on a single physical machine.  The xentools3 package contains the
+tools to create, destroy and control the virtual machines.
+
+The xentools3 package contains the tools for Xen 3
diff -r 78b8aa831728 -r 0207a9b24d9d sysutils/xentools3/MESSAGE.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools3/MESSAGE.NetBSD Thu Jun 14 19:39:45 2007 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2007/06/14 19:39:45 bouyer 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 78b8aa831728 -r 0207a9b24d9d sysutils/xentools3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools3/Makefile       Thu Jun 14 19:39:45 2007 +0000
@@ -0,0 +1,189 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/14 19:39:45 bouyer Exp $
+#
+
+VERSION=               3.1.0
+DISTNAME=              xen-${VERSION}-src
+PKGNAME=               xentools3-${VERSION}
+CATEGORIES=            sysutils
+MASTER_SITES=          http://www.cl.cam.ac.uk/research/srg/netos/xen/downloads/ \
+                       http://bits.xensource.com/oss-xen/release/${VERSION}/src.tgz/
+EXTRACT_SUFX=          .tgz
+
+MAINTAINER=            bouyer%NetBSD.org@localhost
+HOMEPAGE=              http://www.cl.cam.ac.uk/research/srg/netos/xen/
+COMMENT=               Userland Tools for Xen
+
+#DEPENDS+=             ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+=              ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
+
+PKG_SYSCONFSUBDIR=     xen
+
+ONLY_FOR_PLATFORM=     Linux-2.[46]*-i386 NetBSD-*-i386
+
+CONFLICTS+=            libxen-[0-9]*
+CONFLICTS+=            xentools20-[0-9]*
+CONFLICTS=             xentools30-*
+
+WRKSRC=                        ${WRKDIR}/xen-${VERSION}-src/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}
+MAKE_ENV+=             XEN_TARGET_ARCH="x86_32"
+PYTHON_VERSIONS_ACCEPTED= 24 23
+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/bugtool.py
+PYTHON_PATCH_SCRIPTS+= python/xen/xend/sxp.py
+PYTHON_PATCH_SCRIPTS+= python/xen/util/pci.py
+PYTHON_PATCH_SCRIPTS+= python/xen/xend/XendClient.py
+PYTHON_PATCH_SCRIPTS+= python/xen/xend/arch.py
+PYTHON_PATCH_SCRIPTS+= python/test.py
+PYTHON_PATCH_SCRIPTS+= security/python/xensec_gen/cgi-bin/policy.cgi
+PYTHON_PATCH_SCRIPTS+= security/python/xensec_gen/main.py
+PYTHON_PATCH_SCRIPTS+= security/python/setup.py
+PYTHON_PATCH_SCRIPTS+= security/xensec_gen.py
+PYTHON_PATCH_SCRIPTS+= xenmon/xenmon.py
+PYTHON_PATCH_SCRIPTS+= xentrace/xentrace_format
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     ioemu/vl.c
+SUBST_SED.paths=       -e "s|/usr/sbin|${PREFIX}/sbin|g"
+SUBST_MESSAGE.paths=   Fixing hardcoded paths.
+
+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=                pygrub/Makefile
+SUBST_FILES.py+=       python/Makefile
+SUBST_FILES.py+=       security/Makefile
+SUBST_FILES.py+=       ../xen/include/public/foreign/Makefile
+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_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+=   misc/xen-python-path
+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_FILES.proc+=     xenstore/xs_lib.c
+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}
+
+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}    \
+                       ${ROOT_USER} ${ROOT_GROUP} 0755
+.endfor
+
+OWN_DIRS=              ${PKG_SYSCONFDIR}/scripts /var/log/xen
+
+pre-build:
+       ${MKDIR} ${WRKSRC}/libxc/xen/NetBSD
+       ${TEST} -f ${WRKSRC}/libxc/xen/NetBSD/xenio.h || \
+               ${CP} ${FILESDIR}/xenio.h ${WRKSRC}/libxc/xen/NetBSD
+       ${TEST} -f ${WRKSRC}/libxc/xen/NetBSD/xenio3.h || \
+               ${CP} ${FILESDIR}/xenio3.h ${WRKSRC}/libxc/xen/NetBSD
+       ${CP} ${FILESDIR}/NetBSD.mk ${WRKSRC}/../config/
+       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 -L${WRKSRC}/libxc \
+           -I${WRKSRC}/xenstore -L${WRKSRC}/xenstore \
+           -lxenctrl -lxenstore
+
+.endif
+
+post-install:
+       ${INSTALL_PROGRAM} ${WRKDIR}/xenbackendd.bin ${PREFIX}/sbin/xenbackendd
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       for f in xend-config.sxp xmexample1 xmexample2 xmexample3 netbsd1; do \
+               ${INSTALL_DATA} ${WRKSRC}/examples/$$f ${EGDIR}/$$f;    \
+       done
+.for s in ${XEND_SCRIPTS}
+       ${INSTALL_SCRIPT} ${WRKSRC}/examples/${s} ${EGDIR}/${s}
+.endfor
+       ${RM} -rf ${PREFIX}/lib/xen
+       ${INSTALL_DATA} ${WRKDIR}/xend-config.sxp.5 ${PREFIX}/man/man5
+       ${INSTALL_DATA} ${WRKDIR}/xmdomain.cfg.5 ${PREFIX}/man/man5
+       ${INSTALL_DATA} ${WRKDIR}/xm.1 ${PREFIX}/man/man1
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../textproc/py-xml/buildlink3.mk"
+#.include "../../devel/zlib/buildlink3.mk"
+#.include "../../www/curl/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 78b8aa831728 -r 0207a9b24d9d sysutils/xentools3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools3/PLIST  Thu Jun 14 19:39:45 2007 +0000
@@ -0,0 +1,369 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/14 19:39:45 bouyer Exp $
+bin/readnotes
+bin/xc_restore
+bin/xc_save
+bin/xencons
+bin/xenconsole
+bin/xenperf
+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/xen-detect
+include/xenctrl.h
+include/xenguest.h
+include/xs.h
+include/xs_lib.h
+lib/libxenctrl.a
+lib/libxenctrl.so
+lib/libxenctrl.so.3.0
+lib/libxenctrl.so.3.0.0
+lib/libxenguest.a
+lib/libxenguest.so
+lib/libxenguest.so.3.0
+lib/libxenguest.so.3.0.0
+lib/libxenstore.a
+lib/libxenstore.so
+lib/libxenstore.so.3.0
+lib/libxenstore.so.3.0.0
+man/man1/xentop.1
+man/man1/xm.1
+man/man5/xend-config.sxp.5
+man/man5/xmdomain.cfg.5
+${PYSITELIB}/xen/__init__.py
+${PYSITELIB}/xen/__init__.pyc
+${PYSITELIB}/xen/lowlevel/__init__.py
+${PYSITELIB}/xen/lowlevel/__init__.pyc
+${PYSITELIB}/xen/lowlevel/acm.so
+${PYSITELIB}/xen/lowlevel/ptsname.so
+${PYSITELIB}/xen/lowlevel/xc.so
+${PYSITELIB}/xen/lowlevel/xs.so
+${PYSITELIB}/xen/sv/CreateDomain.py
+${PYSITELIB}/xen/sv/CreateDomain.pyc
+${PYSITELIB}/xen/sv/DomInfo.py
+${PYSITELIB}/xen/sv/DomInfo.pyc
+${PYSITELIB}/xen/sv/GenTabbed.py
+${PYSITELIB}/xen/sv/GenTabbed.pyc
+${PYSITELIB}/xen/sv/HTMLBase.py
+${PYSITELIB}/xen/sv/HTMLBase.pyc
+${PYSITELIB}/xen/sv/Main.py
+${PYSITELIB}/xen/sv/Main.pyc
+${PYSITELIB}/xen/sv/NodeInfo.py
+${PYSITELIB}/xen/sv/NodeInfo.pyc
+${PYSITELIB}/xen/sv/RestoreDomain.py
+${PYSITELIB}/xen/sv/RestoreDomain.pyc
+${PYSITELIB}/xen/sv/Wizard.py
+${PYSITELIB}/xen/sv/Wizard.pyc
+${PYSITELIB}/xen/sv/__init__.py
+${PYSITELIB}/xen/sv/__init__.pyc
+${PYSITELIB}/xen/sv/util.py
+${PYSITELIB}/xen/sv/util.pyc
+${PYSITELIB}/xen/util/Brctl.py
+${PYSITELIB}/xen/util/Brctl.pyc
+${PYSITELIB}/xen/util/SSHTransport.py
+${PYSITELIB}/xen/util/SSHTransport.pyc
+${PYSITELIB}/xen/util/__init__.py
+${PYSITELIB}/xen/util/__init__.pyc
+${PYSITELIB}/xen/util/asserts.py
+${PYSITELIB}/xen/util/asserts.pyc
+${PYSITELIB}/xen/util/auxbin.py



Home | Main Index | Thread Index | Old Index