<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a7569ad6979430ec1a25165ca5f7263db79204e0">https://github.com/macports/macports-ports/commit/a7569ad6979430ec1a25165ca5f7263db79204e0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a7569ad6979430ec1a25165ca5f7263db79204e0
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Thu Mar 22 23:12:08 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> libvirt: Update to version 4.1.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/52968
</span>---
sysutils/libvirt/Portfile | 75 ++++++++++++++++++++++++++++++++++++++---------
1 file changed, 61 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/libvirt/Portfile b/sysutils/libvirt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 41e5d71..50e576d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/libvirt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/libvirt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,8 +3,7 @@
</span> PortSystem 1.0
name libvirt
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.3.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.1.0
</span> categories sysutils
license LGPL-2.1+
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,56 +16,86 @@ long_description A toolkit to interact with the virtualization \
</span>
homepage https://libvirt.org
master_sites ${homepage}/sources/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6a2e0b288dcafaab0440c35523c6658ef9d3ea8d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 93a23c44eb431da46c9458f95a66e29c9b98e37515d44b6be09e75b35ec94ac8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 35109092
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 06526a4c49e761a1bb8d2a78da248a957c914a07 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8a2fa4826f311a936be8b7d4c8d76516c29417a593b1d1bb8641a8caaa316439 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 15046956
</span>
depends_build port:pkgconfig \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xhtml1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xhtml1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bash-completion \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:perl5
</span>
depends_lib port:curl \
port:gnutls \
port:libiconv \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libssh2 \
</span> port:libxml2 \
port:readline \
port:yajl \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libvirt build scripts work with python 2.x only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.perl ${prefix}/bin/perl5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --disable-silent-rules \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-debug \
</span> --without-apparmor \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-attr \
</span> --without-audit \
--without-avahi \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-bash-completion \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-bash-completions-dir=${prefix}/share/bash-completion/completions \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-bhyve \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-blkid \
</span> --without-capng \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-dbus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-driver-modules \
</span> --without-dtrace \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-esx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-fuse \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-glusterfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-gnutls \
</span> --without-hal \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-hyperv \
</span> --with-init-script=none \
--without-libpcap \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-libssh \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libvirtd \
</span> --without-lxc \
--without-macvtap \
--without-netcf \
--without-network \
--without-numactl \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-openssl \
</span> --without-openvz \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-phyp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-openwsman \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-phyp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-pm-utils \
</span> --without-polkit \
--without-qemu \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-readline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-remote \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-sanlock \
</span> --without-sasl \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-secrets \
</span> --without-selinux \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-ssh2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-sysctl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-test \
</span> --without-udev \
--without-uml \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vbox \
</span> --without-virtualport \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vmware \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-vz \
</span> --without-wireshark-dissector \
--without-xen \
--without-xenapi \
--without-xen-inotify \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-esx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-libvirtd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-remote \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-test \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-vbox=check \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-vmware \
</span> --with-xml-catalog-file=${prefix}/etc/xml/catalog \
--with-yajl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,11 +104,29 @@ variant avahi description {Use Avahi to advertise remote daemon} {
</span> configure.args-replace --without-avahi --with-avahi
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant fuse description {FUSE support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:osxfuse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-fuse --with-fuse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant libssh2 description {Enable the libssh2 transport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libssh2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-ssh2 --with-ssh2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant sasl description {Use Cyrus SASL for authentication} {
depends_lib-append port:cyrus-sasl2
configure.args-replace --without-sasl --with-sasl
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The default socket path for the libvirt client is ${prefix}/var/run/libvirt/libvirt-sock,\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ which might cause problems when you want to attach to a remote libvirtd instance.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ In this case, remember to also specify the socket path for the remote side, which is\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usually /var/run/libvirt/libvirt-sock. For example to connect to a remote host with virsh:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $ virsh -c qemu+ssh://user@host/system?socket=/var/run/libvirt/libvirt-sock
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)\\.tar
</pre><pre style='margin:0'>
</pre>