6
0
Files
libtcnative-1-0/libtcnative-1-0.spec

125 lines
4.2 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package libtcnative-1-0
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{!?make_build:%global make_build make %{?_smp_mflags}}
Name: libtcnative-1-0
Version: 1.2.39
Release: 0
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
Summary: Tomcat resources for performance, compatibility, etc
License: Apache-2.0
Group: Productivity/Networking/Web/Servers
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
URL: https://tomcat.apache.org/native-1.2-doc/index.html
Source0: https://www.apache.org/dist/tomcat/tomcat-connectors/native/%{version}/source/tomcat-native-%{version}-src.tar.gz
Source1: https://www.apache.org/dist/tomcat/tomcat-connectors/native/%{version}/source/tomcat-native-%{version}-src.tar.gz.asc
# https://www.apache.org/dist/tomcat/tomcat-connectors/KEYS
Source2: %{name}.keyring
BuildRequires: fdupes
BuildRequires: java-devel
BuildRequires: javapackages-tools
BuildRequires: libapr1-devel >= 1.4.3
BuildRequires: pkgconfig
# Upstream compatibility:
Provides: tcnative = %{version}
#Fedora compatibility
Provides: tomcat-native = %{version}
%if 0%{?suse_version} >= 1550
BuildRequires: libopenssl-devel >= 3.0.11
%else
BuildRequires: libopenssl-1_1-devel
%endif
%description
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
The Apache Tomcat Native Library is an optional component for use
with Apache Tomcat that allows Tomcat to use certain native
resources for performance, compatibility, etc.
Specifically, the Apache Tomcat Native Library gives Tomcat access
to the Apache Portable Runtime (APR) library's network connection
(socket) implementation and random-number generator. See the Apache
Tomcat documentation for more information on how to configure Tomcat
to use the APR connector.
Features of the APR connector:
* Non-blocking I/O for Keep-Alive requests (between requests)
* Uses OpenSSL for TLS/SSL capabilities (if supported by linked APR
library)
* FIPS 140-2 support for TLS/SSL (if supported by linked OpenSSL
library)
* Support for IPv4, IPv6 and Unix Domain Sockets
%package devel
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
Summary: Tomcat resources for performance, compatibility, etc
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
Requires: glibc-devel
Requires: libapr1-devel
Requires: libopenssl-devel
%description devel
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
The Apache Tomcat Native Library is an optional component for use
with Apache Tomcat that allows Tomcat to use certain native
resources for performance, compatibility, etc.
Specifically, the Apache Tomcat Native Library gives Tomcat access
to the Apache Portable Runtime (APR) library's network connection
(socket) implementation and random-number generator. See the Apache
Tomcat documentation for more information on how to configure Tomcat
to use the APR connector.
Features of the APR connector:
* Non-blocking I/O for Keep-Alive requests (between requests)
* Uses OpenSSL for TLS/SSL capabilities (if supported by linked APR
library)
* FIPS 140-2 support for TLS/SSL (if supported by linked OpenSSL
library)
* Support for IPv4, IPv6 and Unix Domain Sockets
%prep
%setup -q -n tomcat-native-%{version}-src
%build
cd native
%configure \
--with-apr=%{_bindir}/apr-1-config \
--with-java-platform=2
%make_build
%install
make -C native install DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}/%{_includedir}
install -m 644 native/include/* %{buildroot}/%{_includedir}
find %{buildroot} -type f -name "*.la" -delete -print
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
%doc CHANGELOG.txt README.txt
%{_libdir}/libtcnative-1.so.*
#bnc#622430 - java expects so files installed
%{_libdir}/libtcnative-1.so
%files devel
%{_includedir}/*
Accepting request 1125842 from home:mbussolotto:branches:Java:packages:bump - Version update to version 1.2.38: * Update: Align default pass phrase prompt with HTTPd. (michaelo) * Fix: 66669: Fix memory leak in SNI processing. (markt) * Update: Update the recommended minimum version of OpenSSL to 1.1.1v. (markt) * Update: Update the recommended minimum version of APR to 1.7.4. (markt) * Docs: Document the TLS rengotiation behaviour. (markt) * Docs: Add HOWTO-RELEASE.txt that describes the release process. (markt) * Code: Refactor library initialization so it is compatible with Tomcat 10.1.x onwards where a number of Java classes have been removed. (markt) * Add: Map the OpenSSL 3.x FIPS behaviour to the OpenSSL 1.x API to allow clients to determine if the FIPS provider is being used when Tomcat Native is compiled against OpenSSL 3.x. (markt) * Fix: 66035: Fix crash when attempting to read TLS session ID after a handshake failure. (schultz/markt) * Fix: Enable download_deps.sh to be called from any directory. Pull request #12 provided by Dimitrios Soumis. (markt) * Fix: Fix release script so it works with the current git layout. (markt) * Fix: 65441: Correct previous fix that enabled building to continue with OpenSSL 3.x. Patch provided by lzsiga. (markt) * Fix: 65659: Remove remaining reference to pkg-config which is no longer included in the Tomcat Native distribution. (markt) * Add: 65181: Additional changes required to provided support for using OpenSSL Engines that use proprietary key formats. Based on a patch provided by Edin Hodzic. (markt) * Fix: 65329: Correct handling of WINVER in make file to use correct constant for Windows 7. Add constants for Windows 8, Windows 8.1 and Windows 10. Rename WINNT to WIN2k as it is used for Windows 2000 upwards, not Windows NT upwards. (markt) * Fix: Add a patch for APR that fixes an issue where some Windows systems in some configurations would only listen on IPv6 addresses on dual stack systems even though configured to listen on both IPv6 and IPv4 addresses. (michaelo) * Fix: Correct a regression in the fix for 65181 that prevented an error message from being displayed if an invalid key file was provided and no OpenSSL Engine was configured. (markt) * Add: 65181: Improve support for using OpenSSL Engines that use proprietary key formats. Patch provided by Edin Hodzic. (markt) * Fix: Enable building to continue against OpenSSL 3.x and 1.1.1. (markt) * Fix: Incomplete name mangling fix for C++ compilers in tcn_api.h. (michaelo) * Update: Improve OS-specific header include for native thread id. (michaelo) * Fix: Disable keylog callback support for LibreSSL. (michaelo) * Add: Add support for SSLContext.addChainCertificateRaw() with LibreSSL 2.9.1 and up. (michaelo) * Add: Add support for HP-UX's _lwp_self() in our ssl_thread_id(void). (michaelo) * Remove default option passed for rpath to linker on HP-UX. (michaelo) * Add: Add an option to allow the OCSP responder check to be bypassed. Note that if OCSP is enabled, a missing responder is now treated as an error. (jfclere) * Fix: 64429: Fix compilation with LibreSSL. (markt) * Fix: 63671: libtcnative does not compile with OpenSSL < 1.1.0 and APR w/o threading support. (michaelo) * Fix: Correct configure message for OpenSSL libdir. (michaelo) * Update: 64260: Clean up install target. (michaelo) * Fix: 64315: configure output for OpenSSL wrong/incomplete sometimes. (michaelo) * Update: Drop obsolete build time workarounds for HP-UX. (michaelo) * Add: Add support for FreeBSD's pthread_getthreadid_np() in our ssl_thread_id(void). (michaelo) * Add: 64316: Introduce tcn_get_thread_id(void) to reduce code duplication. (michaelo) * Fix: Fix linking against OpenSSL in non-standard locations on FreeBSD. (michaelo) * OBS-URL: https://build.opensuse.org/request/show/1125842 OBS-URL: https://build.opensuse.org/package/show/Java:packages/libtcnative-1-0?expand=0&rev=24
2023-11-14 12:02:17 +00:00
%license LICENSE NOTICE
%changelog