pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xentools30 Update to 3.0.3. I don't have a co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2fd5176536d
branches:  trunk
changeset: 520353:f2fd5176536d
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Thu Oct 19 22:57:13 2006 +0000

description:
Update to 3.0.3. I don't have a comprehensive list of changes, only
"many new features". One looks promising:
- a new easy-to-use CPU scheduler which includes weights, caps,
  and automatic SMP load-balancing;

pkgsrc changes:
- remove patches against unused files
- add a netbsd-specific example with verbose comments
- add a vif script for ip-routing based setups

diffstat:

 sysutils/xentools30/MESSAGE.NetBSD     |    4 +-
 sysutils/xentools30/Makefile           |   34 +-
 sysutils/xentools30/PLIST              |   48 ++++-
 sysutils/xentools30/buildlink3.mk      |   19 ++
 sysutils/xentools30/distinfo           |   99 ++++-------
 sysutils/xentools30/files/netbsd1-nbsd |   48 +++++
 sysutils/xentools30/files/vif-ip-nbsd  |   33 +++
 sysutils/xentools30/files/xenio.h      |    6 +-
 sysutils/xentools30/files/xenio3.h     |    8 +-
 sysutils/xentools30/patches/patch-aa   |   85 +++++---
 sysutils/xentools30/patches/patch-ab   |  295 +++++++++++++++++++++++++++++---
 sysutils/xentools30/patches/patch-ac   |   31 +--
 sysutils/xentools30/patches/patch-ad   |   33 ++-
 sysutils/xentools30/patches/patch-ae   |   10 -
 sysutils/xentools30/patches/patch-af   |   10 -
 sysutils/xentools30/patches/patch-ag   |   10 -
 sysutils/xentools30/patches/patch-ai   |   10 -
 sysutils/xentools30/patches/patch-aj   |   17 -
 sysutils/xentools30/patches/patch-ak   |   10 -
 sysutils/xentools30/patches/patch-al   |    9 +-
 sysutils/xentools30/patches/patch-am   |   44 +----
 sysutils/xentools30/patches/patch-an   |   24 --
 sysutils/xentools30/patches/patch-ao   |   22 --
 sysutils/xentools30/patches/patch-ap   |   27 ---
 sysutils/xentools30/patches/patch-aq   |   40 ----
 sysutils/xentools30/patches/patch-ar   |   13 -
 sysutils/xentools30/patches/patch-as   |   32 +-
 sysutils/xentools30/patches/patch-at   |   22 --
 sysutils/xentools30/patches/patch-au   |   26 +--
 sysutils/xentools30/patches/patch-av   |   20 +-
 sysutils/xentools30/patches/patch-aw   |   26 +-
 sysutils/xentools30/patches/patch-ax   |   28 +-
 sysutils/xentools30/patches/patch-ay   |   13 -
 sysutils/xentools30/patches/patch-az   |   14 -
 sysutils/xentools30/patches/patch-ba   |   14 +-
 sysutils/xentools30/patches/patch-bb   |   10 +-
 sysutils/xentools30/patches/patch-bc   |   16 +-
 sysutils/xentools30/patches/patch-bd   |   49 +----
 sysutils/xentools30/patches/patch-be   |   68 +------
 sysutils/xentools30/patches/patch-bf   |  138 +--------------
 sysutils/xentools30/patches/patch-bg   |   27 +-
 sysutils/xentools30/patches/patch-bh   |   24 +-
 sysutils/xentools30/patches/patch-bi   |   13 -
 sysutils/xentools30/patches/patch-bj   |   16 -
 sysutils/xentools30/patches/patch-bk   |   13 -
 sysutils/xentools30/patches/patch-bl   |   13 -
 sysutils/xentools30/patches/patch-bm   |   12 +-
 sysutils/xentools30/patches/patch-bn   |   18 --
 sysutils/xentools30/patches/patch-bo   |   16 +-
 sysutils/xentools30/patches/patch-bp   |   19 --
 sysutils/xentools30/patches/patch-bq   |   62 ------
 sysutils/xentools30/patches/patch-br   |   10 +-
 sysutils/xentools30/patches/patch-bs   |   53 +++--
 sysutils/xentools30/patches/patch-bt   |  163 ++++++++----------
 sysutils/xentools30/patches/patch-bu   |   32 ---
 sysutils/xentools30/patches/patch-bv   |   29 +-
 sysutils/xentools30/patches/patch-bw   |    6 +-
 sysutils/xentools30/patches/patch-bx   |   16 -
 sysutils/xentools30/patches/patch-by   |   39 ----
 sysutils/xentools30/patches/patch-bz   |   14 -
 sysutils/xentools30/patches/patch-ca   |   14 -
 sysutils/xentools30/patches/patch-cb   |    6 +-
 sysutils/xentools30/patches/patch-cc   |   15 +-
 sysutils/xentools30/patches/patch-cd   |   19 +-
 sysutils/xentools30/patches/patch-ce   |   13 -
 sysutils/xentools30/patches/patch-cf   |   14 +-
 sysutils/xentools30/patches/patch-cg   |   28 ++-
 sysutils/xentools30/patches/patch-ch   |   45 ++++-
 68 files changed, 936 insertions(+), 1278 deletions(-)

