|
|
efa7a1 |
%global _hardened_build 1
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%ifarch aarch64 %{arm} x86_64 ppc %{power64}
|
|
|
efa7a1 |
%global have_libguestfs 1
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
|
|
|
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 |
|
|
|
efa7a1 |
# Disable libvirt on riscv64 for now.
|
|
|
efa7a1 |
%ifnarch riscv64
|
|
|
efa7a1 |
%global have_libvirt 1
|
|
|
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.
|
|
|
efa7a1 |
%global patches_touch_autotools 1
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# The source directory.
|
|
|
efa7a1 |
%global source_directory 1.16-stable
|
|
|
efa7a1 |
|
|
|
efa7a1 |
Name: nbdkit
|
|
|
efa7a1 |
Version: 1.16.2
|
|
|
60545c |
Release: 4%{?dist}
|
|
|
efa7a1 |
Summary: NBD server
|
|
|
efa7a1 |
|
|
|
efa7a1 |
License: BSD
|
|
|
efa7a1 |
URL: https://github.com/libguestfs/nbdkit
|
|
|
efa7a1 |
|
|
|
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 |
|
|
|
efa7a1 |
# Patches come from this upstream branch:
|
|
|
efa7a1 |
# https://github.com/libguestfs/nbdkit/tree/rhel-8.2
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# Patches.
|
|
|
efa7a1 |
Patch0001: 0001-server-Allow-D-nbdkit.-debug-flags-for-the-core-serv.patch
|
|
|
efa7a1 |
Patch0002: 0002-server-Allow-D-debug-flags-to-contain-dots-for-names.patch
|
|
|
efa7a1 |
Patch0003: 0003-server-Add-D-nbdkit.backend.controlpath-and-D-nbdkit.patch
|
|
|
efa7a1 |
Patch0004: 0004-python-Add-various-constants-to-the-API.patch
|
|
|
efa7a1 |
Patch0005: 0005-python-Implement-nbdkit-API-version-2.patch
|
|
|
efa7a1 |
Patch0006: 0006-python-Implement-cache.patch
|
|
|
efa7a1 |
Patch0007: 0007-python-Implement-can_zero-can_fast_zero.patch
|
|
|
efa7a1 |
Patch0008: 0008-python-Implement-can_multi_conn.patch
|
|
|
efa7a1 |
Patch0009: 0009-python-Implement-can_fua-and-can_cache.patch
|
|
|
efa7a1 |
Patch0010: 0010-tests-Test-the-Python-plugin-thoroughly.patch
|
|
|
efa7a1 |
Patch0011: 0011-New-filter-extentlist.patch
|
|
|
efa7a1 |
Patch0012: 0012-extentlist-Documentation-and-test-fixes.patch
|
|
|
60545c |
Patch0013: 0013-vddk-Update-for-VDDK-7.0-RHBZ-1831969.patch
|
|
|
60545c |
Patch0014: 0014-common-include-Add-ASCII-only-ctype-header-and-ascii.patch
|
|
|
60545c |
Patch0015: 0015-curl-Remove-some-useless-debug-messages.patch
|
|
|
60545c |
Patch0016: 0016-curl-Fix-D-curl.verbose-1-option.patch
|
|
|
60545c |
Patch0017: 0017-curl-Case-insensitive-check-for-accept-ranges-RHBZ-1.patch
|
|
|
60545c |
Patch0018: 0018-sh-Don-t-need-to-cast-parameter-of-ascii_is-to-unsig.patch
|
|
|
60545c |
Patch0019: 0019-common-include-Add-locale-safe-ascii_strcasecmp-and-.patch
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%if 0%{patches_touch_autotools}
|
|
|
efa7a1 |
BuildRequires: autoconf, automake, libtool
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%if 0%{patches_touch_autotools}
|
|
|
efa7a1 |
BuildRequires: autoconf, automake, libtool
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%if 0%{?rhel} == 8
|
|
|
efa7a1 |
# On RHEL 8, we cannot build the package on i686 (no virt stack).
|
|
|
efa7a1 |
ExcludeArch: i686
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%ifnarch %{complete_test_arches}
|
|
|
efa7a1 |
BuildRequires: autoconf, automake, libtool
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
BuildRequires: /usr/bin/pod2man
|
|
|
efa7a1 |
BuildRequires: gnutls-devel
|
|
|
efa7a1 |
BuildRequires: libselinux-devel
|
|
|
efa7a1 |
%if 0%{?have_libguestfs}
|
|
|
efa7a1 |
BuildRequires: libguestfs-devel
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
%if 0%{?have_libvirt}
|
|
|
efa7a1 |
BuildRequires: libvirt-devel
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
BuildRequires: xz-devel
|
|
|
efa7a1 |
BuildRequires: zlib-devel
|
|
|
efa7a1 |
BuildRequires: libcurl-devel
|
|
|
efa7a1 |
BuildRequires: libssh-devel
|
|
|
efa7a1 |
BuildRequires: e2fsprogs, e2fsprogs-devel
|
|
|
efa7a1 |
BuildRequires: bash-completion
|
|
|
efa7a1 |
BuildRequires: perl-devel
|
|
|
efa7a1 |
BuildRequires: perl(ExtUtils::Embed)
|
|
|
efa7a1 |
BuildRequires: python3-devel
|
|
|
efa7a1 |
%if 0%{verify_tarball_signature}
|
|
|
efa7a1 |
BuildRequires: gnupg2
|
|
|
efa7a1 |
%endif
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# Only for running the test suite:
|
|
|
efa7a1 |
BuildRequires: /usr/bin/certtool
|
|
|
efa7a1 |
BuildRequires: jq
|
|
|
efa7a1 |
BuildRequires: /usr/bin/nbdsh
|
|
|
efa7a1 |
BuildRequires: /usr/bin/qemu-img
|
|
|
efa7a1 |
BuildRequires: /usr/bin/socat
|
|
|
efa7a1 |
BuildRequires: /usr/sbin/ss
|
|
|
efa7a1 |
BuildRequires: /usr/bin/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 |
|
|
|
efa7a1 |
In Red Hat Enterprise Linux, '%{name}' is a meta-package which pulls
|
|
|
efa7a1 |
in the core server and a useful subset of plugins and filters.
|
|
|
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 |
Conflicts: nbdkit < 1.12
|
|
|
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}
|
|
|
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}
|
|
|
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}
|
|
|
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
|
|
|
efa7a1 |
This package contains some basic plugins for %{name} which have only
|
|
|
efa7a1 |
trivial dependencies.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-data-plugin Serve small amounts of data from the command line.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-file-plugin The normal file plugin for serving files.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-floppy-plugin Create a virtual floppy disk from a directory.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-full-plugin A virtual disk that returns ENOSPC errors.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-info-plugin Serve client and server information.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-memory-plugin A virtual memory plugin.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-null-plugin A null (bitbucket) plugin.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-pattern-plugin Fixed test pattern.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-partitioning-plugin Create virtual disks from partitions.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-random-plugin Random content plugin for testing.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-sh-plugin Write plugins as shell scripts or executables.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-split-plugin Concatenate one or more files.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-streaming-plugin A streaming file serving plugin.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
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}
|
|
|
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 |
|
|
|
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 |
|
|
|
efa7a1 |
%package gzip-plugin
|
|
|
efa7a1 |
Summary: GZip file serving plugin for %{name}
|
|
|
efa7a1 |
License: BSD
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# Upgrade path from RHEL 8.0
|
|
|
efa7a1 |
Provides: %{name}-plugin-gzip = %{version}-%{release}
|
|
|
efa7a1 |
Obsoletes: %{name}-plugin-gzip <= %{version}-%{release}
|
|
|
efa7a1 |
|
|
|
efa7a1 |
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
|
|
efa7a1 |
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%description gzip-plugin
|
|
|
efa7a1 |
This package is a gzip file serving plugin for %{name}.
|
|
|
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 |
|
|
|
efa7a1 |
%package python-plugin
|
|
|
efa7a1 |
Summary: Python 3 plugin for %{name}
|
|
|
efa7a1 |
License: BSD
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# Upgrade path from RHEL 8.0
|
|
|
efa7a1 |
Provides: %{name}-plugin-python-common = %{version}-%{release}
|
|
|
efa7a1 |
Obsoletes: %{name}-plugin-python-common <= %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-plugin-python3 = %{version}-%{release}
|
|
|
efa7a1 |
Obsoletes: %{name}-plugin-python3 <= %{version}-%{release}
|
|
|
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 |
|
|
|
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 |
|
|
|
efa7a1 |
%ifarch %{ix86} x86_64
|
|
|
efa7a1 |
%package vddk-plugin
|
|
|
efa7a1 |
Summary: VMware VDDK plugin for %{name}
|
|
|
efa7a1 |
License: BSD
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# Upgrade path from RHEL 8.0
|
|
|
efa7a1 |
Provides: %{name}-plugin-vddk = %{version}-%{release}
|
|
|
efa7a1 |
Obsoletes: %{name}-plugin-vddk <= %{version}-%{release}
|
|
|
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}
|
|
|
efa7a1 |
Provides: %{name}-cow-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-delay-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-error-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-extentlist-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-fua-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-log-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-nocache-filter = %{version}-%{release}
|
|
|
efa7a1 |
Provides: %{name}-noextents-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}
|
|
|
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}
|
|
|
efa7a1 |
Provides: %{name}-truncate-filter = %{version}-%{release}
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%description basic-filters
|
|
|
efa7a1 |
This package contains some basic filters for %{name} which have only
|
|
|
efa7a1 |
trivial dependencies.
|
|
|
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 |
|
|
|
efa7a1 |
nbdkit-cow-filter Copy-on-write overlay for read-only plugins.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-delay-filter Inject read and write delays.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-error-filter Inject errors.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-extentlist-filter Place extent list over a plugin.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
nbdkit-fua-filter Modify flush behaviour in plugins.
|
|
|
efa7a1 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
efa7a1 |
nbdkit-truncate-filter Truncate, expand, round up or round down size.
|
|
|
efa7a1 |
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%package xz-filter
|
|
|
efa7a1 |
Summary: XZ filter for %{name}
|
|
|
efa7a1 |
License: BSD
|
|
|
efa7a1 |
|
|
|
efa7a1 |
# Upgrade path from RHEL 8.0
|
|
|
efa7a1 |
Provides: %{name}-plugin-xz = %{version}-%{release}
|
|
|
efa7a1 |
Obsoletes: %{name}-plugin-xz <= %{version}-%{release}
|
|
|
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.
|
|
|
efa7a1 |
sed -i -e '/^if HAVE_LIBGUESTFS/,/^endif HAVE_LIBGUESTFS/d' 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
|
|
|
efa7a1 |
%configure \
|
|
|
efa7a1 |
PYTHON=%{_bindir}/python3 \
|
|
|
efa7a1 |
--disable-static \
|
|
|
efa7a1 |
--disable-lua \
|
|
|
efa7a1 |
--disable-perl \
|
|
|
efa7a1 |
--disable-nbd-plugin \
|
|
|
efa7a1 |
--disable-ocaml \
|
|
|
efa7a1 |
--disable-ruby \
|
|
|
efa7a1 |
--disable-rust \
|
|
|
efa7a1 |
--disable-ruby \
|
|
|
efa7a1 |
--disable-tcl \
|
|
|
efa7a1 |
--without-ext2 \
|
|
|
efa7a1 |
--without-iso \
|
|
|
efa7a1 |
--without-libguestfs \
|
|
|
efa7a1 |
--without-libvirt \
|
|
|
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 |
|
|
|
efa7a1 |
make %{?_smp_mflags}
|
|
|
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 |
|
|
|
efa7a1 |
|
|
|
efa7a1 |
%check
|
|
|
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 |
# Temporarily kill tests/test-shutdown.sh because this test is racy on
|
|
|
efa7a1 |
# slow hardware.
|
|
|
efa7a1 |
truncate -s 0 tests/test-shutdown.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 |
|
|
|
efa7a1 |
# Make sure we can see the debug messages (RHBZ#1230160).
|
|
|
efa7a1 |
export LIBGUESTFS_DEBUG=1
|
|
|
efa7a1 |
export LIBGUESTFS_TRACE=1
|
|
|
efa7a1 |
|
|
|
efa7a1 |
make %{?_smp_mflags} check || {
|
|
|
efa7a1 |
cat tests/test-suite.log
|
|
|
efa7a1 |
exit 1
|
|
|
efa7a1 |
}
|
|
|
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*
|
|
|
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
|
|
|
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
|
|
|
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
|
|
|
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*
|
|
|
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*
|
|
|
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*
|
|
|
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
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-example*-plugin.1*
|
|
|
efa7a1 |
|
|
|
efa7a1 |
|
|
|
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 |
|
|
|
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*
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
efa7a1 |
%ifarch %{ix86} 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
|
|
|
efa7a1 |
%{_libdir}/%{name}/filters/nbdkit-cow-filter.so
|
|
|
efa7a1 |
%{_libdir}/%{name}/filters/nbdkit-delay-filter.so
|
|
|
efa7a1 |
%{_libdir}/%{name}/filters/nbdkit-error-filter.so
|
|
|
efa7a1 |
%{_libdir}/%{name}/filters/nbdkit-extentlist-filter.so
|
|
|
efa7a1 |
%{_libdir}/%{name}/filters/nbdkit-fua-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
|
|
|
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
|
|
|
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
|
|
|
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*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-cow-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-delay-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-error-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-extentlist-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-fua-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-log-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-nocache-filter.1*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-noextents-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*
|
|
|
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*
|
|
|
efa7a1 |
%{_mandir}/man1/nbdkit-truncate-filter.1*
|
|
|
efa7a1 |
|
|
|
efa7a1 |
|
|
|
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
|
|
|
efa7a1 |
%doc plugins/python/example.py
|
|
|
efa7a1 |
%doc plugins/sh/example.sh
|
|
|
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
|
|
|
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.
|