Compare commits

..

9 commits

Author SHA1 Message Date
Richard W.M. Jones
b802ca118a New stable release 1.2.2. 2020-02-05 14:01:02 +00:00
Richard W.M. Jones
6c6a50d0d4 New stable release 1.2.1.
Use gpgverify macro instead of explicit gpgv2 command.
2019-12-03 13:21:07 +00:00
Richard W.M. Jones
8854d3318a Remove patches. 2019-11-14 10:57:58 +00:00
Richard W.M. Jones
af985be6d1 Merge remote-tracking branch 'origin/master' into f31 2019-11-14 10:46:56 +00:00
Richard W.M. Jones
ab35bd208f New upstream version 1.0.3.
- Contains fix for remote code execution vulnerability.
- Add new libnbd-security(3) man page.
2019-10-09 09:38:24 +01:00
Richard W.M. Jones
19fec5b941 New upstream version 1.0.2.
Remove patches which are upstream.
Contains fix for NBD Protocol Downgrade Attack (CVE-2019-14842).

(cherry picked from commit 46c80ed0b2)
2019-09-17 16:53:08 +01:00
Richard W.M. Jones
8651382d3e Fix interop tests on slow machines. 2019-09-12 11:04:11 +01:00
Richard W.M. Jones
cdfa595f38 Add upstream patch to fix nbdsh (for nbdkit tests).
(cherry picked from commit 52e6bd7cc3)
2019-09-12 08:40:49 +01:00
Richard W.M. Jones
4b95b33cb8 New stable version 1.0.1. 2019-09-08 10:50:09 +01:00
8 changed files with 54 additions and 917 deletions

1
.gitignore vendored
View file

@ -1,3 +1,2 @@
/libnbd-*.tar.gz
/libnbd-*.tar.gz.sig
/*~

View file

@ -1,55 +0,0 @@
#!/bin/bash -
set -e
# Maintainer script to copy patches from the git repo to the current
# directory. Use it like this:
# ./copy-patches.sh
rhel_version=8.3
# Check we're in the right directory.
if [ ! -f libnbd.spec ]; then
echo "$0: run this from the directory containing 'libnbd.spec'"
exit 1
fi
git_checkout=$HOME/d/libnbd-rhel-$rhel_version
if [ ! -d $git_checkout ]; then
echo "$0: $git_checkout does not exist"
echo "This script is only for use by the maintainer when preparing a"
echo "libnbd release on RHEL."
exit 1
fi
# Get the base version of libnbd.
version=`grep '^Version:' libnbd.spec | awk '{print $2}'`
tag="v$version"
# Remove any existing patches.
git rm -f [0-9]*.patch ||:
rm -f [0-9]*.patch
# Get the patches.
(cd $git_checkout; rm -f [0-9]*.patch; git format-patch -N $tag)
mv $git_checkout/[0-9]*.patch .
# Remove any not to be applied.
rm -f *NOT-FOR-RPM*.patch
# Add the patches.
git add [0-9]*.patch
# Print out the patch lines.
echo
echo "--- Copy the following text into libnbd.spec file"
echo
echo "# Patches."
for f in [0-9]*.patch; do
n=`echo $f | awk -F- '{print $1}'`
echo "Patch$n: $f"
done
echo
echo "--- End of text"

View file

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

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -1,2 +1,2 @@
SHA512 (libnbd-1.24.0.tar.gz) = db05b606a19b3efb6a53c05b5b7ea96571892b7540fff1f4df0c53d0f82e3817f724fd0aa665597b58a4613545b03d7df6e1ac8f3fa64c7f85e824ca2221f3ae
SHA512 (libnbd-1.24.0.tar.gz.sig) = 718b0ebeb3f3fa487682ef93184fc1851f44d3e74695b61e64f32d5de508833dba885aaea9366a29293ad60badce3cfafb8881b61a103559185517a2202fae27
SHA512 (libnbd-1.2.2.tar.gz) = ca8dd7f599dfe0d9a5352f11f14674eb2a40e8396f390533ce750a079633f5266be2bd2e4044dc2d75d59194a7f222a75f14e07130767ae744a1212e88a44a3c
SHA512 (libnbd-1.2.2.tar.gz.sig) = 386b1ea7a93e9274179314f682fbd83bf83fcbc11eb6c79491107d3573d43e94ff2631c3f664caa3164dfb2831d084b5ce4f1199cdfa01bd61846b326b5d4734

View file

@ -1,15 +0,0 @@
#!/bin/bash -
set -e
set -x
# Enable libnbd debugging.
export LIBNBD_DEBUG=1
# Connect to nbdkit.
nbdsh -c - <<EOF
h.connect_command (["nbdkit", "-s", "--exit-with-parent",
"memory", "size=1G"])
size = h.get_size ()
print ("size = %s" % size)
assert size == 1073741824
EOF

View file

@ -1,12 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- python3-libnbd
- nbdkit
tests:
- simple:
dir: .
run: ./basic-test.sh