pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: enable iscsi initiator support
details: https://anonhg.NetBSD.org/pkgsrc/rev/1b7f0d2581f7
branches: trunk
changeset: 424670:1b7f0d2581f7
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Mar 13 13:57:04 2020 +0000
description:
qemu: enable iscsi initiator support
diffstat:
emulators/qemu/Makefile | 4 +-
emulators/qemu/distinfo | 3 +-
emulators/qemu/options.mk | 13 ++++-
emulators/qemu/patches/patch-roms_u-boot-sam460ex_Makefile | 32 ++++++++++++++
4 files changed, 46 insertions(+), 6 deletions(-)
diffs (92 lines):
diff -r 8f85f685f58b -r 1b7f0d2581f7 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Fri Mar 13 13:26:34 2020 +0000
+++ b/emulators/qemu/Makefile Fri Mar 13 13:57:04 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.235 2020/03/10 22:09:47 wiz Exp $
+# $NetBSD: Makefile,v 1.236 2020/03/13 13:57:04 tnn Exp $
DISTNAME= qemu-4.2.0
-PKGREVISION= 11
+PKGREVISION= 12
CATEGORIES= emulators
MASTER_SITES= https://download.qemu.org/
EXTRACT_SUFX= .tar.xz
diff -r 8f85f685f58b -r 1b7f0d2581f7 emulators/qemu/distinfo
--- a/emulators/qemu/distinfo Fri Mar 13 13:26:34 2020 +0000
+++ b/emulators/qemu/distinfo Fri Mar 13 13:57:04 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.156 2020/02/06 23:23:21 kamil Exp $
+$NetBSD: distinfo,v 1.157 2020/03/13 13:57:04 tnn Exp $
SHA1 (qemu-4.2.0.tar.xz) = b27aa828a8457bd8551ae3c81b80cc365e1f6bfe
RMD160 (qemu-4.2.0.tar.xz) = cab8f6d85c0c6e9c01059087ed27d1243a7004a4
@@ -25,6 +25,7 @@
SHA1 (patch-net_tap-solaris.c) = cc953c9a624dd55ace4e130d0b31bbfb956c17d5
SHA1 (patch-qemu-doc.texi) = 78f926a16494c07248b9a81f39dca5b78ae542bb
SHA1 (patch-qemu-options.hx) = 17fb92e03e32402ea2c04217991a2cd01a335e02
+SHA1 (patch-roms_u-boot-sam460ex_Makefile) = e43111db0c56625bc8df5e3688c242c341f3fa6a
SHA1 (patch-roms_u-boot_tools_imx8m__image.sh) = e4c452062f40569e33aa93eec4a65bd3af2e74fc
SHA1 (patch-target_i386_Makefile.objs) = be8ab2e72521ccd0a71db6b37feb9957b27ac970
SHA1 (patch-target_i386_helper.c) = 54363fe53688ea4030665b3bbb3ee7aba7ba5348
diff -r 8f85f685f58b -r 1b7f0d2581f7 emulators/qemu/options.mk
--- a/emulators/qemu/options.mk Fri Mar 13 13:26:34 2020 +0000
+++ b/emulators/qemu/options.mk Fri Mar 13 13:57:04 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.8 2020/02/07 08:39:19 kamil Exp $
+# $NetBSD: options.mk,v 1.9 2020/03/13 13:57:04 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qemu
-PKG_SUPPORTED_OPTIONS= gtk3 sdl spice
-PKG_SUGGESTED_OPTIONS+=
+PKG_SUPPORTED_OPTIONS= gtk3 iscsi sdl spice
+PKG_SUGGESTED_OPTIONS+= iscsi
.include "../../mk/bsd.fast.prefs.mk"
@@ -49,3 +49,10 @@
.else
CONFIGURE_ARGS+= --disable-spice
.endif
+
+.if !empty(PKG_OPTIONS:Miscsi)
+CONFIGURE_ARGS+= --enable-libiscsi
+.include "../../net/libiscsi/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libiscsi
+.endif
diff -r 8f85f685f58b -r 1b7f0d2581f7 emulators/qemu/patches/patch-roms_u-boot-sam460ex_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/qemu/patches/patch-roms_u-boot-sam460ex_Makefile Fri Mar 13 13:57:04 2020 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-roms_u-boot-sam460ex_Makefile,v 1.1 2020/03/13 13:57:04 tnn Exp $
+
+Shell compatibility
+
+--- roms/u-boot-sam460ex/Makefile.orig 2019-12-12 18:22:51.000000000 +0000
++++ roms/u-boot-sam460ex/Makefile
+@@ -2189,10 +2189,10 @@ M5475GFE_config : unconfig
+ if [ "$${CODE}" != "0" ] ; then \
+ echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
+ fi; \
+- if [ "$${VID}" == "1" ] ; then \
++ if [ "$${VID}" = "1" ] ; then \
+ echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
+ fi; \
+- if [ "$${USB}" == "1" ] ; then \
++ if [ "$${USB}" = "1" ] ; then \
+ echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
+ fi
+ @$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
+@@ -2224,10 +2224,10 @@ M5485HFE_config : unconfig
+ if [ "$${CODE}" != "0" ] ; then \
+ echo "#define CONFIG_SYS_NOR1SZ $${CODE}" >> $(obj)include/config.h ; \
+ fi; \
+- if [ "$${VID}" == "1" ] ; then \
++ if [ "$${VID}" = "1" ] ; then \
+ echo "#define CONFIG_SYS_VIDEO" >> $(obj)include/config.h ; \
+ fi; \
+- if [ "$${USB}" == "1" ] ; then \
++ if [ "$${USB}" = "1" ] ; then \
+ echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
+ fi
+ @$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
Home |
Main Index |
Thread Index |
Old Index