summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcl <cl@pkgsrc.org>2004-05-22 19:09:53 +0000
committercl <cl@pkgsrc.org>2004-05-22 19:09:53 +0000
commit45fe3da9dfdd6af06fdebe5bfc71f7aa4bb9378f (patch)
tree4122c62072db4aacd02e6425b073b6eedd054c9f
parent4b0427bd64f1b6bc4d329c578fb401ef217991de (diff)
downloadpkgsrc-45fe3da9dfdd6af06fdebe5bfc71f7aa4bb9378f.tar.gz
add XEN12_USE_COM2 option to switch Xen console on com port2
-rw-r--r--mk/bsd.pkg.defaults.mk7
-rw-r--r--sysutils/xen12/Makefile11
-rw-r--r--sysutils/xen12/distinfo4
3 files changed, 19 insertions, 3 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index 604e20c2821..fbbf7969d65 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.240 2004/05/22 18:58:29 jschauma Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.241 2004/05/22 19:09:53 cl Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -2164,6 +2164,11 @@ XCHAT_USE_SSL?= YES
# Possible: YES, NO
# Default: YES
+XEN12_USE_COM2?= NO
+# This option changes Xen's serial console port to com2.
+# Possible: YES, NO
+# Default: NO
+
#XLOCK_DEFAULT_MODE=
# Set the default display (screen saver) mode for xlockmore.
# Possible: ant, apollonian, ball, bat, blank, blot, bomb, bouboule, bounce,
diff --git a/sysutils/xen12/Makefile b/sysutils/xen12/Makefile
index 2cc5a721821..4db48327586 100644
--- a/sysutils/xen12/Makefile
+++ b/sysutils/xen12/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/05/22 18:12:40 cl Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/22 19:09:53 cl Exp $
#
DISTNAME= xeno-1.2-src-040418
@@ -22,6 +22,15 @@ USE_PKGINSTALL= yes
USE_GNU_TOOLS+= make
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= XEN12_USE_COM2
+
+.if !empty(XEN12_USE_COM2:M[Yy][Ee][Ss])
+PATCHFILES+= xen12-com2-support-040522.diff
+SITES_xen12-com2-support-040522.diff=ftp://ftp.NetBSD.org/pub/NetBSD/arch/xen/misc/
+.endif
+
post-extract:
@${CP} ${FILESDIR}/gcc333-stdarg.h ${WRKSRC}/include/stdarg.h
@${CP} ${WRKDIR}/xen12-addtl-ide-dma-040522/drivers/ide/* ${WRKSRC}/drivers/ide/
diff --git a/sysutils/xen12/distinfo b/sysutils/xen12/distinfo
index 69922953af8..70370654de0 100644
--- a/sysutils/xen12/distinfo
+++ b/sysutils/xen12/distinfo
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.2 2004/05/22 18:12:40 cl Exp $
+$NetBSD: distinfo,v 1.3 2004/05/22 19:09:53 cl Exp $
SHA1 (xeno-1.2-src-040418.tgz) = d19f627dc40416f369f6728fcd86e4364e1713ee
Size (xeno-1.2-src-040418.tgz) = 2960238 bytes
SHA1 (xen12-addtl-ide-dma-040522.tar.gz) = b6303d9946b5d8ddc4fd48a27fbb4df28d5d60fb
Size (xen12-addtl-ide-dma-040522.tar.gz) = 26070 bytes
+SHA1 (xen12-com2-support-040522.diff) = 41acce2e7ddafd07253a2510ecf6317d6828ea4d
+Size (xen12-com2-support-040522.diff) = 1142 bytes
SHA1 (patch-aa) = f7a8aa7c0081660d3408bb8d680d2ed4335b49f9
SHA1 (patch-ab) = d82fc9a443dda29e88fe2aeb028d0783ca5ba5b3
SHA1 (patch-ac) = 559bbdc222ca3698492eaf452f0bf0a4389fa860