diffs (truncated from 2979 to 300 lines):

diff -r 1acc161cad24 -r f2fd5176536d sysutils/xentools30/MESSAGE.NetBSD
--- a/sysutils/xentools30/MESSAGE.NetBSD        Thu Oct 19 22:50:25 2006 +0000
+++ b/sysutils/xentools30/MESSAGE.NetBSD        Thu Oct 19 22:57:13 2006 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2006/07/02 16:49:31 bouyer Exp $
+$NetBSD: MESSAGE.NetBSD,v 1.2 2006/10/19 22:57:13 bouyer Exp $
 
 Please ensure that the Xen-specific devices needed by xend(8) exist:
 
@@ -7,7 +7,7 @@
 
 There are example configuration files for setting up a guest domain in:
 
-       ${EGDIR}/xmexample[0-9]*
+       ${EGDIR}/
 
 Please also refer to the the "NetBSD/xen How-To" for more information on
 creating a Xen setup:
diff -r 1acc161cad24 -r f2fd5176536d sysutils/xentools30/Makefile
--- a/sysutils/xentools30/Makefile      Thu Oct 19 22:50:25 2006 +0000
+++ b/sysutils/xentools30/Makefile      Thu Oct 19 22:57:13 2006 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2006/10/15 16:08:08 xtraeme Exp $
+# $NetBSD: Makefile,v 1.4 2006/10/19 22:57:13 bouyer Exp $
 #
 
-DISTNAME=              xen-3.0.2-2-src
-PKGNAME=               xentools30-3.0.2.2
+DISTNAME=              xen-3.0.3_0-src
+PKGNAME=               xentools30-3.0.3
 CATEGORIES=            sysutils
-MASTER_SITES=          http://www.cl.cam.ac.uk/research/srg/netos/xen/downloads/
+MASTER_SITES=          http://www.cl.cam.ac.uk/research/srg/netos/xen/downloads/ \
+                       http://bits.xensource.com/oss-xen/release/3.0.3-0/src.tgz/
 EXTRACT_SUFX=          .tgz
 
 MAINTAINER=            bouyer%NetBSD.org@localhost
@@ -20,19 +21,19 @@
 CONFLICTS+=            libxen-[0-9]*
 CONFLICTS+=            xentools20-[0-9]*
 
-WRKSRC=                        ${WRKDIR}/xen-3.0.2-2/tools
+WRKSRC=                        ${WRKDIR}/xen-3.0.3_0-src/tools
 
 EGDIR=                 ${PREFIX}/share/examples/xen
 MESSAGE_SUBST=         EGDIR=${EGDIR}
 
 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"
