head	1.47;
access;
symbols
	pkgsrc-2014Q1:1.45.0.2
	pkgsrc-2014Q1-base:1.45
	pkgsrc-2013Q4:1.42.0.8
	pkgsrc-2013Q4-base:1.42
	pkgsrc-2013Q3:1.42.0.6
	pkgsrc-2013Q3-base:1.42
	pkgsrc-2013Q2:1.42.0.4
	pkgsrc-2013Q2-base:1.42
	pkgsrc-2013Q1:1.42.0.2
	pkgsrc-2013Q1-base:1.42
	pkgsrc-2012Q4:1.41.0.2
	pkgsrc-2012Q4-base:1.41
	pkgsrc-2012Q3:1.39.0.6
	pkgsrc-2012Q3-base:1.39
	pkgsrc-2012Q2:1.39.0.4
	pkgsrc-2012Q2-base:1.39
	pkgsrc-2012Q1:1.39.0.2
	pkgsrc-2012Q1-base:1.39
	pkgsrc-2011Q4:1.38.0.6
	pkgsrc-2011Q4-base:1.38
	pkgsrc-2011Q3:1.38.0.4
	pkgsrc-2011Q3-base:1.38
	pkgsrc-2011Q2:1.38.0.2
	pkgsrc-2011Q2-base:1.38
	pkgsrc-2011Q1:1.37.0.8
	pkgsrc-2011Q1-base:1.37
	pkgsrc-2010Q4:1.37.0.6
	pkgsrc-2010Q4-base:1.37
	pkgsrc-2010Q3:1.37.0.4
	pkgsrc-2010Q3-base:1.37
	pkgsrc-2010Q2:1.37.0.2
	pkgsrc-2010Q2-base:1.37
	pkgsrc-2010Q1:1.36.0.2
	pkgsrc-2010Q1-base:1.36
	pkgsrc-2009Q4:1.34.0.8
	pkgsrc-2009Q4-base:1.34
	pkgsrc-2009Q3:1.34.0.6
	pkgsrc-2009Q3-base:1.34
	pkgsrc-2009Q2:1.34.0.4
	pkgsrc-2009Q2-base:1.34
	pkgsrc-2009Q1:1.34.0.2
	pkgsrc-2009Q1-base:1.34
	pkgsrc-2008Q4:1.33.0.10
	pkgsrc-2008Q4-base:1.33
	pkgsrc-2008Q3:1.33.0.8
	pkgsrc-2008Q3-base:1.33
	cube-native-xorg:1.33.0.6
	cube-native-xorg-base:1.33
	pkgsrc-2008Q2:1.33.0.4
	pkgsrc-2008Q2-base:1.33
	cwrapper:1.33.0.2
	pkgsrc-2008Q1:1.32.0.2
	pkgsrc-2008Q1-base:1.32
	pkgsrc-2007Q4:1.31.0.8
	pkgsrc-2007Q4-base:1.31
	pkgsrc-2007Q3:1.31.0.6
	pkgsrc-2007Q3-base:1.31
	pkgsrc-2007Q2:1.31.0.4
	pkgsrc-2007Q2-base:1.31
	pkgsrc-2007Q1:1.31.0.2
	pkgsrc-2007Q1-base:1.31
	pkgsrc-2006Q4:1.30.0.2
	pkgsrc-2006Q4-base:1.30
	pkgsrc-2006Q3:1.27.0.4
	pkgsrc-2006Q3-base:1.27
	pkgsrc-2006Q2:1.27.0.2
	pkgsrc-2006Q2-base:1.27
	pkgsrc-2006Q1:1.25.0.2
	pkgsrc-2006Q1-base:1.25
	pkgsrc-2005Q4:1.23.0.2
	pkgsrc-2005Q4-base:1.23
	pkgsrc-2005Q3:1.20.0.2
	pkgsrc-2005Q3-base:1.20
	pkgsrc-2005Q2:1.12.0.2
	pkgsrc-2005Q2-base:1.12
	pkgsrc-2005Q1:1.4.0.2
	pkgsrc-2005Q1-base:1.4
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.47
date	2014.05.25.15.35.35;	author gdt;	state dead;
branches;
next	1.46;
commitid	tewNFjYS9AE4YVBx;

