From owner-svn-ports-all@freebsd.org Wed Sep 30 02:04:24 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 642B13F8028; Wed, 30 Sep 2020 02:04:24 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C1KLw2483z4Xh2; Wed, 30 Sep 2020 02:04:24 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2AD4F1852D; Wed, 30 Sep 2020 02:04:24 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08U24OsI088256; Wed, 30 Sep 2020 02:04:24 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08U24Oo1088255; Wed, 30 Sep 2020 02:04:24 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <202009300204.08U24Oo1088255@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Wed, 30 Sep 2020 02:04:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550637 - head/emulators/qemu42 X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: head/emulators/qemu42 X-SVN-Commit-Revision: 550637 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2020 02:04:24 -0000 Author: bofh Date: Wed Sep 30 02:04:23 2020 New Revision: 550637 URL: https://svnweb.freebsd.org/changeset/ports/550637 Log: [NEW] emulators/qemu42: QEMU CPU Emulator - 4.2.X branch QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation (Linux host only). In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. It can be used to launch the Wine Windows API emulator or to ease cross-compilation and cross-debugging. As QEMU requires no host kernel patches to run, it is very safe and easy to use. See also the preconfigured system images on http://oszoo.org/ Many live cd isos also work. WWW: http://wiki.qemu.org/Main_Page In preparation of updating emulators/qemu to 5.0.X STABLE branch moving 4.2.X to a new port. Added: head/emulators/qemu42/ - copied from r550433, head/emulators/qemu/ Modified: head/emulators/qemu42/Makefile Modified: head/emulators/qemu42/Makefile ============================================================================== --- head/emulators/qemu/Makefile Mon Sep 28 16:02:23 2020 (r550433) +++ head/emulators/qemu42/Makefile Wed Sep 30 02:04:23 2020 (r550637) @@ -5,27 +5,27 @@ PORTNAME= qemu PORTVERSION= 4.2.1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ +PKGNAMESUFFIX= 42 DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER?= bofh@FreeBSD.org -COMMENT?= QEMU CPU Emulator +COMMENT?= QEMU CPU Emulator - 4.2.X branch LICENSE= GPLv2 -BUILD_DEPENDS= sphinx-build:textproc/py-sphinx +BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} LIB_DEPENDS?= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ - libpcre2-8.so:devel/pcre2 + libpcre2-8.so:devel/pcre2 \ + libfdt.so:sysutils/dtc -.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ pkgconfig python:build tar:xz xorg USE_XORG= pixman USE_GNOME= cairo glib20 libxml2 -.endif USE_PERL5= build @@ -36,9 +36,10 @@ MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ - STATIC_LINK DOCS ISCSI CAPSTONE + STATIC_LINK DOCS ISCSI CAPSTONE DEBUG OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT +CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) @@ -54,7 +55,6 @@ STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets -CAPSTONE_DESC= Disassembly framework support OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES_DEFAULT VDE OPTIONS_SUB= yes CAPSTONE_CONFIGURE_ON= --enable-capstone=system --extra-cflags=-I${LOCALBASE}/include/capstone @@ -62,6 +62,8 @@ CAPSTONE_CONFIGURE_OFF= --disable-capstone CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl +DEBUG_CONFIGURE_ON= --enable-debug --enable-debug-info +DEBUG_CONFIGURE_OFF= --disable-debug-info DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 DOCS_USES= makeinfo @@ -101,22 +103,20 @@ VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl -.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_USES_OFF= xorg INSTALLS_ICONS= yes -.endif PORTDOCS?= docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} -CONFIGURE_ARGS?= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ - --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh --enable-debug \ +CONFIGURE_ARGS?=--localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ + --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ - --enable-debug-info --python=${PYTHON_CMD} \ + --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include