Blame SPECS/libdb.spec

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