1.46
date	2014.05.09.07.37.20;	author wiz;	state Exp;
branches;
next	1.45;
commitid	wfzXpL2biguCPPzx;

1.45
date	2014.02.12.23.18.41;	author tron;	state Exp;
branches;
next	1.44;
commitid	dfJj7CwMMWJzNRox;

1.44
date	2014.01.25.10.45.21;	author wiz;	state Exp;
branches;
next	1.43;
commitid	jFdMwV0xAIvkdumx;

1.43
date	2014.01.25.10.30.22;	author wiz;	state Exp;
branches;
next	1.42;
commitid	VOWgk3vYhVXj8umx;

1.42
date	2013.02.06.23.23.54;	author jperkin;	state Exp;
branches;
next	1.41;

1.41
date	2012.12.16.01.52.35;	author obache;	state Exp;
branches;
next	1.40;

1.40
date	2012.10.23.19.51.36;	author asau;	state Exp;
branches;
next	1.39;

1.39
date	2012.03.15.11.53.39;	author obache;	state Exp;
branches;
next	1.38;

1.38
date	2011.04.22.13.44.46;	author obache;	state Exp;
branches;
next	1.37;

1.37
date	2010.05.04.18.55.46;	author jym;	state Exp;
branches;
next	1.36;

1.36
date	2010.02.10.19.17.45;	author joerg;	state Exp;
branches;
next	1.35;

1.35
date	2010.01.17.12.02.46;	author wiz;	state Exp;
branches;
next	1.34;

1.34
date	2009.02.09.22.56.26;	author joerg;	state Exp;
branches;
next	1.33;

1.33
date	2008.04.25.20.39.12;	author joerg;	state Exp;
branches;
next	1.32;

1.32
date	2008.01.18.05.09.45;	author tnn;	state Exp;
branches;
next	1.31;

1.31
date	2007.02.22.19.27.12;	author wiz;	state Exp;
branches;
next	1.30;

1.30
date	2006.11.22.00.12.34;	author seb;	state Exp;
branches;
next	1.29;

1.29
date	2006.11.19.11.50.25;	author wiz;	state Exp;
branches;
next	1.28;

1.28
date	2006.10.14.08.23.01;	author wiz;	state Exp;
branches;
next	1.27;

1.27
date	2006.04.22.09.22.15;	author rillig;	state Exp;
branches;
next	1.26;

1.26
date	2006.04.18.15.29.36;	author jlam;	state Exp;
branches;
next	1.25;

1.25
date	2006.02.05.23.10.57;	author joerg;	state Exp;
branches;
next	1.24;

1.24
date	2005.12.29.06.22.19;	author jlam;	state Exp;
branches;
next	1.23;

1.23
date	2005.12.05.20.51.02;	author rillig;	state Exp;
branches;
next	1.22;

1.22
date	2005.11.08.00.47.35;	author jlam;	state Exp;
branches;
next	1.21;

1.21
date	2005.10.01.02.10.10;	author xtraeme;	state Exp;
branches;
next	1.20;

1.20
date	2005.09.16.18.14.49;	author bouyer;	state Exp;
branches;
next	1.19;

1.19
date	2005.09.10.15.54.38;	author bouyer;	state Exp;
branches;
next	1.18;

1.18
date	2005.08.19.18.12.39;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2005.08.19.13.06.31;	author bouyer;	state Exp;
branches;
next	1.16;

1.16
date	2005.08.06.17.43.14;	author bouyer;	state Exp;
branches;
next	1.15;

1.15
date	2005.07.13.02.12.59;	author grant;	state Exp;
branches;
next	1.14;

1.14
date	2005.07.13.01.30.17;	author grant;	state Exp;
branches;
next	1.13;

1.13
date	2005.07.13.01.28.37;	author grant;	state Exp;
branches;
next	1.12;

1.12
date	2005.06.04.11.34.30;	author yamt;	state Exp;
branches;
next	1.11;

1.11
date	2005.05.24.16.02.08;	author xtraeme;	state Exp;
branches;
next	1.10;

