Blame SPECS/libdb.spec

c7d609
%define __soversion_major 5
c7d609
%define __soversion %{__soversion_major}.3
c7d609
c7d609
Summary: The Berkeley DB database library for C
c7d609
Name: libdb
c7d609
Version: 5.3.28
952d8e
Release: 40%{?dist}
c7d609
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
c7d609
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
c7d609
# For mt19937db.c
c7d609
Source2: http://www.gnu.org/licenses/lgpl-2.1.txt
c7d609
# libdb man pages generated from the 5.3.28 documentation
c7d609
Source3: libdb-5.3.28-manpages.tar.gz
c7d609
Patch0: libdb-multiarch.patch
c7d609
# db-1.85 upstream patches
c7d609
Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1
c7d609
Patch11: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.2
c7d609
Patch12: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.3
c7d609
Patch13: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.4
c7d609
# other patches
c7d609
Patch20: db-1.85-errno.patch
c7d609
Patch22: db-4.6.21-1.85-compat.patch
c7d609
Patch24: db-4.5.20-jni-include-dir.patch
c7d609
# License clarification patch
c7d609
# 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
c7d609
Patch25: 007-mt19937db.c_license.patch
c7d609
#Adds missing constant to Optcodes.java and changes ClassReader.java to use it. This makes package to build with Java 8. 
c7d609
Patch26: java8-fix.patch
c7d609
# memp_stat fix provided by upstream (rhbz#1211871)
c7d609
Patch27: db-5.3.21-memp_stat-upstream-fix.patch
c7d609
# fix for mutexes not being released provided by upstream (rhbz#1277887)
c7d609
Patch28: db-5.3.21-mutex_leak.patch
c7d609
# fix for overflowing hash variable inside bundled lemon
c7d609
Patch29: db-5.3.28-lemon_hash.patch
c7d609
# upstream patch adding the ability to recreate libdb's environment on version mismatch
c7d609
# or when libpthread.so is modified (rhbz#1394862)
c7d609
Patch30: db-5.3.28-condition_variable.patch
c7d609
# additional changes to the upstream patch to address rhbz#1460003
c7d609
Patch31: db-5.3.28-condition-variable-ppc.patch
c7d609
# downstream patch that adds a check for rpm transaction lock in order to be able to update libdb
c7d609
# FIXME: remove when able
c7d609
Patch32: db-5.3.28-rpm-lock-check.patch
c7d609
# downstream patch to hotfix rhbz#1464033, sent upstream
c7d609
Patch33: db-5.3.28-cwd-db_config.patch
c7d609
Patch34: libdb-5.3.21-region-size-check.patch
c7d609
# Patch sent upstream
c7d609
Patch35: checkpoint-opd-deadlock.patch
c7d609
Patch36: db-5.3.28-atomic_compare_exchange.patch
c7d609
# CDB race (rhbz #1616259)
c7d609
Patch37: libdb-cbd-race.patch
c7d609
c7d609
# Use AES from openssl
c7d609
Patch38: db-5.3.28-openssl.patch
c7d609
# Limit concurrency to max 1024 CPUs (rhbz#1245410)
c7d609
# A fix for the issue should be in an upstream release already
c7d609
# https://community.oracle.com/message/13274780#13274780
c7d609
Patch39: libdb-limit-cpu.patch
c7d609
c7d609
# rhbz#1670768 Patch sent upstream
c7d609
# Expects libdb-5.3.21-mutex_leak.patch applied
c7d609
Patch40: libdb-5.3.21-trickle_cpu.patch
c7d609
952d8e
Patch41: db-5.3.28_cve-2019-2708.patch
952d8e
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def182
c7d609
Patch200: db-5.3.28-add_getopt_h.patch
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def1
c7d609
Patch201: db-5.3.28-add_stdio_h.patch
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def141
c7d609
Patch202: db-5.3.28-add_sys_file_h.patch
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def41
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def42
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def44
c7d609
# https://cov01.lab.eng.brq.redhat.com/el8-results/el8/libdb-5.3.28-31.el8+7/scan-results-imp.html#def45
c7d609
Patch203: db-5.3.28-wbool_compare.patch
c7d609
c7d609
URL: http://www.oracle.com/database/berkeley-db/
c7d609
License: BSD and LGPLv2 and Sleepycat
c7d609
Group: System Environment/Libraries
c7d609
BuildRequires: perl-interpreter libtool
c7d609
BuildRequires: tcl-devel >= 8.5.2-3
c7d609
BuildRequires: java-devel >= 1:1.6.0
c7d609
BuildRequires: chrpath
c7d609
BuildRequires: zlib-devel
c7d609
BuildRequires: openssl-devel
c7d609
Conflicts: filesystem < 3
c7d609
c7d609
%description
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. The Berkeley DB includes B+tree, Extended
c7d609
Linear Hashing, Fixed and Variable-length record access methods,
c7d609
transactions, locking, logging, shared memory caching, and database
c7d609
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
c7d609
used by many applications, including Python and Perl, so this should
c7d609
be installed on all systems.
c7d609
c7d609
%package utils
c7d609
Summary: Command line tools for managing Berkeley DB databases
c7d609
Group: Applications/Databases
c7d609
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description utils
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. Berkeley DB includes B+tree, Extended
c7d609
Linear Hashing, Fixed and Variable-length record access methods,
c7d609
transactions, locking, logging, shared memory caching, and database
c7d609
recovery. DB supports C, C++, Java and Perl APIs.
c7d609
c7d609
%package devel
c7d609
Summary: C development files for the Berkeley DB library
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description devel
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the header files,
c7d609
libraries, and documentation for building programs which use the
c7d609
Berkeley DB.
c7d609
c7d609
%package devel-doc
c7d609
Summary: C development documentation files for the Berkeley DB library
c7d609
Group: Documentation
c7d609
Requires: %{name} = %{version}-%{release}
c7d609
Requires: %{name}-devel = %{version}-%{release}
c7d609
BuildArch: noarch
c7d609
c7d609
%description devel-doc
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the header files,
c7d609
libraries, and documentation for building programs which use the
c7d609
Berkeley DB.
c7d609
c7d609
%package devel-static
c7d609
Summary: Berkeley DB static libraries
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description devel-static
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains static libraries
c7d609
needed for applications that require static linking of
c7d609
Berkeley DB.
c7d609
c7d609
%package cxx
c7d609
Summary: The Berkeley DB database library for C++
c7d609
Group: System Environment/Libraries
c7d609
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description cxx
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. The Berkeley DB includes B+tree, Extended
c7d609
Linear Hashing, Fixed and Variable-length record access methods,
c7d609
transactions, locking, logging, shared memory caching, and database
c7d609
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
c7d609
used by many applications, including Python and Perl, so this should
c7d609
be installed on all systems.
c7d609
c7d609
%package cxx-devel
c7d609
Summary: The Berkeley DB database library for C++
c7d609
Group: System Environment/Libraries
c7d609
Requires: %{name}-cxx%{?_isa} = %{version}-%{release}
c7d609
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description cxx-devel
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. The Berkeley DB includes B+tree, Extended
c7d609
Linear Hashing, Fixed and Variable-length record access methods,
c7d609
transactions, locking, logging, shared memory caching, and database
c7d609
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
c7d609
used by many applications, including Python and Perl, so this should
c7d609
be installed on all systems.
c7d609
c7d609
%package tcl
c7d609
Summary: Development files for using the Berkeley DB with tcl
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description tcl
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the libraries
c7d609
for building programs which use the Berkeley DB in Tcl.
c7d609
c7d609
%package tcl-devel
c7d609
Summary: Development files for using the Berkeley DB with tcl
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}-tcl%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description tcl-devel
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the libraries
c7d609
for building programs which use the Berkeley DB in Tcl.
c7d609
c7d609
%package sql
c7d609
Summary: Development files for using the Berkeley DB with sql
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description sql
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the libraries
c7d609
for building programs which use the Berkeley DB in SQL.
c7d609
c7d609
%package sql-devel
c7d609
Summary: Development files for using the Berkeley DB with sql
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}-sql%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description sql-devel
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the libraries
c7d609
for building programs which use the Berkeley DB in SQL.
c7d609
c7d609
%package java
c7d609
Summary: Development files for using the Berkeley DB with Java
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description java
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the libraries
c7d609
for building programs which use the Berkeley DB in Java.
c7d609
c7d609
%package java-devel
c7d609
Summary: Development files for using the Berkeley DB with Java
c7d609
Group: Development/Libraries
c7d609
Requires: %{name}-java%{?_isa} = %{version}-%{release}
c7d609
c7d609
%description java-devel
c7d609
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
c7d609
provides embedded database support for both traditional and
c7d609
client/server applications. This package contains the libraries
c7d609
for building programs which use the Berkeley DB in Java.
c7d609
c7d609
%prep
c7d609
%setup -q -n db-%{version} -a 1
c7d609
cp %{SOURCE2} .
c7d609
tar -xf %{SOURCE3}
c7d609
c7d609
%patch0 -p1
c7d609
pushd db.1.85/PORT/linux
c7d609
%patch10 -p0
c7d609
popd
c7d609
pushd db.1.85
c7d609
%patch11 -p0
c7d609
%patch12 -p0
c7d609
%patch13 -p0
c7d609
%patch20 -p1
c7d609
popd
c7d609
c7d609
%patch22 -p1
c7d609
%patch24 -p1
c7d609
%patch25 -p1
c7d609
%patch26 -p1
c7d609
%patch27 -p1
c7d609
%patch28 -p1
c7d609
%patch29 -p1
c7d609
%patch30 -p1
c7d609
%patch31 -p1
c7d609
%patch32 -p1
c7d609
%patch33 -p1
c7d609
%patch34 -p1
c7d609
%patch35 -p1
c7d609
%patch36 -p1
c7d609
%patch37 -p1
c7d609
%patch38 -p1 -b .openssl
c7d609
%patch39 -p1
c7d609
%patch40 -p1
952d8e
%patch41 -p1 -b .cve-2019-2708
c7d609
%patch200 -p1
c7d609
%patch201 -p1
c7d609
%patch202 -p1
c7d609
%patch203 -p1
c7d609
c7d609
c7d609
c7d609
# Delete internal AES implementation
c7d609
rm -rf src/crypto/rijndael
c7d609
c7d609
cd dist
c7d609
./s_include
c7d609
./s_config
c7d609
cd ..
c7d609
c7d609
%build
c7d609
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
c7d609
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/"
c7d609
export CFLAGS
c7d609
c7d609
# building with PIE
c7d609
LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
c7d609
export LDFLAGS
c7d609
c7d609
# Build the old db-185 libraries.
c7d609
make -C db.1.85/PORT/%{_os} OORG="$CFLAGS"
c7d609
c7d609
test -d dist/dist-tls || mkdir dist/dist-tls
c7d609
# Static link db_dump185 with old db-185 libraries.
c7d609
/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
c7d609
/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
c7d609
c7d609
# Update config files to understand aarch64
c7d609
for dir in dist lang/sql/sqlite lang/sql/jdbc lang/sql/odbc; do
c7d609
  cp /usr/lib/rpm/redhat/config.{guess,sub} "$dir"
