Blame SPECS/nbdkit.spec

efa7a1
%global _hardened_build 1
efa7a1
efa7a1
%ifarch aarch64 %{arm} x86_64 ppc %{power64}
efa7a1
%global have_libguestfs 1
efa7a1
%endif
efa7a1
827db5
# We can only compile the OCaml plugin on platforms which have native
827db5
# OCaml support (not bytecode).
827db5
%ifarch %{ocaml_native_compiler}
827db5
%global have_ocaml 1
827db5
%endif
827db5
efa7a1
# Architectures where the complete test suite must pass.
efa7a1
#
efa7a1
# On all other architectures, a simpler test suite must pass.  This
efa7a1
# omits any tests that run full qemu, since running qemu under TCG is
efa7a1
# often broken on non-x86_64 arches.
efa7a1
%global complete_test_arches x86_64
efa7a1
827db5
# If the test suite is broken on a particular architecture, document
827db5
# it as a bug and add it to this list.
64a158
%global broken_test_arches aarch64 
827db5
827db5
%if 0%{?rhel} == 7
827db5
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
827db5
# libguestfs was not shipped on POWER (fixed in 7.5).  We could in
827db5
# theory make all of this work by having lots more conditionals, but
827db5
# for now limit this package to x86_64 on RHEL.
827db5
ExclusiveArch:  x86_64
efa7a1
%endif
efa7a1
efa7a1
# If we should verify tarball signature with GPGv2.
efa7a1
%global verify_tarball_signature 1
efa7a1
efa7a1
# If there are patches which touch autotools files, set this to 1.
827db5
%global patches_touch_autotools %{nil}
efa7a1
efa7a1
# The source directory.
827db5
%global source_directory 1.24-stable
efa7a1
efa7a1
Name:           nbdkit
827db5
Version:        1.24.0
fcc3c9
Release:        4%{?dist}
efa7a1
Summary:        NBD server
efa7a1
efa7a1
License:        BSD
efa7a1
URL:            https://github.com/libguestfs/nbdkit
efa7a1
827db5
%if 0%{?rhel} >= 8
827db5
# On RHEL 8+, we cannot build the package on i686 (no virt stack).
827db5
ExcludeArch:    i686
827db5
%endif
827db5
efa7a1
Source0:        http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz
efa7a1
%if 0%{verify_tarball_signature}
efa7a1
Source1:        http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz.sig
efa7a1
# Keyring used to verify tarball signature.
efa7a1
Source2:        libguestfs.keyring
efa7a1
%endif
efa7a1
827db5
# Maintainer script which helps with handling patches.
827db5
Source3:        copy-patches.sh
827db5
efa7a1
# Patches come from this upstream branch:
827db5
# https://github.com/libguestfs/nbdkit/tree/rhel-8.6
efa7a1
efa7a1
# Patches.
827db5
Patch0001:     0001-cache-cow-Fix-data-corruption-in-zero-and-trim-on-un.patch
827db5
Patch0002:     0002-server-CVE-2021-3716-reset-structured-replies-on-sta.patch
827db5
Patch0003:     0003-server-reset-meta-context-replies-on-starttls.patch
fcc3c9
Patch0004:     0004-cow-Fix-for-qemu-6.1-which-requires-backing-format.patch
efa7a1
efa7a1
%if 0%{patches_touch_autotools}
827db5
BuildRequires:  autoconf, automake, libtool
efa7a1
%endif
efa7a1
efa7a1
%ifnarch %{complete_test_arches}
efa7a1
BuildRequires:  autoconf, automake, libtool
efa7a1
%endif
827db5
BuildRequires:  gcc, gcc-c++
efa7a1
BuildRequires:  /usr/bin/pod2man
efa7a1
BuildRequires:  gnutls-devel
efa7a1
BuildRequires:  libselinux-devel
827db5
%if !0%{?rhel} && 0%{?have_libguestfs}
efa7a1
BuildRequires:  libguestfs-devel
efa7a1
%endif
efa7a1
BuildRequires:  libvirt-devel
efa7a1
BuildRequires:  xz-devel
efa7a1
BuildRequires:  zlib-devel
827db5
BuildRequires:  libzstd-devel
efa7a1
BuildRequires:  libcurl-devel
827db5
BuildRequires:  libnbd-devel >= 1.3.11
efa7a1
BuildRequires:  libssh-devel
efa7a1
BuildRequires:  e2fsprogs, e2fsprogs-devel
827db5
%if !0%{?rhel}
827db5
BuildRequires:  genisoimage
827db5
BuildRequires:  rb_libtorrent-devel
827db5
%endif
efa7a1
BuildRequires:  bash-completion
efa7a1
BuildRequires:  perl-devel
efa7a1
BuildRequires:  perl(ExtUtils::Embed)
827db5
%if !0%{?rhel}
efa7a1
BuildRequires:  python3-devel
827db5
%else
827db5
BuildRequires:  platform-python-devel
827db5
%endif
827db5
%if !0%{?rhel}
827db5
%if 0%{?have_ocaml}
827db5
# Requires OCaml 4.02.2 which contains fix for
827db5
# http://caml.inria.fr/mantis/view.php?id=6693
827db5
BuildRequires:  ocaml >= 4.02.2
827db5
BuildRequires:  ocaml-ocamldoc
827db5
%endif
827db5
BuildRequires:  ruby-devel
827db5
BuildRequires:  tcl-devel
827db5
BuildRequires:  lua-devel
827db5
%endif
efa7a1
%if 0%{verify_tarball_signature}
efa7a1
BuildRequires:  gnupg2
efa7a1
%endif
efa7a1
efa7a1
# Only for running the test suite:
827db5
BuildRequires:  %{_bindir}/bc
827db5
BuildRequires:  %{_bindir}/certtool
827db5
BuildRequires:  %{_bindir}/cut
827db5
BuildRequires:  expect
827db5
BuildRequires:  %{_bindir}/hexdump
827db5
BuildRequires:  %{_sbindir}/ip
efa7a1
BuildRequires:  jq
827db5
BuildRequires:  %{_bindir}/nbdcopy
827db5
BuildRequires:  %{_bindir}/nbdinfo
827db5
BuildRequires:  %{_bindir}/nbdsh
827db5
BuildRequires:  %{_bindir}/qemu-img
827db5
BuildRequires:  %{_bindir}/qemu-io
827db5
BuildRequires:  %{_bindir}/qemu-nbd
827db5
BuildRequires:  %{_sbindir}/sfdisk
827db5
BuildRequires:  %{_bindir}/socat
827db5
BuildRequires:  %{_sbindir}/ss
827db5
BuildRequires:  %{_bindir}/stat
827db5
BuildRequires:  %{_bindir}/ssh-keygen
efa7a1
efa7a1
# nbdkit is a metapackage pulling the server and a useful subset
efa7a1
# of the plugins and filters.
efa7a1
Requires:       nbdkit-server%{?_isa} = %{version}-%{release}
efa7a1
Requires:       nbdkit-basic-plugins%{?_isa} = %{version}-%{release}
efa7a1
Requires:       nbdkit-basic-filters%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description
efa7a1
NBD is a protocol for accessing block devices (hard disks and
efa7a1
disk-like things) over the network.
efa7a1
efa7a1
nbdkit is a toolkit for creating NBD servers.
efa7a1
efa7a1
The key features are:
efa7a1
efa7a1
* Multithreaded NBD server written in C with good performance.
efa7a1
efa7a1
* Minimal dependencies for the basic server.
efa7a1
efa7a1
* Liberal license (BSD) allows nbdkit to be linked to proprietary
efa7a1
  libraries or included in proprietary code.