1.10
date	2005.05.23.22.02.04;	author bouyer;	state Exp;
branches;
next	1.9;

1.9
date	2005.05.22.20.08.34;	author jlam;	state Exp;
branches;
next	1.8;

1.8
date	2005.04.16.13.35.29;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2005.04.11.21.47.31;	author tv;	state Exp;
branches;
next	1.6;

1.6
date	2005.04.01.19.06.12;	author bouyer;	state Exp;
branches;
next	1.5;

1.5
date	2005.03.27.15.58.24;	author bouyer;	state Exp;
branches;
next	1.4;

1.4
date	2005.03.17.23.53.56;	author bouyer;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2005.03.10.19.43.25;	author bouyer;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.07.17.27.25;	author bouyer;	state Exp;
branches;
next	1.1;

1.1
date	2005.03.07.15.59.08;	author bouyer;	state Exp;
branches
	1.1.1.1;
next	;

1.4.2.1
date	2005.03.28.05.55.03;	author snj;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2005.05.31.11.13.04;	author salo;	state Exp;
branches;
next	;

1.1.1.1
date	2005.03.07.15.59.08;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.47
log
@Remove xentools20.
@
text
@# $NetBSD: Makefile,v 1.46 2014/05/09 07:37:20 wiz Exp $

DISTNAME=		xen-2.0.7-src
PKGNAME=		xentools20-2.0.7
PKGREVISION=		18
CATEGORIES=		sysutils
MASTER_SITES=		http://www.cl.cam.ac.uk/research/srg/netos/xen/downloads/
EXTRACT_SUFX=		.tgz

MAINTAINER=		bouyer@@NetBSD.org
HOMEPAGE=		http://www.cl.cam.ac.uk/research/srg/netos/xen/
COMMENT=		Userland Tools for Xen

LICENSE=		gnu-gpl-v2

DEPENDS+=		${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted

PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # py-twisted

PKG_SYSCONFSUBDIR=	xen

ONLY_FOR_PLATFORM=	Linux-2.[46]*-i386 NetBSD-*-i386

CONFLICTS+=		libxen-[0-9]*

WRKSRC=			${WRKDIR}/xen-2.0/tools

EGDIR=			${PREFIX}/share/examples/xen
MESSAGE_SUBST=		EGDIR=${EGDIR}

USE_TOOLS+=		gmake
MAKE_ENV+=		EGDIR=${EGDIR:Q}
MAKE_ENV+=		MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}

PY_PATCHPLIST=		yes
REPLACE_PYTHON=	python/xen/util/console_client.py
REPLACE_PYTHON+=	python/xen/xend/server/SrvServer.py
REPLACE_PYTHON+=	python/xen/xend/XendClient.py
REPLACE_PYTHON+=	python/xen/xend/sxp.py
REPLACE_PYTHON+=	xfrd/xfrdClient.py
REPLACE_PYTHON+=	misc/xensymoops
REPLACE_PYTHON+=	misc/xencons
REPLACE_PYTHON+=	misc/xm
REPLACE_PYTHON+=	misc/xensv
REPLACE_PYTHON+=	misc/netfix
REPLACE_PYTHON+=	misc/xend
REPLACE_PYTHON+=	xentrace/xentrace_format

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"

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
SUBST_CLASSES+=		proc
SUBST_STAGE.proc=	pre-configure
SUBST_FILES.proc=	python/xen/xend/XendVnet.py
SUBST_FILES.proc+=	libxc/xc_misc.c
SUBST_FILES.proc+=	xentrace/xentrace.c
SUBST_SED.proc=		-e "s|/proc|/kern|g"
PROCPATH=		/kern
.else
PROCPATH=		/proc
.endif

RCD_SCRIPTS=		xend xendomains
FILES_SUBST+=		RCD_INTERPRETER=${PYTHONBIN:Q}
FILES_SUBST+=		PROCPATH=${PROCPATH:Q}
FILES_SUBST+=		PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}

XEND_SCRIPTS=		network block-enbd vif-bridge block-file

CONF_FILES=		${EGDIR}/xend-config.sxp \
			${PKG_SYSCONFDIR}/xend-config.sxp
