Compare commits
No commits in common. "c9-beta" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/LMDB_0.9.29.tar.gz
|
SOURCES/lmdb-LMDB_0.9.24.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
5fac5ab0e3070290c56a0aa9fae6d88fb578a08b SOURCES/LMDB_0.9.29.tar.gz
|
76f4bc1827474403a78e5f8eb225233d67144286 SOURCES/lmdb-LMDB_0.9.24.tar.gz
|
||||||
|
37
SOURCES/lmdb-covscan.patch
Normal file
37
SOURCES/lmdb-covscan.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
diff -up ./libraries/liblmdb/midl.c.fix ./libraries/liblmdb/midl.c
|
||||||
|
--- ./libraries/liblmdb/midl.c.fix 2019-06-19 11:10:07.791337785 +0200
|
||||||
|
+++ ./libraries/liblmdb/midl.c 2019-06-19 11:16:04.005166705 +0200
|
||||||
|
@@ -120,9 +120,15 @@ void mdb_midl_free(MDB_IDL ids)
|
||||||
|
void mdb_midl_shrink( MDB_IDL *idp )
|
||||||
|
{
|
||||||
|
MDB_IDL ids = *idp;
|
||||||
|
- if (*(--ids) > MDB_IDL_UM_MAX &&
|
||||||
|
- (ids = realloc(ids, (MDB_IDL_UM_MAX+2) * sizeof(MDB_ID))))
|
||||||
|
+ MDB_IDL res = NULL;
|
||||||
|
+ if (*(--ids) > MDB_IDL_UM_MAX)
|
||||||
|
{
|
||||||
|
+ res = realloc(ids, (MDB_IDL_UM_MAX+2) * sizeof(MDB_ID));
|
||||||
|
+ if (res)
|
||||||
|
+ ids = res;
|
||||||
|
+ else
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
*ids++ = MDB_IDL_UM_MAX;
|
||||||
|
*idp = ids;
|
||||||
|
}
|
||||||
|
@@ -131,10 +137,13 @@ void mdb_midl_shrink( MDB_IDL *idp )
|
||||||
|
static int mdb_midl_grow( MDB_IDL *idp, int num )
|
||||||
|
{
|
||||||
|
MDB_IDL idn = *idp-1;
|
||||||
|
+ MDB_IDL res = NULL;
|
||||||
|
/* grow it */
|
||||||
|
- idn = realloc(idn, (*idn + num + 2) * sizeof(MDB_ID));
|
||||||
|
- if (!idn)
|
||||||
|
+ res = realloc(idn, (*idn + num + 2) * sizeof(MDB_ID));
|
||||||
|
+ if (!res)
|
||||||
|
return ENOMEM;
|
||||||
|
+ else
|
||||||
|
+ idn = res;
|
||||||
|
*idn++ += num;
|
||||||
|
*idp = idn;
|
||||||
|
return 0;
|
201
SPECS/lmdb.spec
201
SPECS/lmdb.spec
@ -1,27 +1,26 @@
|
|||||||
Name: lmdb
|
|
||||||
Version: 0.9.29
|
|
||||||
Release: 3%{?dist}
|
|
||||||
Summary: Memory-mapped key-value database
|
|
||||||
License: OpenLDAP
|
|
||||||
URL: http://symas.com/mdb
|
|
||||||
|
|
||||||
# Main source is retrieved from OpenLDAP GitLab
|
|
||||||
%global forgeurl https://git.openldap.org/openldap/openldap
|
|
||||||
%global tag LMDB_%{version}
|
|
||||||
# Tag checkout includes commit in archive name
|
|
||||||
%global commit 8ad7be2510414b9506ec9f9e24f24d04d9b04a1a
|
|
||||||
# The files themselves are in several subdirectories and need to be prefixed wit this.
|
# The files themselves are in several subdirectories and need to be prefixed wit this.
|
||||||
%global archive_path libraries/lib%{name}
|
%global archive_path libraries/lib%{name}
|
||||||
|
|
||||||
Source0: %{forgeurl}/-/archive/%{tag}.tar.gz
|
Name: lmdb
|
||||||
Source1: lmdb.pc.in
|
Version: 0.9.24
|
||||||
# Patch description in the corresponding file
|
Release: 2%{?dist}
|
||||||
Patch0: lmdb-make.patch
|
Summary: Memory-mapped key-value database
|
||||||
Patch1: lmdb-s390-check.patch
|
|
||||||
|
|
||||||
BuildRequires: make
|
License: OpenLDAP
|
||||||
BuildRequires: gcc
|
URL: http://symas.com/mdb/
|
||||||
BuildRequires: doxygen
|
Source0: https://github.com/LMDB/lmdb/archive/LMDB_%{version}.tar.gz#/%{name}-LMDB_%{version}.tar.gz
|
||||||
|
Source1: lmdb.pc.in
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: doxygen
|
||||||
|
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
# Patch description in the corresponding file
|
||||||
|
Patch0: lmdb-make.patch
|
||||||
|
Patch1: lmdb-s390-check.patch
|
||||||
|
Patch2: lmdb-covscan.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LMDB is an ultra-fast, ultra-compact key-value embedded data
|
LMDB is an ultra-fast, ultra-compact key-value embedded data
|
||||||
@ -39,7 +38,7 @@ applications that use %{name}.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
@ -54,13 +53,14 @@ The %{name}-doc package contains automatically generated documentation for %{nam
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n openldap-%{tag}-%{commit}
|
%setup -q -n %{name}-LMDB_%{version}
|
||||||
|
%patch0 -p1 -b .make
|
||||||
|
%patch1 -p1 -b .s390-check
|
||||||
|
%patch2 -p1 -b .covscan
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd %{archive_path}
|
pushd %{archive_path}
|
||||||
%set_build_flags
|
make LDFLAGS="%{build_ldflags}" XCFLAGS="%{optflags}" %{?_smp_mflags}
|
||||||
%make_build XCFLAGS="%{build_cflags}"
|
|
||||||
# Build doxygen documentation
|
# Build doxygen documentation
|
||||||
doxygen
|
doxygen
|
||||||
# remove unpackaged files
|
# remove unpackaged files
|
||||||
@ -73,7 +73,7 @@ pushd %{archive_path}
|
|||||||
# make install expects existing directory tree
|
# make install expects existing directory tree
|
||||||
mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}}
|
mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}}
|
||||||
mkdir -m 0755 -p %{buildroot}{%{_libdir}/pkgconfig,%{_mandir}/man1}
|
mkdir -m 0755 -p %{buildroot}{%{_libdir}/pkgconfig,%{_mandir}/man1}
|
||||||
%make_install prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir}
|
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Install pkgconfig file
|
# Install pkgconfig file
|
||||||
@ -122,139 +122,28 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.29-3
|
* Wed Nov 02 2022 Radovan Sroka <rsroka@redhat.com> - 0.9.24-2
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
RHEL 8.8.0 ERRATUM
|
||||||
Related: rhbz#1991688
|
- Please put lmdb in RHEL 8 CRB
|
||||||
|
- Rebuild
|
||||||
|
- Resolves: rhbz#1972979
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.29-2
|
* Thu May 07 2020 Radovan Sroka <rsroka@redhat.com> - 0.9.24-1
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- RHEL 8.3.0 ERRATUM
|
||||||
|
- rebase to 0.9.24
|
||||||
|
- Resolves: rhbz#1817421
|
||||||
|
|
||||||
* Wed Mar 17 2021 Jan Staněk <jstanek@redhat.com> - 0.9.29-1
|
* Tue Jun 18 2019 Radovan Sroka <rsroka@redhat.com> - 0.9.23-5
|
||||||
- Upgrade to version 0.9.29
|
- fixed resolves from RPMDIFF
|
||||||
|
- fixed some covscan issues
|
||||||
|
|
||||||
* Mon Feb 08 2021 Jan Staněk <jstanek@redhat.com> - 0.9.28-1
|
* Wed Jun 12 2019 Radovan Sroka <rsroka@redhat.com> - 0.9.23-4
|
||||||
- Upgrade to version 0.9.28
|
- propagate ldflags for makefile
|
||||||
- Specfile refactoring
|
- added explicit Requires for -libs
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.27-2
|
* Wed May 15 2019 Radovan Sroka <rsroka@redhat.com> - 0.9.23-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- rebuild
|
||||||
|
|
||||||
* Tue Oct 27 2020 Jan Staněk <jstanek@redhat.com> - 0.9.27-1
|
* Mon Apr 29 2019 Radovan Sroka <rsroka@redhat.com> - 0.9.23-2
|
||||||
- Upgrade to version 0.9.27
|
|
||||||
|
|
||||||
* Wed Aug 12 2020 Jan Staněk <jstanek@redhat.com> - 0.9.26-1
|
|
||||||
- Upgrade to version 0.9.26
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.25-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.9.25-2
|
|
||||||
- Use make macros
|
|
||||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
||||||
|
|
||||||
* Tue Jul 07 2020 Jan Staněk <jstanek@redhat.com> - 0.9.25-1
|
|
||||||
- Upgrade to version 0.9.25
|
|
||||||
- Use OpenLDAP git directly in place of GitHub mirror
|
|
||||||
|
|
||||||
* Mon Jun 15 2020 Jan Staněk <jstanek@redhat.com> - 0.9.24-3
|
|
||||||
- Properly %%set_build_flags
|
|
||||||
|
|
||||||
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 0.9.24-2
|
|
||||||
- Fix string quoting for rpm >= 4.16
|
|
||||||
|
|
||||||
* Tue Mar 24 2020 Jan Staněk <jstanek@redhat.com> - 0.9.24-1
|
|
||||||
- Upgrade to version 0.9.24
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Tom Stellard <tstellar@redhat.com> - 0.9.23-5
|
|
||||||
- Use make_build macro
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.23-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 09 2019 Tomas Krizek <tomas.krizek@nic.cz> - 0.9.23-1
|
|
||||||
- Updated to 0.9.23
|
|
||||||
|
|
||||||
* Mon Nov 05 2018 Jan Staněk <jstanek@redhat.com> - 0.9.22-4
|
|
||||||
- Import upstream fix for rhbz#1645114
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.22-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Apr 23 2018 Florin Asavoaie <florin.asavoaie@gmail.com> - 0.9.22-2
|
|
||||||
- Fixed Build Dependencies
|
|
||||||
- Made build work on CentOS 7 for EPEL
|
|
||||||
|
|
||||||
* Tue Apr 10 2018 Jan Staněk <jstanek@redhat.com> - 0.9.22-1
|
|
||||||
- Updated to 0.9.22
|
|
||||||
|
|
||||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.21-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.21-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.21-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 02 2017 Jan Stanek <jstanek@redhat.com> - 0.9.21-1
|
|
||||||
- Update to 0.9.21
|
|
||||||
|
|
||||||
* Mon Mar 20 2017 Jan Stanek <jstanek@redhat.com> - 0.9.20-3
|
|
||||||
- Add pkgconfig file to devel subpackage
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.20-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 12 2017 Jan Stanek <jstanek@redhat.com> - 0.9.20-1
|
|
||||||
- Update to 0.9.20
|
|
||||||
|
|
||||||
* Wed Jan 04 2017 Jan Stanek <jstanek@redhat.com> - 0.9.19-1
|
|
||||||
- Update to 0.9.19
|
|
||||||
|
|
||||||
* Wed Feb 10 2016 Jan Stanek <jstanek@redhat.com> - 0.9.18-1
|
|
||||||
- Update to 0.9.18
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.17-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 28 2015 Jan Vcelak <jvcelak@fedoraproject.org> 0.9.17-2
|
|
||||||
- Make liblmdb.so a symbolic link to (not a copy of) the versioned DSO
|
|
||||||
|
|
||||||
* Thu Dec 03 2015 Jan Staněk <jstanek@redhat.com> - 0.9.17-1
|
|
||||||
- Update to 0.9.17
|
|
||||||
|
|
||||||
* Wed Nov 25 2015 Jan Staněk <jstanek@redhat.com> - 0.9.16-2
|
|
||||||
- Return the name 'Symas' into description
|
|
||||||
|
|
||||||
* Fri Aug 14 2015 Jan Staněk <jstanek@redhat.com> - 0.9.16-1
|
|
||||||
- Updated to 0.9.16
|
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Dec 11 2014 Jan Staněk <jstanek@redhat.com> - 0.9.14-1
|
|
||||||
- Updated to 0.9.14
|
|
||||||
|
|
||||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.13-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 18 2014 Jan Stanek <jstanek@redhat.com> - 0.9.13-1
|
|
||||||
- Updated to 0.9.13
|
|
||||||
|
|
||||||
* Mon Jul 14 2014 Jan Stanek <jstanek@redhat.com> - 0.9.11-4
|
|
||||||
- Changed install instruction to be compatible with older coreutils (#1119084)
|
|
||||||
|
|
||||||
* Thu Jun 26 2014 Jan Stanek <jstanek@redhat.com> - 0.9.11-3
|
|
||||||
- Added delay in testing which was needed on s390* arches (#1104232)
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.11-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue May 27 2014 Jan Stanek <jstanek@redhat.com> - 0.9.11-1
|
|
||||||
- Initial Package
|
- Initial Package
|
||||||
|
- Resolves: rhbz#1692264
|
||||||
|
Loading…
Reference in New Issue
Block a user