Compare commits

..

190 commits

Author SHA1 Message Date
Jerry James
df7b23c694 Fix a changelog entry 2026-01-12 15:58:37 -07:00
Richard W.M. Jones
31764d38fb Add upstream fix for broken test 2026-01-02 12:01:10 +00:00
Richard W.M. Jones
023449b10f New upstream development version 1.47.1 2026-01-02 10:05:09 +00:00
Richard W.M. Jones
303a730329 New upstream stable version 1.46.0 2025-12-20 14:38:45 +00:00
Richard W.M. Jones
5dec8362f0 New upstream version 1.45.17 2025-12-18 08:59:47 +00:00
Richard W.M. Jones
b8fab60fd8 New upstream version 1.45.16 2025-12-15 15:41:40 +00:00
Richard W.M. Jones
ca952d8217 Update spec file for new SECURITY.md & TODO.md files
RPM build errors:
    File not found: /builddir/build/BUILD/nbdkit-1.45.15-build/BUILDROOT/usr/share/doc/nbdkit-devel/SECURITY
    File not found: /builddir/build/BUILD/nbdkit-1.45.15-build/BUILDROOT/usr/share/doc/nbdkit-devel/TODO
2025-12-02 16:24:00 +00:00
Richard W.M. Jones
7cedd6c452 New upstream version 1.45.15 2025-12-02 15:26:13 +00:00
Richard W.M. Jones
f486bc816a New upstream version 1.45.13 2025-11-14 14:55:07 +00:00
Richard W.M. Jones
576d016e7d New upstream version 1.45.12
Add new nbdkit-vram-plugin
2025-10-27 09:20:50 +00:00
Richard W.M. Jones
43debe038e New upstream version 1.45.11 2025-10-20 15:54:55 +01:00
Richard W.M. Jones
307a18276f New upstream version 1.45.10
Remove OCaml 5.4.0 fix, which is included upstream.
2025-10-16 17:26:20 +01:00
Richard W.M. Jones
d2963788bb Fix crash with OCaml 5.4 2025-10-15 13:27:23 +01:00
Richard W.M. Jones
07acd2186a OCaml 5.4.0 rebuild 2025-10-15 12:50:47 +01:00
Richard W.M. Jones
55162a084d New upstream version 1.45.9
Reenable the tests on all arches, since we can now handle missing qemu-img
2025-10-03 11:26:45 +01:00
Daniel P. Berrangé
674da52cdb Remove dep on QEMU on i686 arch
Ideally nbdkit would ExcludeArch for i686, however, a couple of packages
depend on it still

$ ./leafdrop nbdkit
nbdkit is BuildRequired by:
- poke
- virt-p2v
nbdkit-basic-filters is BuildRequired by:
- virt-v2v
nbdkit-basic-plugins is BuildRequired by:
- poke
- virt-v2v
nbdkit-server is BuildRequired by:
- virt-v2v
NO: Package nbdkit is not a leaf package on i686.

Rather than chase that deps chain, it is simpler to disable install
of the QEMU packages as they're only used in the test suite, and all
the test programs auto-skip if the required binaries are not present.

The only issue is an oversight in the tests/Makefile.am which assumes
qemu-img exists.

  https://gitlab.com/nbdkit/nbdkit/-/issues/30