efa7a1
efa7a1
* Well-documented, simple plugin API with a stable ABI guarantee.
efa7a1
  Lets you to export "unconventional" block devices easily.
efa7a1
efa7a1
* You can write plugins in C or many other languages.
efa7a1
efa7a1
* Filters can be stacked in front of plugins to transform the output.
efa7a1
827db5
'%{name}' is a meta-package which pulls in the core server and a
827db5
useful subset of plugins and filters with minimal dependencies.
efa7a1
efa7a1
If you want just the server, install '%{name}-server'.
efa7a1
efa7a1
To develop plugins, install the '%{name}-devel' package and start by
efa7a1
reading the nbdkit(1) and nbdkit-plugin(3) manual pages.
efa7a1
efa7a1
efa7a1
%package server
efa7a1
Summary:        The %{name} server
efa7a1
License:        BSD
efa7a1
efa7a1
efa7a1
%description server
efa7a1
This package contains the %{name} server with no plugins or filters.
efa7a1
efa7a1
efa7a1
%package basic-plugins
efa7a1
Summary:        Basic plugins for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
Provides:       %{name}-data-plugin = %{version}-%{release}
827db5
Provides:       %{name}-eval-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-file-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-floppy-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-full-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-info-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-memory-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-null-plugin = %{version}-%{release}
827db5
Provides:       %{name}-ondemand-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-pattern-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-partitioning-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-random-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-sh-plugin = %{version}-%{release}
827db5
Provides:       %{name}-sparse-random-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-split-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-streaming-plugin = %{version}-%{release}
efa7a1
Provides:       %{name}-zero-plugin = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description basic-plugins
827db5
This package contains plugins for %{name} which only depend on simple
827db5
C libraries: glibc, gnutls, libzstd.  Other plugins for nbdkit with
827db5
more complex dependencies are packaged separately.
827db5
827db5
nbdkit-data-plugin          Serve small amounts of data from the command line.
827db5
827db5
nbdkit-eval-plugin          Write a shell script plugin on the command line.
efa7a1
827db5
nbdkit-file-plugin          The normal file plugin for serving files.
efa7a1
827db5
nbdkit-floppy-plugin        Create a virtual floppy disk from a directory.
efa7a1
827db5
nbdkit-full-plugin          A virtual disk that returns ENOSPC errors.
efa7a1
827db5
nbdkit-info-plugin          Serve client and server information.
efa7a1
827db5
nbdkit-memory-plugin        A virtual memory plugin.
efa7a1
827db5
nbdkit-null-plugin          A null (bitbucket) plugin.
efa7a1
827db5
nbdkit-ondemand-plugin      Create filesystems on demand.
efa7a1
827db5
nbdkit-pattern-plugin       Fixed test pattern.
efa7a1
827db5
nbdkit-partitioning-plugin  Create virtual disks from partitions.
efa7a1
827db5
nbdkit-random-plugin        Random content plugin for testing.
efa7a1
827db5
nbdkit-sh-plugin            Write plugins as shell scripts or executables.
efa7a1
827db5
nbdkit-sparse-random-plugin Make sparse random disks.
efa7a1
827db5
nbdkit-split-plugin         Concatenate one or more files.
efa7a1
827db5
nbdkit-streaming-plugin     A streaming file serving plugin.
827db5
827db5
nbdkit-zero-plugin          Zero-length plugin for testing.
efa7a1
efa7a1
efa7a1
%package example-plugins
efa7a1
Summary:        Example plugins for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
%if !0%{?rhel}
827db5
# example4 is written in Perl.
827db5
Requires:       %{name}-perl-plugin
827db5
%endif
efa7a1
efa7a1
efa7a1
%description example-plugins
efa7a1
This package contains example plugins for %{name}.
efa7a1
efa7a1
efa7a1
# The plugins below have non-trivial dependencies are so are
efa7a1
# packaged separately.
efa7a1
827db5
%if !0%{?rhel}
827db5
%package cc-plugin
827db5
Summary:        Write small inline C plugins and scripts for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
Requires:       gcc
827db5
Requires:       %{_bindir}/cat
827db5
827db5
827db5
%description cc-plugin
827db5
This package contains support for writing inline C plugins and scripts
827db5
for %{name}.  NOTE this is NOT the right package for writing plugins
827db5
in C, install %{name}-devel for that.
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%package cdi-plugin
827db5
Summary:        Containerized Data Import plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
Requires:       jq
827db5
Requires:       podman
827db5
827db5
827db5
%description cdi-plugin
827db5
This package contains Containerized Data Import support for %{name}.
827db5
%endif
827db5
827db5
efa7a1
%package curl-plugin
efa7a1
Summary:        HTTP/FTP (cURL) plugin for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description curl-plugin
efa7a1
This package contains cURL (HTTP/FTP) support for %{name}.
efa7a1
efa7a1
827db5
%if !0%{?rhel} && 0%{?have_libguestfs}
827db5
%package guestfs-plugin
827db5
Summary:        libguestfs plugin for %{name}
efa7a1
License:        BSD
efa7a1
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description guestfs-plugin
827db5
This package is a libguestfs plugin for %{name}.
827db5
%endif
827db5
827db5
827db5
%if 0%{?rhel} == 8
827db5
%package gzip-plugin
827db5
Summary:        GZip plugin for %{name}
827db5
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description gzip-plugin
827db5
This package is a gzip plugin for %{name}.
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%package iso-plugin
827db5
Summary:        Virtual ISO 9660 plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
Requires:       genisoimage
827db5
827db5
827db5
%description iso-plugin
827db5
This package is a virtual ISO 9660 (CD-ROM) plugin for %{name}.
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%package libvirt-plugin
827db5
Summary:        Libvirt plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description libvirt-plugin
827db5
This package is a libvirt plugin for %{name}.  It lets you access
827db5
libvirt guest disks readonly.  It is implemented using the libvirt
827db5
virDomainBlockPeek API.
827db5
%endif
efa7a1
efa7a1
efa7a1
%package linuxdisk-plugin
efa7a1
Summary:        Virtual Linux disk plugin for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
# for mke2fs
efa7a1
Requires:       e2fsprogs
efa7a1
efa7a1
efa7a1
%description linuxdisk-plugin
efa7a1
This package is a virtual Linux disk plugin for %{name}.
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%package lua-plugin
827db5
Summary:        Lua plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description lua-plugin
827db5
This package lets you write Lua plugins for %{name}.
827db5
%endif
827db5
827db5
827db5
%package nbd-plugin
827db5
Summary:        NBD proxy / forward plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description nbd-plugin
827db5
This package lets you forward NBD connections from %{name}
827db5
to another NBD server.
827db5
827db5
827db5
%if !0%{?rhel} && 0%{?have_ocaml}
827db5
%package ocaml-plugin
827db5
Summary:        OCaml plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description ocaml-plugin
827db5
This package lets you run OCaml plugins for %{name}.
827db5
827db5
To compile OCaml plugins you will also need to install
827db5
%{name}-ocaml-plugin-devel.
827db5
827db5
827db5
%package ocaml-plugin-devel
827db5
Summary:        OCaml development environment for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
Requires:       %{name}-ocaml-plugin%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description ocaml-plugin-devel
827db5
This package lets you write OCaml plugins for %{name}.
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%package perl-plugin
827db5
Summary:        Perl plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description perl-plugin
827db5
This package lets you write Perl plugins for %{name}.
827db5
%endif
827db5
827db5
efa7a1
%package python-plugin
efa7a1
Summary:        Python 3 plugin for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description python-plugin
efa7a1
This package lets you write Python 3 plugins for %{name}.
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%package ruby-plugin
827db5
Summary:        Ruby plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description ruby-plugin
827db5
This package lets you write Ruby plugins for %{name}.
827db5
%endif
827db5
827db5
efa7a1
%package ssh-plugin
efa7a1
Summary:        SSH plugin for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description ssh-plugin
efa7a1
This package contains SSH support for %{name}.
efa7a1
efa7a1
827db5
%package tar-plugin
827db5
Summary:        Tar archive plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
Requires:       tar
827db5
827db5
827db5
%description tar-plugin
827db5
This package is a tar archive plugin for %{name}.
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%package tcl-plugin
827db5
Summary:        Tcl plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description tcl-plugin
827db5
This package lets you write Tcl plugins for %{name}.
827db5
%endif
827db5
827db5
827db5
%package tmpdisk-plugin
827db5
Summary:        Remote temporary filesystem disk plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
# For mkfs and mke2fs (defaults).
827db5
Requires:       util-linux, e2fsprogs
827db5
# For other filesystems.
827db5
Suggests:       xfsprogs
827db5
%if !0%{?rhel}
827db5
Suggests:       ntfsprogs, dosfstools
827db5
%endif
827db5
827db5
827db5
%description tmpdisk-plugin
827db5
This package is a remote temporary filesystem disk plugin for %{name}.
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%package torrent-plugin
827db5
Summary:        BitTorrent plugin for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description torrent-plugin
827db5
This package is a BitTorrent plugin for %{name}.
827db5
%endif
827db5
827db5
827db5
%ifarch x86_64
efa7a1
%package vddk-plugin
efa7a1
Summary:        VMware VDDK plugin for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description vddk-plugin
efa7a1
This package is a plugin for %{name} which connects to
efa7a1
VMware VDDK for accessing VMware disks and servers.
efa7a1
%endif
efa7a1
efa7a1
efa7a1
%package basic-filters
efa7a1
Summary:        Basic filters for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
Provides:       %{name}-blocksize-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-cache-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-cacheextents-filter = %{version}-%{release}
827db5
Provides:       %{name}-checkwrite-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-cow-filter = %{version}-%{release}
827db5
Provides:       %{name}-ddrescue-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-delay-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-error-filter = %{version}-%{release}
827db5
Provides:       %{name}-exitlast-filter = %{version}-%{release}
827db5
Provides:       %{name}-exitwhen-filter = %{version}-%{release}
827db5
Provides:       %{name}-exportname-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-extentlist-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-fua-filter = %{version}-%{release}
827db5
Provides:       %{name}-ip-filter = %{version}-%{release}
827db5
Provides:       %{name}-limit-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-log-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-nocache-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-noextents-filter = %{version}-%{release}
827db5
Provides:       %{name}-nofilter-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-noparallel-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-nozero-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-offset-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-partition-filter = %{version}-%{release}
827db5
Provides:       %{name}-pause-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-rate-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-readahead-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-retry-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-stats-filter = %{version}-%{release}
827db5
Provides:       %{name}-swab-filter = %{version}-%{release}
827db5
Provides:       %{name}-tls-fallback-filter = %{version}-%{release}
efa7a1
Provides:       %{name}-truncate-filter = %{version}-%{release}
efa7a1
827db5
efa7a1
%description basic-filters
827db5
This package contains filters for %{name} which only depend on simple
827db5
C libraries: glibc, gnutls.  Other filters for nbdkit with more
827db5
complex dependencies are packaged separately.
efa7a1
efa7a1
nbdkit-blocksize-filter    Adjust block size of requests sent to plugins.
efa7a1
efa7a1
nbdkit-cache-filter        Server-side cache.
efa7a1
efa7a1
nbdkit-cacheextents-filter Cache extents.
efa7a1
827db5
nbdkit-checkwrite-filter   Check writes match contents of plugin.
827db5
efa7a1
nbdkit-cow-filter          Copy-on-write overlay for read-only plugins.
efa7a1
827db5
nbdkit-ddrescue-filter     Filter for serving from ddrescue dump.
827db5
efa7a1
nbdkit-delay-filter        Inject read and write delays.
efa7a1
efa7a1
nbdkit-error-filter        Inject errors.
efa7a1
827db5
nbdkit-exitlast-filter     Exit on last client connection.
827db5
827db5
nbdkit-exitwhen-filter     Exit gracefully when an event occurs.
827db5
827db5
nbdkit-exportname-filter   Adjust export names between client and plugin.
827db5
efa7a1
nbdkit-extentlist-filter   Place extent list over a plugin.
efa7a1
efa7a1
nbdkit-fua-filter          Modify flush behaviour in plugins.
efa7a1
827db5
nbdkit-ip-filter           Filter clients by IP address.
827db5
827db5
nbdkit-limit-filter        Limit nr clients that can connect concurrently.
827db5
efa7a1
nbdkit-log-filter          Log all transactions to a file.
efa7a1
efa7a1
nbdkit-nocache-filter      Disable cache requests in the underlying plugin.
efa7a1
efa7a1
nbdkit-noextents-filter    Disable extents in the underlying plugin.
efa7a1
827db5
nbdkit-nofilter-filter     Passthrough filter.
827db5
efa7a1
nbdkit-noparallel-filter   Serialize requests to the underlying plugin.
efa7a1
efa7a1
nbdkit-nozero-filter       Adjust handling of zero requests by plugins.
efa7a1
efa7a1
nbdkit-offset-filter       Serve an offset and range.
efa7a1
efa7a1
nbdkit-partition-filter    Serve a single partition.
efa7a1
827db5
nbdkit-pause-filter        Pause NBD requests.
827db5
efa7a1
nbdkit-rate-filter         Limit bandwidth by connection or server.
efa7a1
efa7a1
nbdkit-readahead-filter    Prefetch data when reading sequentially.
efa7a1
efa7a1
nbdkit-retry-filter        Reopen connection on error.
efa7a1
efa7a1
nbdkit-stats-filter        Display statistics about operations.
efa7a1
827db5
nbdkit-swab-filter         Filter for swapping byte order.
827db5
827db5
nbdkit-tls-fallback-filter TLS protection filter.
827db5
efa7a1
nbdkit-truncate-filter     Truncate, expand, round up or round down size.
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%package ext2-filter
827db5
Summary:        ext2, ext3 and ext4 filesystem support for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
# Remove in Fedora 34:
827db5
Provides:       %{name}-ext2-plugin = %{version}-%{release}
827db5
Obsoletes:      %{name}-ext2-plugin <= %{version}-%{release}
827db5
827db5
827db5
%description ext2-filter
827db5
This package contains ext2, ext3 and ext4 filesystem support for
827db5
%{name}.
827db5
%endif
827db5
827db5
827db5
%package gzip-filter
827db5
Summary:        GZip filter for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
827db5
827db5
%description gzip-filter
827db5
This package is a gzip filter for %{name}.
827db5
827db5
827db5
%package tar-filter
827db5
Summary:        Tar archive filter for %{name}
827db5
License:        BSD
827db5
827db5
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
827db5
Requires:       tar
827db5
827db5
827db5
%description tar-filter
827db5
This package is a tar archive filter for %{name}.
827db5
827db5
efa7a1
%package xz-filter
efa7a1
Summary:        XZ filter for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description xz-filter
efa7a1
This package is the xz filter for %{name}.
efa7a1
efa7a1
efa7a1
%package devel
efa7a1
Summary:        Development files and documentation for %{name}
efa7a1
License:        BSD
efa7a1
efa7a1
Requires:       %{name}-server%{?_isa} = %{version}-%{release}
efa7a1
Requires:       pkgconfig
efa7a1
efa7a1
efa7a1
%description devel
efa7a1
This package contains development files and documentation
efa7a1
for %{name}.  Install this package if you want to develop
efa7a1
plugins for %{name}.
efa7a1
efa7a1
efa7a1
%package bash-completion
efa7a1
Summary:       Bash tab-completion for %{name}
efa7a1
BuildArch:     noarch
efa7a1
Requires:      bash-completion >= 2.0
efa7a1
Requires:      %{name}-server = %{version}-%{release}
efa7a1
efa7a1
efa7a1
%description bash-completion
efa7a1
Install this package if you want intelligent bash tab-completion
efa7a1
for %{name}.
efa7a1
efa7a1
efa7a1
%prep
efa7a1
%if 0%{verify_tarball_signature}
efa7a1
tmphome="$(mktemp -d)"
efa7a1
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
efa7a1
%endif
efa7a1
%autosetup -p1
efa7a1
%if 0%{patches_touch_autotools}
efa7a1
autoreconf -i
efa7a1
%endif
efa7a1
efa7a1
%ifnarch %{complete_test_arches}
efa7a1
# Simplify the test suite so it doesn't require qemu.
827db5
sed -i -e 's/^LIBGUESTFS_TESTS/xLIBGUESTFS_TESTS/' tests/Makefile.am
efa7a1
sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am
efa7a1
autoreconf -i
efa7a1
%endif
efa7a1
efa7a1
efa7a1
%build
827db5
# Golang bindings are not enabled in the build since they don't
827db5
# need to be.  Most people would use them by copying the upstream
827db5
# package into their vendor/ directory.
827db5
#
827db5
# %%{__python3} expands to platform-python, so we don't depend on
827db5
# the python module (see RHBZ#1659159, RHBZ#1867964).
827db5
export PYTHON=%{__python3}
efa7a1
%configure \
827db5
    --with-extra='%{name}-%{version}-%{release}' \
