11PORTNAME = qemu
2- PORTVERSION = 7.0.0
2+ PORTVERSION = 7.2.1
33CATEGORIES = emulators
44MASTER_SITES = https://download.qemu.org/
55DIST_SUBDIR = qemu/${PORTVERSION}
66
77MAINTAINER = bofh@FreeBSD.org
8- COMMENT = QEMU CPU Emulator ${${FLAVOR}_COMMENT} - 7.X.x
8+ COMMENT = QEMU CPU Emulator ${${FLAVOR}_COMMENT} - 7.X.X
99WWW = https://www.qemu.org/
1010
1111LICENSE = GPLv2
1212
1313.if ${FLAVOR :U} != tools
14- ONLY_FOR_ARCHS = aarch64 amd64 powerpc64 powerpc64le
14+ ONLY_FOR_ARCHS = aarch64 amd64 i386 powerpc64 powerpc64le
1515# We need to check if it build with other ARCHS
16- # For i386 we have unknown type name 'vm_page_t'
1716.endif
1817
1918BUILD_DEPENDS = bash:shells/bash
2019.if ${FLAVOR :U} != tools
2120LIB_DEPENDS+ = libfdt.so:sysutils/dtc \
22- libzstd.so:archivers/zstd
21+ libzstd.so:archivers/zstd \
22+ libslirp.so:net/libslirp
2323.endif
2424.if (${FLAVOR :U} != nox11 && ${FLAVOR:U} != tools)
2525LIB_DEPENDS+ = libepoxy.so:graphics/libepoxy
@@ -35,7 +35,8 @@ nox11_CONFLICTS_INSTALL= qemu qemu-devel qemu6*
3535nox11_COMMENT = (without X11)
3636tools_PKGNAMESUFFIX = 7-tools
3737tools_COMMENT = (tools only)
38- tools_CONFLICTS_INSTALL = qemu qemu-devel qemu-nox11 qemu-utils qemu6*
38+ tools_CONFLICTS_INSTALL = qemu qemu-devel qemu-nox11 qemu-utils qemu6* \
39+ qemu-guest-agent
3940tools_DESCR = ${.CURDIR}/pkg-descr-tools
4041tools_PLIST = ${.CURDIR}/pkg-plist-tools
4142
@@ -51,6 +52,7 @@ USE_GNOME+= cairo
5152
5253HAS_CONFIGURE = yes
5354CONFIGURE_ARGS+ = --cc=${CC} \
55+ --disable-guest-agent \
5456 --disable-kvm \
5557 --disable-linux-aio \
5658 --disable-linux-user \
@@ -77,7 +79,6 @@ CONFIGURE_ARGS+= --disable-attr \
7779 --disable-fdt \
7880 --disable-gcrypt \
7981 --disable-glusterfs \
80- --disable-guest-agent \
8182 --disable-libnfs \
8283 --disable-libusb \
8384 --disable-lzo \
@@ -139,7 +140,7 @@ USBREDIR_DESC= usb device network redirection (experimental!)
139140VDE_DESC = vde dependency (for vde networking)
140141X86_TARGETS_DESC = Build only x86 system targets
141142CAPSTONE_LIB_DEPENDS = libcapstone.so:devel/capstone4
142- CAPSTONE_CONFIGURE_ON = --enable-capstone=system \
143+ CAPSTONE_CONFIGURE_ON = --enable-capstone \
143144 --extra-cflags=-I${LOCALBASE}/include/capstone
144145CAPSTONE_CONFIGURE_OFF = --disable-capstone
145146CURL_LIB_DEPENDS = libcurl.so:ftp/curl
@@ -167,7 +168,7 @@ OPENGL_USES= gl
167168OPENGL_USE = GL=gbm,gl
168169OPENGL_CONFIGURE_OFF = --disable-opengl
169170PNG_LIB_DEPENDS = libpng.so:graphics/png
170- PNG_CONFIGURE_OFF = --disable-vnc- png
171+ PNG_CONFIGURE_OFF = --disable-png
171172SAMBA_USES = samba:run # smbd
172173SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd
173174SASL_LIB_DEPENDS = libsasl2.so:security/cyrus-sasl2
@@ -236,8 +237,8 @@ post-install:
236237.if ${FLAVOR :U} != tools
237238 ${INSTALL_SCRIPT} ${FILESDIR} /qemu-ifup.sample ${STAGEDIR}${PREFIX} /etc
238239 ${INSTALL_SCRIPT} ${FILESDIR} /qemu-ifdown.sample ${STAGEDIR}${PREFIX} /etc
239- @${STRIP_CMD} ${STAGEDIR}${PREFIX} /bin/qemu-*
240240.endif
241+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-*
241242
242243post-install-DOCS-on :
243244 @ (cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR} /)
0 commit comments