c7d609
done
c7d609
c7d609
pushd dist/dist-tls
c7d609
%define _configure ../configure
c7d609
%configure -C \
c7d609
	--enable-compat185 --enable-dump185 \
c7d609
	--enable-shared --enable-static \
c7d609
	--enable-tcl --with-tcl=%{_libdir} \
c7d609
	--enable-cxx --enable-sql \
c7d609
	--enable-java \
c7d609
	--enable-test \
c7d609
    --with-cryptography=openssl \
c7d609
	--disable-rpath \
c7d609
  --with-tcl=%{_libdir}/tcl8.6
c7d609
c7d609
# Remove libtool predep_objects and postdep_objects wonkiness so that
c7d609
# building without -nostdlib doesn't include them twice.  Because we
c7d609
# already link with g++, weird stuff happens if you don't let the
c7d609
# compiler handle this.
c7d609
perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool
c7d609
perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
c7d609
perl -pi -e 's/-shared -nostdlib/-shared/' libtool
c7d609
c7d609
make %{?_smp_mflags}
c7d609
c7d609
# XXX hack around libtool not creating ./libs/libdb_java-X.Y.lai
c7d609
LDBJ=./.libs/libdb_java-%{__soversion}.la
c7d609
if test -f ${LDBJ} -a ! -f ${LDBJ}i; then
c7d609
	sed -e 's,^installed=no,installed=yes,' < ${LDBJ} > ${LDBJ}i
