52155f
%global _hardened_build 1
52155f
52155f
%ifarch aarch64 %{arm} %{ix86} x86_64 ppc %{power64}
52155f
%global have_libguestfs 1
52155f
%endif
52155f
52155f
# Architectures where the complete test suite must pass.
52155f
#
52155f
# On all other architectures, a simpler test suite must pass.  This
52155f
# omits any tests that run full qemu, since running qemu under TCG is
52155f
# often broken on non-x86_64 arches.
52155f
%global complete_test_arches x86_64
52155f
52155f
# Currently everything has Python 2.  RHEL 7 doesn't have Python 3.
52155f
%if 0%{?rhel} != 7
52155f
%global have_python3 1
52155f
%endif
52155f
52155f
# If we should verify tarball signature with GPGv2.
52155f
%global verify_tarball_signature 1
52155f
52155f
# If there are patches which touch autotools files, set this to 1.
52155f
%global patches_touch_autotools 1
52155f
52155f
# The source directory.
0ab9eb
%global source_directory 1.8-stable
52155f
52155f
Name:           nbdkit
0ab9eb
Version:        1.8.0
dfcc0c
Release:        4%{?dist}
52155f
Summary:        NBD server
52155f
52155f
License:        BSD
52155f
URL:            https://github.com/libguestfs/nbdkit
52155f
52155f
Source0:        http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz
52155f
%if 0%{verify_tarball_signature}
52155f
Source1:        http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz.sig
52155f
# Keyring used to verify tarball signature.
52155f
Source2:       libguestfs.keyring
52155f
%endif
52155f
52155f
# Patches come from:
dd8626
# https://github.com/libguestfs/nbdkit/tree/rhel-7.8
0ab9eb
0ab9eb
# Patches.
0ab9eb
Patch0001:     0001-partitioning-Rename-crc32-to-efi_crc32-to-avoid-conf.patch
dd8626
Patch0002:     0002-server-Wait-until-handshake-complete-before-calling-.patch
52155f
52155f
%if 0%{patches_touch_autotools}
52155f
BuildRequires: autoconf, automake, libtool
52155f
%endif
52155f
52155f
%if 0%{?rhel} == 7
52155f
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
52155f
# libguestfs was not shipped on POWER (fixed in 7.5).  We could in
52155f
# theory make all of this work by having lots more conditionals, but
52155f
# for now limit this package to x86_64 on RHEL.
52155f
ExclusiveArch:  x86_64
52155f
%endif
52155f
52155f
%ifnarch %{complete_test_arches}
52155f
BuildRequires:  autoconf, automake, libtool
52155f
%endif
52155f
BuildRequires:  /usr/bin/pod2man
52155f
BuildRequires:  gnutls-devel
52155f
BuildRequires:  libselinux-devel
52155f
%if 0%{?have_libguestfs}
52155f
BuildRequires:  libguestfs-devel
52155f
%endif
52155f
BuildRequires:  libvirt-devel
52155f
BuildRequires:  xz-devel
52155f
BuildRequires:  zlib-devel
52155f
BuildRequires:  libcurl-devel
52155f
BuildRequires:  perl-devel
52155f
BuildRequires:  perl(ExtUtils::Embed)
52155f
BuildRequires:  python2-devel
52155f
%if 0%{?have_python3}
52155f
BuildRequires:  python3-devel
52155f
%endif
52155f
%ifarch %{ocaml_native_compiler}
52155f
# Requires OCaml 4.02.2 which contains fix for
52155f
# http://caml.inria.fr/mantis/view.php?id=6693
52155f
BuildRequires:  ocaml >= 4.02.2
52155f
%endif
52155f
BuildRequires:  ruby-devel
52155f
%if 0%{verify_tarball_signature}
52155f
BuildRequires: gnupg2
52155f
%endif
52155f
52155f
# Only for running the test suite:
52155f
BuildRequires:  /usr/bin/certtool
52155f
BuildRequires:  /usr/bin/qemu-img
52155f
BuildRequires:  /usr/bin/socat
52155f
BuildRequires:  /usr/sbin/ss
52155f
52155f
%description
52155f
NBD is a protocol for accessing block devices (hard disks and
52155f
disk-like things) over the network.
52155f
52155f
'nbdkit' is a toolkit for creating NBD servers.
52155f
52155f
The key features are:
52155f
52155f
* Multithreaded NBD server written in C with good performance.
52155f
52155f
* Well-documented, simple plugin API with a stable ABI guarantee.
52155f
  Allows you to export "unconventional" block devices easily.