-MAKE_ENV+=             XEN_NO_IOEMU=yes
 PYTHON_VERSIONS_ACCEPTED= 24 23 22
 PY_PATCHPLIST=         yes
-PYTHON_PATCH_SCRIPTS=  ioemu/keymaps/convert-map
 PYTHON_PATCH_SCRIPTS+= misc/xm
 PYTHON_PATCH_SCRIPTS+= misc/netfix
 PYTHON_PATCH_SCRIPTS+= misc/xen-bugtool
@@ -43,9 +44,11 @@
 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/FlatDeviceTree.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/policylabel.cgi
 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
@@ -84,11 +87,11 @@
 SUBST_FILES.conf+=     python/xen/xend/XendRoot.py
 SUBST_FILES.conf+=     python/xen/xm/tests/test_create.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+=     security/example.txt
-SUBST_FILES.conf+=     security/getlabel.sh
-SUBST_FILES.conf+=     security/labelfuncs.sh
 SUBST_FILES.conf+=     security/secpol_xml2bin.h
-SUBST_FILES.conf+=     security/setlabel.sh
 SUBST_SED.conf=                -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g"
 
 SUBST_CLASSES+=                prefix
@@ -104,11 +107,8 @@
 SUBST_FILES.proc=      libxc/xc_misc.c
 SUBST_FILES.proc+=     python/xen/xend/XendVnet.py
 SUBST_FILES.proc+=     python/xen/xend/balloon.py
-SUBST_FILES.proc+=     security/get_decision.c
 SUBST_FILES.proc+=     security/secpol_tool.c
 SUBST_FILES.proc+=     xenmon/xenbaked.c
-SUBST_FILES.proc+=     xenstat/libxenstat/src/xen-interface.c
-SUBST_FILES.proc+=     xenstore/xenstored_proc.h
 SUBST_FILES.proc+=     xenstore/xs_lib.c
 SUBST_FILES.proc+=     xentrace/xentrace.c
 SUBST_SED.proc=                -e "s|/proc|/kern|g"
@@ -122,7 +122,7 @@
 FILES_SUBST+=          PROCPATH=${PROCPATH:Q}
 FILES_SUBST+=          PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
 
-XEND_SCRIPTS=          block vif-bridge
+XEND_SCRIPTS=          block vif-bridge vif-ip
 
 CONF_FILES=            ${EGDIR}/xend-config.sxp \
                        ${PKG_SYSCONFDIR}/xend-config.sxp
@@ -131,7 +131,7 @@
                        ${ROOT_USER} ${ROOT_GROUP} 0755
 .endfor
 
-OWN_DIRS=              ${PKG_SYSCONFDIR}/scripts
+OWN_DIRS=              ${PKG_SYSCONFDIR}/scripts /var/log/xen
 
 pre-build:
        ${MKDIR} ${WRKSRC}/libxc/xen/NetBSD
@@ -162,7 +162,7 @@
 post-install:
        ${INSTALL_PROGRAM} ${WRKDIR}/xenbackendd.bin ${PREFIX}/sbin/xenbackendd
        ${INSTALL_DATA_DIR} ${EGDIR}
-       for f in xend-config.sxp xmexample1 xmexample2 xmexample3; do   \
+       for f in xend-config.sxp xmexample1 xmexample2 xmexample3 netbsd1; do \
                ${INSTALL_DATA} ${WRKSRC}/examples/$$f ${EGDIR}/$$f;    \
        done
 .for s in ${XEND_SCRIPTS}