c7d609
fi
c7d609
c7d609
# Run some quick subsystem checks
c7d609
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
c7d609
popd
c7d609
c7d609
%install
c7d609
rm -rf ${RPM_BUILD_ROOT}
c7d609
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
c7d609
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
c7d609
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
c7d609
c7d609
%makeinstall STRIP=/bin/true -C dist/dist-tls
c7d609
c7d609
# XXX Nuke non-versioned archives and symlinks
c7d609
rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a}
c7d609
c7d609
chmod +x ${RPM_BUILD_ROOT}%{_libdir}/*.so*
c7d609
c7d609
# Move the header files to a subdirectory, in case we're deploying on a
c7d609
# system with multiple versions of DB installed.
c7d609
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/%{name}
c7d609
mv ${RPM_BUILD_ROOT}%{_includedir}/*.h ${RPM_BUILD_ROOT}%{_includedir}/%{name}/
c7d609
c7d609
# Create symlinks to includes so that "use <db.h> and link with -ldb" works.
c7d609
for i in db.h db_cxx.h db_185.h; do
c7d609
	ln -s %{name}/$i ${RPM_BUILD_ROOT}%{_includedir}
c7d609
done
c7d609
c7d609
# Move java jar file to the correct place
c7d609
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/java
c7d609
mv ${RPM_BUILD_ROOT}%{_libdir}/*.jar ${RPM_BUILD_ROOT}%{_datadir}/java
c7d609
c7d609
# Eliminate installed doco
c7d609
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/docs
c7d609
c7d609
# XXX Avoid Permission denied. strip when building as non-root.
c7d609
chmod u+w ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_bindir}/*
c7d609
c7d609
# remove unneeded .la files (#225675)
c7d609
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
c7d609
c7d609
# remove RPATHs
c7d609
chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so ${RPM_BUILD_ROOT}%{_bindir}/*
c7d609
c7d609
# unify documentation and examples, remove stuff we don't need
c7d609
rm -rf docs/csharp
c7d609
rm -rf examples/csharp
c7d609
rm -rf docs/installation
c7d609
mv examples docs
c7d609
mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
c7d609
c7d609
%clean
c7d609
rm -rf ${RPM_BUILD_ROOT}
c7d609
c7d609
%post -p /sbin/ldconfig
c7d609
c7d609
%postun -p /sbin/ldconfig
c7d609
c7d609
%post -p /sbin/ldconfig cxx
c7d609
c7d609
%postun -p /sbin/ldconfig cxx
c7d609
c7d609
%post -p /sbin/ldconfig sql
c7d609
c7d609
%postun -p /sbin/ldconfig sql
c7d609
c7d609
%post -p /sbin/ldconfig tcl
c7d609
c7d609
%postun -p /sbin/ldconfig tcl
c7d609
c7d609
%post -p /sbin/ldconfig java
c7d609
c7d609
%postun -p /sbin/ldconfig java
c7d609
c7d609
%files
c7d609
%defattr(-,root,root,-)
c7d609
%{!?_licensedir:%global license %%doc}
c7d609
%license LICENSE lgpl-2.1.txt
c7d609
%doc README
c7d609
%{_libdir}/libdb-%{__soversion}.so
c7d609
%{_libdir}/libdb-%{__soversion_major}.so
c7d609
c7d609
%files devel
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb.so
c7d609
%dir %{_includedir}/%{name}
c7d609
%{_includedir}/%{name}/db.h
c7d609
%{_includedir}/%{name}/db_185.h
c7d609
%{_includedir}/db.h
c7d609
%{_includedir}/db_185.h
c7d609
c7d609
%files devel-doc
c7d609
%defattr(-,root,root,-)
c7d609
%doc	docs/*
c7d609
c7d609
%files devel-static
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb-%{__soversion}.a
c7d609
%{_libdir}/libdb_cxx-%{__soversion}.a
c7d609
%{_libdir}/libdb_tcl-%{__soversion}.a
c7d609
%{_libdir}/libdb_sql-%{__soversion}.a
c7d609
%{_libdir}/libdb_java-%{__soversion}.a
c7d609
c7d609
%files utils
c7d609
%defattr(-,root,root,-)
c7d609
%{_bindir}/db*_archive
c7d609
%{_bindir}/db*_checkpoint
c7d609
%{_bindir}/db*_deadlock
c7d609
%{_bindir}/db*_dump*
c7d609
%{_bindir}/db*_hotbackup
c7d609
%{_bindir}/db*_load
c7d609
%{_bindir}/db*_printlog
c7d609
%{_bindir}/db*_recover
c7d609
%{_bindir}/db*_replicate
c7d609
%{_bindir}/db*_stat
c7d609
%{_bindir}/db*_upgrade
c7d609
%{_bindir}/db*_verify
c7d609
%{_bindir}/db*_tuner
c7d609
%{_mandir}/man1/db_*
c7d609
c7d609
%files cxx
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb_cxx-%{__soversion}.so
c7d609
%{_libdir}/libdb_cxx-%{__soversion_major}.so
c7d609
c7d609
%files cxx-devel
c7d609
%defattr(-,root,root,-)
c7d609
%{_includedir}/%{name}/db_cxx.h
c7d609
%{_includedir}/db_cxx.h
c7d609
%{_libdir}/libdb_cxx.so
c7d609
c7d609
%files tcl
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb_tcl-%{__soversion}.so
c7d609
%{_libdir}/libdb_tcl-%{__soversion_major}.so
c7d609
c7d609
%files tcl-devel
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb_tcl.so
c7d609
c7d609
%files sql
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb_sql-%{__soversion}.so
c7d609
%{_libdir}/libdb_sql-%{__soversion_major}.so
c7d609
c7d609
%files sql-devel
c7d609
%defattr(-,root,root,-)
c7d609
%{_bindir}/dbsql
c7d609
%{_libdir}/libdb_sql.so
c7d609
%{_includedir}/%{name}/dbsql.h
c7d609
c7d609
%files java
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb_java-%{__soversion_major}*.so
c7d609
%{_datadir}/java/*.jar
c7d609
c7d609
%files java-devel
c7d609
%defattr(-,root,root,-)
c7d609
%{_libdir}/libdb_java.so
c7d609
c7d609
%changelog
952d8e
* Mon Jul 27 2020 Matej Mužila <mmuzila@redhat.com> 5.3.28-40
952d8e
- Resolves: CVE-2019-2708
952d8e
- Resolves: #1856237
952d8e
c7d609
* Thu Jun 18 2020 Petr Kubat <pkubat@redhat.com> 5.3.28-39
c7d609
- Rebuild for rhel 8.3.0
c7d609
c7d609
* Thu Dec 12 2019 Petr Kubat <pkubat@redhat.com> 5.3.28-38
c7d609
- Optimize trickle thread CPU usage (#1670768)
c7d609
952d8e
* Mon Jun 03 2019 Matej Mužila <mmzuila@redhat.com> - 5.3.28-37
c7d609
- Fixed flaws found by coverity
c7d609
- Resolves: #1606978
c7d609
c7d609
* Tue Jan 22 2019 Petr Kubat <pkubat@redhat.com> - 5.3.28-36
c7d609
- Add patch to workaround issues on large systems (>1024 CPU)
c7d609
  Resolves: #1664031
c7d609
c7d609
* Tue Nov 27 2018 Matej Mužila <mmuzila@redhat.com> - 5.3.28-35
c7d609
- Use AES from OpenSSL for encryption
c7d609
- Resolves: #1618640
c7d609
c7d609
* Mon Oct 08 2018 Matej Mužila <mmuzila@redhat.com> - 5.3.28-33
c7d609
- Link db_dump185 with RPM_LD_FLAGS (#1624127)
c7d609
c7d609
* Wed Sep 05 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-32
c7d609
- Add patch for CDB race issue (#1616259)
c7d609
c7d609
* Wed May 23 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-31
c7d609
- Rename __atomic_compare_exchange to not clash with gcc built-in (#1580756)
c7d609
c7d609
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-30
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c7d609
c7d609
* Tue Oct 31 2017 Petr Kubat <pkubat@redhat.com> 5.3.28-29
c7d609
- Fix deadlocks when reading/writing off-page duplicate tree (#1349779)
c7d609
c7d609
* Tue Oct 24 2017 Petr Kubat <pkubat@redhat.com> 5.3.28-28
c7d609
- Run a number of quick subsystem checks on build
c7d609
c7d609
* Thu Sep 07 2017 Petr Kubat <pkubat@redhat.com> 5.3.28-27
c7d609
- Fail properly when encountering removed or 0-byte regions (#1471011)
c7d609
c7d609
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-26
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c7d609
c7d609
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-25
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c7d609
c7d609
* Mon Jun 26 2017 Petr Kubat <pkubat@redhat.com> - 5.3.28-24
c7d609
- Fix some defects found by covscan
c7d609
c7d609
* Mon Jun 26 2017 Petr Kubat <pkubat@redhat.com> - 5.3.28-23
c7d609
- Try looking at env lock via /proc/locks during env_attach (#1460003)
c7d609
- Check rpm's transaction lock via /proc/locks
c7d609
- Do not access DB_CONFIG when db_home is not set (#1464033)
c7d609
c7d609
* Tue Jun 13 2017 Petr Kubat <pkubat@redhat.com> - 5.3.28-23
c7d609
- Reintroduce patches removed in 5.3.28-22
c7d609
- Modify upstream patch to fail on pthread version mismatch (#1460003)
c7d609
c7d609
* Fri Jun 09 2017 Adam Williamson <awilliam@redhat.com> - 5.3.28-22
c7d609
- Drop rhbz#1394862 patches again, DB corruption still being reported
c7d609
c7d609
* Thu Jun 01 2017 Petr Kubat <pkubat@redhat.com> - 5.3.28-21
c7d609
- Reintroduce upstream patch for rhbz#1394862
c7d609
- Do not rebuild rpm's environment during a rpm transaction
c7d609
c7d609
* Fri May 26 2017 Adam Williamson <awilliam@redhat.com> - 5.3.28-20
c7d609
- Drop rhbz#1394862 patch for now, it has serious issues
c7d609
c7d609
* Wed May 24 2017 Petr Kubat <pkubat@redhat.com> - 5.3.28-19
c7d609
- Fix some issues present in the upstream patch for rhbz#1394862
c7d609
c7d609
* Tue May 23 2017 Adam Williamson <awilliam@redhat.com> - 5.3.28-18
c7d609
- Fix issue causing RPM to hang when glibc/libpthread change (#1394862)
c7d609
c7d609
* Wed Feb 22 2017 Petr Kubat <pkubat@redhat.com> - 5.3.28-17
c7d609
- Fix overflowing integer in bundled-in lemon.c (#1423842)
c7d609
c7d609
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-17
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c7d609
c7d609
* Thu Dec 08 2016 Petr Kubat <pkubat@redhat.com> 5.3.28-16
c7d609
- Add man pages for libdb-utils
c7d609
c7d609
* Mon Nov 14 2016 Petr Kubat <pkubat@redhat.com> 5.3.28-15
c7d609
- Fix mutexes not being released properly (#1272680)
c7d609
c7d609
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.28-14
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c7d609
c7d609
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.28-13
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c7d609
c7d609
* Tue May 19 2015 Jan Stanek <jstanek@redhat.com> - 5.3.28-12
c7d609
- Add upstream patch for a memp_stat issue.
c7d609
- Resolves: rhbz#1211871
c7d609
c7d609
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.3.28-11
c7d609
- Rebuilt for GCC 5 C++11 ABI change
c7d609
c7d609
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 5.3.28-10
c7d609
- Rebuilt for Fedora 23 Change
c7d609
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
c7d609
c7d609
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.28-9
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c7d609
c7d609
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 5.3.28-8
c7d609
- fix license handling
c7d609
c7d609
* Mon Jul 14 2014 Jakub ÄŒajka <jcajka@redhat.com> - 5.3.28-7
c7d609
- Fixed build with Java 8
c7d609
c7d609
* Tue Jun 10 2014 Jan Stanek <jstanek@redhat.com> - 5.3.28-6
c7d609
- Fixed search path for new tcl, new BuildRequires for zlib
c7d609
c7d609
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.28-5
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c7d609
c7d609
* Sat Feb 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 5.3.28-4
c7d609
- Add some of the previous aarch64 bits back as the sub configure don't use the macro
c7d609
c7d609
* Sun Jan 26 2014 Peter Robinson <pbrobinson@fedoraproject.org> 5.3.28-3
c7d609
- Fix configure macro usage for better aarch64 build fix
c7d609
c7d609
* Wed Nov 06 2013 Jan Stanek <jstanek@redhat.com> - 5.3.28-2
c7d609
- Updated config files to allow build on aarch64 (#1022970)
c7d609
c7d609
* Tue Oct 08 2013 Jan Stanek <jstanek@redhat.com> - 5.3.28-1
c7d609
- Added Sleepycat to the license list (#1013841)
c7d609
- Updated to 5.3.28 (#1013233)
c7d609
c7d609
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-13
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c7d609
c7d609
* Tue May 28 2013 Tom Callaway <spot@fedoraproject.org> - 5.3.21-12
c7d609
- add copy of lgpl-2.1.txt
c7d609
c7d609
* Thu May 16 2013 Jan Stanek <jstanek@redhat.com> - 5.3.21-11
c7d609
- Fix missing debuginfo issue for utils subpackage
c7d609
c7d609
* Thu May  9 2013 Tom Callaway <spot@fedoraproject.org> - 5.3.21-10
c7d609
- add license clarification fix
c7d609
c7d609
* Wed Apr 03 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-9
c7d609
- Added sqlite compability CFLAGS (#788496)
c7d609
c7d609
* Wed Mar 27 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-8
c7d609
- Cleaning the specfile - removed gcc-java dependecy other way
c7d609
c7d609
* Wed Mar 27 2013 Jan Stanek <jstanek@redhat.com> 5.3.21-7
c7d609
- Removed dependency on obsolete gcc-java package (#927742)
c7d609
c7d609
* Thu Mar  7 2013 Jindrich Novy <jnovy@redhat.com> 5.3.21-6
c7d609
- add LGPLv2+ and remove Sleepycat in license tag (#886838)
c7d609
c7d609
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-5
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c7d609
c7d609
* Tue Nov 27 2012 Tom Callaway <spot@fedoraproject.org> - 5.3.21-4
c7d609
- fix license tag
c7d609
c7d609
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.21-3
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c7d609
c7d609
* Sat Jul 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 5.3.21-2
c7d609
- Specify tag for libtool (fixes FTBFS # 838334 )
c7d609
c7d609
* Thu Jul  5 2012 Jindrich Novy <jnovy@redhat.com> 5.3.21-1
c7d609
- update to 5.3.21
c7d609
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
c7d609
c7d609
* Tue Jul  3 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-5
c7d609
- move C++ header files to cxx-devel
c7d609
c7d609
* Tue Jul  3 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-4
c7d609
- fix -devel packages dependencies yet more (#832225)
c7d609
c7d609
* Sun May  6 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-3
c7d609
- package -devel packages correctly
c7d609
c7d609
* Sat Apr 21 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-2
c7d609
- fix multiarch conflict in libdb-devel (#812901)
c7d609
- remove unneeded dos2unix BR
c7d609
c7d609
* Thu Mar 15 2012 Jindrich Novy <jnovy@redhat.com> 5.3.15-1
c7d609
- update to 5.3.15
c7d609
  http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
c7d609
c7d609
* Fri Feb 17 2012 Deepak Bhole <dbhole@redhat.com> 5.2.36-5
c7d609
- Resolves rhbz#794472
c7d609
- Patch from Omair Majid <omajid@redhat.com> to remove explicit Java 6 req.
c7d609
c7d609
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 5.2.36-4
c7d609
- add filesystem guard
c7d609
c7d609
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 5.2.36-3
c7d609
- install everything in /usr
c7d609
  https://fedoraproject.org/wiki/Features/UsrMove
c7d609
c7d609
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.36-2
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c7d609
c7d609
* Wed Jun 15 2011 Jindrich Novy <jnovy@redhat.com> 5.2.36-1
c7d609
- update to 5.2.36,
c7d609
  http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html#id3647664
c7d609
c7d609
* Wed Jun 15 2011 Jindrich Novy <jnovy@redhat.com> 5.2.28-2
c7d609
- move development documentation to devel-doc subpackage (#705386)
c7d609
c7d609
* Tue Jun 14 2011 Jindrich Novy <jnovy@redhat.com> 5.2.28-1
c7d609
- update to 5.2.28
c7d609
c7d609
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.25-2
c7d609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c7d609
c7d609
* Thu Feb  3 2011 Jindrich Novy <jnovy@redhat.com> 5.1.25-1
c7d609
- update to 5.1.25
c7d609
c7d609
* Wed Sep 29 2010 jkeating - 5.1.19-2
c7d609
- Rebuilt for gcc bug 634757
c7d609
c7d609
* Fri Sep 10 2010 Jindrich Novy <jnovy@redhat.com> 5.1.19-1
c7d609
- update to 5.1.19
c7d609
- rename -devel-static to -static subpackage (#617800)
c7d609
- build java on all arches
c7d609
c7d609
* Wed Jul  7 2010 Jindrich Novy <jnovy@redhat.com> 5.0.26-1
c7d609
- update to 5.0.26
c7d609
- drop BR: ed
c7d609
c7d609
* Thu Jun 17 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-2
c7d609
- add Requires: libdb-cxx to libdb-devel
c7d609
c7d609
* Wed Apr 21 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-1
c7d609
- initial build
c7d609
c7d609
* Thu Apr 15 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-0.2
c7d609
- remove C# documentation
c7d609
- disable/remove rpath
c7d609
- fix description
c7d609
- tighten dependencies
c7d609
- run ldconfig for cxx and sql subpackages
c7d609
c7d609
* Fri Apr  9 2010 Jindrich Novy <jnovy@redhat.com> 5.0.21-0.1
c7d609
- enable sql
c7d609
- package 5.0.21