summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2011-10-03 16:55:34 +0000
committersborrill <sborrill@pkgsrc.org>2011-10-03 16:55:34 +0000
commitcb74981312d45de6b6a0717861f2e667b54e647b (patch)
tree4199b34b631563c72b370a5988479494a862eba1 /sysutils
parentfde819f5b2c424f0d41d13cc4c302fd805d62e87 (diff)
downloadpkgsrc-cb74981312d45de6b6a0717861f2e667b54e647b.tar.gz
This package is a subset of the xentools41 package. It contains
just the tools to manipulate xenstore from the guest VM. It uses the distinfo, patches and version number from the xentools41 package.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xenstoretools/DESCR2
-rw-r--r--sysutils/xenstoretools/Makefile50
-rw-r--r--sysutils/xenstoretools/PLIST14
3 files changed, 66 insertions, 0 deletions
diff --git a/sysutils/xenstoretools/DESCR b/sysutils/xenstoretools/DESCR
new file mode 100644
index 00000000000..0a40b5bb284
--- /dev/null
+++ b/sysutils/xenstoretools/DESCR
@@ -0,0 +1,2 @@
+This package is a subset of the xentools41 package. It contains
+just the tools to manipulate xenstore from the guest VM.
diff --git a/sysutils/xenstoretools/Makefile b/sysutils/xenstoretools/Makefile
new file mode 100644
index 00000000000..e371aec68d0
--- /dev/null
+++ b/sysutils/xenstoretools/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/03 16:55:34 sborrill Exp $
+#
+
+# VERSION is set in xentool41/version.mk
+.include "../../sysutils/xentools41/version.mk"
+
+DISTNAME= xen-${VERSION}
+PKGNAME= xenstoretools-${VERSION}
+CATEGORIES= sysutils
+MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
+
+MAINTAINER= sborrill@NetBSD.org
+HOMEPAGE= http://xen.org/
+COMMENT= Xenstore Tools for Xen 4.1.x
+
+LICENSE= gnu-gpl-v2
+DISTINFO_FILE= ${.CURDIR}/../xentools41/distinfo
+PATCHDIR= ${.CURDIR}/../xentools41/patches
+BUILD_DIRS= xenstore
+BUILD_TARGET= clients
+INSTALL_TARGET= installclients
+INSTALL_DIRS= xenstore
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKG_SYSCONFSUBDIR= xen
+WRKSRC= ${WRKDIR}/xen-${VERSION}/tools
+
+ONLY_FOR_PLATFORM= Linux-2.6*-i386 Linux-2.6*-x86_64
+ONLY_FOR_PLATFORM+= NetBSD-[5-9].*-x86_64 NetBSD-[5-9].*-i386
+
+CONFLICTS+= libxen-[0-9]*
+CONFLICTS+= xentools20-[0-9]*
+CONFLICTS+= xentools3*
+CONFLICTS+= xentools4*
+
+USE_TOOLS+= gmake
+
+MAKE_ENV+= PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
+MAKE_ENV+= MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
+MAKE_ENV+= VARBASE=${VARBASE}
+
+.include "../../mk/bsd.prefs.mk"
+
+INSTALLATION_DIRS= bin lib
+
+pre-build:
+ ${LN} -s ../../xen/include/public ${WRKSRC}/xenstore/xen
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/xenstoretools/PLIST b/sysutils/xenstoretools/PLIST
new file mode 100644
index 00000000000..6542cb67876
--- /dev/null
+++ b/sysutils/xenstoretools/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/03 16:55:34 sborrill Exp $
+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-watch
+bin/xenstore-write
+lib/libxenstore.so
+lib/libxenstore.so.3.0
+lib/libxenstore.so.3.0.0