5
0
2025-02-09 16:09:34 +00:00
committed by Git OBS Bridge
commit 57a42c331e
6 changed files with 263 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

BIN
liberasurecode-1.6.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
liberasurecode-1.6.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

143
liberasurecode.changes Normal file
View File

@@ -0,0 +1,143 @@
-------------------------------------------------------------------
Sat Feb 8 15:47:16 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.6.5:
* Fix a segmentation fault when multiple liberasurecode_rs_vand
descriptors have been created then one of them is destroyed
* Fixed several compiler warnings regarding strict prototypes
- includes changes from 1.6.4:
* Fixed a bounds check in get_fragment_partition that could lead
to stray writes or segmentation faults
* Fixes for on non-Bash shells
-------------------------------------------------------------------
Thu May 5 06:33:30 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 1.6.3
* Fixed an underflow error when using flat_xor_hd.
* Added a build option to allow a suffix to be added to library
names passed to dlopen()
-------------------------------------------------------------------
Sun Feb 28 18:02:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.6.2:
* Allow the writing of fragments with the legacy, non-standard CRC-32.
This is intended to smooth upgrades from liberasurecode 1.5.0 and
earlier in a system with multiple readers and writers.
See https://bugs.launchpad.net/liberasurecode/+bug/1886088 for more
information, including a script you can run on already-written
fragments to determine whether you are affected.
If you are affected:
- Upgrade liberasurecode on all systems, restarting processes as needed.
Upgraded writers will continue writing CRCs that not-yet-upgraded
readers can use.
- After liberasurecode is upgraded everywhere, remove the environment
variable. zlib CRCs will be used for new writes, and data written with
either CRC will still be readable.
-------------------------------------------------------------------
Tue Aug 6 08:51:30 UTC 2019 - antoine.belvire@opensuse.org
- Update to 1.6.1:
* Fixed CRC validation of little-endian fragments on big-endian.
* Fixed compile warning about unaligned pointers.
- Changes from 1.6.0:
* Use zlib for CRC-32.
* Allow support for reading of little-endian framents on
big-ending and vice-versa.
* Added check to return error for negative data or parity
arguments.
* Added better argument validation for flat_xor_hd.
-------------------------------------------------------------------
Tue Oct 24 10:03:15 UTC 2017 - dmueller@suse.com
- update to 1.5.0:
* Added support for Phazr.IO libphazr library
* memory leak fixes
* avoid Galois Field multiplication tables to be calculated repeatedly
- remove partial-disable-simd.patch: replaced by --disable-mmi
-------------------------------------------------------------------
Thu Jan 12 10:41:40 UTC 2017 - jengelh@inai.de
- Update RPM group and summaries (bsc#1041161)
-------------------------------------------------------------------
Wed Jan 11 14:17:47 UTC 2017 - aplanas@suse.com
- Add partial-disable-simd.patch
Some libraries like python-PyECLib fail in OBS during the tests.
This can be because in OBS SSE2, SSE3 and other SIMD extensions are
not properly addressed by QEMU.
This patch remove some SIMD extensions, maintaining MMX+SSE for
x86_64 systems.
- Add buildreuired for pkg-config
-------------------------------------------------------------------
Sat Jan 7 15:00:11 UTC 2017 - dmueller@suse.com
- update to 1.4.0:
. Added support for ISA-L Cauchy
. Added get_version functionality to library
. Fixed reconstruct to return an error when memory allocation failed
. Fixed posix_memalign error handling
. Fixed the internal version number. It was inadvertently skipped in 1.3.0.
. Fixed error handling on gf_ivnert_matrix in isa-l backend
. Added get_by_desc return value handling to get_fragment_size
. Other minor fixes and updates
-------------------------------------------------------------------
Mon Oct 10 07:49:02 UTC 2016 - dmueller@suse.com
- update to 1.2.0:
. Add functionality to enable consumers to check which backends are
present on a system
. Fix segfault when fragment index is out of range
. Add fragment metadata checksumming support
-------------------------------------------------------------------
Mon Feb 29 10:56:53 UTC 2016 - dmueller@suse.com
- update to 1.1.0
* Fix for a segfault related to Jerasure uninit() function that is being
looked up by the jerasure EC backend (Issue#19)
* Split helpers.h include for backward compatibility
* Create header symlinks in std locations for backward compat (<= 1.0.8)
* Eliminate erasurecode_stdinc.h dependency on log.h
* Move fragment_header defn to main erasurecode header
* doxygen documentation fixes
* Minor bugfixes including removing offending MAJOR/MINOR version macros
* Enforce upper limit 32 on the number of erasure coding fragments
(#data + #chunks) < 32
* Introduce 'liberasurecode_rs_vand', a native, software-based Reed-Soloman
Vandermonde backend
* Properly set W in the new internal RS backend. Without this change, the
fragment length passed up is incorrect.
* Remove all GPLv3 m4 references for CPUID checks
* Properly dedupe fragments in fragments_to_string() function
* Prevent backends from reconstructing an index when it is not missing,
ie, is available
* Make ./configure to obey CFLAGS
* Add missing pkg-config templates
* Remove autoconf installed files from git control
* Fix get_supported_flags() arguments
* Properly detect 64-bit architecture.
* Add -f argument to autoreconf to regenerate aclocal macros
* Silent autoconf warning for ac_cv_sizeof_long
* Fix C++ build issues (add missing cplusplus macros definitions)
* Make liberasurecode header installs to a specific include directory
* Fix 'make test' to properly run null and installed backend tests.
* Fix a uint < 0 warning reported by Clang
* Fix memory leak in alg_sig init
* Fix decode when m > k and all parities are chosen as input to decode
- run tests
-------------------------------------------------------------------
Thu Jul 23 14:52:48 UTC 2015 - dmueller@suse.com
- Initial package (1.0.7)

90
liberasurecode.spec Normal file
View File

@@ -0,0 +1,90 @@
#
# spec file for package liberasurecode
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libsoname liberasurecode1
Name: liberasurecode
Version: 1.6.5
Release: 0
Summary: Erasure Code API library with pluggable Erasure Code backends
License: BSD-3-Clause
URL: https://github.com/openstack/liberasurecode
Source0: https://github.com/openstack/liberasurecode/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(zlib)
%description
liberasurecode is an Erasure Code API library written in C with
pluggable Erasure Code backends.
%package -n %{libsoname}
Summary: Erasure Code API library with pluggable Erasure Code backends
%description -n %{libsoname}
liberasurecode is an Erasure Code API library written in C with
pluggable Erasure Code backends.
%package devel
Summary: Development files for liberasurecode
Requires: %{libsoname} = %{version}
%description devel
Development files for the Unified Erasure Coding interface.
%prep
%autosetup -p1
%build
./autogen.sh
%configure \
--disable-static \
--disable-mmi \
%{nil}
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
%make_build test
%ldconfig_scriptlets -n %{libsoname}
%files -n %{libsoname}
%license COPYING
%doc ChangeLog README.md
%{_libdir}/libXorcode.so.*
%{_libdir}/liberasurecode.so.*
%{_libdir}/libnullcode.so.*
%{_libdir}/liberasurecode_rs_vand.so.*
%files devel
%license COPYING
%{_includedir}/liberasurecode
%{_includedir}/config_liberasurecode.h
%{_includedir}/erasurecode*.h
%{_libdir}/libXorcode.so
%{_libdir}/liberasurecode.so
%{_libdir}/libnullcode.so
%{_libdir}/liberasurecode_rs_vand.so
%{_libdir}/pkgconfig/erasurecode-1.pc
%changelog