pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xentools20 Update to 2.0.6 (latest stable dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23d0f5ea7009
branches:  trunk
changeset: 494468:23d0f5ea7009
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue May 24 16:02:08 2005 +0000

description:
Update to 2.0.6 (latest stable distribution).

Lots of changes, notably now it uses Linux-2.6.11.x, a NetBSD
bug was fixed.

pkgsrc changes:

* Honor PKG_SYSCONFDIR and SUPPORT_FILES for configuration files.
* xend.sh: no more python warning messages when the script is used
  on non NetBSD/Xen systems.

diffstat:

 sysutils/xentools20/Makefile         |   39 +++-
 sysutils/xentools20/PLIST            |  348 +++++++++++++++++-----------------
 sysutils/xentools20/distinfo         |   25 +-
 sysutils/xentools20/files/xend.sh    |   16 +-
 sysutils/xentools20/patches/patch-aa |   54 ++--
 sysutils/xentools20/patches/patch-ad |   14 +-
 sysutils/xentools20/patches/patch-ag |   36 +-
 sysutils/xentools20/patches/patch-ah |   50 ++--
 sysutils/xentools20/patches/patch-ai |   31 ---
 sysutils/xentools20/patches/patch-aj |   30 +-
 sysutils/xentools20/patches/patch-ak |   16 +-
 sysutils/xentools20/patches/patch-al |   33 +-
 sysutils/xentools20/patches/patch-ar |   20 --
 sysutils/xentools20/patches/patch-at |   24 ++
 14 files changed, 380 insertions(+), 356 deletions(-)

diffs (truncated from 923 to 300 lines):

diff -r 7923f40e1e63 -r 23d0f5ea7009 sysutils/xentools20/Makefile
--- a/sysutils/xentools20/Makefile      Tue May 24 15:57:19 2005 +0000
+++ b/sysutils/xentools20/Makefile      Tue May 24 16:02:08 2005 +0000
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2005/05/23 22:02:04 bouyer Exp $
+# $NetBSD: Makefile,v 1.11 2005/05/24 16:02:08 xtraeme Exp $
 #
 
-DISTNAME=              xen-2.0.3-src
-PKGNAME=               xentools20-2.0.3
-PKGREVISION=           5
+DISTNAME=              xen-2.0.6-src
+PKGNAME=               xentools20-2.0.6
 CATEGORIES=            sysutils
 MASTER_SITES=          http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/
 EXTRACT_SUFX=          .tgz
-DISTFILES=             ${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=            bouyer%NetBSD.org@localhost
 HOMEPAGE=              http://www.netbsd.org/Ports/xen/
@@ -16,12 +14,13 @@
 DEPENDS+=              ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
 
 USE_PKGINSTALL=                yes
+PKG_SYSCONFSUBDIR=     xen
 
 ONLY_FOR_PLATFORM=     NetBSD-*-i386
 
 WRKSRC=                        ${WRKDIR}/xen-2.0/tools
 
-EGDIR=                 ${PREFIX}/share/examples/${PKGNAME_NOREV}
+EGDIR=                 ${PREFIX}/share/examples/xen
 
 USE_TOOLS+=            gmake
 MAKE_ENV+=             EGDIR="${EGDIR}"
@@ -41,21 +40,47 @@
 PYTHON_PATCH_SCRIPTS+= misc/xend
 PYTHON_PATCH_SCRIPTS+= xentrace/xentrace_format
 
-SUBST_CLASSES=          paths
+SUBST_CLASSES=          paths py conf
 SUBST_STAGE.paths=      pre-configure
 SUBST_FILES.paths=      python/xen/xend/server/SrvDaemon.py
 SUBST_FILES.paths+=    python/xen/xend/XendDomainInfo.py
 SUBST_FILES.paths+=    python/xen/sv/Daemon.py
 SUBST_SED.paths=        -e "s|/usr/sbin|${PREFIX}/sbin|g"
 SUBST_MESSAGE.paths=    "Fixing hardcoded paths."
+SUBST_STAGE.py=                pre-configure
+SUBST_FILES.py=                python/Makefile
+SUBST_SED.py=          -e "s,python,${PYTHONBIN},g"
+SUBST_STAGE.conf=      pre-configure
+SUBST_FILES.conf=      python/xen/xend/XendRoot.py
+SUBST_SED.conf=                -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g"
 
 RCD_SCRIPTS=           xend
 FILES_SUBST+=          RCD_INTERPRETER=${PYTHONBIN}
 
+INSTALLATION_DIRS=     share/examples/xen
+
+XEND_SCRIPTS=          network vif-bridge block-enbd block-file        \
+                       xmexample1 xmexample2 xmexample3
+
+SUPPORT_FILES=         ${EGDIR}/xend-config.sxp \
+                       ${PKG_SYSCONFDIR}/xend-config.sxp
+.for f in ${XEND_SCRIPTS}
+SUPPORT_FILES+=                ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+
+SUPPORT_FILES_MODE=    0755
+
 pre-build:
        ${MKDIR} ${WRKSRC}/libxc/xen/NetBSD
        ${CP} ${FILESDIR}/xenio.h ${WRKSRC}/libxc/xen/NetBSD
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/examples/xend-config.sxp \
+               ${EGDIR}/xend-config.sxp
+.for s in ${XEND_SCRIPTS}
+       ${INSTALL_DATA} ${WRKSRC}/examples/${s} ${EGDIR}/${s}
+.endfor
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff -r 7923f40e1e63 -r 23d0f5ea7009 sysutils/xentools20/PLIST
--- a/sysutils/xentools20/PLIST Tue May 24 15:57:19 2005 +0000
+++ b/sysutils/xentools20/PLIST Tue May 24 16:02:08 2005 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2005/05/03 15:59:55 wiz Exp $
-bin/miniterm
+@comment $NetBSD: PLIST,v 1.6 2005/05/24 16:02:08 xtraeme Exp $
 bin/xencons
 bin/xenperf
 include/xc.h
+lib/libxc.a
 lib/libxc.so
 lib/libxc.so.2.0
 lib/libxc.so.2.0.0
@@ -10,181 +10,189 @@
 lib/libxutil.so
 lib/libxutil.so.2.0
 lib/libxutil.so.2.0.0
+${PYSITELIB}/xen/__init__.py
+${PYSITELIB}/xen/__init__.pyc
+${PYSITELIB}/xen/lowlevel/__init__.py
+${PYSITELIB}/xen/lowlevel/__init__.pyc
+${PYSITELIB}/xen/lowlevel/xc.so
+${PYSITELIB}/xen/lowlevel/xu.so
+${PYSITELIB}/xen/sv/CreateDomain.py
+${PYSITELIB}/xen/sv/DomInfo.py
+${PYSITELIB}/xen/sv/DomList.py
+${PYSITELIB}/xen/sv/GenTabbed.py
+${PYSITELIB}/xen/sv/HTMLBase.py
+${PYSITELIB}/xen/sv/Main.py
+${PYSITELIB}/xen/sv/MigrateDomain.py
+${PYSITELIB}/xen/sv/NodeInfo.py
+${PYSITELIB}/xen/sv/RestoreDomain.py
+${PYSITELIB}/xen/sv/SaveDomain.py
+${PYSITELIB}/xen/sv/TabView.py
+${PYSITELIB}/xen/sv/Wizard.py
+${PYSITELIB}/xen/sv/__init__.py
+${PYSITELIB}/xen/sv/params.py
+${PYSITELIB}/xen/sv/util.py
+${PYSITELIB}/xen/sv/CreateDomain.pyc
+${PYSITELIB}/xen/sv/Daemon.py
+${PYSITELIB}/xen/sv/Daemon.pyc
+${PYSITELIB}/xen/sv/DomInfo.pyc
+${PYSITELIB}/xen/sv/DomList.pyc
+${PYSITELIB}/xen/sv/GenTabbed.pyc
+${PYSITELIB}/xen/sv/HTMLBase.pyc
+${PYSITELIB}/xen/sv/Main.pyc
+${PYSITELIB}/xen/sv/MigrateDomain.pyc
+${PYSITELIB}/xen/sv/NodeInfo.pyc
+${PYSITELIB}/xen/sv/RestoreDomain.pyc
+${PYSITELIB}/xen/sv/SaveDomain.pyc
+${PYSITELIB}/xen/sv/TabView.pyc
+${PYSITELIB}/xen/sv/Wizard.pyc
+${PYSITELIB}/xen/sv/__init__.pyc
+${PYSITELIB}/xen/sv/params.pyc
+${PYSITELIB}/xen/sv/util.pyc
+${PYSITELIB}/xen/util/Brctl.pyc
+${PYSITELIB}/xen/util/__init__.pyc
+${PYSITELIB}/xen/util/console_client.py
+${PYSITELIB}/xen/util/console_client.pyc
+${PYSITELIB}/xen/util/ip.pyc
+${PYSITELIB}/xen/util/tempfile.pyc
+${PYSITELIB}/xen/util/Brctl.py
+${PYSITELIB}/xen/util/__init__.py
+${PYSITELIB}/xen/util/ip.py
+${PYSITELIB}/xen/util/tempfile.py
+${PYSITELIB}/xen/xend/Args.py
+${PYSITELIB}/xen/xend/Blkctl.py
+${PYSITELIB}/xen/xend/EventServer.py
+${PYSITELIB}/xen/xend/EventTypes.py
+${PYSITELIB}/xen/xend/PrettyPrint.py
+${PYSITELIB}/xen/xend/Vifctl.py
+${PYSITELIB}/xen/xend/XendAsynchProtocol.py
+${PYSITELIB}/xen/xend/XendConsole.py
+${PYSITELIB}/xen/xend/XendDB.py
+${PYSITELIB}/xen/xend/XendDmesg.py
+${PYSITELIB}/xen/xend/XendDomain.py
+${PYSITELIB}/xen/xend/XendDomainConfig.py
+${PYSITELIB}/xen/xend/XendError.py
+${PYSITELIB}/xen/xend/XendMigrate.py
+${PYSITELIB}/xen/xend/XendNode.py
+${PYSITELIB}/xen/xend/XendProtocol.py
+${PYSITELIB}/xen/xend/XendRoot.py
+${PYSITELIB}/xen/xend/XendVnet.py
+${PYSITELIB}/xen/xend/encode.py
+${PYSITELIB}/xen/xend/Args.pyc
+${PYSITELIB}/xen/xend/Blkctl.pyc
+${PYSITELIB}/xen/xend/EventServer.pyc
+${PYSITELIB}/xen/xend/EventTypes.pyc
+${PYSITELIB}/xen/xend/PrettyPrint.pyc
+${PYSITELIB}/xen/xend/Vifctl.pyc
+${PYSITELIB}/xen/xend/XendAsynchProtocol.pyc
+${PYSITELIB}/xen/xend/XendClient.py
+${PYSITELIB}/xen/xend/XendClient.pyc
+${PYSITELIB}/xen/xend/XendConsole.pyc
+${PYSITELIB}/xen/xend/XendDB.pyc
+${PYSITELIB}/xen/xend/XendDmesg.pyc
+${PYSITELIB}/xen/xend/XendDomain.pyc
+${PYSITELIB}/xen/xend/XendDomainConfig.pyc
+${PYSITELIB}/xen/xend/XendDomainInfo.py
+${PYSITELIB}/xen/xend/XendDomainInfo.pyc
+${PYSITELIB}/xen/xend/XendError.pyc
+${PYSITELIB}/xen/xend/XendLogging.pyc
+${PYSITELIB}/xen/xend/XendMigrate.pyc
+${PYSITELIB}/xen/xend/XendNode.pyc
+${PYSITELIB}/xen/xend/XendProtocol.pyc
+${PYSITELIB}/xen/xend/XendRoot.pyc
+${PYSITELIB}/xen/xend/XendVnet.pyc
+${PYSITELIB}/xen/xend/__init__.pyc
+${PYSITELIB}/xen/xend/XendLogging.py
+${PYSITELIB}/xen/xend/__init__.py
+${PYSITELIB}/xen/xend/util.py
+${PYSITELIB}/xen/xend/encode.pyc
+${PYSITELIB}/xen/xend/server/SrvBase.py
+${PYSITELIB}/xen/xend/server/SrvConsole.py
+${PYSITELIB}/xen/xend/server/SrvConsoleDir.py
+${PYSITELIB}/xen/xend/server/SrvDaemon.py
+${PYSITELIB}/xen/xend/server/SrvDeviceDir.py
+${PYSITELIB}/xen/xend/server/SrvDir.py
+${PYSITELIB}/xen/xend/server/SrvDmesg.py
+${PYSITELIB}/xen/xend/server/SrvDomain.py
+${PYSITELIB}/xen/xend/server/SrvDomainDir.py
+${PYSITELIB}/xen/xend/server/SrvEventDir.py
+${PYSITELIB}/xen/xend/server/SrvNode.py
+${PYSITELIB}/xen/xend/server/SrvRoot.py
+${PYSITELIB}/xen/xend/server/SrvServer.py
+${PYSITELIB}/xen/xend/server/SrvVnetDir.py
+${PYSITELIB}/xen/xend/server/SrvXendLog.py
+${PYSITELIB}/xen/xend/server/blkif.py
+${PYSITELIB}/xen/xend/server/channel.py
+${PYSITELIB}/xen/xend/server/console.py
+${PYSITELIB}/xen/xend/server/controller.py
+${PYSITELIB}/xen/xend/server/domain.py
+${PYSITELIB}/xen/xend/server/messages.py
+${PYSITELIB}/xen/xend/server/netif.py
+${PYSITELIB}/xen/xend/server/params.py
+${PYSITELIB}/xen/xend/server/SrvBase.pyc
+${PYSITELIB}/xen/xend/server/SrvConsole.pyc
+${PYSITELIB}/xen/xend/server/SrvConsoleDir.pyc
+${PYSITELIB}/xen/xend/server/SrvDaemon.pyc
+${PYSITELIB}/xen/xend/server/SrvDeviceDir.pyc
+${PYSITELIB}/xen/xend/server/SrvDir.pyc
+${PYSITELIB}/xen/xend/server/SrvDmesg.pyc
+${PYSITELIB}/xen/xend/server/SrvDomain.pyc
+${PYSITELIB}/xen/xend/server/SrvDomainDir.pyc
+${PYSITELIB}/xen/xend/server/SrvEventDir.pyc
+${PYSITELIB}/xen/xend/server/SrvNode.pyc
+${PYSITELIB}/xen/xend/server/SrvRoot.pyc
+${PYSITELIB}/xen/xend/server/SrvServer.pyc
+${PYSITELIB}/xen/xend/server/SrvVnetDir.pyc
+${PYSITELIB}/xen/xend/server/SrvXendLog.pyc
+${PYSITELIB}/xen/xend/server/__init__.py
+${PYSITELIB}/xen/xend/server/__init__.pyc
+${PYSITELIB}/xen/xend/server/blkif.pyc
+${PYSITELIB}/xen/xend/server/channel.pyc
+${PYSITELIB}/xen/xend/server/console.pyc
+${PYSITELIB}/xen/xend/server/controller.pyc
+${PYSITELIB}/xen/xend/server/domain.pyc
+${PYSITELIB}/xen/xend/server/messages.pyc
+${PYSITELIB}/xen/xend/server/netif.pyc
+${PYSITELIB}/xen/xend/server/params.pyc
+${PYSITELIB}/xen/xend/sxp.py
+${PYSITELIB}/xen/xend/sxp.pyc
+${PYSITELIB}/xen/xend/util.pyc
+${PYSITELIB}/xen/xm/__init__.py
+${PYSITELIB}/xen/xm/create.py
+${PYSITELIB}/xen/xm/destroy.py
+${PYSITELIB}/xen/xm/help.py
+${PYSITELIB}/xen/xm/main.py
+${PYSITELIB}/xen/xm/migrate.py
+${PYSITELIB}/xen/xm/opts.py
+${PYSITELIB}/xen/xm/shutdown.py
+${PYSITELIB}/xen/xm/sysrq.py
+${PYSITELIB}/xen/xm/__init__.pyc
+${PYSITELIB}/xen/xm/create.pyc
+${PYSITELIB}/xen/xm/destroy.pyc
+${PYSITELIB}/xen/xm/help.pyc
+${PYSITELIB}/xen/xm/main.pyc
+${PYSITELIB}/xen/xm/migrate.pyc
+${PYSITELIB}/xen/xm/opts.pyc
+${PYSITELIB}/xen/xm/shutdown.pyc
+${PYSITELIB}/xen/xm/sysrq.pyc
 sbin/netfix
 sbin/xend
 sbin/xenperf
 sbin/xensv
 sbin/xfrd
 sbin/xm
-${PYSITELIB}/xen/__init__.py
-${PYSITELIB}/xen/lowlevel/__init__.py
-${PYSITELIB}/xen/lowlevel/xc.so
-${PYSITELIB}/xen/lowlevel/xu.so
-${PYSITELIB}/xen/lowlevel/__init__.pyc
-${PYSITELIB}/xen/util/__init__.py
-${PYSITELIB}/xen/util/Brctl.py
-${PYSITELIB}/xen/util/tempfile.py
-${PYSITELIB}/xen/util/ip.py
-${PYSITELIB}/xen/util/console_client.py
-${PYSITELIB}/xen/util/__init__.pyc
-${PYSITELIB}/xen/util/Brctl.pyc
-${PYSITELIB}/xen/util/tempfile.pyc
-${PYSITELIB}/xen/util/ip.pyc
-${PYSITELIB}/xen/util/console_client.pyc
-${PYSITELIB}/xen/xend/util.py
-${PYSITELIB}/xen/xend/XendClient.py
-${PYSITELIB}/xen/xend/XendProtocol.py
-${PYSITELIB}/xen/xend/XendVnet.py
-${PYSITELIB}/xen/xend/XendError.py
-${PYSITELIB}/xen/xend/XendDomainInfo.py
-${PYSITELIB}/xen/xend/XendDomain.py
-${PYSITELIB}/xen/xend/XendLogging.py
-${PYSITELIB}/xen/xend/XendRoot.py
-${PYSITELIB}/xen/xend/XendDomainConfig.py
-${PYSITELIB}/xen/xend/XendMigrate.py
-${PYSITELIB}/xen/xend/PrettyPrint.py
-${PYSITELIB}/xen/xend/XendConsole.py



Home | Main Index | Thread Index | Old Index