efa7a1
    --disable-static \
827db5
    --disable-golang \
827db5
    --disable-rust \
827db5
%if !0%{?rhel} && 0%{?have_ocaml}
827db5
    --enable-ocaml \
827db5
%else
827db5
    --disable-ocaml \
827db5
%endif
827db5
%if 0%{?rhel}
efa7a1
    --disable-lua \
efa7a1
    --disable-perl \
efa7a1
    --disable-ruby \
efa7a1
    --disable-tcl \
efa7a1
    --without-ext2 \
efa7a1
    --without-iso \
efa7a1
    --without-libvirt \
827db5
%endif
827db5
%if !0%{?rhel} && 0%{?have_libguestfs}
827db5
    --with-libguestfs \
827db5
%else
827db5
    --without-libguestfs \
827db5
%endif
efa7a1
    --with-tls-priority=@NBDKIT,SYSTEM
efa7a1
efa7a1
# Verify that it picked the correct version of Python
efa7a1
# to avoid RHBZ#1404631 happening again silently.
efa7a1
grep '^PYTHON_VERSION = 3' Makefile
efa7a1
827db5
%make_build
efa7a1
efa7a1
efa7a1
%install
efa7a1
%make_install
efa7a1
efa7a1
# Delete libtool crap.
efa7a1
find $RPM_BUILD_ROOT -name '*.la' -delete
efa7a1
efa7a1
# If cargo happens to be installed on the machine then the
efa7a1
# rust plugin is built.  Delete it if this happens.
efa7a1
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/nbdkit-rust-plugin.3*
efa7a1
827db5
%if 0%{?rhel} != 8
827db5
# Remove the deprecated gzip plugin (use gzip filter instead).
827db5
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-gzip-plugin.so
827db5
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-gzip-plugin.1*
827db5
%endif
827db5
827db5
%if 0%{?rhel}
827db5
# In RHEL, remove some plugins we cannot --disable.
827db5
for f in cc cdi torrent; do
827db5
    rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-$f-plugin.so