52155f
52155f
* Liberal license (BSD) allows nbdkit to be linked to proprietary
52155f
  libraries or included in proprietary code.
52155f
52155f
You probably want to install one of more plugins (%{name}-plugin-*).
52155f
52155f
To develop plugins, install the %{name}-devel package and start by
52155f
reading the nbdkit(1) and nbdkit-plugin(3) manual pages.
52155f
52155f
52155f
%package basic-plugins
52155f
Summary:        Basic plugins for %{name}
52155f
License:        BSD
52155f
52155f
Requires:       %{name}%{?_isa} = %{version}-%{release}
52155f
52155f
# For upgrade path, remove these in Fedora 30.
52155f
Obsoletes:      %{name}-plugin-file < 1.1.19-1
52155f
Obsoletes:      %{name}-plugin-nbd < 1.1.19-1
52155f
Obsoletes:      %{name}-plugin-streaming < 1.1.19-1
52155f
52155f
52155f
%description basic-plugins
52155f
This package contains some basic plugins for %{name} which have only
52155f
trivial dependencies.
52155f
0ab9eb
nbdkit-data-plugin         Serve small amounts of data from the command line.
52155f
0ab9eb
nbdkit-file-plugin         The normal file plugin for serving files.
52155f
0ab9eb
nbdkit-memory-plugin       A virtual memory plugin.
52155f
0ab9eb
nbdkit-nbd-plugin          An NBD forwarding plugin.
52155f
0ab9eb
nbdkit-null-plugin         A null (bitbucket) plugin.
52155f
0ab9eb
nbdkit-pattern-plugin      Fixed test pattern.
52155f
0ab9eb
nbdkit-partitioning-plugin Create virtual disks from partitions.
52155f
0ab9eb
nbdkit-random-plugin       Random content plugin for testing.
52155f
0ab9eb
nbdkit-split-plugin        Concatenate one or more files.
52155f
0ab9eb
nbdkit-streaming-plugin    A streaming file serving plugin.
52155f
0ab9eb
nbdkit-zero-plugin         Zero-length plugin for testing.
52155f
52155f
52155f
%package example-plugins
52155f
Summary:        Example plugins for %{name}
52155f
License:        BSD
52155f
52155f
Requires:       %{name}%{?_isa} = %{version}-%{release}
52155f
52155f
# For upgrade path, remove this in Fedora 30.
52155f
Obsoletes:      %{name}-plugin-examples < 1.1.19-1
52155f
52155f
52155f
%description example-plugins
52155f
This package contains example plugins for %{name}.
52155f
52155f
52155f
# The plugins below have non-trivial dependencies are so are
52155f
# packaged separately.
52155f
52155f
%package plugin-python-common
52155f
Summary:        Python 2 and 3 plugin common files for %{name}
52155f
License:        BSD
52155f
52155f
Requires:       %{name}%{?_isa} = %{version}-%{release}
52155f
52155f
52155f
%description plugin-python-common
52155f
This package contains common files shared between Python 2
52155f
and Python 3 %{name} plugins.
52155f
52155f
You should not install this package directly.  Instead install
52155f
either %{name}-plugin-python2 or %{name}-plugin-python3.
52155f
52155f
52155f
%package plugin-python2
52155f
Summary:        Python 2 plugin for %{name}
52155f
License:        BSD
52155f
52155f
Requires:       %{name}%{?_isa} = %{version}-%{release}
52155f
Requires:       %{name}-plugin-python-common = %{version}-%{release}
52155f
52155f
52155f
%description plugin-python2
52155f
This package lets you write Python 2 plugins for %{name}.
52155f
52155f
52155f
%ifarch %{ix86} x86_64
52155f
%package plugin-vddk
52155f
Summary:        VMware VDDK plugin for %{name}
52155f
License:        BSD
52155f
52155f
Requires:       %{name}%{?_isa} = %{version}-%{release}
52155f
52155f
52155f
%description plugin-vddk
52155f
This package is a plugin for %{name} which connects to
52155f
VMware VDDK for accessing VMware disks and servers.
52155f
%endif
52155f
52155f
52155f
%package devel
52155f
Summary:        Development files and documentation for %{name}
52155f
License:        BSD
52155f
52155f
Requires:       %{name}%{?_isa} = %{version}-%{release}
52155f
Requires:       pkgconfig
52155f
52155f
52155f
%description devel
52155f
This package contains development files and documentation
52155f
for %{name}.  Install this package if you want to develop
52155f
plugins for %{name}.
52155f
52155f
52155f
%prep
52155f
%if 0%{verify_tarball_signature}
52155f
tmphome="$(mktemp -d)"
52155f
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
52155f
%endif
52155f
%autosetup -p1
52155f
%if 0%{patches_touch_autotools}
52155f
autoreconf -i
52155f
%endif
52155f
52155f
%ifnarch %{complete_test_arches}
52155f
# Simplify the test suite so it doesn't require qemu.
52155f
sed -i -e '/^if HAVE_LIBGUESTFS/,/^endif HAVE_LIBGUESTFS/d' tests/Makefile.am
52155f
sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am
0ab9eb
automake
52155f
%endif
52155f
0ab9eb
# Disable numerous tests which cannot work with ancient gnutls or
0ab9eb
# qemu-img on RHEL 7.
0ab9eb
for f in tests/test-cache.sh \
0ab9eb
         tests/test-cow.sh \
