1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | # NOTE: When you update this port, please also update the following |
---|
4 | # language-binding ports: p5-sys-virt |
---|
5 | |
---|
6 | PortSystem 1.0 |
---|
7 | |
---|
8 | name libvirt |
---|
9 | version 2.4.0 |
---|
10 | categories sysutils |
---|
11 | license LGPL-2.1+ |
---|
12 | platforms darwin |
---|
13 | maintainers ryandesign openmaintainer |
---|
14 | |
---|
15 | description Libvirt - The Virtualization API |
---|
16 | |
---|
17 | long_description A toolkit to interact with the virtualization \ |
---|
18 | capabilities of modern hypervisors. |
---|
19 | |
---|
20 | homepage http://www.libvirt.org/ |
---|
21 | master_sites ${homepage}sources/ |
---|
22 | extract.suffix .tar.xz |
---|
23 | |
---|
24 | checksums rmd160 ceac4c29e03f7c29113e9a926adb21c6a72cdada \ |
---|
25 | sha256 b727c5f43ed3d7337ec2c2f2031ebd4207507978f68d00ad13d4f0f84aad6224 |
---|
26 | |
---|
27 | depends_extract port:xz |
---|
28 | |
---|
29 | depends_build port:pkgconfig \ |
---|
30 | port:xhtml1 |
---|
31 | |
---|
32 | depends_lib port:curl \ |
---|
33 | port:gnutls \ |
---|
34 | port:libiconv \ |
---|
35 | port:libssh2 \ |
---|
36 | port:libxml2 \ |
---|
37 | port:readline \ |
---|
38 | port:yajl \ |
---|
39 | port:zlib |
---|
40 | |
---|
41 | configure.args --disable-silent-rules \ |
---|
42 | --without-apparmor \ |
---|
43 | --without-attr \ |
---|
44 | --without-audit \ |
---|
45 | --without-avahi \ |
---|
46 | --without-blkid \ |
---|
47 | --without-capng \ |
---|
48 | --without-dbus \ |
---|
49 | --without-dtrace \ |
---|
50 | --without-fuse \ |
---|
51 | --without-glusterfs \ |
---|
52 | --without-hal \ |
---|
53 | --with-init-script=none \ |
---|
54 | --without-libpcap \ |
---|
55 | --without-lxc \ |
---|
56 | --without-macvtap \ |
---|
57 | --without-netcf \ |
---|
58 | --without-network \ |
---|
59 | --without-numactl \ |
---|
60 | --without-openvz \ |
---|
61 | --without-phyp \ |
---|
62 | --without-polkit \ |
---|
63 | --without-qemu \ |
---|
64 | --without-sasl \ |
---|
65 | --without-selinux \ |
---|
66 | --without-udev \ |
---|
67 | --without-uml \ |
---|
68 | --without-virtualport \ |
---|
69 | --without-xen \ |
---|
70 | --without-xenapi \ |
---|
71 | --without-xen-inotify \ |
---|
72 | --with-esx \ |
---|
73 | --with-libvirtd \ |
---|
74 | --with-remote \ |
---|
75 | --with-test \ |
---|
76 | --with-vbox=check \ |
---|
77 | --with-vmware \ |
---|
78 | --with-xml-catalog-file=${prefix}/etc/xml/catalog \ |
---|
79 | --with-yajl |
---|
80 | |
---|
81 | variant avahi description {Use Avahi to advertise remote daemon} { |
---|
82 | depends_lib-append port:avahi |
---|
83 | configure.args-replace --without-avahi --with-avahi |
---|
84 | } |
---|
85 | |
---|
86 | variant fuse description {FUSE support} { |
---|
87 | depends_lib-append port:osxfuse |
---|
88 | configure.args-replace --without-fuse --with-fuse |
---|
89 | } |
---|
90 | |
---|
91 | variant openssl description {Use OpenSSL/LibreSSL instead of GNUTLS} { |
---|
92 | depends_lib-replace port:gnutls path:lib/libssl.dylib:openssl |
---|
93 | configure.args-append --without-gnutls --with-openssl |
---|
94 | } |
---|
95 | |
---|
96 | variant qemu description {Support managing QEMU VMs} { |
---|
97 | depends_lib-append port:qemu |
---|
98 | configure.args-replace --without-qemu --with-qemu |
---|
99 | } |
---|
100 | |
---|
101 | variant sasl description {Use Cyrus SASL for authentication} { |
---|
102 | depends_lib-append port:cyrus-sasl2 |
---|
103 | configure.args-replace --without-sasl --with-sasl |
---|
104 | } |
---|
105 | |
---|
106 | livecheck.type regex |
---|
107 | livecheck.url [lindex ${master_sites} 0] |
---|
108 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|