Temporarily disable tests entirely on %{ix86} until that bug is
addressed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-10-02 12:40:18 +01:00
Yaakov Selkowitz
6950f7b1a0 Fix bash-completion conditional
ELN (the future RHEL 11) tracks rawhide and therefore also has
bash-completion-devel and the %bash_completions_dir macro.
2025-09-18 13:08:54 -04:00
Richard W.M. Jones
6e2204c39a New upstream version 1.45.8 2025-09-13 12:18:13 +01:00
Richard W.M. Jones
99f216ae7c Unify Fedora and RHEL 10.2 spec files 2025-08-29 15:08:13 +01:00
Richard W.M. Jones
f3f6bab39f New upstream version 1.45.7 2025-08-26 18:29:54 +01:00
Richard W.M. Jones
812ce9e3f2 Remove upstream patch 2025-08-23 17:30:58 +01:00
Richard W.M. Jones
397329a12e New upstream version 1.45.6 2025-08-23 17:19:29 +01:00
Richard W.M. Jones
b966d108a4 Add upstream fix for 32-bit indexed-gzip filter 2025-08-20 17:28:09 +01:00
Richard W.M. Jones
29a8d04a48 New upstream version 1.45.5.
Remove obsolete Obsoletes now this is Fedora 43+.
Add new nbdkit-indexed-gzip-filter.
2025-08-20 15:30:55 +01:00
Richard W.M. Jones
15795b0ff4 New upstream version 1.45.4 2025-08-11 15:20:50 +01:00
Richard W.M. Jones
a94e98cf51 Add upstream commit to fix test 2025-07-29 12:58:24 +01:00
Richard W.M. Jones
74a2dea81c New upstream version 1.45.3 2025-07-29 12:10:29 +01:00
Richard W.M. Jones
8f1341df5f New upstream version 1.45.2
New map filter.
2025-07-23 16:56:11 +01:00
Jerry James
3407909a04 Rebuild to fix OCaml dependencies 2025-07-11 16:00:47 -06:00
Jitka Plesnikova
35d61ffde2 Perl 5.42 re-rebuild updated packages 2025-07-09 12:09:35 +02:00
Richard W.M. Jones
24fab64284 Remove cacheextents filter (deprecated & removed upstream) 2025-07-09 09:34:40 +01:00
Jitka Plesnikova
6eee603e94 Perl 5.42 re-rebuild updated packages 2025-07-09 07:54:30 +02:00
Richard W.M. Jones
774f274dd2 New upstream development branch 1.45.1
New nbdkit-count-filter.
2025-07-08 21:25:19 +01:00
Jitka Plesnikova
562d971b43 Perl 5.42 rebuild 2025-07-07 16:12:45 +02:00
Richard W.M. Jones
bc3a79b4ec New upstream stable branch version 1.44.1
Contains data integrity fix: "server: Fix .zero fallback path"
2025-07-05 08:33:23 +01:00
Richard W.M. Jones
d3ff9bddb9 Forgot to update sources for previous commit 2025-07-05 08:11:55 +01:00
Richard W.M. Jones
ef67eb1f91 New upstream stable branch version 1.44.0 2025-07-01 08:32:27 +01:00
Richard W.M. Jones
4aa3cbc51d New upstream development branch version 1.43.13 2025-06-23 13:50:52 +01:00
Richard W.M. Jones
f1480cff15 New upstream development branch version 1.43.12 2025-06-14 18:09:40 +01:00
Python Maint
c26783887c Rebuilt for Python 3.14 2025-06-06 16:44:34 +02:00
Richard W.M. Jones
21c4158bda New upstream development branch version 1.43.11 2025-06-05 13:12:12 +01:00
Richard W.M. Jones
e83a2d7ea4 New upstream development branch version 1.43.10 2025-06-02 15:51:14 +01:00
Richard W.M. Jones
633f633026 New upstream development branch version 1.43.9
New nbdkit-openonce-filter
2025-05-17 09:29:24 +01:00
Richard W.M. Jones
4c9a726723 New upstream development branch version 1.43.8 2025-05-12 22:47:16 +01:00
Richard W.M. Jones
ef2910918a New upstream development branch version 1.43.7 2025-05-09 15:42:33 +01:00
Richard W.M. Jones
f9af6157fd New upstream development branch version 1.43.6 2025-05-01 18:52:48 +01:00
Richard W.M. Jones
5832c60f31 New upstream development branch version 1.43.5
New subpackage nbdkit-nfs-plugin
2025-04-10 21:43:50 +01:00
Richard W.M. Jones
8c3449fd38 New upstream development branch version 1.43.4 2025-04-02 15:52:22 +01:00
Richard W.M. Jones
4524ffc41b New upstream development branch version 1.43.3 2025-03-31 10:36:10 +01:00
Richard W.M. Jones
8015908b0b New upstream development branch version 1.43.2 2025-03-27 12:53:42 +00:00
Tim Landscheidt
c310fd3292 Fix description for nbdkit-selinux 2025-03-26 23:08:34 +00:00
Richard W.M. Jones
436da5bf2b Add nbdkit-tracing(3) to the devel subpackage 2025-03-15 12:58:00 +00:00
Richard W.M. Jones
d49e2868b6 New upstream development branch version 1.43.1 2025-03-13 21:38:58 +00:00
Richard W.M. Jones
52b7749446 New upstream stable branch version 1.42.1 2025-03-03 17:29:44 +00:00
Björn Esser
8c66737140
Change Requires: libxcrypt-compat to be archful
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-28 11:46:23 +01:00
Richard W.M. Jones
ecbaa2cf56 Remove BR openssl-devel-engine
Bug (in Boost) that required this seems to have been fixed now.
2025-02-24 21:38:04 +00:00
Richard W.M. Jones
e06ebe7f5f Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
Reenable tests
2025-02-24 13:32:58 +00:00
Richard W.M. Jones
6798a19924 Revert "Skip failing tests"
This reverts commit 6c21a9ca60.
2025-02-24 12:58:22 +00:00
Richard W.M. Jones
f87775ac79 Revert "Skip more failing tests"
This reverts commit 8aaaa446c6.
2025-02-24 12:58:17 +00:00
Richard W.M. Jones
ae16c18dec Revert "Ignore test results when built with merged-sbin"
This reverts commit 29130e004b.
2025-02-24 12:58:11 +00:00
Richard W.M. Jones
ae34acf5e6 New upstream stable branch version 1.42.0 2025-02-11 13:40:37 +00:00
Björn Esser
a066211b6a
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:55:54 +01:00
Fedora Release Engineering
14cbf5196f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 19:45:35 +00:00
Zbigniew Jędrzejewski-Szmek
29130e004b Ignore test results when built with merged-sbin
Every time I compile the package, some more tests fail.
2025-01-12 21:31:08 +01:00
Zbigniew Jędrzejewski-Szmek
8aaaa446c6 Skip more failing tests
Second batch. Those only seem to fail in koji/x86_64, and not in a local
mock build and not on other architectures. Not sure why.
2025-01-12 21:05:33 +01:00
Zbigniew Jędrzejewski-Szmek
6c21a9ca60 Skip failing tests 2025-01-12 19:26:10 +01:00
Zbigniew Jędrzejewski-Szmek
601f2b1914 Rebuilt for the bin-sbin merge (2nd attempt)
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2025-01-12 14:36:15 +01:00
Jerry James
23310d1133 OCaml 5.3.0 rebuild for Fedora 42 2025-01-09 14:46:27 -07:00
Richard W.M. Jones
145dc5e3b3 New upstream development branch version 1.41.9 2025-01-08 17:26:45 +00:00
Richard W.M. Jones
9874093553 New upstream development branch version 1.41.8 2024-10-14 20:38:02 +01:00
Richard W.M. Jones
e0e83ff709 Move nbdkit-ondemand-plugin to separate subpackage
Since this has extra dependencies.
2024-10-05 09:27:50 +01:00
Richard W.M. Jones
6f3442584b New upstream development branch version 1.41.7 2024-10-04 12:09:13 +01:00
Richard W.M. Jones
7b3a2eb66e New upstream development branch version 1.41.6 2024-09-25 16:29:25 +01:00
Yaakov Selkowitz
60a1673271 Avoid lzip dependency on RHEL
lzip is unwanted in RHEL, and is only used here for a test of the newly
added lzip filter.
2024-09-24 19:06:28 -04:00
Richard W.M. Jones
fd5bf0f0ea New upstream development branch version 1.41.5
Add lzip filter to the existing nbdkit-xz-filter package
Reenable MC in mingw build
2024-09-22 21:00:36 +01:00
Richard W.M. Jones
8bc76e0971 New upstream development branch version 1.41.4 2024-09-13 15:53:52 +01:00
Richard W.M. Jones
2b29a9420f New upstream development branch version 1.41.3
New nbdkit-time-limit-filter
2024-09-12 21:41:49 +01:00
Richard W.M. Jones
c480477abb New upstream development branch version 1.41.2 2024-09-08 12:43:50 +01:00
Richard W.M. Jones
1099d7a2f8 New upstream development branch version 1.41.1 2024-08-24 10:56:53 +01:00
Richard W.M. Jones
c25e90d6e4 New upstream stable branch version 1.40.1 2024-07-29 13:40:37 +01:00
Richard W.M. Jones
ce8ba94d2c Fix tarball signature 2024-07-21 21:54:02 +01:00
Richard W.M. Jones
3ade72b0f9 New upstream stable branch version 1.40.0 2024-07-21 19:40:32 +01:00
Richard W.M. Jones
b5d6c5a9fc Add a comment about why openssl-devel-engine is needed
It's not needed by nbdkit, but to work around a problem in boost ASIO
library.

