automatic version update by autodist [release 3.2.1-1mamba;Wed Jul 13 2022]
This commit is contained in:
parent
2e2e09879d
commit
2ecfdb16a0
86
mbedtls.spec
86
mbedtls.spec
@ -1,12 +1,12 @@
|
|||||||
Name: mbedtls
|
Name: mbedtls
|
||||||
Version: 2.26.0
|
Version: 3.2.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols
|
Summary: A C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://tls.mbed.org/
|
URL: https://www.trustedfirmware.org/projects/mbed-tls/
|
||||||
Source: https://github.com/ARMmbed/mbedtls.git/v%{version}/mbedtls-%{version}.tar.bz2
|
Source: https://github.com/ARMmbed/mbedtls.git/v%{version}/mbedtls-%{version}.tar.bz2
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
@ -40,16 +40,16 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# enable flags for non-embedded systems
|
## enable flags for non-embedded systems
|
||||||
sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
|
#sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
|
||||||
sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
|
#sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
|
||||||
|
|
||||||
# broken in 2.25.0
|
## broken in 2.25.0
|
||||||
sed -i 's/thread_id, -ret/thread_id, (unsigned int)(-ret)/' programs/ssl/ssl_pthread_server.c
|
#sed -i 's/thread_id, -ret/thread_id, (unsigned int)(-ret)/' programs/ssl/ssl_pthread_server.c
|
||||||
sed -i 's/thread_id, ret/thread_id, (unsigned int)ret/' programs/ssl/ssl_pthread_server.c
|
#sed -i 's/thread_id, ret/thread_id, (unsigned int)ret/' programs/ssl/ssl_pthread_server.c
|
||||||
sed -i 's/ -ret );/ (unsigned int)(-ret) );/' programs/ssl/ssl_pthread_server.c
|
#sed -i 's/ -ret );/ (unsigned int)(-ret) );/' programs/ssl/ssl_pthread_server.c
|
||||||
sed -i 's/ -ret, error_buf/ (unsigned int)(-ret), error_buf/' programs/ssl/ssl_pthread_server.c
|
#sed -i 's/ -ret, error_buf/ (unsigned int)(-ret), error_buf/' programs/ssl/ssl_pthread_server.c
|
||||||
sed -i 's/04x\\n", ret /04x\\n", (unsigned int)ret /' programs/ssl/ssl_pthread_server.c
|
#sed -i 's/04x\\n", ret /04x\\n", (unsigned int)ret /' programs/ssl/ssl_pthread_server.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CC=/usr/bin/clang
|
export CC=/usr/bin/clang
|
||||||
@ -69,6 +69,8 @@ export CXX=/usr/bin/clang++
|
|||||||
|
|
||||||
chmod +x %{buildroot}%{_libdir}/lib*.so*
|
chmod +x %{buildroot}%{_libdir}/lib*.so*
|
||||||
|
|
||||||
|
mv %{buildroot}%{_prefix}/cmake %{buildroot}%{_libdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -77,60 +79,7 @@ chmod +x %{buildroot}%{_libdir}/lib*.so*
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/aescrypt2
|
%{_bindir}/*
|
||||||
%{_bindir}/benchmark
|
|
||||||
%{_bindir}/cert_app
|
|
||||||
%{_bindir}/cert_req
|
|
||||||
%{_bindir}/cert_write
|
|
||||||
%{_bindir}/crl_app
|
|
||||||
%{_bindir}/crypt_and_hash
|
|
||||||
%{_bindir}/crypto_examples
|
|
||||||
%{_bindir}/dh_client
|
|
||||||
%{_bindir}/dh_genprime
|
|
||||||
%{_bindir}/dh_server
|
|
||||||
%{_bindir}/dtls_client
|
|
||||||
%{_bindir}/dtls_server
|
|
||||||
%{_bindir}/ecdh_curve25519
|
|
||||||
%{_bindir}/ecdsa
|
|
||||||
%{_bindir}/gen_entropy
|
|
||||||
%{_bindir}/gen_key
|
|
||||||
%{_bindir}/gen_random_ctr_drbg
|
|
||||||
%{_bindir}/gen_random_havege
|
|
||||||
%{_bindir}/generic_sum
|
|
||||||
%{_bindir}/hello
|
|
||||||
%{_bindir}/key_app
|
|
||||||
%{_bindir}/key_app_writer
|
|
||||||
%{_bindir}/key_ladder_demo
|
|
||||||
%{_bindir}/key_ladder_demo.sh
|
|
||||||
%{_bindir}/mini_client
|
|
||||||
%{_bindir}/mpi_demo
|
|
||||||
%{_bindir}/pem2der
|
|
||||||
%{_bindir}/pk_decrypt
|
|
||||||
%{_bindir}/pk_encrypt
|
|
||||||
%{_bindir}/pk_sign
|
|
||||||
%{_bindir}/pk_verify
|
|
||||||
%{_bindir}/psa_constant_names
|
|
||||||
%{_bindir}/query_compile_time_config
|
|
||||||
%{_bindir}/req_app
|
|
||||||
%{_bindir}/rsa_decrypt
|
|
||||||
%{_bindir}/rsa_encrypt
|
|
||||||
%{_bindir}/rsa_genkey
|
|
||||||
%{_bindir}/rsa_sign
|
|
||||||
%{_bindir}/rsa_sign_pss
|
|
||||||
%{_bindir}/rsa_verify
|
|
||||||
%{_bindir}/rsa_verify_pss
|
|
||||||
%{_bindir}/selftest
|
|
||||||
%{_bindir}/ssl_client1
|
|
||||||
%{_bindir}/ssl_client2
|
|
||||||
%{_bindir}/ssl_context_info
|
|
||||||
%{_bindir}/ssl_fork_server
|
|
||||||
%{_bindir}/ssl_mail_client
|
|
||||||
%{_bindir}/ssl_pthread_server
|
|
||||||
%{_bindir}/ssl_server
|
|
||||||
%{_bindir}/ssl_server2
|
|
||||||
%{_bindir}/strerror
|
|
||||||
%{_bindir}/udp_proxy
|
|
||||||
%{_bindir}/zeroize
|
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -151,9 +100,16 @@ chmod +x %{buildroot}%{_libdir}/lib*.so*
|
|||||||
%{_libdir}/libmbedtls.so
|
%{_libdir}/libmbedtls.so
|
||||||
%{_libdir}/libmbedx509.a
|
%{_libdir}/libmbedx509.a
|
||||||
%{_libdir}/libmbedx509.so
|
%{_libdir}/libmbedx509.so
|
||||||
|
%{_libdir}/cmake/MbedTLS*.cmake
|
||||||
%doc ChangeLog README.md
|
%doc ChangeLog README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 13 2022 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Jan 05 2022 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat May 08 2021 Automatic Build System <autodist@mambasoft.it> 2.26.0-1mamba
|
* Sat May 08 2021 Automatic Build System <autodist@mambasoft.it> 2.26.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user