0ab9eb
         tests/test-data-7E.sh \
0ab9eb
         tests/test-data-file.sh \
0ab9eb
         tests/test-data-raw.sh \
0ab9eb
         tests/test-floppy.sh \
0ab9eb
         tests/test-fua.sh \
0ab9eb
         tests/test-iso.sh \
0ab9eb
         tests/test-log.sh \
0ab9eb
         tests/test-memory-largest-for-qemu.sh \
0ab9eb
         tests/test-offset2.sh \
0ab9eb
         tests/test-parallel-file.sh \
0ab9eb
         tests/test-parallel-nbd.sh \
0ab9eb
         tests/test-partitioning2.sh \
0ab9eb
         tests/test-partitioning3.sh \
0ab9eb
         tests/test-pattern.sh \
0ab9eb
         tests/test-pattern-largest-for-qemu.sh \
0ab9eb
         tests/test-truncate1.sh \
0ab9eb
         tests/test-truncate2.sh ; do
0ab9eb
    rm $f
0ab9eb
    touch $f
0ab9eb
    chmod +x $f
0ab9eb
done
0ab9eb
52155f
# Patch doesn't set permissions correctly. XXX
52155f
chmod +x tests/test-vddk.sh
52155f
52155f
52155f
%build
52155f
# Force immediate binding for hardened build for plugins.
52155f
# https://bugzilla.redhat.com/show_bug.cgi?id=977446#c13
52155f
export LDFLAGS="$LDFLAGS -Wl,-z,now"
52155f
52155f
# Build for Python 3 in a separate subdirectory.  Upstream does not
52155f
# support srcdir!=builddir so copy the whole source.
52155f
copy="$(mktemp -d)"
52155f
cp -a . "$copy"
52155f
mv "$copy" python3
52155f
32d5e0
%configure --disable-static --with-tls-priority=NORMAL \
0ab9eb
	--disable-lua \
52155f
	--disable-perl \
52155f
	--disable-ocaml \
52155f
	--disable-ruby \
52155f
	--without-curl \
dd8626
	--without-ext2 \
52155f
	--without-libvirt \
52155f
	--without-zlib \
52155f
	--without-liblzma \
52155f
	--without-libguestfs