.for s in ${XEND_SCRIPTS}
CONF_FILES_PERMS+=	${EGDIR}/${s} ${PKG_SYSCONFDIR}/${s}		\
			${ROOT_USER} ${ROOT_GROUP} 0755
.endfor

pre-build:
	${MKDIR} ${WRKSRC}/libxc/xen/NetBSD
	${CP} ${FILESDIR}/xenio.h ${WRKSRC}/libxc/xen/NetBSD

.if ${OPSYS} == "NetBSD"
post-build:
	cd ${FILESDIR}; for src in *-nbsd; do				\
		dst="$${src%-nbsd}";					\
		${SED}	-e "s|@@PKG_SYSCONFDIR@@|${PKG_SYSCONFDIR}|g"	\
			$$src > ${WRKSRC}/examples/$$dst;		\
	done
.endif

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
	for f in xend-config.sxp xmexample1 xmexample2 xmexample3; do	\
		${INSTALL_DATA} ${WRKSRC}/examples/$$f ${DESTDIR}${EGDIR}/$$f;	\
	done
.for s in ${XEND_SCRIPTS}
	${INSTALL_SCRIPT} ${WRKSRC}/examples/${s} ${DESTDIR}${EGDIR}/${s}
.endfor

.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"
@


1.46
log
@Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2014/02/12 23:18:41 tron Exp $
@


1.45
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2014/01/25 10:45:21 wiz Exp $
d18 1
a18 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 # py-twisted
@


1.44
log
@No need to have two variables for the same logic.
Replace PYTHON_PATCH_SCRIPTS with REPLACE_PYTHON.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2014/01/25 10:30:22 wiz Exp $
d5 1
a5 1
PKGREVISION=		17
@


1.43
log
@Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2013/02/06 23:23:54 jperkin Exp $
d36 12
a47 12
PYTHON_PATCH_SCRIPTS=	python/xen/util/console_client.py
PYTHON_PATCH_SCRIPTS+=	python/xen/xend/server/SrvServer.py
PYTHON_PATCH_SCRIPTS+=	python/xen/xend/XendClient.py
PYTHON_PATCH_SCRIPTS+=	python/xen/xend/sxp.py
PYTHON_PATCH_SCRIPTS+=	xfrd/xfrdClient.py
PYTHON_PATCH_SCRIPTS+=	misc/xensymoops
PYTHON_PATCH_SCRIPTS+=	misc/xencons
PYTHON_PATCH_SCRIPTS+=	misc/xm
PYTHON_PATCH_SCRIPTS+=	misc/xensv
PYTHON_PATCH_SCRIPTS+=	misc/netfix
PYTHON_PATCH_SCRIPTS+=	misc/xend
PYTHON_PATCH_SCRIPTS+=	xentrace/xentrace_format
@


1.42
log
@PKGREVISION bumps for the security/openssl 1.0.1d update.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.41 2012/12/16 01:52:35 obache Exp $
#
d18 2
@


1.41
log
@recursive bump from cyrus-sasl libsasl2 shlib major bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2012/10/23 19:51:36 asau Exp $
d6 1
a6 1
PKGREVISION=		16
@


1.40
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2012/03/15 11:53:39 obache Exp $
d6 1
a6 1
PKGREVISION=		15
@


1.39
log
@Bump PKGREVISION from default python to 2.7.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2011/04/22 13:44:46 obache Exp $
a20 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.38
log
@recursive bump from gettext-lib shlib bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2010/05/04 18:55:46 jym Exp $
d6 1
a6 1
PKGREVISION=		14
@


1.37
log
@LICENSE + user-destdir.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2010/01/17 12:02:46 wiz Exp $
d6 1
a6 1
PKGREVISION=		13
@


1.36
log
@Bump revision for PYTHON_VERSION_DEFAULT change.
@
text
@d15 2
d21 2
d35 1
d108 1
a108 1
	${INSTALL_DATA_DIR} ${EGDIR}
d110 1
a110 1
		${INSTALL_DATA} ${WRKSRC}/examples/$$f ${EGDIR}/$$f;	\
d113 1
a113 1
	${INSTALL_SCRIPT} ${WRKSRC}/examples/${s} ${EGDIR}/${s}
@