Updates: commit 6b18b74749
2024-07-19 12:21:45 +01:00
Fedora Release Engineering
f072fdb875 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 19:12:39 +00:00
Richard W.M. Jones
eb759613ce Combine nbdkit-gzip-filter with basic filters
nbdkit-basic-filters over time has actually gained dependencies on
zlib and zstd.  Accepting this, don't package nbdkit-gzip-filter
separately.

For consistency document that nbdkit-basic-plugins also depends on
zlib and zstd (which it does already).
2024-07-15 17:38:29 +01:00
Richard W.M. Jones
517fe72cff Remove old Obsoletes nbdkit-tar-plugin
Originally this was added for Fedora 33+.  We're now up to Fedora 41.
2024-07-15 17:38:29 +01:00
Richard W.M. Jones
cebe2edc08 New upstream development version 1.39.10 2024-07-14 09:33:47 +01:00
Zbigniew Jędrzejewski-Szmek
498c258187 Rebuilt for the bin-sbin merge (again)
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2024-07-13 09:29:08 +02:00
Richard W.M. Jones
9ece3dd175 New upstream development version 1.39.9 2024-07-09 22:10:38 +01:00
Zbigniew Jędrzejewski-Szmek
6b18b74749 Pull in openssl-devel-engine to fix build 2024-07-09 14:35:09 +02:00
Zbigniew Jędrzejewski-Szmek
02104ecdee Rebuilt for the bin-sbin merge
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2024-07-09 13:38:40 +02:00
Richard W.M. Jones
c41033dd88 New upstream development version 1.39.8 2024-06-27 15:28:12 +01:00
Richard W.M. Jones
2340ca89b7 OCaml 5.2.0 ppc64le fix 2024-06-19 12:28:21 +01:00
Richard W.M. Jones
44d5aed5b9 Add BR glibc-utils for libc_malloc_debug.so.0 2024-06-19 12:08:53 +01:00
Jitka Plesnikova
3ecbc163b2 Perl 5.40 rebuild 2024-06-12 12:47:45 +02:00
Python Maint
32fc4734fe Rebuilt for Python 3.13 2024-06-08 22:30:25 +02:00
Richard W.M. Jones
965f855452 OCaml 5.2.0 for Fedora 41 2024-05-29 21:31:57 +01:00
Richard W.M. Jones
0729aaf256 Prefer BR pkgconfig(foo) instead of BR foo-devel.
https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/
2024-05-28 15:23:50 +01:00
Richard W.M. Jones
f6900c557d +BR gzip2-devel 2024-05-28 14:40:19 +01:00
Richard W.M. Jones
a8d8c230c9 New upstream development version 1.39.7
Add nbdkit-bzip2-filter subpackage.
2024-05-28 14:11:35 +01:00
Adam Williamson
33f8238699 Rebuild with fixed SELinux macros 2024-05-16 23:56:15 -07:00
Richard W.M. Jones
7bfa177607 New upstream development version 1.39.6 2024-05-16 15:31:25 +01:00
Richard W.M. Jones
b709bbeebe New upstream development version 1.39.5 2024-05-07 15:59:29 +01:00
Richard W.M. Jones
1bac5f3ba9 Fix tests/test-shebang-crlf.sh 2024-04-20 14:50:34 +01:00
Richard W.M. Jones
9e93f76eac New upstream development version 1.39.4
Remove the Ruby plugin.
2024-04-20 14:08:46 +01:00
Zbigniew Jędrzejewski-Szmek
86fa43d05e Do not use macros is file path Requires
This is in preparation for
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.