52155f
make %{?_smp_mflags}
52155f
52155f
%if 0%{?have_python3}
52155f
pushd python3
52155f
export PYTHON=%{_bindir}/python3
0ab9eb
%configure --disable-static --disable-lua --disable-perl --disable-ocaml --disable-ruby
52155f
# Verify that it picked the correct version of Python
52155f
# to avoid RHBZ#1404631 happening again silently.
52155f
grep '^PYTHON_VERSION = 3' Makefile
52155f
make %{?_smp_mflags}
52155f
unset PYTHON
52155f
popd
52155f
%endif
52155f
52155f
52155f
%install
52155f
%make_install
52155f
52155f
pushd $RPM_BUILD_ROOT%{_libdir}/nbdkit/plugins/
52155f
mv nbdkit-python-plugin.so nbdkit-python2-plugin.so
52155f
# For backwards compatibility, "the" python plugin is Python 2.
52155f
# Probably we will change this in future if Fedora switches
52155f
# exclusively to Python 3.
52155f
ln -s nbdkit-python2-plugin.so nbdkit-python-plugin.so
52155f
popd
52155f
52155f
# Disable built-in filters but leave the empty directory.
52155f
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/filters/nbdkit-*-filter.so
52155f
rm -r $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-*-filter.1*
52155f
52155f
# Delete libtool crap.
52155f
find $RPM_BUILD_ROOT -name '*.la' -delete
52155f
52155f
# Delete the VDDK plugin on !x86 architectures since it is not
52155f
# applicable there.
52155f
%ifnarch %{ix86} x86_64
52155f
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
52155f
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-vddk-plugin.1*
52155f
%endif
52155f
0ab9eb
# Remove bash-completion (if it was built) because we don't want to
0ab9eb
# support it.
0ab9eb
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
0ab9eb
0ab9eb
# Remove some basic plugins which we don't want to support.  We may
0ab9eb
# add these back later if there is customer demand.
0ab9eb
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-floppy-plugin.so
0ab9eb
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-floppy-plugin.1*
0ab9eb
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-iso-plugin.so
0ab9eb
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-iso-plugin.1*
0ab9eb
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-sh-plugin.so
0ab9eb
rm $RPM_BUILD_ROOT%{_mandir}/man3/nbdkit-sh-plugin.3*
0ab9eb
52155f
52155f
%check
52155f
# Workaround for broken libvirt (RHBZ#1138604).
52155f
mkdir -p $HOME/.cache/libvirt
52155f
52155f
# Make sure we can see the debug messages (RHBZ#1230160).
52155f
export LIBGUESTFS_DEBUG=1
52155f
export LIBGUESTFS_TRACE=1
52155f
52155f
make check -j1 || {
52155f
    cat tests/test-suite.log
52155f
    exit 1
52155f
  }
