* test: add memory profiler test (#5329) * docs: comments for blob, stuffer methods (#5326) * refactor: remove unused s2n_socket_set_read_size method (#5594) * chore: Rust bindings release 0.3.29 (#5595) * feat(integration): enable CodeBuild and Nix for rust integration tests (#5578) * fix: update action user name (#5600) * fix: update memory usage test assertions (#5592) * docs: update pull request template (#5591) * Revert "feat: basic security policy builder interface (#5493)" (#5599) * docs: add dev docs on handshake and io (#5596) * ci: PR conventional commit lint GHA (#5603) * fix(ci): add `build` to the validate-pr-title CI job (#5610) * build(deps): bump the all-gha-updates group across 1 directory with 2 updates (#5605) * test(integration): add dynamic record sizing test (#5608) * ci: update cmake version (#5612) * ci: exclude `validate-pr-title` from merge queue (#5613) * feat: add pure ML-KEM support (#5586) * fix(ci): check Amazon copyright statement (#5611) * ci: move the integnix job to us-west-2 (#5604) * fix: replace `uint8_t` in for loops (#5619) * refactor(harness): Extend handshake logic to support TLS 1.2 (#5614) * test: require both MLKem and MLDsa capabilities for pure MLKEM tests (#5621) * ci: add rust integration test to codebuild start script (#5623) * docs: Adds note about serialization error case (#5617) * fix: enable -Wcast-qual flag for libcrypto=awslc (#4735) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/s2n?expand=0&rev=101
93 lines
2.5 KiB
RPMSpec
93 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package s2n
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define library_version 1.0.0
|
|
%define library_soversion 0unstable
|
|
Name: s2n
|
|
Version: 1.6.1
|
|
Release: 0
|
|
Summary: AWS implementation of the TLS/SSL protocols
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://github.com/awslabs/s2n
|
|
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
|
Patch1: s2n_add-so-version.patch
|
|
Patch2: s2n_fix-cmake-modules-path.patch
|
|
BuildRequires: cmake
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkgconfig(libssl)
|
|
BuildRequires: ninja
|
|
|
|
%description
|
|
s2n is a C99 implementation of the TLS/SSL protocols.
|
|
|
|
%package -n lib%{name}%{library_soversion}
|
|
Summary: AWS implementation of the TLS/SSL protocol
|
|
Group: System/Libraries
|
|
|
|
%description -n lib%{name}%{library_soversion}
|
|
s2n is a C99 implementation of the TLS/SSL protocols.
|
|
|
|
This package contains the dynamically linked library.
|
|
|
|
%package devel
|
|
Summary: Development files for s2n library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: lib%{name}%{library_soversion} = %{version}
|
|
|
|
%description devel
|
|
s2n is a C99 implementation of the TLS/SSL protocols.
|
|
|
|
This package contains the development files.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-tls-%{version}
|
|
|
|
%build
|
|
%if 0%{?suse_version} < 1500
|
|
export S2N_LIBCRYPTO=openssl-1.0.2
|
|
%endif
|
|
%define __builder ninja
|
|
%cmake \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
%make_jobs
|
|
|
|
%check
|
|
exit 0
|
|
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build/lib
|
|
%ctest
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
|
%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}%{library_soversion}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_libdir}/*.so.%{library_soversion}
|
|
%{_libdir}/*.so.%{library_version}
|
|
|
|
%files devel
|
|
%{_libdir}/cmake/
|
|
%{_libdir}/*.so
|
|
%{_includedir}/*
|
|
|
|
%changelog
|