1.35
log
@Recursive PKGREVISION bump for jpeg update to 8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2009/02/09 22:56:26 joerg Exp $
d6 1
a6 1
PKGREVISION=		12
@


1.34
log
@Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2008/04/25 20:39:12 joerg Exp $
d6 1
a6 1
PKGREVISION=		11
@


1.33
log
@Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2008/01/18 05:09:45 tnn Exp $
d6 1
a6 1
PKGREVISION=		10
@


1.32
log
@Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2007/02/22 19:27:12 wiz Exp $
a30 1
PYTHON_VERSIONS_ACCEPTED= 24 23 22
@


1.31
log
@Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/11/22 00:12:34 seb Exp $
d6 1
a6 1
PKGREVISION=		9
@


1.30
log
@Fix build with libcurl-7.6.10.
Fix build with NetBSD's current gcc 4.1.2.
Bump PKGREVISION to 9.

Approved by maintainer.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/11/19 11:50:25 wiz Exp $
d47 2
a48 2
SUBST_STAGE.paths=      pre-configure
SUBST_FILES.paths=      python/xen/xend/server/SrvDaemon.py
d51 2
a52 2
SUBST_SED.paths=        -e "s|/usr/sbin|${PREFIX}/sbin|g"
SUBST_MESSAGE.paths=    Fixing hardcoded paths.
@


1.29
log
@tv@@ pointed out that curl-7.16.0 had a shlib major bump --
increase its BUILDLINK_ABI_DEPENDS, and bump PKGREVISIONs
of dependencies.

Sorry for not finding this earlier.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2006/10/14 08:23:01 wiz Exp $
d6 1
a6 1
PKGREVISION=		8
@


1.28
log
@Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2006/04/22 09:22:15 rillig Exp $
d6 1
a6 1
PKGREVISION=		7
@


1.27
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2006/04/18 15:29:36 jlam Exp $
d8 1
a8 1
MASTER_SITES=		http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/
d12 1
a12 1
HOMEPAGE=		http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
@


1.26
log
@Improve the block-file-nbsd script slightly so that it's possible to
force a read-only bind of the image file to a vnd(4) device.  Bump
the PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2006/02/05 23:10:57 joerg Exp $
d52 1
a52 1
SUBST_MESSAGE.paths=    "Fixing hardcoded paths."
@


1.25
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/12/29 06:22:19 jlam Exp $
d6 1
a6 1
PKGREVISION=		6
@


1.24
log
@Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2005/12/05 20:51:02 rillig Exp $
d6 1
a6 1
PKGREVISION=		5
@


1.23
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/11/08 00:47:35 jlam Exp $
a16 1
USE_PKGINSTALL=		yes
@


1.22
log
@* Add a MESSAGE file with helpful information for NetBSD domain0
  installations.

* Modify the package to not install all of the configuration files with
  the execute bit set -- only install the helper scripts that way.

* Update the block-file-nbsd script to not blindly try to configure (and
  often fail to configure) every vnd(4) device until it finds one that
  works.  We now just determine what the next free vnd(4) device is and
  configure it directly.

* Add a netbsd-nbsd script that avoids trying to do all the Linux-specific
  that just filled the log files with garbage on NetBSD.

* Update the vif-bridge-nbsd script to check that the bridge device is
  configured before using it.

* Add clear comments at the top of scripts that can be customized so that
  the user has enough information to know how to do the customization.

* Add a xendomains rc.d script that can be used to start and stop guest
  domains at system boot- or shutdown-time.

Bump the PKGREVISION to 5.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/10/01 02:10:10 xtraeme Exp $
d30 2
a31 2
MAKE_ENV+=		EGDIR="${EGDIR}"
MAKE_ENV+=		MV="${MV}" PYTHON="${PYTHONBIN}" SED="${SED}"
d47 1
a47 1
SUBST_CLASSES=          paths py conf
d78 3
a80 3
FILES_SUBST+=		RCD_INTERPRETER=${PYTHONBIN}
FILES_SUBST+=		PROCPATH=${PROCPATH}
FILES_SUBST+=		PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
@


1.21
log
@* Add modified scripts for NetBSD (block-file and vif-bridge) from
  Ceri Storey via port-xen@@, previous scripts were only useful for
  Linux.