diff -r 1acc161cad24 -r f2fd5176536d sysutils/xentools30/PLIST
--- a/sysutils/xentools30/PLIST Thu Oct 19 22:50:25 2006 +0000
+++ b/sysutils/xentools30/PLIST Thu Oct 19 22:57:13 2006 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/02 16:49:31 bouyer Exp $
-bin/cpuperf-perfcntr
-bin/cpuperf-xen
+@comment $NetBSD: PLIST,v 1.2 2006/10/19 22:57:13 bouyer Exp $
+bin/readnotes
 bin/xc_restore
 bin/xc_save
 bin/xc_shadow
 bin/xencons
 bin/xenconsole
 bin/xenperf
+bin/xenstore-chmod
 bin/xenstore-control
 bin/xenstore-exists
 bin/xenstore-list
@@ -26,12 +26,16 @@
 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
 ${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/xc.so
 ${PYSITELIB}/xen/lowlevel/xs.so
 ${PYSITELIB}/xen/sv/CreateDomain.py
@@ -56,6 +60,8 @@
 ${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
@@ -68,12 +74,16 @@
 ${PYSITELIB}/xen/util/bugtool.pyc
 ${PYSITELIB}/xen/util/diagnose.py
 ${PYSITELIB}/xen/util/diagnose.pyc
+${PYSITELIB}/xen/util/dictio.py
+${PYSITELIB}/xen/util/dictio.pyc
 ${PYSITELIB}/xen/util/ip.py
 ${PYSITELIB}/xen/util/ip.pyc
 ${PYSITELIB}/xen/util/mac.py
 ${PYSITELIB}/xen/util/mac.pyc
 ${PYSITELIB}/xen/util/pci.py
 ${PYSITELIB}/xen/util/pci.pyc
+${PYSITELIB}/xen/util/security.py
+${PYSITELIB}/xen/util/security.pyc
 ${PYSITELIB}/xen/util/xmlrpclib2.py
 ${PYSITELIB}/xen/util/xmlrpclib2.pyc
 ${PYSITELIB}/xen/util/xpopen.py
@@ -102,6 +112,8 @@
 ${PYSITELIB}/xen/web/unix.pyc
 ${PYSITELIB}/xen/xend/Args.py
 ${PYSITELIB}/xen/xend/Args.pyc
+${PYSITELIB}/xen/xend/FlatDeviceTree.py
+${PYSITELIB}/xen/xend/FlatDeviceTree.pyc
 ${PYSITELIB}/xen/xend/PrettyPrint.py
 ${PYSITELIB}/xen/xend/PrettyPrint.pyc
 ${PYSITELIB}/xen/xend/Vifctl.py
@@ -132,12 +144,16 @@
 ${PYSITELIB}/xen/xend/XendVnet.pyc
 ${PYSITELIB}/xen/xend/__init__.py
 ${PYSITELIB}/xen/xend/__init__.pyc
+${PYSITELIB}/xen/xend/arch.py
+${PYSITELIB}/xen/xend/arch.pyc
 ${PYSITELIB}/xen/xend/balloon.py
 ${PYSITELIB}/xen/xend/balloon.pyc
 ${PYSITELIB}/xen/xend/encode.py
 ${PYSITELIB}/xen/xend/encode.pyc
 ${PYSITELIB}/xen/xend/image.py
 ${PYSITELIB}/xen/xend/image.pyc
+${PYSITELIB}/xen/xend/server/BlktapController.py
+${PYSITELIB}/xen/xend/server/BlktapController.pyc
 ${PYSITELIB}/xen/xend/server/DevController.py
 ${PYSITELIB}/xen/xend/server/DevController.pyc
 ${PYSITELIB}/xen/xend/server/XMLRPCServer.py
@@ -174,6 +190,8 @@
 ${PYSITELIB}/xen/xend/server/params.pyc
 ${PYSITELIB}/xen/xend/server/pciif.py
 ${PYSITELIB}/xen/xend/server/pciif.pyc
+${PYSITELIB}/xen/xend/server/pciquirk.py
+${PYSITELIB}/xen/xend/server/pciquirk.pyc
 ${PYSITELIB}/xen/xend/server/relocate.py
 ${PYSITELIB}/xen/xend/server/relocate.pyc
 ${PYSITELIB}/xen/xend/server/tests/__init__.py
@@ -208,22 +226,40 @@
 ${PYSITELIB}/xen/xend/xenstore/xswatch.pyc
 ${PYSITELIB}/xen/xm/__init__.py
 ${PYSITELIB}/xen/xm/__init__.pyc
+${PYSITELIB}/xen/xm/addlabel.py
+${PYSITELIB}/xen/xm/addlabel.pyc
+${PYSITELIB}/xen/xm/cfgbootpolicy.py
+${PYSITELIB}/xen/xm/cfgbootpolicy.pyc
 ${PYSITELIB}/xen/xm/console.py
 ${PYSITELIB}/xen/xm/console.pyc
 ${PYSITELIB}/xen/xm/create.py
 ${PYSITELIB}/xen/xm/create.pyc
+${PYSITELIB}/xen/xm/dry-run.py
+${PYSITELIB}/xen/xm/dry-run.pyc
+${PYSITELIB}/xen/xm/dumppolicy.py
+${PYSITELIB}/xen/xm/dumppolicy.pyc
+${PYSITELIB}/xen/xm/getlabel.py
+${PYSITELIB}/xen/xm/getlabel.pyc
 ${PYSITELIB}/xen/xm/help.py
 ${PYSITELIB}/xen/xm/help.pyc
+${PYSITELIB}/xen/xm/labels.py
+${PYSITELIB}/xen/xm/labels.pyc
+${PYSITELIB}/xen/xm/loadpolicy.py
+${PYSITELIB}/xen/xm/loadpolicy.pyc
+${PYSITELIB}/xen/xm/makepolicy.py
+${PYSITELIB}/xen/xm/makepolicy.pyc
 ${PYSITELIB}/xen/xm/main.py
 ${PYSITELIB}/xen/xm/main.pyc
 ${PYSITELIB}/xen/xm/migrate.py
 ${PYSITELIB}/xen/xm/migrate.pyc
 ${PYSITELIB}/xen/xm/opts.py
 ${PYSITELIB}/xen/xm/opts.pyc
+${PYSITELIB}/xen/xm/resources.py
+${PYSITELIB}/xen/xm/resources.pyc
+${PYSITELIB}/xen/xm/rmlabel.py
+${PYSITELIB}/xen/xm/rmlabel.pyc
 ${PYSITELIB}/xen/xm/shutdown.py
 ${PYSITELIB}/xen/xm/shutdown.pyc
-${PYSITELIB}/xen/xm/sysrq.py
-${PYSITELIB}/xen/xm/sysrq.pyc
 ${PYSITELIB}/xen/xm/tests/__init__.py
 ${PYSITELIB}/xen/xm/tests/__init__.pyc
 ${PYSITELIB}/xen/xm/tests/test_create.py
@@ -242,7 +278,9 @@
 share/examples/rc.d/xendomains
 share/examples/xen/block
 share/examples/xen/vif-bridge
+share/examples/xen/vif-ip
 share/examples/xen/xend-config.sxp
+share/examples/xen/netbsd1
 share/examples/xen/xmexample1
 share/examples/xen/xmexample2
 share/examples/xen/xmexample3
diff -r 1acc161cad24 -r f2fd5176536d sysutils/xentools30/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools30/buildlink3.mk Thu Oct 19 22:57:13 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2006/10/19 22:57:13 bouyer Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+XENTOOLS30_BUILDLINK3_MK:=     ${XENTOOLS30_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    xentools30
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nxentools30}
+BUILDLINK_PACKAGES+=   xentools30
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xentools30
+
+.if ${XENTOOLS30_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.xentools30+=     xentools30>=3.0.2.2
+BUILDLINK_PKGSRCDIR.xentools30?=       ../../sysutils/xentools30
+.endif # XENTOOLS30_BUILDLINK3_MK
+



Home | Main Index | Thread Index | Old Index