When the package is rebuilt with a different %_sbindir (in particular
%_sbindir==%_bindir), those BuildRequires and Requires will stop working
with the providers of those requires that were built with the old definition.
We don't want to force a transition of all packages at the same time,
so instead use a fixed path. (The providers, when they are updated to
the new path, will retain a compat Provides for the old path.)

The tests fail in test-tar-xz-curl, but this doesn't seem to be
related to the path changes, but instead something about fs internals.
2024-04-14 14:06:23 +02:00
Richard W.M. Jones
61064b8fd1 gating: Match any version of RHEL 2024-04-12 11:27:10 +01:00
Richard W.M. Jones
4ae765cff3 New upstream development version 1.39.3 2024-04-11 09:07:43 +01:00
Richard W.M. Jones
905a24f8a5 New upstream development version 1.39.2
Add new nbdkit_*.3 man pages (plugin developer documentation)
2024-04-09 16:58:13 +01:00
Richard W.M. Jones
e547291dc2 Fix version (1.39.0 -> 1.39.1) 2024-04-07 21:26:10 +01:00
Richard W.M. Jones
ac48373716 New upstream development version 1.39.1
New filters: rotational, spinning
2024-04-07 21:25:17 +01:00
Richard W.M. Jones
a673158b38 New stable branch version 1.38.0 2024-04-04 21:29:34 +01:00
Richard W.M. Jones
8de2617c9f Rebuild autoconf cruft unconditionally
(cherry picked from libnbd commit 11a78d929de957995cf127e70c2762326132a263)
2024-04-04 21:25:29 +01:00
Richard W.M. Jones
4591027291 Use %{bash_completions_dir} macro 2024-03-25 11:22:36 +00:00
Richard W.M. Jones
d16125b341 New upstream development version 1.37.13 2024-03-18 17:33:56 +00:00
Richard W.M. Jones
c1f286012b New upstream development version 1.37.12 2024-03-15 09:44:47 +00:00
Richard W.M. Jones
24b68458fe New upstream development version 1.37.11 2024-03-11 10:38:28 +00:00
Richard W.M. Jones
5a952a21a2 New upstream development version 1.37.10 2024-03-04 18:30:28 +00:00
Richard W.M. Jones
1bcb9f8bdb New upstream development version 1.37.9 2024-02-22 10:51:25 +00:00
Richard W.M. Jones
d38d28e5e0 +BR bash-completion-devel
The bash-completion.pc file moved in Rawhide:

$ rpm -qf /usr/share/pkgconfig/bash-completion.pc
bash-completion-devel-2.11-15.fc41.noarch

