Thu Dec 7 17:27:17 2023 UTC (167d)
misc/py-anita: Flip xen to 4.15

Per comments on port-xen, now reflected in the HOWTO, 4.18 is not yet
known to work on other than netbsd-current.


(gdt)
diff -r1.14 -r1.15 pkgsrc/misc/py-anita/options.mk

cvs diff -r1.14 -r1.15 pkgsrc/misc/py-anita/options.mk (expand / switch to unified diff)

--- pkgsrc/misc/py-anita/options.mk 2023/12/07 17:18:58 1.14
+++ pkgsrc/misc/py-anita/options.mk 2023/12/07 17:27:17 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: options.mk,v 1.14 2023/12/07 17:18:58 gdt Exp $ 1# $NetBSD: options.mk,v 1.15 2023/12/07 17:27:17 gdt Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.py-anita 3PKG_OPTIONS_VAR= PKG_OPTIONS.py-anita
4PKG_SUPPORTED_OPTIONS= gxemul qemu simh xen 4PKG_SUPPORTED_OPTIONS= gxemul qemu simh xen
5PKG_SUGGESTED_OPTIONS= 5PKG_SUGGESTED_OPTIONS=
6 6
7# To run (but not to build), anita needs some way to run a virtual 7# To run (but not to build), anita needs some way to run a virtual
8# machine. The standard approach is qemu. An alternate approach for 8# machine. The standard approach is qemu. An alternate approach for
9# x86 is xen (when running anita on a dom0). Additional approaches 9# x86 is xen (when running anita on a dom0). Additional approaches
10# are gxemul and simh. 10# are gxemul and simh.
11 11
12# By default, py-anita does not depend on any of these, because a 12# By default, py-anita does not depend on any of these, because a
13# hypervisor one doesn't want to use is a large burden. While these 13# hypervisor one doesn't want to use is a large burden. While these
14# options can be enabled to cause anita to depend on qemu or xen, they 14# options can be enabled to cause anita to depend on qemu or xen, they
@@ -20,18 +20,18 @@ PKG_SUGGESTED_OPTIONS= @@ -20,18 +20,18 @@ PKG_SUGGESTED_OPTIONS=
20DEPENDS+= gxemul>=0:../../emulators/gxemul 20DEPENDS+= gxemul>=0:../../emulators/gxemul
21.endif 21.endif
22 22
23.if !empty(PKG_OPTIONS:Mqemu) 23.if !empty(PKG_OPTIONS:Mqemu)
24DEPENDS+= qemu>=3:../../emulators/qemu 24DEPENDS+= qemu>=3:../../emulators/qemu
25.endif 25.endif
26 26
27# Pick open-simh as the mainstream approach, but anita does not have a 27# Pick open-simh as the mainstream approach, but anita does not have a
28# particular requirement. 28# particular requirement.
29.if !empty(PKG_OPTIONS:Msimh) 29.if !empty(PKG_OPTIONS:Msimh)
30DEPENDS+= open-simh>=3:../../emulators/open-simh 30DEPENDS+= open-simh>=3:../../emulators/open-simh
31.endif 31.endif
32 32
33# Either 415 or 418 should work; we choose 418 because it's newer. 33# Xen 415 is the standard approach, per the Xen HOWTO.
34.if !empty(PKG_OPTIONS:Mxen) 34.if !empty(PKG_OPTIONS:Mxen)
35DEPENDS+= xenkernel418>=4.2:../../sysutils/xenkernel418 35DEPENDS+= xenkernel415>=4.2:../../sysutils/xenkernel415
36DEPENDS+= xentools418>=4.2:../../sysutils/xentools418 36DEPENDS+= xentools415>=4.2:../../sysutils/xentools415
37.endif 37.endif