aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xen-tools
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-04-06 14:27:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-04-06 14:27:26 +0000
commitc9d7334c7eb2e81855fe80abcbf0fc6e72d79a2c (patch)
tree8266c15ae488eacae53a7dff784dbf205148b4ed /sysutils/xen-tools
parent3b6d7dfe9b1937596c03612049c960fb1bd1a247 (diff)
downloadports-c9d7334c7eb2e81855fe80abcbf0fc6e72d79a2c.tar.gz
ports-c9d7334c7eb2e81855fe80abcbf0fc6e72d79a2c.zip
Notes
Diffstat (limited to 'sysutils/xen-tools')
-rw-r--r--sysutils/xen-tools/Makefile64
-rw-r--r--sysutils/xen-tools/distinfo2
-rw-r--r--sysutils/xen-tools/files/patch-Config.mk14
-rw-r--r--sysutils/xen-tools/files/patch-config_StdGNU.mk15
-rw-r--r--sysutils/xen-tools/files/patch-tools_xenstore_xs__lib.c11
-rw-r--r--sysutils/xen-tools/pkg-descr4
6 files changed, 0 insertions, 110 deletions
diff --git a/sysutils/xen-tools/Makefile b/sysutils/xen-tools/Makefile
deleted file mode 100644
index c097d19c4356..000000000000
--- a/sysutils/xen-tools/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# Created by: Evan Sarmiento <esarmiento@wayfair.com>
-# $FreeBSD$
-
-PORTNAME= xen-tools
-PORTVERSION= 4.2.2
-PORTREVISION= 0
-CATEGORIES= sysutils
-DISTNAME= xen-${PORTVERSION}
-
-MAINTAINER= dinoex@FreeBSD.org
-COMMENT= Xen tools within FreeBSD domU
-
-MASTER_SITES= http://bits.xensource.com/oss-xen/release/${PORTVERSION}/
-DISTFILES= xen-${PORTVERSION}.tar.gz
-
-BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
- ${LOCALBASE}/lib/libglib-2.0.so:${PORTSDIR}/devel/glib20 \
- ${LOCALBASE}/lib/libyajl.so:${PORTSDIR}/devel/yajl
-
-USES= gmake python:configure perl5 gettext-runtime:build gettext-tools:build pkgconfig
-USE_PERL5= build
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} PYTHON_PATH=${PYTHON_CMD}
-CONFIGURE_ENV+= APPEND_LIB="${LOCALBASE}/lib"
-USE_LDCONFIG= yes
-
-ONLY_FOR_ARCHS= amd64 i386 ia64
-ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than amd64, i386, or ia64"
-
-PLIST_FILES= lib/libxenstore.so.3.0 \
- bin/xen-detect \
- bin/xenstore \
- bin/xenstore-control \
- bin/xenstore-chmod \
- bin/xenstore-exists \
- bin/xenstore-list \
- bin/xenstore-ls \
- bin/xenstore-read \
- bin/xenstore-rm \
- bin/xenstore-write
-
-post-patch:
- ${REINPLACE_CMD} -e 's;86|x86_64;86no|x86_64no;' \
- ${WRKSRC}/tools/configure
-
-do-build:
- cd ${WRKSRC}/tools && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C include
- cd ${WRKSRC}/tools/misc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} xen-detect
- cd ${WRKSRC}/tools/xenstore && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} clients
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/misc/xen-detect ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore-control ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/libxenstore.so.3.0 ${STAGEDIR}${PREFIX}/lib
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-chmod
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-exists
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-list
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-ls
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-read
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-rm
- ${LN} -sf ${PREFIX}/bin/xenstore ${STAGEDIR}${PREFIX}/bin/xenstore-write
-
-.include <bsd.port.mk>
diff --git a/sysutils/xen-tools/distinfo b/sysutils/xen-tools/distinfo
deleted file mode 100644
index 8f257664cd8c..000000000000
--- a/sysutils/xen-tools/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (xen-4.2.2.tar.gz) = c9bfe91a5e72f8545acebad9889d64368020359bfe18044c0e683133e55ae005
-SIZE (xen-4.2.2.tar.gz) = 15602746
diff --git a/sysutils/xen-tools/files/patch-Config.mk b/sysutils/xen-tools/files/patch-Config.mk
deleted file mode 100644
index 825ad460e515..000000000000
--- a/sysutils/xen-tools/files/patch-Config.mk
+++ /dev/null
@@ -1,14 +0,0 @@
---- Config.mk.orig 2013-10-30 14:55:12.664590030 -0500
-+++ Config.mk 2013-10-30 14:55:29.462580127 -0500
-@@ -13,9 +13,8 @@
- SHELL ?= /bin/sh
-
- # Tools to run on system hosting the build
--HOSTCC = gcc
--HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
--HOSTCFLAGS += -fno-strict-aliasing
-+HOSTCC = ${CC}
-+HOSTCFLAGS = ${CFLAGS}
-
- DISTDIR ?= $(XEN_ROOT)/dist
- DESTDIR ?= /
diff --git a/sysutils/xen-tools/files/patch-config_StdGNU.mk b/sysutils/xen-tools/files/patch-config_StdGNU.mk
deleted file mode 100644
index 90eeb4cec51c..000000000000
--- a/sysutils/xen-tools/files/patch-config_StdGNU.mk
+++ /dev/null
@@ -1,15 +0,0 @@
---- config/StdGNU.mk.orig 2013-04-23 18:42:55.000000000 +0200
-+++ config/StdGNU.mk 2015-01-30 09:12:53.000000000 +0100
-@@ -1,10 +1,10 @@
- AS = $(CROSS_COMPILE)as
- LD = $(CROSS_COMPILE)ld
- ifeq ($(clang),y)
--CC = $(CROSS_COMPILE)clang
-+CC ?= $(CROSS_COMPILE)clang
- LD_LTO = $(CROSS_COMPILE)llvm-ld
- else
--CC = $(CROSS_COMPILE)gcc
-+CC ?= $(CROSS_COMPILE)gcc
- LD_LTO = $(CROSS_COMPILE)ld
- endif
- CPP = $(CC) -E
diff --git a/sysutils/xen-tools/files/patch-tools_xenstore_xs__lib.c b/sysutils/xen-tools/files/patch-tools_xenstore_xs__lib.c
deleted file mode 100644
index 28c17b0c3bef..000000000000
--- a/sysutils/xen-tools/files/patch-tools_xenstore_xs__lib.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- tools/xenstore/xs_lib.c.orig 2011-01-30 15:56:52.985324929 -0800
-+++ tools/xenstore/xs_lib.c 2011-01-30 15:55:14.024346135 -0800
-@@ -84,6 +84,8 @@
- return "/proc/xen/xenbus";
- #elif defined(__NetBSD__)
- return "/kern/xen/xenbus";
-+#elif defined(__FreeBSD__)
-+ return "/dev/xen/xenstore";
- #else
- return "/dev/xen/xenbus";
- #endif
diff --git a/sysutils/xen-tools/pkg-descr b/sysutils/xen-tools/pkg-descr
deleted file mode 100644
index 3f15d9c52987..000000000000
--- a/sysutils/xen-tools/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-These tools are useful for debugging Xen related problems when one
-does not have access to the dom0 or wants to view the entries from
-domU's perspective. These work on FreeBSD VMs using the XEN (i386)
-kernel or the XENHVM kernel.