(https://src.fedoraproject.org/rpms/bash-completion/c/d1f5dc48c0440cc68efdd519b78fccca416cad94?branch=rawhide)
2024-02-17 11:15:02 +00:00
Richard W.M. Jones
c2426d55fd New upstream development version 1.37.8 2024-02-17 11:00:34 +00:00
Richard W.M. Jones
13f3d0d720 Fix gcs & S3 plugin requirements
Make them require the exact version of nbdkit-server and
nbdkit-python-plugin.  This avoids any sort of unintentional mismatch
in case we add a feature to the server or python plugin and then
immediately use it in the gcs / S3 plugin.

Also use %{?_isa} for the python plugin since it is arch-specific.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2264258
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2264266
2024-02-14 21:13:05 +00:00
Richard W.M. Jones
4a2343b4a3 New upstream development version 1.37.7
New nbdkit-gcs-plugin for Google Cloud Storage
2024-02-11 18:29:20 +00:00
Richard W.M. Jones
5f12965c1f New upstream development version 1.37.6 2024-02-01 22:08:06 +00:00
Richard W.M. Jones
d89cffce88 Temporary workaround for binutils bug
https://sourceware.org/bugzilla/show_bug.cgi?id=31283

Use git to apply the patches since patch 0004 contains a binary patch.
2024-01-24 10:59:22 +00:00
Richard W.M. Jones
2fd0615d12 Potential fix for parallel builds failure of mingw subpackage 2024-01-23 18:12:47 +00:00
Richard W.M. Jones
cf7389fcdd Bump release for rebuild 2024-01-23 17:55:20 +00:00
Richard W.M. Jones
348c2fe9f4 Add mingw{32,64}-nbdkit subpackages 2024-01-23 14:46:39 +00:00
Richard W.M. Jones
8233ecfd32 Build into a subdirectory rather than the package source directory
This requires some upstream fixes for srcdir != builddir.
2024-01-23 14:46:17 +00:00
Richard W.M. Jones
fb41373acc Remove support for RHEL 7
RHEL 7 is now in EUS phase, we don't need to keep support around for
it here.
2024-01-23 14:46:17 +00:00
Fedora Release Engineering
d3338b004b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 09:18:09 +00:00
Richard W.M. Jones
63cf2b755e New upstream development version 1.37.5 2024-01-16 12:55:14 +00:00
Mamoru TASAKA
de42188bf3 Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.3 2024-01-03 23:34:13 +09:00
Richard W.M. Jones
0d1a9e2d82 New upstream development version 1.37.4 2023-12-19 15:55:39 +00:00
Richard W.M. Jones
4a47463228 OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 16:02:50 +00:00
Richard W.M. Jones
95f0a9b7ba OCaml 5.1.1 rebuild for Fedora 40 2023-12-14 09:14:13 +00:00
Richard W.M. Jones
6debad82d3 Add upstream fix for GCC 14 2023-12-04 13:29:52 +00:00
Richard W.M. Jones
0150826388 Use the correct sources for this branch 2023-11-26 12:16:33 +00:00
Richard W.M. Jones
b9a4b125ca New upstream development version 1.37.3 2023-11-26 10:34:57 +00:00
Richard W.M. Jones
1539514884 New upstream development version 1.37.2
New nbdkit-readonly-filter.
2023-11-07 19:41:30 +00:00
Richard W.M. Jones
0b975b05a5 Add experimental SELinux support (RHEL-5174) 2023-11-01 13:28:58 +00:00
Richard W.M. Jones
63aafd2713 We are going to try to enable libblkio support everywhere 2023-10-31 09:48:55 +00:00
Richard W.M. Jones
3b31d6392a New upstream development version 1.37.1 2023-10-23 16:49:43 +01:00
Richard W.M. Jones
c97cf0c593 OCaml 5.1 rebuild for Fedora 40 2023-10-06 08:46:03 +01:00
Richard W.M. Jones
288a606323 Enable blkio support again on Fedora i686. 2023-09-27 15:45:24 +01:00
Richard W.M. Jones
28d997d645 New upstream development version 1.36.0 2023-09-27 11:50:20 +01:00
Richard W.M. Jones
e7d01e8072 New upstream development version 1.35.13 2023-09-11 17:53:16 +01:00
Richard W.M. Jones
57aa128eb0 New upstream development version 1.35.12 2023-09-08 11:09:19 +01:00
Richard W.M. Jones
bbec0865fb Add upstream patch to fix partition filter on s390x 2023-08-30 16:59:18 +01:00
Richard W.M. Jones
f72cb5c449 New upstream development version 1.35.11 2023-08-30 15:03:57 +01:00
Richard W.M. Jones
6bc1071266 New upstream development version 1.35.10
Use zlib-ng on Fedora but not RHEL.
2023-08-12 12:55:37 +01:00
Richard W.M. Jones
cba3facac0 Disable libblkio on i686 (RHBZ#2229372) 2023-08-05 12:26:24 +01:00
Richard W.M. Jones
192bd7dee0 New upstream development version 1.35.9 2023-08-05 11:24:09 +01:00
Richard W.M. Jones
d284db54e9 New upstream development version 1.35.8 2023-08-01 11:18:13 +01:00
Richard W.M. Jones
6152bf0661 Remove correct file for ELN builds 2023-07-23 14:48:11 +01:00
Richard W.M. Jones
1d8d0cb3a2 New upstream development version 1.35.7
New nbdkit-qcow2dec-filter.
2023-07-23 12:47:39 +01:00
Fedora Release Engineering
8627417091 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 16:21:30 +00:00
Richard W.M. Jones
8e2ee88371 New upstream development version 1.35.6 2023-07-14 15:12:38 +01:00
Richard W.M. Jones
97ad256c11 Add patch to fix Perl 5.38 2023-07-13 12:05:26 +01:00
Jitka Plesnikova
9c9ed7bb59 Perl 5.38 re-rebuild updated packages 2023-07-13 08:07:15 +02:00
Richard W.M. Jones
3fc58c8fb6 Add all upstream patches
These are needed to get OCaml 5 to work.
2023-07-12 15:22:55 +01:00
Richard W.M. Jones
6f30fc0cb6 OCaml 5.0 rebuild for Fedora 39 2023-07-12 15:01:29 +01:00
Jitka Plesnikova
7d3324c5fb Perl 5.38 rebuild 2023-07-11 15:55:16 +02:00
Jerry James
b95296db1f OCaml 5.0.0 rebuild 2023-07-10 16:36:47 -06:00
Python Maint
58685c7530 Rebuilt for Python 3.12 2023-07-04 11:42:56 +02:00
Richard W.M. Jones
9f6c481489 New upstream development version 1.35.5 2023-06-12 12:10:26 +01:00
Richard W.M. Jones
109833d2f3 Migrated to SPDX license 2023-06-05 15:53:11 +01:00
Richard W.M. Jones
08486052a0 New upstream development version 1.35.4 2023-05-28 17:44:15 +01:00
Richard W.M. Jones
fd4ae28555 New upstream development version 1.35.3
New plugin: ones
New filter: evil
2023-05-18 21:26:13 +01:00
Richard W.M. Jones
07728d64a3 New upstream development version 1.35.2 2023-05-10 10:45:50 +01:00
Richard W.M. Jones
389861ca94 New upstream development version 1.35.1 2023-04-29 12:45:05 +01:00
Richard W.M. Jones
7665825cab New upstream stable version 1.34.1 2023-04-18 13:00:30 +01:00
Richard W.M. Jones
437316b690 New upstream stable version 1.34.0 2023-04-14 10:50:46 +01:00
Richard W.M. Jones
604cc65d68 New upstream development version 1.33.12 2023-04-13 10:20:34 +01:00
Richard W.M. Jones
09307d2497 New upstream development version 1.33.11 2023-03-09 11:18:57 +00:00
Richard W.M. Jones
b919ca15cf New upstream development version 1.33.10 2023-02-28 15:37:47 +00:00
Richard W.M. Jones
7f63a272d0 New upstream development version 1.33.9 2023-02-25 14:04:24 +00:00
Richard W.M. Jones
951b6c1030 New upstream development version 1.33.8 2023-02-07 22:07:16 +00:00
Richard W.M. Jones
c98f3bea2b Rebuild OCaml packages for F38 2023-01-24 20:40:37 +00:00
Fedora Release Engineering
5b29d280dd Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:17:27 +00:00
Richard W.M. Jones
45cd552218 New upstream development version 1.33.7 2023-01-14 15:43:56 +00:00
Richard W.M. Jones
05aae2b215 New upstream development version 1.33.6
New plugin: nbdkit-blkio-plugin
2023-01-11 13:52:36 +00:00
Mamoru TASAKA
08b6cd1411 Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2 2023-01-04 14:49:04 +09:00
Richard W.M. Jones
2dfd51a698 New upstream development version 1.33.5 2023-01-03 13:32:35 +00:00
Richard W.M. Jones
c5fbd4d470 Don't enable libguestfs tests if we don't have libguestfs 2022-12-04 10:59:27 +00:00
Richard W.M. Jones
eb4065d4ee More thorough use of configure parameters
Make sure we explicitly either --enable/--with or --disable/--without
every possible feature.  This ensures that plugins/features are not
accidentally built or omitted.

Explicitly enable or disable VDDK depending on architecture (although
the configure script does this already so it's not really necessary).
If we ever build VDDK for Arm then we will have to revisit this.

We can now disable the torrent plugin through configure so we don't
have to delete the plugin afterwards.
2022-12-04 10:59:27 +00:00
Richard W.M. Jones
bd8134bd8d New upstream development version 1.33.4 2022-12-03 21:01:09 +00:00
Richard W.M. Jones
28c1fbe6ea New upstream development version 1.33.3 2022-11-18 15:14:03 +00:00
Richard W.M. Jones
3a38cf78bb New upstream development version 1.33.2 2022-10-11 16:47:39 +01:00
Richard W.M. Jones
fc8fe6448b New upstream development version 1.33.1 2022-08-18 13:35:39 +01:00
7 changed files with 1338 additions and 163 deletions

View file

@ -0,0 +1,31 @@
From 4076ff58512ee98928b1bdb13274466b175e1a97 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Fri, 2 Jan 2026 11:59:11 +0000
Subject: [PATCH] tests/test-ocaml-debug-hexdump.sh: Fix test that plugin was
built
This is supposed to check that the test plugin was built and skip if
not. However because the 'requires' function call was missing, it
actually failed the test if not built.
Fixes: commit ec3be5030656a9126abbb0bceeb5a1ecf6898c6a
---
tests/test-ocaml-debug-hexdump.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-ocaml-debug-hexdump.sh b/tests/test-ocaml-debug-hexdump.sh
index 5cc71375..3954225e 100755
--- a/tests/test-ocaml-debug-hexdump.sh
+++ b/tests/test-ocaml-debug-hexdump.sh
@@ -36,7 +36,7 @@ set -x
set -u
plugin=$abs_top_srcdir/tests/test-ocaml-debug-hexdump-plugin.$SOEXT
-test -x "$plugin"
+requires test -x "$plugin"
requires_run
requires_nbdsh_uri
--
2.52.0

View file

@ -1,6 +1,6 @@
--- !Policy
product_versions:
- rhel-9
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

3
nbdkit.fc Normal file
View file

@ -0,0 +1,3 @@
/usr/sbin/nbdkit -- gen_context(system_u:object_r:nbdkit_exec_t,s0)
/usr/lib/systemd/system/nbdkit.* gen_context(system_u:object_r:nbdkit_unit_file_t,s0)

207
nbdkit.if Normal file
View file

@ -0,0 +1,207 @@
## <summary>policy for nbdkit</summary>
########################################
## <summary>
## Execute nbdkit_exec_t in the nbdkit domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`nbdkit_domtrans',`
gen_require(`
type nbdkit_t, nbdkit_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, nbdkit_exec_t, nbdkit_t)
')
######################################
## <summary>
## Execute nbdkit in the caller domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`nbdkit_exec',`
gen_require(`
type nbdkit_exec_t;
')
corecmd_search_bin($1)
can_exec($1, nbdkit_exec_t)
')
########################################
## <summary>
## Execute nbdkit in the nbdkit domain, and
## allow the specified role the nbdkit domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition
## </summary>
## </param>
## <param name="role">
## <summary>
## The role to be allowed the nbdkit domain.
## </summary>
## </param>
#
interface(`nbdkit_run',`
gen_require(`
type nbdkit_t;
attribute_role nbdkit_roles;
')
nbdkit_domtrans($1)
roleattribute $2 nbdkit_roles;
')
########################################
## <summary>
## Role access for nbdkit
## </summary>
## <param name="role">
## <summary>
## Role allowed access
## </summary>
## </param>
## <param name="domain">
## <summary>
## User domain for the role
## </summary>
## </param>
#
interface(`nbdkit_role',`
gen_require(`
type nbdkit_t;
attribute_role nbdkit_roles;
')
roleattribute $1 nbdkit_roles;
nbdkit_domtrans($2)
ps_process_pattern($2, nbdkit_t)
allow $2 nbdkit_t:process { signull signal sigkill };
')
########################################
## <summary>
## Allow attempts to connect to nbdkit
## with a unix stream socket.
## </summary>
## <param name="domain">
## <summary>
## Domain to not audit.
## </summary>
## </param>
#
interface(`nbdkit_stream_connect',`
gen_require(`
type nbdkit_t;
')
allow $1 nbdkit_t:unix_stream_socket connectto;
')
########################################
## <summary>
## Allow nbdkit_exec_t to be an entrypoint
## of the specified domain
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`nbdkit_entrypoint',`
gen_require(`
type nbdkit_exec_t;
')
allow $1 nbdkit_exec_t:file entrypoint;
')
# ----------------------------------------------------------------------
# RWMJ: See:
# https://issues.redhat.com/browse/RHEL-5174?focusedId=23387259&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-23387259
# Remove this when virt.if gets updated.
########################################
#
# Interface compatibility blocks
#
# The following definitions ensure compatibility with distribution policy
# versions that do not contain given interfaces (epel, or older Fedora
# releases).
# Each block tests for existence of given interface and defines it if needed.
#
########################################
## <summary>
## Read and write to svirt_image dirs.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
ifndef(`virt_rw_svirt_image_dirs',`
interface(`virt_rw_svirt_image_dirs',`
gen_require(`
type svirt_image_t;
')
allow $1 svirt_image_t:dir rw_dir_perms;
')
')
########################################
## <summary>
## Create svirt_image sock_files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
ifndef(`virt_create_svirt_image_sock_files',`
interface(`virt_create_svirt_image_sock_files',`
gen_require(`
type svirt_image_t;
')
allow $1 svirt_image_t:sock_file create_sock_file_perms;
')
')
########################################
## <summary>
## Read and write virtlogd pipes.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
ifndef(`virtlogd_rw_pipes',`
interface(`virtlogd_rw_pipes',`
gen_require(`
type virtlogd_t;
')
allow $1 virtlogd_t:fifo_file rw_fifo_file_perms;
')
')

File diff suppressed because it is too large Load diff

100
nbdkit.te Normal file
View file

@ -0,0 +1,100 @@
policy_module(nbdkit, 1.0.0)
########################################
#
# Declarations
#
gen_require(`
type unconfined_t;
')
type nbdkit_t;
type nbdkit_exec_t;
application_domain(nbdkit_t, nbdkit_exec_t)
mcs_constrained(nbdkit_t)
role system_r types nbdkit_t;
type nbdkit_home_t;
userdom_user_home_content(nbdkit_home_t)
type nbdkit_tmp_t;
files_tmp_file(nbdkit_tmp_t)
type nbdkit_unit_file_t;
systemd_unit_file(nbdkit_unit_file_t)
permissive nbdkit_t;
########################################
#
# nbdkit local policy
#
allow nbdkit_t self:capability { setgid setuid };
allow nbdkit_t self:fifo_file rw_fifo_file_perms;
allow nbdkit_t self:netlink_route_socket rw_netlink_socket_perms;
allow nbdkit_t self:process { fork setsockcreate signal_perms };
allow nbdkit_t self:tcp_socket create_stream_socket_perms;
allow nbdkit_t self:udp_socket create_socket_perms;
manage_dirs_pattern(nbdkit_t, nbdkit_tmp_t, nbdkit_tmp_t)
manage_files_pattern(nbdkit_t, nbdkit_tmp_t, nbdkit_tmp_t)
userdom_user_tmp_filetrans(nbdkit_t, nbdkit_tmp_t, { dir file })
manage_dirs_pattern(nbdkit_t, nbdkit_home_t, nbdkit_home_t)
manage_files_pattern(nbdkit_t, nbdkit_home_t, nbdkit_home_t)
userdom_user_home_dir_filetrans(nbdkit_t, nbdkit_home_t, { dir file })
corenet_tcp_connect_http_port(nbdkit_t)
corenet_tcp_connect_ssh_port(nbdkit_t)
corenet_tcp_connect_tftp_port(nbdkit_t)
corenet_tcp_bind_generic_port(nbdkit_t)
corenet_tcp_bind_generic_node(nbdkit_t)
domain_use_interactive_fds(nbdkit_t)
files_read_etc_files(nbdkit_t)
init_abstract_socket_activation(nbdkit_t)
init_ioctl_stream_sockets(nbdkit_t)
init_rw_stream_sockets(nbdkit_t)
optional_policy(`
auth_use_nsswitch(nbdkit_t)
')
optional_policy(`
logging_send_syslog_msg(nbdkit_t)
')
optional_policy(`
miscfiles_read_localization(nbdkit_t)
miscfiles_read_generic_certs(nbdkit_t)
')
optional_policy(`
sysnet_dns_name_resolve(nbdkit_t)
sysnet_read_config(nbdkit_t)
')
optional_policy(`
userdom_read_user_home_content_files(nbdkit_t)
userdom_use_inherited_user_ptys(nbdkit_t)
')
optional_policy(`
virt_create_svirt_image_sock_files(nbdkit_t)
virt_read_qemu_pid_files(nbdkit_t)
virtlogd_rw_pipes(nbdkit_t)
virt_rw_svirt_image(nbdkit_t)
virt_rw_svirt_image_dirs(nbdkit_t)
virt_search_lib(nbdkit_t)
virt_stream_connect_svirt(nbdkit_t)
')
# FIXME: It would be nice to allow libvirt to transition nbdkit_exec_t to
# nbdkit_t when libvirtd was started manually from the commandline (i.e. in
# unconfined_t), but we don't want this transition to happen automatically
# when starting directly from the shell. I'm not sure how to achieve this...
#nbdkit_domtrans(unconfined_t, nbdkit_exec_t, nbdkit_t)

View file

@ -1,2 +1,2 @@
SHA512 (nbdkit-1.32.6.tar.gz) = 523418c144897e538b40db3c411221b8f0a139013cf732d4cef74c3ff1df7049069bc09c8b218e1d5828a7b6588c6337234bbec4515ee6543278013c44962784
SHA512 (nbdkit-1.32.6.tar.gz.sig) = 41be9649f7a8bfbc357bff26f34dc1aa527b97d7588cfbd745ec7a22893b7d2cf643c412ce7851577cb3da187070f6c74eedf8e626fba7880d5d94753329412e
SHA512 (nbdkit-1.47.1.tar.gz) = 0c9d1da067bf1f7b6ba38dad33e86dff1fe893ff2e4a349dfcd6b259295fd00670e6af6c195e130d8a847520a78a730003315e60afda8eb94758e2195bd1a775
SHA512 (nbdkit-1.47.1.tar.gz.sig) = 131d9bc191155186408ef7a577f9d2a2cc1fd1b53cbda755d19ff8de1341479a517fab79cc87f04a1bca5518046c24a8647cb4949d5c4d6fdca19ca968604c16