Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+9 -3
View File
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.21 2014/03/07 00:30:11 agc Exp $
# $NetBSD: Makefile,v 1.30 2015/03/23 09:27:57 nros Exp $
DISTNAME= libvirt-1.2.2
DISTNAME= libvirt-1.2.9
PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://libvirt.org/sources/
@@ -17,7 +18,7 @@ USE_LIBTOOL= yes
BUILD_DEFS+= VARBASE
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-xml
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-xml
PY_PATCHPLIST= yes
REPLACE_PYTHON+= docs/apibuild.py
@@ -38,11 +39,16 @@ CONF_FILES+= ${EGDIR}/sasl2/libvirt.conf ${PKG_SYSCONFDIR}/sasl2/libvirt.conf
AUTO_MKDIRS= yes
RCD_SCRIPTS= libvirtd
.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/yajl/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/cyrus-sasl/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
+9 -4
View File
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.7 2014/03/11 14:05:15 jperkin Exp $
@comment $NetBSD: PLIST,v 1.11 2014/11/26 23:48:03 gdt Exp $
bin/virsh
bin/virt-host-validate
bin/virt-pki-validate
@@ -7,7 +7,6 @@ include/libvirt/libvirt-lxc.h
include/libvirt/libvirt-qemu.h
include/libvirt/libvirt.h
include/libvirt/virterror.h
lib/charset.alias
lib/libvirt-lxc.la
lib/libvirt-qemu.la
lib/libvirt.la
@@ -15,10 +14,15 @@ lib/libvirt/connection-driver/libvirt_driver_network.la
lib/libvirt/connection-driver/libvirt_driver_qemu.la
lib/libvirt/connection-driver/libvirt_driver_secret.la
lib/libvirt/connection-driver/libvirt_driver_storage.la
${PLIST.hal}lib/libvirt/connection-driver/libvirt_driver_nodedev.la
${PLIST.xen}lib/libvirt/connection-driver/libvirt_driver_libxl.la
lib/libvirt/lock-driver/lockd.la
lib/pkgconfig/libvirt-lxc.pc
lib/pkgconfig/libvirt-qemu.pc
lib/pkgconfig/libvirt.pc
libexec/libvirt-guests.sh
libexec/libvirt_iohelper
libexec/libvirt_leaseshelper
man/man1/virsh.1
man/man1/virt-host-validate.1
man/man1/virt-pki-validate.1
@@ -83,6 +87,7 @@ share/doc/${PKGNAME}/html/footer_pattern.png
share/doc/${PKGNAME}/html/format.html
share/doc/${PKGNAME}/html/formatcaps.html
share/doc/${PKGNAME}/html/formatdomain.html
share/doc/${PKGNAME}/html/formatdomaincaps.html
share/doc/${PKGNAME}/html/formatnetwork.html
share/doc/${PKGNAME}/html/formatnode.html
share/doc/${PKGNAME}/html/formatnwfilter.html
@@ -178,6 +183,7 @@ share/libvirt/libvirtLogo.png
share/libvirt/schemas/basictypes.rng
share/libvirt/schemas/capability.rng
share/libvirt/schemas/domain.rng
share/libvirt/schemas/domaincaps.rng
share/libvirt/schemas/domaincommon.rng
share/libvirt/schemas/domainsnapshot.rng
share/libvirt/schemas/interface.rng
@@ -186,8 +192,7 @@ share/libvirt/schemas/networkcommon.rng
share/libvirt/schemas/nodedev.rng
share/libvirt/schemas/nwfilter.rng
share/libvirt/schemas/secret.rng
share/libvirt/schemas/storageencryption.rng
share/libvirt/schemas/storagefilefeatures.rng
share/libvirt/schemas/storagecommon.rng
share/libvirt/schemas/storagepool.rng
share/libvirt/schemas/storagevol.rng
share/locale/af/LC_MESSAGES/libvirt.mo
+5 -4
View File
@@ -1,12 +1,13 @@
$NetBSD: distinfo,v 1.4 2014/03/07 00:30:11 agc Exp $
$NetBSD: distinfo,v 1.7 2014/10/19 08:48:07 agc Exp $
SHA1 (libvirt-1.2.2.tar.gz) = d24735b135617983edbfd80c75a1b9925f996e3b
RMD160 (libvirt-1.2.2.tar.gz) = f5c7242b4f6399ddaa03df586ebf8595356e4079
Size (libvirt-1.2.2.tar.gz) = 28340039 bytes
SHA1 (libvirt-1.2.9.tar.gz) = f2de4cda8640b3abb13e6b30dd4882cc7e7b39e3
RMD160 (libvirt-1.2.9.tar.gz) = 1efcbb4ad03dd9eb5b4aa18dba268728ae30b644
Size (libvirt-1.2.9.tar.gz) = 30154430 bytes
SHA1 (patch-configure) = d01bd0cf7336d4c0ec0050301095ae0cfac26b7c
SHA1 (patch-gnulib-lib-base64.h) = 7b7f3738fbeb52ba8e8c5ef2b8926008a4585c4b
SHA1 (patch-gnulib-lib-fflush.c) = abfd289afd87d993bbf13cc815443f938cacf7ef
SHA1 (patch-gnulib-lib-fseeko.c) = 1dc0c761d3285da5a418690bfc2e37de90f0e870
SHA1 (patch-src-network-bridge_driver.c) = db637cc003edc054833473a1da74f695f9f7e227
SHA1 (patch-src-rpc-virnetmessage.c) = 5a09402a71c1f7082d775503ce3ef17e7c41424c
SHA1 (patch-src-util-virutil.c) = 64710144c4e1c7e1d9f5ca84c47be6f8b01a70f8
SHA1 (patch-tools--virsh-secret.c) = 424f53edabf535be73e08addea3b4310de08cf8e
+47
View File
@@ -0,0 +1,47 @@
# $NetBSD: options.mk,v 1.3 2014/11/26 23:40:15 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libvirt
# Common options.
PKG_SUPPORTED_OPTIONS+= xen libssh2 lvm hal dbus avahi
PKG_SUGGESTED_OPTIONS= libssh2
.include "../../mk/bsd.options.mk"
# xentools42 is the only version to install
# the include files
PLIST_VARS+= xen hal
# xen means xen 4.2.
.if !empty(PKG_OPTIONS:Mxen)
PLIST.xen = yes
CONFIGURE_ARGS+= --without-xen
CONFIGURE_ARGS+= --with-libxl=${BUILDLINK_PREFIX.xentools42}
CONFIGURE_ARGS+= --with-xenapi=${BUILDLINK_PREFIX.xentools42}
. include "../../sysutils/xentools42/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mlibssh2)
CONFIGURE_ARGS+= --with-ssh2=${BUILDLINK_PREFIX.libssh2}
. include "../../security/libssh2/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mlvm)
CONFIGURE_ARGS+= --with-storage-lvm
.endif
.if !empty(PKG_OPTIONS:Mhal)
PLIST.hal = yes
CONFIGURE_ARGS+= --with-hal=${BUILDLINK_PREFIX.hal}
. include "../../sysutils/hal/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+= --with-dbus=${BUILDLINK_PREFIX.dbus}
. include "../../sysutils/dbus/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mavahi)
CONFIGURE_ARGS+= --with-avahi=${BUILDLINK_PREFIX.avahi}
. include "../../net/avahi/buildlink3.mk"
.endif
@@ -0,0 +1,19 @@
$NetBSD: patch-src-network-bridge_driver.c,v 1.1 2014/07/26 20:25:04 schnoebe Exp $
--- src/network/bridge_driver.c.orig 2014-06-27 14:51:07.000000000 +0000
+++ src/network/bridge_driver.c
@@ -328,6 +328,14 @@ networkRemoveInactive(virNetworkDriverSt
return ret;
}
+#if !defined(IFNAMSIZ)
+# if defined(IF_NAMESIZE)
+# define IFNAMSIZ IF_NAMESIZE
+# else
+# error " IFNAMSIZ is not defined!"
+# endif
+#endif
+
static char *
networkBridgeDummyNicName(const char *brname)
{