FreeBSD Bugzilla – Attachment 120464 Details for
Bug 163266
new port sysutils/xen-tools Xen tools within FreeBSD domU
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.47 KB, created by
Evan Sarmiento
on 2011-12-13 22:10:09 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Evan Sarmiento
Created:
2011-12-13 22:10:09 UTC
Size:
3.47 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># xen-tools ># xen-tools/Makefile ># xen-tools/distinfo ># xen-tools/pkg-descr ># xen-tools/files ># xen-tools/files/patch-tools_xenstore_xs__lib.c ># >echo c - xen-tools >mkdir -p xen-tools > /dev/null 2>&1 >echo x - xen-tools/Makefile >sed 's/^X//' >xen-tools/Makefile << '8bfee6abe79549bbafce8871a200a0b9' >X# New ports collection makefile for: xen-tools >X# Date created: 13 December 2011 >X# Whom: Evan Sarmiento <esarmiento@wayfair.com> >X# >X# $FreeBSD$ >X >XPORTNAME= xen-tools >XPORTVERSION= 4.0.1 >XCATEGORIES= sysutils >XDISTNAME= xen-${PORTVERSION} >X >XMAINTAINER= esarmiento@wayfair.com >XCOMMENT= Xen tools within FreeBSD domU >X >XMASTER_SITES= http://bits.xensource.com/oss-xen/release/${PORTVERSION}/ >X >XUSE_GMAKE= yes >XUSE_PYTHON= yes >X >XPLIST_FILES= lib/libxenstore.so.3.0 \ >X bin/xen-detect \ >X bin/xenstore \ >X bin/xenstore-control \ >X bin/xenstore-chmod \ >X bin/xenstore-exists \ >X bin/xenstore-list \ >X bin/xenstore-ls \ >X bin/xenstore-read \ >X bin/xenstore-rm \ >X bin/xenstore-write >Xdo-build: >X cd ${WRKSRC}/tools && ${GMAKE} -C include >X cd ${WRKSRC}/tools/misc && ${GMAKE} xen-detect >X cd ${WRKSRC}/tools/xenstore && ${GMAKE} clients >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/tools/misc/xen-detect ${PREFIX}/bin >X ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore ${PREFIX}/bin >X ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/xenstore-control ${PREFIX}/bin >X ${INSTALL_PROGRAM} ${WRKSRC}/tools/xenstore/libxenstore.so.3.0 ${PREFIX}/lib >X >Xpost-install: >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-chmod >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-exists >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-list >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-ls >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-read >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-rm >X ${LN} -sf ${PREFIX}/bin/xenstore ${PREFIX}/bin/xenstore-write >X >X.include <bsd.port.mk> >8bfee6abe79549bbafce8871a200a0b9 >echo x - xen-tools/distinfo >sed 's/^X//' >xen-tools/distinfo << 'b7dda380b8eddb00ec7cced1d52b66c7' >XSHA256 (xen-4.0.1.tar.gz) = 6e6d1d29400db93cb8095e034138aa8748b1bd4cffb4d3fd07af4ba15c918873 >XSIZE (xen-4.0.1.tar.gz) = 11909200 >b7dda380b8eddb00ec7cced1d52b66c7 >echo x - xen-tools/pkg-descr >sed 's/^X//' >xen-tools/pkg-descr << 'e8838618a947af73527cbb8fb85236b9' >XThese tools are useful for debugging Xen related problems when one >Xdoes not have access to the dom0 or wants to view the entries from >XdomU's perspective. These work on FreeBSD VMs using the XEN (i386) >Xkernel or the XENHVM kernel. >e8838618a947af73527cbb8fb85236b9 >echo c - xen-tools/files >mkdir -p xen-tools/files > /dev/null 2>&1 >echo x - xen-tools/files/patch-tools_xenstore_xs__lib.c >sed 's/^X//' >xen-tools/files/patch-tools_xenstore_xs__lib.c << '1d6dc63d56bb59a8bb85461407ab1b59' >X--- tools/xenstore/xs_lib.c.orig 2011-01-30 15:56:52.985324929 -0800 >X+++ tools/xenstore/xs_lib.c 2011-01-30 15:55:14.024346135 -0800 >X@@ -84,6 +84,8 @@ >X return "/proc/xen/xenbus"; >X #elif defined(__NetBSD__) >X return "/kern/xen/xenbus"; >X+#elif defined(__FreeBSD__) >X+ return "/dev/xen/xenstore"; >X #else >X return "/dev/xen/xenbus"; >X #endif >1d6dc63d56bb59a8bb85461407ab1b59 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 163266
: 120464