- update to libvirt-1.3.0

This commit is contained in:
jasper 2015-12-17 19:12:04 +00:00
parent 9478cf74aa
commit 851265871a
6 changed files with 78 additions and 16 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.42 2015/11/05 08:57:04 jasper Exp $
# $OpenBSD: Makefile,v 1.43 2015/12/17 19:12:04 jasper Exp $
COMMENT= tool/library for managing platform virtualization
DISTNAME= libvirt-1.2.21
DISTNAME= libvirt-1.3.0
CATEGORIES= sysutils devel
SHARED_LIBS += virt-qemu 0.3 # 1002.19
SHARED_LIBS += virt 0.7 # 1002.19
SHARED_LIBS += virt-lxc 0.0 # 1002.19
SHARED_LIBS += virt-admin 0.0 # 1002.19
SHARED_LIBS += virt-qemu 0.4 # 1003.0
SHARED_LIBS += virt 0.8 # 1003.0
SHARED_LIBS += virt-lxc 0.0 # 1003.0
SHARED_LIBS += virt-admin 0.0 # 1003.0
HOMEPAGE= https://libvirt.org/
@ -25,9 +25,9 @@ MODULES= devel/gettext \
MODPY_RUNDEP= No
WANTLIB += avahi-client avahi-common c crypto curl dbus-1
WANTLIB += gnutls hogweed idn m ncurses nettle nghttp2 p11-kit lzma
WANTLIB += pthread readline ssh2 ssl tasn1 util xml2 z ffi gmp
WANTLIB += avahi-client avahi-common c crypto curl dbus-1 ffi
WANTLIB += gmp gnutls hogweed idn lzma m ncurses nettle nghttp2
WANTLIB += p11-kit pthread readline ssh2 ssl tasn1 util xml2 z
BUILD_DEPENDS= textproc/docbook \
textproc/docbook2x

View File

@ -1,2 +1,2 @@
SHA256 (libvirt-1.2.21.tar.gz) = jUBlgvX+iNc50dg+C6esf5H1qNpL6CFiq4VjF0TYkls=
SIZE (libvirt-1.2.21.tar.gz) = 29848954
SHA256 (libvirt-1.3.0.tar.gz) = 689WRfpWXj/i/pSoboQdubdozw4KfmzzlcYyf5ojvWQ=
SIZE (libvirt-1.3.0.tar.gz) = 30114683

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_Makefile_in,v 1.25 2015/11/05 08:57:04 jasper Exp $
--- src/Makefile.in.orig Wed Nov 4 03:47:13 2015
+++ src/Makefile.in Thu Nov 5 09:26:52 2015
@@ -10535,9 +10535,6 @@ install-data-local: install-init install-systemd
$OpenBSD: patch-src_Makefile_in,v 1.26 2015/12/17 19:12:04 jasper Exp $
--- src/Makefile.in.orig Wed Dec 9 10:12:33 2015
+++ src/Makefile.in Thu Dec 10 08:52:45 2015
@@ -10812,9 +10812,6 @@ install-data-local: install-init install-systemd
@WITH_LIBVIRTD_TRUE@ $(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/lockd/files"
@WITH_LIBVIRTD_TRUE@ $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run/libvirt/lockd"
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/cache/libvirt"

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-src_admin_admin_protocol_c,v 1.1 2015/12/17 19:12:04 jasper Exp $
Fix undefined reference to xdr_uint64_t
--- src/admin/admin_protocol.c.orig Thu Dec 17 19:46:06 2015
+++ src/admin/admin_protocol.c Thu Dec 17 19:46:45 2015
@@ -6,6 +6,22 @@
#include "admin_protocol.h"
+#ifdef HAVE_XDR_U_INT64_T
+# define xdr_uint64_t xdr_u_int64_t
+#endif
+#ifndef IXDR_PUT_INT32
+# define IXDR_PUT_INT32 IXDR_PUT_LONG
+#endif
+#ifndef IXDR_GET_INT32
+# define IXDR_GET_INT32 IXDR_GET_LONG
+#endif
+#ifndef IXDR_PUT_U_INT32
+# define IXDR_PUT_U_INT32 IXDR_PUT_U_LONG
+#endif
+#ifndef IXDR_GET_U_INT32
+# define IXDR_GET_U_INT32 IXDR_GET_U_LONG
+#endif
+
bool_t
xdr_admin_nonnull_string (XDR *xdrs, admin_nonnull_string *objp)
{

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-src_logging_log_protocol_c,v 1.1 2015/12/17 19:12:04 jasper Exp $
Fix undefined reference to xdr_uint64_t
--- src/logging/log_protocol.c.orig Thu Dec 17 19:47:09 2015
+++ src/logging/log_protocol.c Thu Dec 17 19:47:15 2015
@@ -7,6 +7,22 @@
#include "log_protocol.h"
#include "internal.h"
+#ifdef HAVE_XDR_U_INT64_T
+# define xdr_uint64_t xdr_u_int64_t
+#endif
+#ifndef IXDR_PUT_INT32
+# define IXDR_PUT_INT32 IXDR_PUT_LONG
+#endif
+#ifndef IXDR_GET_INT32
+# define IXDR_GET_INT32 IXDR_GET_LONG
+#endif
+#ifndef IXDR_PUT_U_INT32
+# define IXDR_PUT_U_INT32 IXDR_PUT_U_LONG
+#endif
+#ifndef IXDR_GET_U_INT32
+# define IXDR_GET_U_INT32 IXDR_GET_U_LONG
+#endif
+
bool_t
xdr_virLogManagerProtocolUUID (XDR *xdrs, virLogManagerProtocolUUID objp)
{

View File

@ -1,9 +1,11 @@
@comment $OpenBSD: PLIST,v 1.18 2015/11/05 08:57:04 jasper Exp $
@comment $OpenBSD: PLIST,v 1.19 2015/12/17 19:12:04 jasper Exp $
@bin bin/virsh
@bin bin/virt-admin
@bin bin/virt-host-validate
bin/virt-pki-validate
bin/virt-xml-validate
include/libvirt/
include/libvirt/libvirt-common.h
include/libvirt/libvirt-domain-snapshot.h
include/libvirt/libvirt-domain.h
include/libvirt/libvirt-event.h
@ -37,6 +39,7 @@ lib/pkgconfig/libvirt-qemu.pc
lib/pkgconfig/libvirt.pc
libexec/libvirt-guests.sh
@man man/man1/virsh.1
@man man/man1/virt-admin.1
@man man/man1/virt-host-validate.1
@man man/man1/virt-pki-validate.1
@man man/man1/virt-xml-validate.1
@ -185,6 +188,7 @@ share/doc/libvirt/html/virshcmdref.html
share/doc/libvirt/html/windows.html
share/examples/libvirt/
@sample ${SYSCONFDIR}/libvirt/
share/examples/libvirt/libvirt-admin.conf
share/examples/libvirt/libvirt.conf
@sample ${SYSCONFDIR}/libvirt/libvirt.conf
share/gtk-doc/html/libvirt/