* Install the scripts with INSTALL_SCRIPT not INSTALL_DATA.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2005/09/16 18:14:49 bouyer Exp $
d6 1
a6 1
PKGREVISION=		4
d27 1
d77 1
a77 1
RCD_SCRIPTS=		xend
d82 1
a82 4
INSTALLATION_DIRS=	share/examples/xen

XEND_SCRIPTS=		network block-enbd vif-bridge block-file \
			xmexample1 xmexample2 xmexample3
d86 3
a88 2
.for f in ${XEND_SCRIPTS}
CONF_FILES+=		${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
a90 2
CONF_FILES_MODE=	0755

d95 9
d105 5
a109 4
	${INSTALL_DATA} ${WRKSRC}/examples/xend-config.sxp \
		${EGDIR}/xend-config.sxp
.if ${OPSYS} == "Linux"
.  for s in ${XEND_SCRIPTS}
d111 1
a111 11
.  endfor
.else
.  for f in vif-bridge block-file
	${SED} -e "s|@@PKG_SYSCONFDIR@@|${PKG_SYSCONFDIR}|g"	\
		${FILESDIR}/${f}-nbsd > ${WRKSRC}/${f}-nbsd
	${INSTALL_SCRIPT} ${WRKSRC}/${f}-nbsd ${EGDIR}/${f}
.  endfor
.  for f in ${XEND_SCRIPTS:S/vif-bridge//:S/block-file//}
	${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EGDIR}/${f}
.  endfor
.endif
@


1.20
log
@Add patch from Jed Davis on port-xen:
| xfrd reads from the network socket using
| fread() on an _IONBF'ed stream; under NetBSD, this results in a
| sequence of one-character reads.  This behavior, as far as I can tell,
| goes back all the way to V7 Unix; i.e., it's older than me.
|
| So I've modified libxutil, which has its own IO indirection layer, to
| switch to read(2) in the "unbuffered" case"

bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/09/10 15:54:38 bouyer Exp $
d6 1
a6 1
PKGREVISION=		3
d22 2
d79 1
d83 1
a83 1
XEND_SCRIPTS=		network vif-bridge block-enbd block-file	\
d101 14
a114 3
.for s in ${XEND_SCRIPTS}
	${INSTALL_DATA} ${WRKSRC}/examples/${s} ${EGDIR}/${s}
.endfor
@


1.19
log
@Sync xenio.h with kernel, and apply patch from Jed Davis on port-xen:
| libxc change #1 is to have xfrd's forked child munmap each 4MB batch
| of foreign RAM after it's done writing it, rather than unmapping only
| the last one and letting the process's exit clean up the rest.  This
| really does look like a simple mistake, and strictly speaking it's not
| that big a deal -- but on NetBSD, the foreign mappings count against
| the process's locked memory rlimit as if it were the dom0's own RAM.
|
| libxc change #2... I don't really understand the problem; it has
| something to do with live migration and the domU releasing
| pseudo-physical pages after they were sent but before it's suspended.
| Except that, for non-live mode, I think it's reporting all the holes
| in the pseudo-physical range, even though those pages haven't been
| sent.  In any case, the result is that the restoring xfrd fails to
| decrease_reservation the pages away.  And I distinctly recall this
| working at least once under Linux with Xen 2, but I have little idea
| what NetBSD might be doing differently.

Bump PKGREVISION. This, along with a up to date -current kernel,
make xm (save|restore) work properly for a linux domU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2005/08/19 18:12:39 jlam Exp $
d6 1
a6 1
PKGREVISION=		2
@


1.18
log
@Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/08/19 13:06:31 bouyer Exp $
d6 1
a6 1
PKGREVISION=		1
@


1.17
log
@Add a patch from Jed Davis posted to port-xen which allows xend to be
gracefully restarted. See
http://mail-index.netbsd.org/port-xen/2005/08/17/0003.html
for details.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/08/06 17:43:14 bouyer Exp $
d83 1
a83 1
SUPPORT_FILES=		${EGDIR}/xend-config.sxp \
d86 1
a86 1
SUPPORT_FILES+=		${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
d89 1
a89 1
SUPPORT_FILES_MODE=	0755
@


1.16
log
@Upgrade to xentools20-2.0.7, from Martti Kuparinen in private mail.
Changes unknown, but probably only bugfixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/07/13 02:12:59 grant Exp $
d6 1
@


1.15
log
@don't hardcode /kern/xen/privcmd in xend startup script.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/07/13 01:30:17 grant Exp $
d4 2
a5 3
DISTNAME=		xen-2.0.6-src
PKGNAME=		xentools20-2.0.6
PKGREVISION=		1
@


1.14
log
@correct HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/07/13 01:28:37 grant Exp $
d69 3
d76 1
@


1.13
log
@fix build on Linux:

- add some missing #ifdef __NetBSD__ and restore some Linux #includes
- use subst framework instead of hardcoding /kern paths in patches
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2005/06/04 11:34:30 yamt Exp $
d12 1
a12 1
HOMEPAGE=		http://www.netbsd.org/Ports/xen/
@


1.12
log
@xentools20: switch to use the new version of IOCTL_PRIVCMD_INITDOMAIN_EVTCHN.
bump PKGREVISION to nb1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2005/05/24 16:02:08 xtraeme Exp $
d20 1
a20 1
ONLY_FOR_PLATFORM=	NetBSD-*-i386
d51 1
d55 1
d60 11
@


1.11
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2005/05/23 22:02:04 bouyer Exp $
d6 1
@


1.10
log
@Don't mmap /kern/xen/privcmd (this doesn't work any more on current), use
MAP_ANON instead. Bump pkgrevision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2005/05/22 20:08:34 jlam Exp $
d4 2
a5 3
DISTNAME=		xen-2.0.3-src
PKGNAME=		xentools20-2.0.3
PKGREVISION=		5
a8 1
DISTFILES=		${DISTNAME}${EXTRACT_SUFX}
d17 1
d23 1
a23 1
EGDIR=			${PREFIX}/share/examples/${PKGNAME_NOREV}
d43 1
a43 1
SUBST_CLASSES=          paths
d50 6
d60 13
d77 7
@


1.9
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2005/04/16 13:35:29 wiz Exp $
d6 1
a6 1
PKGREVISION=		4
@


1.8
log
@Fix dependency pattern to include [0-9].
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2005/04/11 21:47:31 tv Exp $
d26 1
a26 1
USE_GNU_TOOLS+=		make
@


1.7
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2005/04/01 19:06:12 bouyer Exp $
d16 1
a16 1
DEPENDS+=		${PYPKGPREFIX}-twisted*:../../net/py-twisted
@


1.6
log
@xend.sh fixes:
- set command_interpreter, so that rc.subr(8) can find the process(es).
- /usr/pkg/sbin/xend {stop,restart} don't to what we expect, to
  let rc.subr do it instead.
Bump PKGREVISION.
Should fix pkg/29847.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2005/03/27 15:58:24 bouyer Exp $
a42 1
USE_BUILDLINK3=		yes
@


1.5
log
@Add shared library symlinks to PLIST, noted by Martti Kuparinen.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2005/03/17 23:53:56 bouyer Exp $
d6 1
a6 1
PKGREVISION=		3
d54 1
@


1.4
log
@Add a rc.d script to start xend. Bump pkgrevision.
While here, clean up some complains from pkgling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2005/03/10 19:43:25 bouyer Exp $
d6 1
a6 1
PKGREVISION=		2
@


1.4.2.1
log
@Pullup ticket 396 - requested by Manuel Bouyer
build fix for xentools20

Revisions pulled up:
- pkgsrc/sysutils/xentools20/Makefile	1.5
- pkgsrc/sysutils/xentools20/PLIST	1.3


    Module Name:    pkgsrc
    Committed By:   bouyer
    Date:           Sun Mar 27 15:58:24 UTC 2005

    Modified Files:
            pkgsrc/sysutils/xentools20: Makefile PLIST

    Log Message:
    Add shared library symlinks to PLIST, noted by Martti Kuparinen.
    Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2005/03/17 23:53:56 bouyer Exp $
d6 1
a6 1
PKGREVISION=		3
@


1.4.2.2
log
@Pullup ticket 512 - requested by Manuel Bouyer
bugfix updates for xentools20

Revisions pulled up:
- pkgsrc/sysutils/xentools20/Makefile		1.6, 1.8, 1.10
- pkgsrc/sysutils/xentools20/files/xend.sh	1.2
- pkgsrc/sysutils/xentools20/distinfo		1.4-1.5
- pkgsrc/sysutils/xentools20/patches/patch-af	1.2
- pkgsrc/sysutils/xentools20/patches/patch-as	1.1

   Module Name:		pkgsrc
   Committed By:	bouyer
   Date:		Fri Apr  1 19:06:12 UTC 2005

   Modified Files:
   	pkgsrc/sysutils/xentools20: Makefile
   	pkgsrc/sysutils/xentools20/files: xend.sh

   Log Message:
   xend.sh fixes:
   - set command_interpreter, so that rc.subr(8) can find the process(es).
   - /usr/pkg/sbin/xend {stop,restart} don't to what we expect, to
     let rc.subr do it instead.
   Bump PKGREVISION.
   Should fix pkg/29847.
---
   Module Name:		pkgsrc
   Committed By:	wiz
   Date:		Sat Apr 16 13:35:29 UTC 2005

   Modified Files:
   	pkgsrc/sysutils/xentools20: Makefile

   Log Message:
   Fix dependency pattern to include [0-9].
---
   Module Name:		pkgsrc
   Committed By:	xtraeme
   Date:		Mon May 23 18:05:16 UTC 2005

   Modified Files:
   	pkgsrc/sysutils/xentools20: distinfo
   	pkgsrc/sysutils/xentools20/patches: patch-af

   Log Message:
   Fix build on NetBSD/-current by including <sys/select.h>.
---
   Module Name:		pkgsrc
   Committed By:	bouyer
   Date:		Mon May 23 22:02:04 UTC 2005

   Modified Files:
   	pkgsrc/sysutils/xentools20: Makefile distinfo
   Added Files:
   	pkgsrc/sysutils/xentools20/patches: patch-as

   Log Message:
   Don't mmap /kern/xen/privcmd (this doesn't work any more on current),
   use MAP_ANON instead. Bump pkgrevision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2005/05/23 22:02:04 bouyer Exp $
d6 1
a6 1
PKGREVISION=		5
d16 1
a16 1
DEPENDS+=		${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
a53 1
FILES_SUBST+=		RCD_INTERPRETER=${PYTHONBIN}
@


1.3
log
@Fix the 16 vs 32 bit dev_t problem by moving blkif_pdev_t from u16 to
u32, and removing the padding bits in blkif_extent_t. This way the size
of the message doesn't change, and new tools are compatible with
older kernel (I will commit this change to kernel shortly too).
This has also been commited to xen-2.0-testing by Christian, and will be
in xen-2.0.5.
While here, remove the PKG_SYSCONFSUBDIR, as nothing looks for config files
here yet.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2005/03/07 17:27:25 bouyer Exp $
d6 1
a6 1
PKGREVISION=		1
a10 1
#DISTFILES+=		netbsd-xen-kernel-headers-040508.tar.gz
d18 2
d53 2
d57 1
a57 1
	${CP} files/xenio.h ${WRKSRC}/libxc/xen/NetBSD
@


1.2
log
@Adjust for newer python framework.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2005/03/07 15:59:08 bouyer Exp $
d6 1
a22 2
PKG_SYSCONFSUBDIR?=	xc20
USE_PKGINSTALL=		yes
a23 3
CONF_FILES=		${EGDIR}/defaults ${PKG_SYSCONFDIR}/defaults
CONF_FILES+=		${EGDIR}/democd ${PKG_SYSCONFDIR}/democd
CONF_FILES+=		${EGDIR}/netbsd ${PKG_SYSCONFDIR}/netbsd
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2004/05/12 08:01:05 wiz Exp $
d32 1
a32 1
PYTHON_VERSIONS_ACCEPTED= 24pth 23pth 22pth
@


1.1.1.1
log
@Initial import of xentools 2.0, for use with NetBSD as a xen2 domain0.
@
text
@@
