|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
%define __soversion_major 5
|
|
|
|
|
%define __soversion %{__soversion_major}.3
|
|
|
|
|
%define __tclversion 8.6
|
|
|
|
|
|
|
|
|
|
Summary: The Berkeley DB database library for C
|
|
|
|
|
Name: libdb
|
|
|
|
|
Version: 5.3.28
|
|
|
|
|
Release: 53%{?dist}
|
|
|
|
|
Release: 42%{?dist}
|
|
|
|
|
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
|
|
|
|
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
|
|
|
|
# For mt19937db.c
|
|
|
|
@ -25,6 +24,8 @@ Patch24: db-4.5.20-jni-include-dir.patch
|
|
|
|
|
# License clarification patch
|
|
|
|
|
# http://devel.trisquel.info/gitweb/?p=package-helpers.git;a=blob;f=helpers/DATA/db4.8/007-mt19937db.c_license.patch;h=1036db4d337ce4c60984380b89afcaa63b2ef88f;hb=df48d40d3544088338759e8bea2e7f832a564d48
|
|
|
|
|
Patch25: 007-mt19937db.c_license.patch
|
|
|
|
|
#Adds missing constant to Optcodes.java and changes ClassReader.java to use it. This makes package to build with Java 8.
|
|
|
|
|
Patch26: java8-fix.patch
|
|
|
|
|
# memp_stat fix provided by upstream (rhbz#1211871)
|
|
|
|
|
Patch27: db-5.3.21-memp_stat-upstream-fix.patch
|
|
|
|
|
# fix for mutexes not being released provided by upstream (rhbz#1277887)
|
|
|
|
@ -45,29 +46,44 @@ Patch34: libdb-5.3.21-region-size-check.patch
|
|
|
|
|
# Patch sent upstream
|
|
|
|
|
Patch35: checkpoint-opd-deadlock.patch
|
|
|
|
|
Patch36: db-5.3.28-atomic_compare_exchange.patch
|
|
|
|
|
# CDB race (rhbz #1099509)
|
|
|
|
|
# CDB race (rhbz #1616259)
|
|
|
|
|
Patch37: libdb-cbd-race.patch
|
|
|
|
|
|
|
|
|
|
# Use AES from openssl
|
|
|
|
|
Patch38: db-5.3.28-openssl.patch
|
|
|
|
|
# Limit concurrency to max 1024 CPUs (rhbz#1245410)
|
|
|
|
|
# A fix for the issue should be in an upstream release already
|
|
|
|
|
# https://community.oracle.com/message/13274780#13274780
|
|
|
|
|
Patch38: libdb-limit-cpu.patch
|
|
|
|
|
# rhbz#1608749 Patch sent upstream
|
|
|
|
|
Patch39: libdb-limit-cpu.patch
|
|
|
|
|
|
|
|
|
|
# rhbz#1670768 Patch sent upstream
|
|
|
|
|
# Expects libdb-5.3.21-mutex_leak.patch applied
|
|
|
|
|
Patch39: libdb-5.3.21-trickle_cpu.patch
|
|
|
|
|
# cve-2019-2708 fixed by mmuzila
|
|
|
|
|
Patch40: db-5.3.28_cve-2019-2708.patch
|
|
|
|
|
# Downstream covscan patch
|
|
|
|
|
Patch41: db-5.3.28-fix-CWE-686-398.patch
|
|
|
|
|
Patch40: libdb-5.3.21-trickle_cpu.patch
|
|
|
|
|
|
|
|
|
|
Patch41: db-5.3.28_cve-2019-2708.patch
|
|
|
|
|
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def182
|
|
|
|
|
Patch200: db-5.3.28-add_getopt_h.patch
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def1
|
|
|
|
|
Patch201: db-5.3.28-add_stdio_h.patch
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def141
|
|
|
|
|
Patch202: db-5.3.28-add_sys_file_h.patch
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def41
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def42
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def44
|
|
|
|
|
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def45
|
|
|
|
|
Patch203: db-5.3.28-wbool_compare.patch
|
|
|
|
|
Patch42: db-5.3.28-mmap-high-cpu-usage.patch
|
|
|
|
|
|
|
|
|
|
URL: http://www.oracle.com/database/berkeley-db/
|
|
|
|
|
License: BSD and LGPLv2 and Sleepycat
|
|
|
|
|
BuildRequires: gcc gcc-c++
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
BuildRequires: perl-interpreter libtool
|
|
|
|
|
BuildRequires: tcl-devel >= %{__tclversion}
|
|
|
|
|
BuildRequires: tcl-devel >= 8.5.2-3
|
|
|
|
|
BuildRequires: java-devel >= 1:1.6.0
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -76,12 +92,13 @@ provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
|
recovery. The Berkeley DB supports C, C++, and Perl APIs. It is
|
|
|
|
|
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
|
|
used by many applications, including Python and Perl, so this should
|
|
|
|
|
be installed on all systems.
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
|
Summary: Command line tools for managing Berkeley DB databases
|
|
|
|
|
Group: Applications/Databases
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
@ -90,10 +107,11 @@ provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. Berkeley DB includes B+tree, Extended
|
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
|
recovery. DB supports C, C++ and Perl APIs.
|
|
|
|
|
recovery. DB supports C, C++, Java and Perl APIs.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: C development files for the Berkeley DB library
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -105,6 +123,7 @@ Berkeley DB.
|
|
|
|
|
|
|
|
|
|
%package devel-doc
|
|
|
|
|
Summary: C development documentation files for the Berkeley DB library
|
|
|
|
|
Group: Documentation
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -118,6 +137,7 @@ Berkeley DB.
|
|
|
|
|
|
|
|
|
|
%package devel-static
|
|
|
|
|
Summary: Berkeley DB static libraries
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel-static
|
|
|
|
@ -129,6 +149,7 @@ Berkeley DB.
|
|
|
|
|
|
|
|
|
|
%package cxx
|
|
|
|
|
Summary: The Berkeley DB database library for C++
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description cxx
|
|
|
|
@ -137,12 +158,13 @@ provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
|
recovery. The Berkeley DB supports C, C++, and Perl APIs. It is
|
|
|
|
|
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
|
|
used by many applications, including Python and Perl, so this should
|
|
|
|
|
be installed on all systems.
|
|
|
|
|
|
|
|
|
|
%package cxx-devel
|
|
|
|
|
Summary: The Berkeley DB database library for C++
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
Requires: %{name}-cxx%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -152,12 +174,13 @@ provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. The Berkeley DB includes B+tree, Extended
|
|
|
|
|
Linear Hashing, Fixed and Variable-length record access methods,
|
|
|
|
|
transactions, locking, logging, shared memory caching, and database
|
|
|
|
|
recovery. The Berkeley DB supports C, C++, and Perl APIs. It is
|
|
|
|
|
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
|
|
|
|
|
used by many applications, including Python and Perl, so this should
|
|
|
|
|
be installed on all systems.
|
|
|
|
|
|
|
|
|
|
%package tcl
|
|
|
|
|
Summary: Development files for using the Berkeley DB with tcl
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description tcl
|
|
|
|
@ -168,6 +191,7 @@ for building programs which use the Berkeley DB in Tcl.
|
|
|
|
|
|
|
|
|
|
%package tcl-devel
|
|
|
|
|
Summary: Development files for using the Berkeley DB with tcl
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}-tcl%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description tcl-devel
|
|
|
|
@ -178,6 +202,7 @@ for building programs which use the Berkeley DB in Tcl.
|
|
|
|
|
|
|
|
|
|
%package sql
|
|
|
|
|
Summary: Development files for using the Berkeley DB with sql
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description sql
|
|
|
|
@ -188,6 +213,7 @@ for building programs which use the Berkeley DB in SQL.
|
|
|
|
|
|
|
|
|
|
%package sql-devel
|
|
|
|
|
Summary: Development files for using the Berkeley DB with sql
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}-sql%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description sql-devel
|
|
|
|
@ -196,6 +222,28 @@ provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
|
for building programs which use the Berkeley DB in SQL.
|
|
|
|
|
|
|
|
|
|
%package java
|
|
|
|
|
Summary: Development files for using the Berkeley DB with Java
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description java
|
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
|
for building programs which use the Berkeley DB in Java.
|
|
|
|
|
|
|
|
|
|
%package java-devel
|
|
|
|
|
Summary: Development files for using the Berkeley DB with Java
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}-java%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description java-devel
|
|
|
|
|
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
|
|
|
|
|
provides embedded database support for both traditional and
|
|
|
|
|
client/server applications. This package contains the libraries
|
|
|
|
|
for building programs which use the Berkeley DB in Java.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n db-%{version} -a 1
|
|
|
|
|
cp %{SOURCE2} .
|
|
|
|
@ -215,6 +263,7 @@ popd
|
|
|
|
|
%patch22 -p1
|
|
|
|
|
%patch24 -p1
|
|
|
|
|
%patch25 -p1
|
|
|
|
|
%patch26 -p1
|
|
|
|
|
%patch27 -p1
|
|
|
|
|
%patch28 -p1
|
|
|
|
|
%patch29 -p1
|
|
|
|
@ -226,13 +275,22 @@ popd
|
|
|
|
|
%patch35 -p1
|
|
|
|
|
%patch36 -p1
|
|
|
|
|
%patch37 -p1
|
|
|
|
|
%patch38 -p1
|
|
|
|
|
%patch38 -p1 -b .openssl
|
|
|
|
|
%patch39 -p1
|
|
|
|
|
%patch40 -p1 -b .cve-2019-2708
|
|
|
|
|
%patch41 -p1
|
|
|
|
|
%patch40 -p1
|
|
|
|
|
%patch41 -p1 -b .cve-2019-2708
|
|
|
|
|
%patch200 -p1
|
|
|
|
|
%patch201 -p1
|
|
|
|
|
%patch202 -p1
|
|
|
|
|
%patch203 -p1
|
|
|
|
|
%patch42 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Delete internal AES implementation
|
|
|
|
|
rm -rf src/crypto/rijndael
|
|
|
|
|
|
|
|
|
|
cd dist
|
|
|
|
|
./s_include
|
|
|
|
|
./s_config
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
@ -241,13 +299,17 @@ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
CFLAGS="$CFLAGS -DSHAREDSTATEDIR='\"%{_sharedstatedir}\"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/"
|
|
|
|
|
export CFLAGS
|
|
|
|
|
|
|
|
|
|
# building with PIE
|
|
|
|
|
LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
|
|
|
|
|
export LDFLAGS
|
|
|
|
|
|
|
|
|
|
# Build the old db-185 libraries.
|
|
|
|
|
make -C db.1.85/PORT/%{_os} OORG="$CFLAGS"
|
|
|
|
|
|
|
|
|
|
test -d dist/dist-tls || mkdir dist/dist-tls
|
|
|
|
|
# Static link db_dump185 with old db-185 libraries.
|
|
|
|
|
/bin/sh libtool --tag=CC --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo
|
|
|
|
|
/bin/sh libtool --tag=LD --mode=link %{__cc} $RPM_LD_FLAGS -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a
|
|
|
|
|
/bin/sh libtool --tag=CC --mode=compile %{__cc} $RPM_OPT_FLAGS -Idb.1.85/PORT/%{_os}/include -D_REENTRANT -c util/db_dump185.c -o dist/dist-tls/db_dump185.lo
|
|
|
|
|
/bin/sh libtool --tag=CC --mode=link %{__cc} $RPM_LD_FLAGS -o dist/dist-tls/db_dump185 dist/dist-tls/db_dump185.lo db.1.85/PORT/%{_os}/libdb.a
|
|
|
|
|
|
|
|
|
|
# Update config files to understand aarch64
|
|
|
|
|
for dir in dist lang/sql/sqlite lang/sql/jdbc lang/sql/odbc; do
|
|
|
|
@ -261,10 +323,11 @@ pushd dist/dist-tls
|
|
|
|
|
--enable-shared --enable-static \
|
|
|
|
|
--enable-tcl --with-tcl=%{_libdir} \
|
|
|
|
|
--enable-cxx --enable-sql \
|
|
|
|
|
--enable-java \
|
|
|
|
|
--enable-test \
|
|
|
|
|
--with-cryptography=openssl \
|
|
|
|
|
--disable-rpath \
|
|
|
|
|
--with-cryptography=no \
|
|
|
|
|
--with-tcl=%{_libdir}/tcl%{__tclversion}
|
|
|
|
|
--with-tcl=%{_libdir}/tcl8.6
|
|
|
|
|
|
|
|
|
|
# Remove libtool predep_objects and postdep_objects wonkiness so that
|
|
|
|
|
# building without -nostdlib doesn't include them twice. Because we
|
|
|
|
@ -274,7 +337,13 @@ perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool
|
|
|
|
|
perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
|
|
|
|
|
perl -pi -e 's/-shared -nostdlib/-shared/' libtool
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
# XXX hack around libtool not creating ./libs/libdb_java-X.Y.lai
|
|
|
|
|
LDBJ=./.libs/libdb_java-%{__soversion}.la
|
|
|
|
|
if test -f ${LDBJ} -a ! -f ${LDBJ}i; then
|
|
|
|
|
sed -e 's,^installed=no,installed=yes,' < ${LDBJ} > ${LDBJ}i
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Run some quick subsystem checks
|
|
|
|
|
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
|
|
|
|
@ -286,7 +355,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%make_install STRIP=/bin/true -C dist/dist-tls
|
|
|
|
|
%makeinstall STRIP=/bin/true -C dist/dist-tls
|
|
|
|
|
|
|
|
|
|
# XXX Nuke non-versioned archives and symlinks
|
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a}
|
|
|
|
@ -303,6 +372,10 @@ for i in db.h db_cxx.h db_185.h; do
|
|
|
|
|
ln -s %{name}/$i ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Move java jar file to the correct place
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/java
|
|
|
|
|
mv ${RPM_BUILD_ROOT}%{_libdir}/*.jar ${RPM_BUILD_ROOT}%{_datadir}/java
|
|
|
|
|
|
|
|
|
|
# Eliminate installed doco
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/docs
|
|
|
|
|
|
|
|
|
@ -322,18 +395,39 @@ rm -rf docs/installation
|
|
|
|
|
mv examples docs
|
|
|
|
|
mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%ldconfig_scriptlets cxx
|
|
|
|
|
%ldconfig_scriptlets sql
|
|
|
|
|
%ldconfig_scriptlets tcl
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig cxx
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig cxx
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig sql
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig sql
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig tcl
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig tcl
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig java
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig java
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license LICENSE lgpl-2.1.txt
|
|
|
|
|
%doc README
|
|
|
|
|
%{_libdir}/libdb-%{__soversion}.so
|
|
|
|
|
%{_libdir}/libdb-%{__soversion_major}.so
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb.so
|
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
|
%{_includedir}/%{name}/db.h
|
|
|
|
@ -342,15 +436,19 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
|
%{_includedir}/db_185.h
|
|
|
|
|
|
|
|
|
|
%files devel-doc
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc docs/*
|
|
|
|
|
|
|
|
|
|
%files devel-static
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb-%{__soversion}.a
|
|
|
|
|
%{_libdir}/libdb_cxx-%{__soversion}.a
|
|
|
|
|
%{_libdir}/libdb_tcl-%{__soversion}.a
|
|
|
|
|
%{_libdir}/libdb_sql-%{__soversion}.a
|
|
|
|
|
%{_libdir}/libdb_java-%{__soversion}.a
|
|
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_bindir}/db*_archive
|
|
|
|
|
%{_bindir}/db*_checkpoint
|
|
|
|
|
%{_bindir}/db*_deadlock
|
|
|
|
@ -367,108 +465,85 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|
|
|
|
%{_mandir}/man1/db_*
|
|
|
|
|
|
|
|
|
|
%files cxx
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb_cxx-%{__soversion}.so
|
|
|
|
|
%{_libdir}/libdb_cxx-%{__soversion_major}.so
|
|
|
|
|
|
|
|
|
|
%files cxx-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_includedir}/%{name}/db_cxx.h
|
|
|
|
|
%{_includedir}/db_cxx.h
|
|
|
|
|
%{_libdir}/libdb_cxx.so
|
|
|
|
|
|
|
|
|
|
%files tcl
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb_tcl-%{__soversion}.so
|
|
|
|
|
%{_libdir}/libdb_tcl-%{__soversion_major}.so
|
|
|
|
|
|
|
|
|
|
%files tcl-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb_tcl.so
|
|
|
|
|
|
|
|
|
|
%files sql
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb_sql-%{__soversion}.so
|
|
|
|
|
%{_libdir}/libdb_sql-%{__soversion_major}.so
|
|
|
|
|
|
|
|
|
|
%files sql-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_bindir}/dbsql
|
|
|
|
|
%{_libdir}/libdb_sql.so
|
|
|
|
|
%{_includedir}/%{name}/dbsql.h
|
|
|
|
|
|
|
|
|
|
%files java
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb_java-%{__soversion_major}*.so
|
|
|
|
|
%{_datadir}/java/*.jar
|
|
|
|
|
|
|
|
|
|
%files java-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/libdb_java.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 24 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-53
|
|
|
|
|
- Add missing RPM_LD_FLAGS for db_dump185
|
|
|
|
|
- Resolves: #2026417
|
|
|
|
|
* Wed Sep 8 2021 Filip Januš <fjanus@redhat.com> 5.3.28-42
|
|
|
|
|
- Apply the previous change only on aarch64 to limit the risk of unwanted impact
|
|
|
|
|
- Resolves: #1992402
|
|
|
|
|
|
|
|
|
|
* Mon Sep 13 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-52
|
|
|
|
|
* Mon Sep 6 2021 Filip Januš <fjanus@redhat.com> 5.3.28-41
|
|
|
|
|
- Bad order of sys calls cause high CPU usage
|
|
|
|
|
- Related: #2002186
|
|
|
|
|
- Resolves: #1992402
|
|
|
|
|
- Patch no. 42 was added
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.3.28-51
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Aug 05 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-50
|
|
|
|
|
- fix static analyzer issues CWE-686-398
|
|
|
|
|
- Resolves: #1938760
|
|
|
|
|
|
|
|
|
|
* Mon Jul 12 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-49
|
|
|
|
|
- Rebuild due to glibc
|
|
|
|
|
- Resolves: #1980975
|
|
|
|
|
|
|
|
|
|
* Fri Jun 25 2021 Filip Januš <fjanus@redhat.com> - 5.3.28-48
|
|
|
|
|
- Disable crypto support
|
|
|
|
|
- Resolves: #1974657
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.3.28-47
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-46
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 02 2020 Matej Mužila <mmuzila@redhat.com> 5.3.28-45
|
|
|
|
|
- Resolves: CVE-2019-2708 (#1853243)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-44
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 21 2020 Tom Stellard <tstellar@redhat.com> - 5.3.28-43
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Ondrej Dubaj <odubaj@redhat.com> - 5.3.28-42
|
|
|
|
|
- Remove java subpackage due to jdk-11 (#1846398)
|
|
|
|
|
|
|
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 5.3.28-41
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-40
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2019 Petr Kubat <pkubat@redhat.com> 5.3.28-39
|
|
|
|
|
- Set correct tcl-devel version for BuildRequires (#1712532)
|
|
|
|
|
* Mon Jul 27 2020 Matej Mužila <mmuzila@redhat.com> 5.3.28-40
|
|
|
|
|
- Resolves: CVE-2019-2708
|
|
|
|
|
- Resolves: #1856237
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-38
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
* Thu Jun 18 2020 Petr Kubat <pkubat@redhat.com> 5.3.28-39
|
|
|
|
|
- Rebuild for rhel 8.3.0
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-37
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
* Thu Dec 12 2019 Petr Kubat <pkubat@redhat.com> 5.3.28-38
|
|
|
|
|
- Optimize trickle thread CPU usage (#1670768)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 30 2019 Petr Kubat <pkubat@redhat.com> 5.3.28-36
|
|
|
|
|
- Optimize trickle thread CPU usage (#1608749)
|
|
|
|
|
* Mon Jun 03 2019 Matej Mužila <mmzuila@redhat.com> - 5.3.28-37
|
|
|
|
|
- Fixed flaws found by coverity
|
|
|
|
|
- Resolves: #1606978
|
|
|
|
|
|
|
|
|
|
* Wed Jan 16 2019 Petr Kubat <pkubat@redhat.com> - 5.3.28-35
|
|
|
|
|
* Tue Jan 22 2019 Petr Kubat <pkubat@redhat.com> - 5.3.28-36
|
|
|
|
|
- Add patch to workaround issues on large systems (>1024 CPU)
|
|
|
|
|
Resolves: #1245410
|
|
|
|
|
Resolves: #1664031
|
|
|
|
|
|
|
|
|
|
* Wed Sep 05 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-34
|
|
|
|
|
- Add patch for CDB race issue (#1099509)
|
|
|
|
|
* Tue Nov 27 2018 Matej Mužila <mmuzila@redhat.com> - 5.3.28-35
|
|
|
|
|
- Use AES from OpenSSL for encryption
|
|
|
|
|
- Resolves: #1618640
|
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-33
|
|
|
|
|
- Add BuildRequires for gcc and gcc-c++ (#1604566)
|
|
|
|
|
* Mon Oct 08 2018 Matej Mužila <mmuzila@redhat.com> - 5.3.28-33
|
|
|
|
|
- Link db_dump185 with RPM_LD_FLAGS (#1624127)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-32
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Sep 05 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-32
|
|
|
|
|
- Add patch for CDB race issue (#1616259)
|
|
|
|
|
|
|
|
|
|
* Wed May 23 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-31
|
|
|
|
|
- Rename __atomic_compare_exchange to not clash with gcc built-in
|
|
|
|
|
- Rename __atomic_compare_exchange to not clash with gcc built-in (#1580756)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-30
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|