52155f
52155f
52155f
%files
52155f
%doc README
52155f
%license LICENSE
52155f
%{_sbindir}/nbdkit
52155f
%dir %{_libdir}/%{name}
52155f
%dir %{_libdir}/%{name}/plugins
52155f
%dir %{_libdir}/%{name}/filters
52155f
%{_mandir}/man1/nbdkit.1*
52155f
52155f
52155f
%files basic-plugins
52155f
%doc README
52155f
%license LICENSE
0ab9eb
%{_libdir}/%{name}/plugins/nbdkit-data-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-file-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-memory-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-nbd-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-null-plugin.so
0ab9eb
%{_libdir}/%{name}/plugins/nbdkit-partitioning-plugin.so
0ab9eb
%{_libdir}/%{name}/plugins/nbdkit-pattern-plugin.so
0ab9eb
%{_libdir}/%{name}/plugins/nbdkit-random-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-split-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-streaming-plugin.so
0ab9eb
%{_libdir}/%{name}/plugins/nbdkit-zero-plugin.so
0ab9eb
%{_mandir}/man1/nbdkit-data-plugin.1*
52155f
%{_mandir}/man1/nbdkit-file-plugin.1*
52155f
%{_mandir}/man1/nbdkit-memory-plugin.1*
52155f
%{_mandir}/man1/nbdkit-nbd-plugin.1*
52155f
%{_mandir}/man1/nbdkit-null-plugin.1*
0ab9eb
%{_mandir}/man1/nbdkit-partitioning-plugin.1*
0ab9eb
%{_mandir}/man1/nbdkit-pattern-plugin.1*
0ab9eb
%{_mandir}/man1/nbdkit-random-plugin.1*
52155f
%{_mandir}/man1/nbdkit-split-plugin.1*
52155f
%{_mandir}/man1/nbdkit-streaming-plugin.1*
0ab9eb
%{_mandir}/man1/nbdkit-zero-plugin.1*
52155f
52155f
52155f
%files example-plugins
52155f
%doc README
52155f
%license LICENSE
52155f
%{_libdir}/%{name}/plugins/nbdkit-example*-plugin.so
52155f
%{_mandir}/man1/nbdkit-example*-plugin.1*
52155f
52155f
52155f
%files plugin-python-common
52155f
%doc README
52155f
%license LICENSE
52155f
%{_mandir}/man3/nbdkit-python-plugin.3*
52155f
52155f
52155f
%files plugin-python2
52155f
%{_libdir}/%{name}/plugins/nbdkit-python-plugin.so
52155f
%{_libdir}/%{name}/plugins/nbdkit-python2-plugin.so
52155f
52155f
52155f
%ifarch %{ix86} x86_64
52155f
%files plugin-vddk
52155f
%doc README
52155f
%license LICENSE
52155f
%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
52155f
%{_mandir}/man1/nbdkit-vddk-plugin.1*
52155f
%endif
52155f
52155f
52155f
%files devel
52155f
%doc OTHER_PLUGINS README TODO
52155f
%license LICENSE
52155f
# Include the source of the example plugins in the documentation.
52155f
%doc plugins/example*/*.c
52155f
#%doc plugins/example4/nbdkit-example4-plugin
52155f
#%doc plugins/perl/example.pl
52155f
#%doc plugins/python/example.py
52155f
#%doc plugins/ruby/example.rb
52155f
%{_includedir}/nbdkit-common.h
52155f
%{_includedir}/nbdkit-filter.h
52155f
%{_includedir}/nbdkit-plugin.h
0ab9eb
%{_mandir}/man1/nbdkit-captive.1*
52155f
%{_mandir}/man3/nbdkit-filter.3*
52155f
%{_mandir}/man3/nbdkit-plugin.3*
0ab9eb
%{_mandir}/man1/nbdkit-probing.1*
0ab9eb
%{_mandir}/man1/nbdkit-protocol.1*
0ab9eb
%{_mandir}/man1/nbdkit-service.1*
0ab9eb
%{_mandir}/man1/nbdkit-tls.1*
52155f
%{_libdir}/pkgconfig/nbdkit.pc
52155f
52155f
52155f
%changelog
dfcc0c
* Fri Apr  3 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-4
dfcc0c
- Remove workaround for ancient qemu-io
dfcc0c
  resolves: rhbz#1820275
dfcc0c
dd8626
* Tue Oct  1 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-3
dd8626
- Fix for CVE-2019-14850 denial of service due to premature opening
dd8626
  of back-end connection
dd8626
  resolves: rhbz#1757261
dd8626
dd8626
* Wed Jun 26 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-2
dd8626
- Explicitly disable nbdkit-ext2-plugin in configure
dd8626
  resolves: rhbz#1724242
dd8626
0ab9eb
* Tue Nov 13 2018 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-1
0ab9eb
- Rebase to upstream stable version 1.8.0.
0ab9eb
  resolves: rhbz#1621894
0ab9eb
32d5e0
* Thu Nov 08 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.6-1.el7_6.2
32d5e0
- Enhanced Python error reporting.
32d5e0
  resolves: rhbz#1613946
32d5e0
32d5e0
* Fri Oct 12 2018 Pino Toscano <ptoscano@redhat.com> - 1.2.6-1.el7_6.1
32d5e0
- Fix TLS priority. (RHBZ#1632220)
32d5e0
52155f
* Wed Aug  1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.6-1
52155f
- New stable version 1.2.6.
52155f
52155f
* Wed Jul 25 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-1
52155f
- New stable version 1.2.5.
52155f
- Enable VDDK plugin on x86-64 only.
52155f
- Small refactorings in the spec file.
52155f
52155f
* Sun Jul  1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-4
52155f
- Add all upstream patches since 1.2.4 was released.
52155f
52155f
* Thu Jun 14 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-3
52155f
- Fix use of autopatch/autosetup macros in prep section.
52155f
52155f
* Tue Jun 12 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-2
52155f
- Add all upstream patches since 1.2.4 was released.
52155f
- Drop example4 and tar plugins since they depend on Perl.
52155f
52155f
* Sat Jun  9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-1
52155f
- New stable version 1.2.4.
52155f
- Remove upstream patches.
52155f
- Enable tarball signatures.
52155f
- Add upstream patch to fix tests when guestfish not available.
52155f
52155f
* Wed Jun  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
52155f
- New stable version 1.2.3.
52155f
- Add patch to work around libvirt problem with relative socket paths.
52155f
- Add patch to fix the xz plugin test with recent guestfish.
52155f
- Fix version in VDDK plugin spec file.
52155f
52155f
* Sat Apr 21 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-1
52155f
- New stable version 1.2.2.
52155f
52155f
* Fri Apr 20 2018 TomĂ¡Å¡ GolembiovskĂ½ <tgolembi@redhat.com> - 1.2.1-2
52155f
- Fix link to sources
52155f
52155f
* Mon Apr  9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-1
52155f
- New stable version 1.2.1.
52155f
52155f
* Fri Apr  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-1
52155f
- Move to stable branch version 1.2.0.
52155f
- Escape macros in %%changelog
52155f
- Run a simplified test suite on all arches.
52155f
52155f
* Thu Mar 15 2018 TomĂ¡Å¡ GolembiovskĂ½ <tgolembi@redhat.com> - 1.1.26-2
52155f
- Enable python2 plugin.
52155f
52155f
* Sat Dec 23 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.26-1
52155f
- New upstream version 1.1.26.
52155f
- Add new pkg-config file and dependency.
52155f
52155f
* Wed Dec 06 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.25-1
52155f
- New upstream version 1.1.25.
52155f
52155f
* Tue Dec 05 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.24-1
52155f
- New upstream version 1.1.24.
52155f
- Add tar plugin (new subpackage nbdkit-plugin-tar).
52155f
52155f
* Tue Dec 05 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.23-1
52155f
- New upstream version 1.1.23.
52155f
- Add example4 plugin.
52155f
- Python3 tests require libguestfs so disable on s390x.
52155f
52155f
* Sun Dec 03 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.22-1
52155f
- New upstream version 1.1.22.
52155f
- Enable tests on Fedora.
52155f
52155f
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.20-1
52155f
- New upstream version 1.1.20.
52155f
- Add nbdkit-split-plugin to basic plugins.
52155f
52155f
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-2
52155f
- OCaml 4.06.0 rebuild.
52155f
52155f
* Thu Nov 30 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-1
52155f
- New upstream version 1.1.19.
52155f
- Combine all the simple plugins in %%{name}-basic-plugins.
52155f
- Add memory and null plugins.
52155f
- Rename the example plugins subpackage.
52155f
- Use %%license instead of %%doc for license file.
52155f
- Remove patches now upstream.
52155f
52155f
* Wed Nov 29 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.18-4
52155f
- Fix Python 3 builds / RHEL macros (RHBZ#1404631).
52155f
52155f
* Tue Nov 21 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.18-3
52155f
- New upstream version 1.1.18.
52155f
- Add NBD forwarding plugin.
52155f
- Add libselinux-devel so that SELinux support is enabled in the daemon.
52155f
- Apply all patches from upstream since 1.1.18.
52155f
52155f
* Fri Oct 20 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.16-2
52155f
- New upstream version 1.1.16.
52155f
- Disable python3 plugin on RHEL/EPEL <= 7.
52155f
- Only ship on x86_64 in RHEL/EPEL <= 7.
52155f
52155f
* Wed Sep 27 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.15-1
52155f
- New upstream version 1.1.15.
52155f
- Enable TLS support.
52155f
52155f
* Fri Sep 01 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.14-1
52155f
- New upstream version 1.1.14.
52155f
52155f
* Fri Aug 25 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.13-1
52155f
- New upstream version 1.1.13.
52155f
- Remove patches which are all upstream.
52155f
- Remove grubby hack, should not be needed with modern supermin.
52155f
52155f
* Sat Aug 19 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-13
52155f
- Rebuild for OCaml 4.05.0.
52155f
52155f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-12
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
52155f
52155f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-11
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
52155f
52155f
* Tue Jun 27 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-10
52155f
- Rebuild for OCaml 4.04.2.
52155f
52155f
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.12-9
52155f
- Perl 5.26 rebuild
52155f
52155f
* Mon May 15 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-8
52155f
- Rebuild for OCaml 4.04.1.
52155f
52155f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-7
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
52155f
52155f
* Thu Jan 12 2017 VĂ­t Ondruch <vondruch@redhat.com> - 1.1.12-6
52155f
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
52155f
52155f
* Fri Dec 23 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-5
52155f
- Rebuild for Python 3.6 update.
52155f
52155f
* Wed Dec 14 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-4
52155f
- Fix python3 subpackage so it really uses python3 (RHBZ#1404631).
52155f
52155f
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-3
52155f
- Rebuild for OCaml 4.04.0.
52155f
52155f
* Mon Oct 03 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-2
52155f
- Compile Python 2 and Python 3 versions of the plugin.
52155f
52155f
* Wed Jun 08 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-1
52155f
- New upstream version 1.1.12
52155f
- Enable Ruby plugin.
52155f
- Disable tests on Rawhide because libvirt is broken again (RHBZ#1344016).
52155f
52155f
* Wed May 25 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-10
52155f
- Add another upstream patch since 1.1.11.
52155f
52155f
* Mon May 23 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-9
52155f
- Add all patches upstream since 1.1.11 (fixes RHBZ#1336758).
52155f
52155f
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.11-7
52155f
- Perl 5.24 rebuild
52155f
52155f
* Wed Mar 09 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-6
52155f
- When tests fail, dump out test-suite.log so we can debug it.
52155f
52155f
* Fri Feb 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-5
52155f
- Don't run tests on x86, because kernel is broken there
52155f
  (https://bugzilla.redhat.com/show_bug.cgi?id=1302071)
52155f
52155f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-4
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
52155f
52155f
* Mon Jan 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-3
52155f
- Add support for newstyle NBD protocol (RHBZ#1297100).
52155f
52155f
* Sat Oct 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-1
52155f
- New upstream version 1.1.11.
52155f
52155f
* Thu Jul 30 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-3
52155f
- OCaml 4.02.3 rebuild.
52155f
52155f
* Sat Jun 20 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-2
52155f
- Enable libguestfs plugin on aarch64.
52155f
52155f
* Fri Jun 19 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-1
52155f
- New upstream version.
52155f
- Enable now working OCaml plugin (requires OCaml >= 4.02.2).
52155f
52155f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-6
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
52155f
52155f
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.9-5
52155f
- Perl 5.22 rebuild
52155f
52155f
* Wed Jun 10 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.9-4
52155f
- Enable debugging messages when running make check.
52155f
52155f
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.9-3
52155f
- Perl 5.22 rebuild
52155f
52155f
* Tue Oct 14 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.9-2
52155f
- New upstream version 1.1.9.
52155f
- Add the streaming plugin.
52155f
- Include fix for streaming plugin in 1.1.9.
52155f
52155f
* Wed Sep 10 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.8-4
52155f
- Rebuild for updated Perl in Rawhide.
52155f
- Workaround for broken libvirt (RHBZ#1138604).
52155f
52155f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
52155f
52155f
* Sat Jun 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.8-1
52155f
- New upstream version 1.1.8.
52155f
- Add support for cURL, and new nbdkit-plugin-curl package.
52155f
52155f
* Fri Jun 20 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-1
52155f
- New upstream version 1.1.7.
52155f
- Remove patches which are now all upstream.
52155f
52155f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
52155f
52155f
* Thu Mar 06 2014 Dan HorĂ¡k <dan[at]danny.cz> - 1.1.6-4
52155f
- libguestfs is available only on selected arches
52155f
52155f
* Fri Feb 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-3
52155f
- Backport some upstream patches, fixing a minor bug and adding more tests.
52155f
- Enable the tests since kernel bug is fixed.
52155f
52155f
* Sun Feb 16 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-1
52155f
- New upstream version 1.1.6.
52155f
52155f
* Sat Feb 15 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.5-2
52155f
- New upstream version 1.1.5.
52155f
- Enable the new Python plugin.
52155f
- Perl plugin man page moved to section 3.
52155f
- Perl now requires ExtUtils::Embed.
52155f
52155f
* Mon Feb 10 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.4-1
52155f
- New upstream version 1.1.4.
52155f
- Enable the new Perl plugin.
52155f
52155f
* Sun Aug  4 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.3-1
52155f
- New upstream version 1.1.3 which fixes some test problems.
52155f
- Disable tests because Rawhide kernel is broken (RHBZ#991808).
52155f
- Remove a single quote from description which confused emacs.
52155f
- Remove patch, now upstream.
52155f
52155f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
52155f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
52155f
52155f
* Sun Jul 21 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-3
52155f
- Fix segfault when IPv6 client is used (RHBZ#986601).
52155f
52155f
* Tue Jul 16 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-2
52155f
- New development version 1.1.2.
52155f
- Disable the tests on Fedora <= 18.
52155f
52155f
* Tue Jun 25 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.1-1
52155f
- New development version 1.1.1.
52155f
- Add libguestfs plugin.
52155f
- Run the test suite.
52155f
52155f
* Mon Jun 24 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
52155f
- Initial release.