pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc add XEN12_USE_COM2 option to switch Xen console on com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e4933151cc3
branches:  trunk
changeset: 475660:4e4933151cc3
user:      cl <cl%pkgsrc.org@localhost>
date:      Sat May 22 19:09:53 2004 +0000

description:
add XEN12_USE_COM2 option to switch Xen console on com port2

diffstat:

 mk/bsd.pkg.defaults.mk  |   7 ++++++-
 sysutils/xen12/Makefile |  11 ++++++++++-
 sysutils/xen12/distinfo |   4 +++-
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (62 lines):

diff -r 1b802b08e9e9 -r 4e4933151cc3 mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Sat May 22 18:58:29 2004 +0000
+++ b/mk/bsd.pkg.defaults.mk    Sat May 22 19:09:53 2004 +0000
@@ -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 @@
 # 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 -r 1b802b08e9e9 -r 4e4933151cc3 sysutils/xen12/Makefile
--- a/sysutils/xen12/Makefile   Sat May 22 18:58:29 2004 +0000
+++ b/sysutils/xen12/Makefile   Sat May 22 19:09:53 2004 +0000
@@ -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_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 -r 1b802b08e9e9 -r 4e4933151cc3 sysutils/xen12/distinfo
--- a/sysutils/xen12/distinfo   Sat May 22 18:58:29 2004 +0000
+++ b/sysutils/xen12/distinfo   Sat May 22 19:09:53 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index