827db5
    rm -f $RPM_BUILD_ROOT%{_mandir}/man?/nbdkit-$f-plugin.*
827db5
done
827db5
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-S3-plugin
827db5
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-S3-plugin.1*
827db5
%endif
827db5
efa7a1
efa7a1
%check
827db5
%ifnarch %{broken_test_arches}
efa7a1
# Workaround for broken libvirt (RHBZ#1138604).
efa7a1
mkdir -p $HOME/.cache/libvirt
efa7a1
efa7a1
# tests/test-captive.sh is racy especially on s390x.  We need to
efa7a1
# rethink this test upstream.
efa7a1
truncate -s 0 tests/test-captive.sh
efa7a1
efa7a1
%ifarch s390x
efa7a1
# Temporarily kill tests/test-cache-max-size.sh since it fails
efa7a1
# sometimes on s390x for unclear reasons.
efa7a1
truncate -s 0 tests/test-cache-max-size.sh
efa7a1
%endif
efa7a1
827db5
# Temporarily kill test-nbd-tls.sh and test-nbd-tls-psk.sh
827db5
# https://www.redhat.com/archives/libguestfs/2020-March/msg00191.html
827db5
truncate -s 0 tests/test-nbd-tls.sh tests/test-nbd-tls-psk.sh
827db5
827db5
# Kill tests/test-cc-ocaml.sh.  Requires upstream fix (commit bce54e7df25).
827db5
truncate -s 0 tests/test-cc-ocaml.sh
827db5
efa7a1
# Make sure we can see the debug messages (RHBZ#1230160).
efa7a1
export LIBGUESTFS_DEBUG=1
efa7a1
export LIBGUESTFS_TRACE=1
efa7a1
827db5
%make_build check || {
efa7a1
    cat tests/test-suite.log
efa7a1
    exit 1
efa7a1
  }
