Update to libvirt-7.5.0.

This commit is contained in:
ajacoutot 2021-07-04 08:04:54 +00:00
parent 1de900ae6b
commit 59e72cd706
5 changed files with 25 additions and 22 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.81 2021/06/03 08:53:01 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.82 2021/07/04 08:04:54 ajacoutot Exp $
COMMENT= tool/library for managing platform virtualization
DISTNAME= libvirt-7.4.0
DISTNAME= libvirt-7.5.0
CATEGORIES= sysutils devel emulators
@ -19,7 +19,7 @@ MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
PERMIT_PACKAGE= Yes
WANTLIB += c curl gio-2.0 glib-2.0 gnutls gobject-2.0 intl m pthread
WANTLIB += sasl2 ssh2 util xml2 yajl
WANTLIB += util xml2 yajl
MASTER_SITES= https://libvirt.org/sources/
EXTRACT_SUFX= .tar.xz
@ -43,9 +43,7 @@ BUILD_DEPENDS += textproc/libxslt
LIB_DEPENDS= devel/glib2 \
devel/libyajl \
net/curl \
security/cyrus-sasl2 \
security/gnutls \
security/libssh2 \
textproc/libxml
# disable until proven useful
@ -67,7 +65,8 @@ DISABLED_FEATURES= wireshark_dissector apparmor attr audit capng fuse \
driver_libxl driver_lxc driver_openvz driver_vz \
driver_qemu secdriver_apparmor secdriver_selinux \
login_shell driver_network nss sysctl_config \
git_werror libnl
git_werror libnl apparmor_profiles sanlock firewalld \
firewalld_zone driver_remote
CONFIGURE_ARGS= -Dinit_script=none
@ -104,6 +103,5 @@ post-install:
rm -rf ${WRKINST}/var/{cache/libvirt,lib}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples
mv ${WRKINST}${SYSCONFDIR}/libvirt ${PREFIX}/share/examples/
mv ${WRKINST}${SYSCONFDIR}/sasl2 ${PREFIX}/share/examples/libvirt/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libvirt-7.4.0.tar.xz) = s2bXPe5s53oia+3vWS4GIM644i5ZmPYHaAF/efxOrSY=
SIZE (libvirt-7.4.0.tar.xz) = 8617788
SHA256 (libvirt-7.5.0.tar.xz) = kBB7SQMsLzAiyEB2xkkTUYf7xwyO/RZCfGxLbWE8KJU=
SIZE (libvirt-7.5.0.tar.xz) = 8642788

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-meson_build,v 1.4 2021/05/04 12:32:54 ajacoutot Exp $
$OpenBSD: patch-meson_build,v 1.5 2021/07/04 08:04:54 ajacoutot Exp $
-fexceptions:
ld: error: undefined symbol: _Unwind_Resume
@ -11,7 +11,7 @@ ld: error: undefined symbol: fsync
Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -226,7 +226,6 @@ alloc_max = run_command(
@@ -229,7 +229,6 @@ stack_frame_size = get_option('b_sanitize') == 'none'
cc_flags += [
'-fasynchronous-unwind-tables',
@ -19,15 +19,19 @@ Index: meson.build
'-fipa-pure-const',
'-fno-common',
'-Wabsolute-value',
@@ -489,7 +488,6 @@ libvirt_nodelete = cc.get_supported_link_arguments([
@@ -492,11 +491,6 @@ libvirt_nodelete = cc.get_supported_link_arguments([
])
libvirt_no_undefined = cc.get_supported_link_arguments([
- '-Wl,-z,defs',
])
libvirt_no_undefined = []
-if get_option('b_sanitize') == 'none'
- libvirt_no_undefined += cc.get_supported_link_arguments([
- '-Wl,-z,defs',
- ])
-endif
libvirt_no_indirect = cc.get_supported_link_arguments([
@@ -923,12 +921,15 @@ if devmapper_dep.found()
'-Wl,--no-copy-dt-needed-entries',
@@ -915,12 +909,15 @@ if devmapper_dep.found()
conf.set('WITH_DEVMAPPER', 1)
endif

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-src_rpc_virnetsocket_c,v 1.20 2021/05/04 12:32:54 ajacoutot Exp $
$OpenBSD: patch-src_rpc_virnetsocket_c,v 1.21 2021/07/04 08:04:54 ajacoutot Exp $
Index: src/rpc/virnetsocket.c
--- src/rpc/virnetsocket.c.orig
+++ src/rpc/virnetsocket.c
@@ -1446,7 +1446,7 @@ int virNetSocketGetUNIXIdentity(virNetSocket *sock,
@@ -1434,7 +1434,7 @@ int virNetSocketGetUNIXIdentity(virNetSocket *sock,
pid_t *pid,
unsigned long long *timestamp)
{

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.34 2021/06/03 08:53:01 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.35 2021/07/04 08:04:54 ajacoutot Exp $
@bin bin/virsh
@bin bin/virt-admin
@bin bin/virt-host-validate
@ -135,6 +135,7 @@ share/doc/libvirt/html/docs.html
share/doc/libvirt/html/downloads.html
share/doc/libvirt/html/drivers.html
share/doc/libvirt/html/drvbhyve.html
share/doc/libvirt/html/drvch.html
share/doc/libvirt/html/drvesx.html
share/doc/libvirt/html/drvhyperv.html
share/doc/libvirt/html/drvlxc.html
@ -183,6 +184,9 @@ share/doc/libvirt/html/formatstoragecaps.html
share/doc/libvirt/html/formatstorageencryption.html
share/doc/libvirt/html/generic.css
share/doc/libvirt/html/glib-adoption.html
share/doc/libvirt/html/go/
share/doc/libvirt/html/go/libvirt.html
share/doc/libvirt/html/go/libvirtxml.html
share/doc/libvirt/html/goals.html
share/doc/libvirt/html/governance.html
share/doc/libvirt/html/hacking.html
@ -350,9 +354,6 @@ share/examples/libvirt/libvirt-admin.conf
@sample ${SYSCONFDIR}/libvirt/libvirt-admin.conf
share/examples/libvirt/libvirt.conf
@sample ${SYSCONFDIR}/libvirt/libvirt.conf
share/examples/libvirt/sasl2/
share/examples/libvirt/sasl2/libvirt.conf
@sample ${SYSCONFDIR}/sasl2/libvirt.conf
share/libvirt/
share/libvirt/api/
share/libvirt/api/libvirt-admin-api.xml