mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- update to 1.2.3
- support bhyve [1] PR: 187584 (based on) Submitted by: xmj@chaot.net Changes: http://libvirt.org/news.html
This commit is contained in:
parent
d7e3f83427
commit
ba38df0152
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350536
4 changed files with 18 additions and 29 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libvirt
|
||||
PORTVERSION= 1.2.2
|
||||
PORTVERSION= 1.2.3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://libvirt.org/sources/ \
|
||||
ftp://libvirt.org/libvirt/
|
||||
|
@ -18,8 +18,10 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
|||
libgnutls.so:${PORTSDIR}/security/gnutls \
|
||||
libssh2.so:${PORTSDIR}/security/libssh2
|
||||
|
||||
OPTIONS_DEFINE= QEMU DOCS NLS
|
||||
OPTIONS_DEFINE= DOCS NLS QEMU
|
||||
OPTIONS_DEFINE_amd64= BHYVE
|
||||
QEMU_DESC= QEMU driver
|
||||
BHYVE_DESC= bhyve driver
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
|
@ -29,6 +31,8 @@ QEMU_LIB_DEPENDS= libyajl.so:${PORTSDIR}/devel/yajl
|
|||
QEMU_RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode \
|
||||
qemu-io:${PORTSDIR}/emulators/qemu-devel
|
||||
|
||||
BHYVE_CONFIGURE_WITH= bhyve
|
||||
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
|
||||
|
@ -75,6 +79,11 @@ STRIP_FILES= libvirt.so.${SHLIB_VER} \
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
#work around an options bug (thanks mat@)
|
||||
.if ${ARCH} != amd64
|
||||
PLIST_SUB+= BHYVE="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} < 900000
|
||||
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||' \
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libvirt-1.2.2.tar.gz) = a48377e307c5c21b67e43db99af909a23c33aff8cbbaa3361fd389eb047cbbc3
|
||||
SIZE (libvirt-1.2.2.tar.gz) = 28340039
|
||||
SHA256 (libvirt-1.2.3.tar.gz) = b489d1a29c6166643d34b72795a89b03c6ac775cdaeadb6aa86fc1a982c02e31
|
||||
SIZE (libvirt-1.2.3.tar.gz) = 28605530
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
--- ./src/Makefile.in.orig 2014-03-07 08:08:47.000000000 -0800
|
||||
+++ ./src/Makefile.in 2014-03-07 08:10:53.000000000 -0800
|
||||
@@ -288,9 +288,9 @@
|
||||
@WITH_LIBVIRTD_TRUE@am__append_159 = lockd.la
|
||||
@WITH_LIBVIRTD_TRUE@am__append_160 = locking/libvirt_lockd.aug \
|
||||
@WITH_LIBVIRTD_TRUE@ locking/virtlockd.aug
|
||||
-@WITH_LIBVIRTD_TRUE@am__append_161 = test_libvirt_lockd.aug \
|
||||
-@WITH_LIBVIRTD_TRUE@ test_virtlockd.aug
|
||||
-@WITH_LIBVIRTD_TRUE@am__append_162 = test_libvirt_lockd.aug
|
||||
+@WITH_LIBVIRTD_TRUE@@WITH_QEMU_TRUE@am__append_161 = test_libvirt_lockd.aug \
|
||||
+@WITH_LIBVIRTD_TRUE@@WITH_QEMU_TRUE@ test_virtlockd.aug
|
||||
+@WITH_LIBVIRTD_TRUE@@WITH_QEMU_TRUE@am__append_162 = test_libvirt_lockd.aug
|
||||
@WITH_DTRACE_PROBES_TRUE@@WITH_LIBVIRTD_TRUE@am__append_163 = libvirt_probes.lo
|
||||
@WITH_LIBVIRTD_TRUE@@WITH_QEMU_TRUE@am__append_164 = locking/qemu-lockd.conf
|
||||
@WITH_LIBVIRTD_TRUE@@WITH_QEMU_TRUE@am__append_165 = locking/qemu-lockd.conf
|
||||
@@ -9678,6 +9678,8 @@
|
||||
@WITH_QEMU_TRUE@ locking/qemu-lockd.conf $(AUG_GENTEST)
|
||||
@WITH_QEMU_TRUE@ $(AM_V_GEN)$(AUG_GENTEST) locking/qemu-lockd.conf $< $@
|
||||
|
||||
+@WITH_QEMU_FALSE@test_libvirt_lockd.aug:
|
||||
+
|
||||
test_virtlockd.aug: locking/test_virtlockd.aug.in \
|
||||
locking/virtlockd.conf $(AUG_GENTEST)
|
||||
$(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/locking/virtlockd.conf $< $@
|
||||
|
|
@ -159,6 +159,9 @@ share/augeas/lenses/tests/test_libvirtd.aug
|
|||
%%DOCSDIR%%%%PORTVERSION%%/html/uri.html
|
||||
%%DOCSDIR%%%%PORTVERSION%%/html/virshcmdref.html
|
||||
%%DOCSDIR%%%%PORTVERSION%%/html/windows.html
|
||||
%%DOCSDIR%%%%PORTVERSION%%/html/drvbhyve.html
|
||||
%%DOCSDIR%%%%PORTVERSION%%/html/governance.html
|
||||
%%DOCSDIR%%%%PORTVERSION%%/html/internals/oomtesting.html
|
||||
share/gtk-doc/html/libvirt/general.html
|
||||
share/gtk-doc/html/libvirt/home.png
|
||||
share/gtk-doc/html/libvirt/index.html
|
||||
|
@ -266,6 +269,8 @@ share/gtk-doc/html/libvirt/up.png
|
|||
%%NLS%%share/locale/zu/LC_MESSAGES/libvirt.mo
|
||||
%%QEMU%%lib/libvirt/connection-driver/libvirt_driver_qemu.so
|
||||
%%QEMU%%lib/libvirt/connection-driver/libvirt_driver_qemu.la
|
||||
%%BHYVE%%lib/libvirt/connection-driver/libvirt_driver_bhyve.la
|
||||
%%BHYVE%%lib/libvirt/connection-driver/libvirt_driver_bhyve.so
|
||||
lib/libvirt/connection-driver/libvirt_driver_secret.so
|
||||
lib/libvirt/connection-driver/libvirt_driver_secret.la
|
||||
lib/libvirt/connection-driver/libvirt_driver_storage.so
|
||||
|
|
Loading…
Add table
Reference in a new issue