import UBI libdb-5.3.28-54.el9
This commit is contained in:
parent
06c1b9d28f
commit
6475d48e4f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
SOURCES/db-5.3.28.tar.gz
|
SOURCES/db-5.3.28.tar.gz
|
||||||
SOURCES/db.1.85.tar.gz
|
SOURCES/db.1.85.tar.gz
|
||||||
SOURCES/libdb-5.3.28-manpages.tar.gz
|
SOURCES/libdb-5.3.28-manpages.tar.gz
|
||||||
|
SOURCES/v1.0.2.tar.gz
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
fa3f8a41ad5101f43d08bc0efb6241c9b6fc1ae9 SOURCES/db-5.3.28.tar.gz
|
fa3f8a41ad5101f43d08bc0efb6241c9b6fc1ae9 SOURCES/db-5.3.28.tar.gz
|
||||||
ccb057b07761d1b2b34626e748c7392c749d5e6d SOURCES/db.1.85.tar.gz
|
ccb057b07761d1b2b34626e748c7392c749d5e6d SOURCES/db.1.85.tar.gz
|
||||||
c90635ffef230707c87f1353495972f8041882bd SOURCES/libdb-5.3.28-manpages.tar.gz
|
c90635ffef230707c87f1353495972f8041882bd SOURCES/libdb-5.3.28-manpages.tar.gz
|
||||||
|
7c3a0c5b472adc56dbac3202c6b32651d85e3acc SOURCES/v1.0.2.tar.gz
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
%define __soversion_major 5
|
%define __soversion_major 5
|
||||||
%define __soversion %{__soversion_major}.3
|
%define __soversion %{__soversion_major}.3
|
||||||
%define __tclversion 8.6
|
%define __tclversion 8.6
|
||||||
|
%define __converter_version 1.0.2
|
||||||
|
|
||||||
Summary: The Berkeley DB database library for C
|
Summary: The Berkeley DB database library for C
|
||||||
Name: libdb
|
Name: libdb
|
||||||
Version: 5.3.28
|
Version: 5.3.28
|
||||||
Release: 53%{?dist}
|
Release: 54%{?dist}
|
||||||
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||||
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
||||||
# For mt19937db.c
|
# For mt19937db.c
|
||||||
Source2: http://www.gnu.org/licenses/lgpl-2.1.txt
|
Source2: http://www.gnu.org/licenses/lgpl-2.1.txt
|
||||||
# libdb man pages generated from the 5.3.28 documentation
|
# libdb man pages generated from the 5.3.28 documentation
|
||||||
Source3: libdb-5.3.28-manpages.tar.gz
|
Source3: libdb-5.3.28-manpages.tar.gz
|
||||||
|
Source4: https://github.com/fila43/db_converter/archive/refs/tags/v%{__converter_version}.tar.gz
|
||||||
Patch0: libdb-multiarch.patch
|
Patch0: libdb-multiarch.patch
|
||||||
# db-1.85 upstream patches
|
# db-1.85 upstream patches
|
||||||
Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1
|
Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1
|
||||||
@ -61,7 +63,7 @@ Patch41: db-5.3.28-fix-CWE-686-398.patch
|
|||||||
Patch42: db-5.3.28-mmap-high-cpu-usage.patch
|
Patch42: db-5.3.28-mmap-high-cpu-usage.patch
|
||||||
|
|
||||||
URL: http://www.oracle.com/database/berkeley-db/
|
URL: http://www.oracle.com/database/berkeley-db/
|
||||||
License: BSD and LGPLv2 and Sleepycat
|
License: BSD and LGPLv2 and Sleepycat and MIT
|
||||||
BuildRequires: gcc gcc-c++
|
BuildRequires: gcc gcc-c++
|
||||||
BuildRequires: perl-interpreter libtool
|
BuildRequires: perl-interpreter libtool
|
||||||
BuildRequires: tcl-devel >= %{__tclversion}
|
BuildRequires: tcl-devel >= %{__tclversion}
|
||||||
@ -82,7 +84,11 @@ be installed on all systems.
|
|||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: Command line tools for managing Berkeley DB databases
|
Summary: Command line tools for managing Berkeley DB databases
|
||||||
|
Buildrequires: libdb-devel
|
||||||
|
BuildRequires: gdbm-devel lmdb-devel
|
||||||
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: gdbm-libs lmdb-libs
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
||||||
@ -196,10 +202,13 @@ provides embedded database support for both traditional and
|
|||||||
client/server applications. This package contains the libraries
|
client/server applications. This package contains the libraries
|
||||||
for building programs which use the Berkeley DB in SQL.
|
for building programs which use the Berkeley DB in SQL.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n db-%{version} -a 1
|
%setup -q -n db-%{version} -a 1
|
||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
tar -xf %{SOURCE3}
|
tar -xf %{SOURCE3}
|
||||||
|
#db_converter
|
||||||
|
tar -xf %{SOURCE4}
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
pushd db.1.85/PORT/linux
|
pushd db.1.85/PORT/linux
|
||||||
@ -280,6 +289,10 @@ perl -pi -e 's/-shared -nostdlib/-shared/' libtool
|
|||||||
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
|
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd db_converter-%{__converter_version}
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
||||||
@ -327,6 +340,8 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|||||||
%ldconfig_scriptlets sql
|
%ldconfig_scriptlets sql
|
||||||
%ldconfig_scriptlets tcl
|
%ldconfig_scriptlets tcl
|
||||||
|
|
||||||
|
install -m 0755 db_converter-%{__converter_version}/db_converter %{buildroot}/%{_bindir}/db_converter
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE lgpl-2.1.txt
|
%license LICENSE lgpl-2.1.txt
|
||||||
%doc README
|
%doc README
|
||||||
@ -364,6 +379,7 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|||||||
%{_bindir}/db*_upgrade
|
%{_bindir}/db*_upgrade
|
||||||
%{_bindir}/db*_verify
|
%{_bindir}/db*_verify
|
||||||
%{_bindir}/db*_tuner
|
%{_bindir}/db*_tuner
|
||||||
|
%{_bindir}/db_converter
|
||||||
%{_mandir}/man1/db_*
|
%{_mandir}/man1/db_*
|
||||||
|
|
||||||
%files cxx
|
%files cxx
|
||||||
@ -392,6 +408,11 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|||||||
%{_includedir}/%{name}/dbsql.h
|
%{_includedir}/%{name}/dbsql.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 06 2024 Filip Januš <fjanus@redhat.com> - 5.3.28-54
|
||||||
|
- Add db_converter into -utils subpackage
|
||||||
|
- It allowes to convert BerkeleyDB database format to GDBM/LMDB format
|
||||||
|
- Resolves: RHEL-35607
|
||||||
|
|
||||||
* Wed Nov 24 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-53
|
* Wed Nov 24 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-53
|
||||||
- Add missing RPM_LD_FLAGS for db_dump185
|
- Add missing RPM_LD_FLAGS for db_dump185
|
||||||
- Resolves: #2026417
|
- Resolves: #2026417
|
||||||
|
Loading…
Reference in New Issue
Block a user