diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile index 8812d24cddd8..eb1b61d3ffdb 100644 --- a/devel/libvirt/Makefile +++ b/devel/libvirt/Makefile @@ -1,222 +1,222 @@ PORTNAME= libvirt -PORTVERSION= 10.1.0 +PORTVERSION= 10.2.0 CATEGORIES= devel MASTER_SITES= http://libvirt.org/sources/ \ ftp://libvirt.org/libvirt/ MAINTAINER= novel@FreeBSD.org COMMENT= Toolkit to interact with virtualization capabilities WWW= https://libvirt.org/ LICENSE= LGPL3 LIB_DEPENDS= libcurl.so:ftp/curl \ libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libxml2.so:textproc/libxml2 BUILD_DEPENDS= dnsmasq:dns/dnsmasq \ ${LOCALBASE}/bin/grep:textproc/gnugrep \ gsed:textproc/gsed \ rst2html-${PYTHON_VER}:textproc/py-docutils@${PY_FLAVOR} \ xsltproc:textproc/libxslt RUN_DEPENDS= dnsmasq:dns/dnsmasq OPTIONS_DEFINE= DOCS NLS NSS QEMU READLINE SASL LIBSSH LIBSSH2 ZFS OPTIONS_DEFAULT= READLINE LIBSSH LIBSSH2 ZFS OPTIONS_DEFINE_amd64= XEN .if exists(/usr/sbin/bhyve) OPTIONS_DEFINE_amd64+= BHYVE OPTIONS_DEFAULT_amd64+= BHYVE .else PLIST_SUB+= BHYVE="@comment " SUB_LIST+= BHYVE="@comment " MESON_ARGS+= -Ddriver_bhyve=disabled .endif QEMU_DESC= QEMU driver BHYVE_DESC= bhyve driver XEN_DESC= Xen support via libxl NSS_DESC= Name Service Switch plugin LIBSSH_DESC= libssh remote transport LIBSSH2_DESC= libssh2 remote transport ZFS_DESC= ZFS storage driver OPTIONS_SUB= yes BHYVE_MESON_ENABLED= driver_bhyve QEMU_MESON_ENABLED= driver_qemu QEMU_RUN_DEPENDS= dmidecode:sysutils/dmidecode \ qemu-io:emulators/qemu NLS_USES= gettext NLS_MESON_ENABLED= nls NLS_CFLAGS= -I${LOCALBASE}/include NSS_MESON_ENABLED= nss READLINE_MESON_ENABLED= readline READLINE_USES= readline SASL_MESON_ENABLED= sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 XEN_MESON_ENABLED= driver_libxl XEN_CFLAGS= -I${LOCALBASE}/include XEN_LIB_DEPENDS= libxenlight.so:sysutils/xen-tools LIBSSH_MESON_ENABLED= libssh LIBSSH_LIB_DEPENDS= libssh.so:security/libssh LIBSSH2_MESON_ENABLED= libssh2 LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 ZFS_MESON_ENABLED= storage_zfs VARDIR= /var MESON_ARGS+= \ -Dapparmor=disabled \ -Dapparmor_profiles=disabled \ -Dattr=disabled \ -Daudit=disabled \ -Dblkid=disabled \ -Dcapng=disabled \ -Ddriver_hyperv=disabled \ -Ddriver_interface=disabled \ -Ddriver_libxl=disabled \ -Ddriver_lxc=disabled \ -Ddriver_openvz=disabled \ -Ddriver_remote=enabled \ -Ddriver_vz=disabled \ -Dfirewalld=disabled \ -Dfirewalld_zone=disabled \ -Dfuse=disabled \ -Dglusterfs=disabled \ -Dlibiscsi=disabled \ -Dlibnl=disabled \ -Dlibpcap=disabled \ -Dnumactl=disabled \ -Dnumad=disabled \ -Dopenwsman=disabled \ -Dpciaccess=disabled \ -Dpolkit=disabled \ -Dsanlock=disabled \ -Dsecdriver_apparmor=disabled \ -Dsecdriver_selinux=disabled \ -Dselinux=disabled \ -Dstorage_disk=disabled \ -Dstorage_fs=disabled \ -Dstorage_gluster=disabled \ -Dstorage_iscsi=disabled \ -Dstorage_iscsi_direct=disabled \ -Dstorage_lvm=disabled \ -Dstorage_mpath=disabled \ -Dstorage_rbd=disabled \ -Dstorage_vstorage=disabled \ -Dudev=disabled \ -Dnetcf=disabled \ -Dsysctl_config=disabled \ -Dnbdkit=disabled \ -Dnbdkit_config_default=disabled \ -Dlogin_shell=disabled \ -Dwireshark_dissector=disabled \ -Dinit_script=none \ -Dbash_completion=disabled \ -Duserfaultfd_sysctl=disabled \ -Dlocalstatedir=${VARDIR} # random_data fix can be removed when 8.x is eol CONFIGURE_ENV= ac_cv_type_struct_random_data="" # limit production release x.x.x PORTSCOUT= limit:\d+\.\d+\.\d+$$ LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector USES= gnome charsetfix compiler:c++0x cpe gettext-runtime gmake libtool \ meson pathfix perl5 python:build pkgconfig shebangfix tar:xz USE_GNOME= glib20 USE_RC_SUBR= libvirtd virtlogd CPE_VENDOR= redhat USE_PERL5= build USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check -SHLIB_VER= 0.10001.0 +SHLIB_VER= 0.10002.0 PLIST_SUB+= SHLIB_VER=${SHLIB_VER} PORTDOCS= * #SHEBANG_FILES= src/keycodemapdb/tools/keymap-gen BINARY_ALIAS= python3=${PYTHON_CMD} \ rst2man.py=rst2man.py-${PYTHON_VER} \ rst2html5.py=rst2html5.py-${PYTHON_VER} SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MQEMU} || ${PORT_OPTIONS:MNSS} LIB_DEPENDS+= libyajl.so:devel/yajl MESON_ARGS+= -Dyajl=enabled .else MESON_ARGS+= -Dyajl=disabled .endif .if !${PLIST_SUB:MXEN} PLIST_SUB+= XEN="@comment " .endif CONF_FILES= \ bhyve.conf \ libvirt-admin.conf \ libvirt.conf \ libvirtd.conf \ libxl.conf \ qemu.conf \ virtbhyved.conf \ virtlockd.conf \ virtlogd.conf \ virtnetworkd.conf \ virtproxyd.conf \ virtqemud.conf \ virtsecretd.conf \ virtstoraged.conf \ virtvboxd.conf \ virtxend.conf post-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/qemu/networks/autostart @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS.rst NEWS.rst README.rst ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .for dir in run/libvirt/network \ run/libvirt/qemu \ run/libvirt/lockd \ log/libvirt/uml \ log/libvirt/qemu \ log/libvirt/lxc \ lib/libvirt/boot \ lib/libvirt/lockd/files \ lib/libvirt/images \ lib/libvirt/dnsmasq \ lib/libvirt/filesystems \ lib/libvirt/network \ lib/libvirt/qemu/channel/target \ cache/libvirt/qemu @${MKDIR} "${STAGEDIR}/${VARDIR}/${dir}" .endfor .for file in ${CONF_FILES} @if test -f ${STAGEDIR}${ETCDIR}/${file}; then \ ${MV} ${STAGEDIR}${ETCDIR}/${file} \ ${STAGEDIR}${ETCDIR}/${file}.sample; fi .endfor .include .if ${ARCH} == amd64 || ${ARCH} == i386 RUN_DEPENDS+= dmidecode:sysutils/dmidecode .endif .include diff --git a/devel/libvirt/distinfo b/devel/libvirt/distinfo index f35562d050f4..76ba28e5d6ad 100644 --- a/devel/libvirt/distinfo +++ b/devel/libvirt/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1709320848 -SHA256 (libvirt-10.1.0.tar.xz) = 36d9077e2b0ef6b0c6df3b42e42a67411b6ce3b1564b427b55e65019dde60eed -SIZE (libvirt-10.1.0.tar.xz) = 9444244 -SHA256 (dcfe548cb0.patch) = 9211f318e0508a7b390c656c036240b168591d3aebf5d485a6ac10b18301797a -SIZE (dcfe548cb0.patch) = 4967 +TIMESTAMP = 1712083691 +SHA256 (libvirt-10.2.0.tar.xz) = 215772bc5dc4a672e67ffa9de3774f05ed4b7ed282dbe296ec5c9fec01dd7ae3 +SIZE (libvirt-10.2.0.tar.xz) = 9466588 diff --git a/devel/libvirt/files/patch-src_util_virprocess.c b/devel/libvirt/files/patch-src_util_virprocess.c deleted file mode 100644 index a3668f357617..000000000000 --- a/devel/libvirt/files/patch-src_util_virprocess.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/util/virprocess.c.orig 2021-12-14 12:38:57 UTC -+++ src/util/virprocess.c -@@ -480,7 +480,7 @@ int virProcessKillPainfully(pid_t pid, bool force) - return virProcessKillPainfullyDelay(pid, force, 0, false); - } - --#if WITH_DECL_CPU_SET_T -+#if WITH_DECL_CPU_SET_T && defined(__linux__) - - int virProcessSetAffinity(pid_t pid, virBitmap *map, bool quiet) - {