827db5
%endif
827db5
827db5
827db5
%if 0%{?have_ocaml}
827db5
%ldconfig_scriptlets plugin-ocaml
827db5
%endif
efa7a1
efa7a1
efa7a1
%files
efa7a1
# metapackage so empty
efa7a1
efa7a1
efa7a1
%files server
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_sbindir}/nbdkit
efa7a1
%dir %{_libdir}/%{name}
efa7a1
%dir %{_libdir}/%{name}/plugins
efa7a1
%dir %{_libdir}/%{name}/filters
efa7a1
%{_mandir}/man1/nbdkit.1*
efa7a1
%{_mandir}/man1/nbdkit-captive.1*
827db5
%{_mandir}/man1/nbdkit-client.1*
efa7a1
%{_mandir}/man1/nbdkit-loop.1*
efa7a1
%{_mandir}/man1/nbdkit-probing.1*
efa7a1
%{_mandir}/man1/nbdkit-protocol.1*
efa7a1
%{_mandir}/man1/nbdkit-service.1*
efa7a1
%{_mandir}/man1/nbdkit-security.1*
efa7a1
%{_mandir}/man1/nbdkit-tls.1*
efa7a1
efa7a1
efa7a1
%files basic-plugins
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-data-plugin.so
827db5
%{_libdir}/%{name}/plugins/nbdkit-eval-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-file-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-floppy-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-full-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-info-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-memory-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-null-plugin.so
827db5
%{_libdir}/%{name}/plugins/nbdkit-ondemand-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-partitioning-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-pattern-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-random-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-sh-plugin.so
827db5
%{_libdir}/%{name}/plugins/nbdkit-sparse-random-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-split-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-streaming-plugin.so
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-zero-plugin.so
efa7a1
%{_mandir}/man1/nbdkit-data-plugin.1*
827db5
%{_mandir}/man1/nbdkit-eval-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-file-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-floppy-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-full-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-info-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-memory-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-null-plugin.1*
827db5
%{_mandir}/man1/nbdkit-ondemand-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-partitioning-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-pattern-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-random-plugin.1*
efa7a1
%{_mandir}/man3/nbdkit-sh-plugin.3*
827db5
%{_mandir}/man1/nbdkit-sparse-random-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-split-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-streaming-plugin.1*
efa7a1
%{_mandir}/man1/nbdkit-zero-plugin.1*
efa7a1
efa7a1
efa7a1
%files example-plugins
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-example*-plugin.so
827db5
%if !0%{?rhel}
827db5
%{_libdir}/%{name}/plugins/nbdkit-example4-plugin
827db5
%endif
efa7a1
%{_mandir}/man1/nbdkit-example*-plugin.1*
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%files cc-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-cc-plugin.so
827db5
%{_mandir}/man3/nbdkit-cc-plugin.3*
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%files cdi-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-cdi-plugin.so
827db5
%{_mandir}/man1/nbdkit-cdi-plugin.1*
827db5
%endif
827db5
827db5
efa7a1
%files curl-plugin
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-curl-plugin.so
efa7a1
%{_mandir}/man1/nbdkit-curl-plugin.1*
efa7a1
efa7a1
827db5
%if !0%{?rhel} && 0%{?have_libguestfs}
827db5
%files guestfs-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-guestfs-plugin.so
827db5
%{_mandir}/man1/nbdkit-guestfs-plugin.1*
827db5
%endif
827db5
827db5
827db5
%if 0%{?rhel} == 8
efa7a1
%files gzip-plugin
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-gzip-plugin.so
efa7a1
%{_mandir}/man1/nbdkit-gzip-plugin.1*
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%files iso-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-iso-plugin.so
827db5
%{_mandir}/man1/nbdkit-iso-plugin.1*
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%files libvirt-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-libvirt-plugin.so
827db5
%{_mandir}/man1/nbdkit-libvirt-plugin.1*
827db5
%endif
efa7a1
efa7a1
efa7a1
%files linuxdisk-plugin
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-linuxdisk-plugin.so
efa7a1
%{_mandir}/man1/nbdkit-linuxdisk-plugin.1*
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%files lua-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-lua-plugin.so
827db5
%{_mandir}/man3/nbdkit-lua-plugin.3*
827db5
%endif
827db5
827db5
827db5
%files nbd-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-nbd-plugin.so
827db5
%{_mandir}/man1/nbdkit-nbd-plugin.1*
827db5
827db5
827db5
%if !0%{?rhel} && 0%{?have_ocaml}
827db5
%files ocaml-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/libnbdkitocaml.so.*
827db5
827db5
%files ocaml-plugin-devel
827db5
%{_libdir}/libnbdkitocaml.so
827db5
%{_libdir}/ocaml/NBDKit.*
827db5
%{_mandir}/man3/nbdkit-ocaml-plugin.3*
827db5
%{_mandir}/man3/NBDKit.3*
827db5
%endif
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%files perl-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-perl-plugin.so
827db5
%{_mandir}/man3/nbdkit-perl-plugin.3*
827db5
%endif
827db5
827db5
efa7a1
%files python-plugin
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-python-plugin.so
efa7a1
%{_mandir}/man3/nbdkit-python-plugin.3*
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%files ruby-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-ruby-plugin.so
827db5
%{_mandir}/man3/nbdkit-ruby-plugin.3*
827db5
%endif
827db5
827db5
efa7a1
%files ssh-plugin
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-ssh-plugin.so
efa7a1
%{_mandir}/man1/nbdkit-ssh-plugin.1*
efa7a1
efa7a1
827db5
%files tar-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-tar-plugin.so
827db5
%{_mandir}/man1/nbdkit-tar-plugin.1*
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%files tcl-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-tcl-plugin.so
827db5
%{_mandir}/man3/nbdkit-tcl-plugin.3*
827db5
%endif
827db5
827db5
827db5
%files tmpdisk-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-tmpdisk-plugin.so
827db5
%{_mandir}/man1/nbdkit-tmpdisk-plugin.1*
827db5
827db5
827db5
%if !0%{?rhel}
827db5
%files torrent-plugin
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/plugins/nbdkit-torrent-plugin.so
827db5
%{_mandir}/man1/nbdkit-torrent-plugin.1*
827db5
%endif
827db5
827db5
827db5
%ifarch x86_64
efa7a1
%files vddk-plugin
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
efa7a1
%{_mandir}/man1/nbdkit-vddk-plugin.1*
efa7a1
%endif
efa7a1
efa7a1
efa7a1
%files basic-filters
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/filters/nbdkit-blocksize-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-cache-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-cacheextents-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-checkwrite-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-cow-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-ddrescue-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-delay-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-error-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-exitlast-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-exitwhen-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-exportname-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-extentlist-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-fua-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-ip-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-limit-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-log-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-nocache-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-noextents-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-nofilter-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-noparallel-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-nozero-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-offset-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-partition-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-pause-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-rate-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-readahead-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-retry-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-stats-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-swab-filter.so
827db5
%{_libdir}/%{name}/filters/nbdkit-tls-fallback-filter.so
efa7a1
%{_libdir}/%{name}/filters/nbdkit-truncate-filter.so
efa7a1
%{_mandir}/man1/nbdkit-blocksize-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-cache-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-cacheextents-filter.1*
827db5
%{_mandir}/man1/nbdkit-checkwrite-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-cow-filter.1*
827db5
%{_mandir}/man1/nbdkit-ddrescue-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-delay-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-error-filter.1*
827db5
%{_mandir}/man1/nbdkit-exitlast-filter.1*
827db5
%{_mandir}/man1/nbdkit-exitwhen-filter.1*
827db5
%{_mandir}/man1/nbdkit-exportname-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-extentlist-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-fua-filter.1*
827db5
%{_mandir}/man1/nbdkit-ip-filter.1*
827db5
%{_mandir}/man1/nbdkit-limit-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-log-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-nocache-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-noextents-filter.1*
827db5
%{_mandir}/man1/nbdkit-nofilter-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-noparallel-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-nozero-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-offset-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-partition-filter.1*
827db5
%{_mandir}/man1/nbdkit-pause-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-rate-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-readahead-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-retry-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-stats-filter.1*
827db5
%{_mandir}/man1/nbdkit-swab-filter.1*
827db5
%{_mandir}/man1/nbdkit-tls-fallback-filter.1*
efa7a1
%{_mandir}/man1/nbdkit-truncate-filter.1*
efa7a1
efa7a1
827db5
%if !0%{?rhel}
827db5
%files ext2-filter
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/filters/nbdkit-ext2-filter.so
827db5
%{_mandir}/man1/nbdkit-ext2-filter.1*
827db5
%endif
827db5
827db5
827db5
%files gzip-filter
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/filters/nbdkit-gzip-filter.so
827db5
%{_mandir}/man1/nbdkit-gzip-filter.1*
827db5
827db5
827db5
%files tar-filter
827db5
%doc README
827db5
%license LICENSE
827db5
%{_libdir}/%{name}/filters/nbdkit-tar-filter.so
827db5
%{_mandir}/man1/nbdkit-tar-filter.1*
827db5
827db5
efa7a1
%files xz-filter
efa7a1
%doc README
efa7a1
%license LICENSE
efa7a1
%{_libdir}/%{name}/filters/nbdkit-xz-filter.so
efa7a1
%{_mandir}/man1/nbdkit-xz-filter.1*
efa7a1
efa7a1
efa7a1
%files devel
efa7a1
%doc BENCHMARKING OTHER_PLUGINS README SECURITY TODO
efa7a1
%license LICENSE
efa7a1
# Include the source of the example plugins in the documentation.
efa7a1
%doc plugins/example*/*.c
827db5
%if !0%{?rhel}
827db5
%doc plugins/example4/nbdkit-example4-plugin
827db5
%doc plugins/lua/example.lua
827db5
%endif
827db5
%if !0%{?rhel} && 0%{?have_ocaml}
827db5
%doc plugins/ocaml/example.ml
827db5
%endif
827db5
%if !0%{?rhel}
827db5
%doc plugins/perl/example.pl
827db5
%endif
827db5
%doc plugins/python/examples/*.py
827db5
%if !0%{?rhel}
827db5
%doc plugins/ruby/example.rb
827db5
%endif
efa7a1
%doc plugins/sh/example.sh
827db5
%if !0%{?rhel}
827db5
%doc plugins/tcl/example.tcl
827db5
%endif
efa7a1
%{_includedir}/nbdkit-common.h
efa7a1
%{_includedir}/nbdkit-filter.h
efa7a1
%{_includedir}/nbdkit-plugin.h
efa7a1
%{_includedir}/nbdkit-version.h
efa7a1
%{_includedir}/nbd-protocol.h
efa7a1
%{_mandir}/man3/nbdkit-filter.3*
efa7a1
%{_mandir}/man3/nbdkit-plugin.3*
efa7a1
%{_mandir}/man1/nbdkit-release-notes-1.*.1*
efa7a1
%{_libdir}/pkgconfig/nbdkit.pc
efa7a1
efa7a1
efa7a1
%files bash-completion
efa7a1
%license LICENSE
efa7a1
%dir %{_datadir}/bash-completion/completions
efa7a1
%{_datadir}/bash-completion/completions/nbdkit
efa7a1
efa7a1
efa7a1
%changelog
fcc3c9
* Wed Jan 26 2022 Richard W.M. Jones <rjones@redhat.com> - 1.24.0-4
fcc3c9
- Fix build on RHEL 8.6 with qemu >= 6.1
fcc3c9
  resolves: rhbz#2045945
fcc3c9
827db5
* Mon Sep 06 2021 Richard W.M. Jones <rjones@redhat.com> - 1.24.0-3
827db5
- Fix CVE-2021-3716 NBD_OPT_STRUCTURED_REPLY injection on STARTTLS
827db5
  resolves: rhbz#1994915
827db5
827db5
* Mon Sep 06 2021 Richard W.M. Jones <rjones@redhat.com> - 1.24.0-2
827db5
- Fix data corruption in zero and trim on unaligned tail
827db5
  resolves: rhbz#1990135
827db5
827db5
* Thu Sep 2 2021 Danilo C. L. de Paula <ddepaula@redhat.com> - 1.24.0-1.el8
827db5
- Resolves: bz#2000225
827db5
  (Rebase virt:rhel module:stream based on AV-8.6)
827db5
60545c
* Thu Jun 04 2020 Danilo C. L. de Paula <ddepaula@redhat.com> - 1.16.2
60545c
- Resolves: bz#1810193
60545c
  (Upgrade components in virt:rhel module:stream for RHEL-8.3 release)
60545c
efa7a1
* Mon Apr 27 2020 Danilo C. L. de Paula <ddepaula@redhat.com> - 1.16.2
efa7a1
- Resolves: bz#1810193
efa7a1
  (Upgrade components in virt:rhel module:stream for RHEL-8.3 release)
efa7a1
efa7a1
* Fri Jun 28 2019 Danilo de Paula <ddepaula@redhat.com> - 1.4.2-5
efa7a1
- Rebuild all virt packages to fix RHEL's upgrade path
efa7a1
- Resolves: rhbz#1695587
efa7a1
  (Ensure modular RPM upgrade path)
efa7a1
efa7a1
* Mon Dec 17 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.2-4
efa7a1
- Remove misguided LDFLAGS hack which removed server hardening.
efa7a1
  https://bugzilla.redhat.com/show_bug.cgi?id=1624149#c6
efa7a1
  resolves: rhbz#1624149
efa7a1
efa7a1
* Fri Dec 14 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.2-3
efa7a1
- Use platform-python
efa7a1
  resolves: rhbz#1659159
efa7a1
efa7a1
* Fri Aug 10 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.2-2
efa7a1
- Add Enhanced Python error reporting
efa7a1
  resolves: rhbz#1614750.
efa7a1
- Use copy-patches.sh script.
efa7a1
efa7a1
* Wed Aug  1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.2-1
efa7a1
- New stable version 1.4.2.
efa7a1
efa7a1
* Wed Jul 25 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-3
efa7a1
- Enable VDDK plugin on x86-64 only.
efa7a1
efa7a1
* Fri Jul 20 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-1
efa7a1
- New upstream version 1.4.1.
efa7a1
- Small refactorings in the spec file.
efa7a1
efa7a1
* Fri Jul  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.4.0-1
efa7a1
- New upstream version 1.4.0.
efa7a1
- New plugins: random, zero.
efa7a1
- New bash tab completion subpackage.
efa7a1
- Remove unused build dependencies.
efa7a1
efa7a1
* Sun Jul  1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-3
efa7a1
- Add all upstream patches since 1.2.4 was released.
efa7a1
efa7a1
* Tue Jun 12 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-2
efa7a1
- Add all upstream patches since 1.2.4 was released.
efa7a1
efa7a1
* Mon Jun 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-2
efa7a1
- Disable plugins and filters that we do not want to ship in RHEL 8.
efa7a1
efa7a1
* Sat Jun  9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-1
efa7a1
- New stable version 1.2.4.
efa7a1
- Remove upstream patches.
efa7a1
- Enable tarball signatures.
efa7a1
- Add upstream patch to fix tests when guestfish not available.
efa7a1
efa7a1
* Wed Jun  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
efa7a1
- New stable version 1.2.3.
efa7a1
- Add patch to work around libvirt problem with relative socket paths.
efa7a1
- Add patch to fix the xz plugin test with recent guestfish.
efa7a1
efa7a1
* Sat Apr 21 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-1
efa7a1
- New stable version 1.2.2.
efa7a1
efa7a1
* Mon Apr  9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-1
efa7a1
- New stable version 1.2.1.
efa7a1
efa7a1
* Fri Apr  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-1
efa7a1
- Move to stable branch version 1.2.0.
efa7a1
efa7a1
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.28-5
efa7a1
- Escape macros in %%changelog
efa7a1
efa7a1
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.28-4
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
efa7a1
efa7a1
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.28-3
efa7a1
- Switch to %%ldconfig_scriptlets
efa7a1
efa7a1
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 1.1.28-2
efa7a1
- Run a simplified test suite on all arches.
efa7a1
efa7a1
* Mon Jan 22 2018 Richard W.M. Jones <rjones@redhat.com> - 1.1.28-1
efa7a1
- New upstream version 1.1.28.
efa7a1
- Add two new filters to nbdkit-basic-filters.
efa7a1
efa7a1
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1.1.27-2
efa7a1
- Rebuilt for switch to libxcrypt
efa7a1
efa7a1
* Sat Jan 20 2018 Richard W.M. Jones <rjones@redhat.com> - 1.1.27-1
efa7a1
- New upstream version 1.1.27.
efa7a1
- Add new subpackage nbdkit-basic-filters containing new filters.
efa7a1
efa7a1
* Thu Jan 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1.1.26-2
efa7a1
- Rebuild against updated Ruby.
efa7a1
efa7a1
* Sat Dec 23 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.26-1
efa7a1
- New upstream version 1.1.26.
efa7a1
- Add new pkg-config file and dependency.
efa7a1
efa7a1
* Wed Dec 06 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.25-1
efa7a1
- New upstream version 1.1.25.
efa7a1
efa7a1
* Tue Dec 05 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.24-1
efa7a1
- New upstream version 1.1.24.
efa7a1
- Add tar plugin (new subpackage nbdkit-plugin-tar).
efa7a1
efa7a1
* Tue Dec 05 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.23-1
efa7a1
- New upstream version 1.1.23.
efa7a1
- Add example4 plugin.
efa7a1
- Python3 tests require libguestfs so disable on s390x.
efa7a1
efa7a1
* Sun Dec 03 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.22-1
efa7a1
- New upstream version 1.1.22.
efa7a1
- Enable tests on Fedora.
efa7a1
efa7a1
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.20-1
efa7a1
- New upstream version 1.1.20.
efa7a1
- Add nbdkit-split-plugin to basic plugins.
efa7a1
efa7a1
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-2
efa7a1
- OCaml 4.06.0 rebuild.
efa7a1
efa7a1
* Thu Nov 30 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-1
efa7a1
- New upstream version 1.1.19.
efa7a1
- Combine all the simple plugins in %%{name}-basic-plugins.
efa7a1
- Add memory and null plugins.
efa7a1
- Rename the example plugins subpackage.
efa7a1
- Use %%license instead of %%doc for license file.
efa7a1
- Remove patches now upstream.
efa7a1
efa7a1
* Wed Nov 29 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.18-4
efa7a1
- Fix Python 3 builds / RHEL macros (RHBZ#1404631).
efa7a1
efa7a1
* Tue Nov 21 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.18-3
efa7a1
- New upstream version 1.1.18.
efa7a1
- Add NBD forwarding plugin.
efa7a1
- Add libselinux-devel so that SELinux support is enabled in the daemon.
efa7a1
- Apply all patches from upstream since 1.1.18.
efa7a1
efa7a1
* Fri Oct 20 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.16-2
efa7a1
- New upstream version 1.1.16.
efa7a1
- Disable python3 plugin on RHEL/EPEL <= 7.
efa7a1
- Only ship on x86_64 in RHEL/EPEL <= 7.
efa7a1
efa7a1
* Wed Sep 27 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.15-1
efa7a1
- New upstream version 1.1.15.
efa7a1
- Enable TLS support.
efa7a1
efa7a1
* Fri Sep 01 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.14-1
efa7a1
- New upstream version 1.1.14.
efa7a1
efa7a1
* Fri Aug 25 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.13-1
efa7a1
- New upstream version 1.1.13.
efa7a1
- Remove patches which are all upstream.
efa7a1
- Remove grubby hack, should not be needed with modern supermin.
efa7a1
efa7a1
* Sat Aug 19 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-13
efa7a1
- Rebuild for OCaml 4.05.0.
efa7a1
efa7a1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-12
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
efa7a1
efa7a1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-11
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
efa7a1
efa7a1
* Tue Jun 27 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-10
efa7a1
- Rebuild for OCaml 4.04.2.
efa7a1
efa7a1
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.12-9
efa7a1
- Perl 5.26 rebuild
efa7a1
efa7a1
* Mon May 15 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-8
efa7a1
- Rebuild for OCaml 4.04.1.
efa7a1
efa7a1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-7
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
efa7a1
efa7a1
* Thu Jan 12 2017 VĂ­t Ondruch <vondruch@redhat.com> - 1.1.12-6
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
efa7a1
efa7a1
* Fri Dec 23 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-5
efa7a1
- Rebuild for Python 3.6 update.
efa7a1
efa7a1
* Wed Dec 14 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-4
efa7a1
- Fix python3 subpackage so it really uses python3 (RHBZ#1404631).
efa7a1
efa7a1
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-3
efa7a1
- Rebuild for OCaml 4.04.0.
efa7a1
efa7a1
* Mon Oct 03 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-2
efa7a1
- Compile Python 2 and Python 3 versions of the plugin.
efa7a1
efa7a1
* Wed Jun 08 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-1
efa7a1
- New upstream version 1.1.12
efa7a1
- Enable Ruby plugin.
efa7a1
- Disable tests on Rawhide because libvirt is broken again (RHBZ#1344016).
efa7a1
efa7a1
* Wed May 25 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-10
efa7a1
- Add another upstream patch since 1.1.11.
efa7a1
efa7a1
* Mon May 23 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-9
efa7a1
- Add all patches upstream since 1.1.11 (fixes RHBZ#1336758).
efa7a1
efa7a1
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.11-7
efa7a1
- Perl 5.24 rebuild
efa7a1
efa7a1
* Wed Mar 09 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-6
efa7a1
- When tests fail, dump out test-suite.log so we can debug it.
efa7a1
efa7a1
* Fri Feb 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-5
efa7a1
- Don't run tests on x86, because kernel is broken there
efa7a1
  (https://bugzilla.redhat.com/show_bug.cgi?id=1302071)
efa7a1
efa7a1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-4
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
efa7a1
efa7a1
* Mon Jan 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-3
efa7a1
- Add support for newstyle NBD protocol (RHBZ#1297100).
efa7a1
efa7a1
* Sat Oct 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-1
efa7a1
- New upstream version 1.1.11.
efa7a1
efa7a1
* Thu Jul 30 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-3
efa7a1
- OCaml 4.02.3 rebuild.
efa7a1
efa7a1
* Sat Jun 20 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-2
efa7a1
- Enable libguestfs plugin on aarch64.
efa7a1
efa7a1
* Fri Jun 19 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-1
efa7a1
- New upstream version.
efa7a1
- Enable now working OCaml plugin (requires OCaml >= 4.02.2).
efa7a1
efa7a1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-6
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
efa7a1
efa7a1
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.9-5
efa7a1
- Perl 5.22 rebuild
efa7a1
efa7a1
* Wed Jun 10 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.9-4
efa7a1
- Enable debugging messages when running make check.
efa7a1
efa7a1
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.9-3
efa7a1
- Perl 5.22 rebuild
efa7a1
efa7a1
* Tue Oct 14 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.9-2
efa7a1
- New upstream version 1.1.9.
efa7a1
- Add the streaming plugin.
efa7a1
- Include fix for streaming plugin in 1.1.9.
efa7a1
efa7a1
* Wed Sep 10 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.8-4
efa7a1
- Rebuild for updated Perl in Rawhide.
efa7a1
- Workaround for broken libvirt (RHBZ#1138604).
efa7a1
efa7a1
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
efa7a1
efa7a1
* Sat Jun 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.8-1
efa7a1
- New upstream version 1.1.8.
efa7a1
- Add support for cURL, and new nbdkit-plugin-curl package.
efa7a1
efa7a1
* Fri Jun 20 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-1
efa7a1
- New upstream version 1.1.7.
efa7a1
- Remove patches which are now all upstream.
efa7a1
efa7a1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
efa7a1
efa7a1
* Thu Mar 06 2014 Dan HorĂ¡k <dan[at]danny.cz> - 1.1.6-4
efa7a1
- libguestfs is available only on selected arches
efa7a1
efa7a1
* Fri Feb 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-3
efa7a1
- Backport some upstream patches, fixing a minor bug and adding more tests.
efa7a1
- Enable the tests since kernel bug is fixed.
efa7a1
efa7a1
* Sun Feb 16 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-1
efa7a1
- New upstream version 1.1.6.
efa7a1
efa7a1
* Sat Feb 15 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.5-2
efa7a1
- New upstream version 1.1.5.
efa7a1
- Enable the new Python plugin.
efa7a1
- Perl plugin man page moved to section 3.
efa7a1
- Perl now requires ExtUtils::Embed.
efa7a1
efa7a1
* Mon Feb 10 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.4-1
efa7a1
- New upstream version 1.1.4.
efa7a1
- Enable the new Perl plugin.
efa7a1
efa7a1
* Sun Aug  4 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.3-1
efa7a1
- New upstream version 1.1.3 which fixes some test problems.
efa7a1
- Disable tests because Rawhide kernel is broken (RHBZ#991808).
efa7a1
- Remove a single quote from description which confused emacs.
efa7a1
- Remove patch, now upstream.
efa7a1
efa7a1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
efa7a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
efa7a1
efa7a1
* Sun Jul 21 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-3
efa7a1
- Fix segfault when IPv6 client is used (RHBZ#986601).
efa7a1
efa7a1
* Tue Jul 16 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-2
efa7a1
- New development version 1.1.2.
efa7a1
- Disable the tests on Fedora <= 18.
efa7a1
efa7a1
* Tue Jun 25 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.1-1
efa7a1
- New development version 1.1.1.
efa7a1
- Add libguestfs plugin.
efa7a1
- Run the test suite.
efa7a1
efa7a1
* Mon Jun 24 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
efa7a1
- Initial release.