Compare commits
9 Commits
5.3.38-2ma
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9583424666 | |||
| f892b3ae51 | |||
| cbb573b2ee | |||
| 5bc7bd5ccf | |||
| 5c476fc1ab | |||
| dd14ffc95b | |||
| c768020303 | |||
| cb12e444a6 | |||
| c9a87fb12a |
@@ -1,18 +0,0 @@
|
||||
--- bctoolbox-0.6.0/src/utils/exception.cc.orig 2017-11-20 11:17:25.586640087 +0100
|
||||
+++ bctoolbox-0.6.0/src/utils/exception.cc 2017-11-20 11:17:59.044499675 +0100
|
||||
@@ -28,6 +28,7 @@
|
||||
using namespace std;
|
||||
|
||||
static void uncaught_handler() {
|
||||
+#if ATOMIC_INT_LOCK_FREE >= 2
|
||||
std::exception_ptr p = current_exception();
|
||||
try {
|
||||
rethrow_exception(p);
|
||||
@@ -36,6 +37,7 @@
|
||||
} catch (std::exception &ee) {
|
||||
BCTBX_SLOGE(NULL) << "Unexpected exception [" << ee.what() << " ] use BctbxException for better debug";
|
||||
}
|
||||
+#endif
|
||||
abort();
|
||||
}
|
||||
|
||||
13
bctoolbox-5.4.49-libmbedtls-3.6.4.patch
Normal file
13
bctoolbox-5.4.49-libmbedtls-3.6.4.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- bctoolbox-5.4.49/src/crypto/mbedtls.cc.orig 2025-10-14 17:25:58.511868745 +0200
|
||||
+++ bctoolbox-5.4.49/src/crypto/mbedtls.cc 2025-10-14 17:28:14.619303571 +0200
|
||||
@@ -25,6 +25,10 @@
|
||||
#include <mbedtls/entropy.h>
|
||||
#include <mbedtls/hkdf.h>
|
||||
#include <mbedtls/md.h>
|
||||
+
|
||||
+#define MBEDTLS_THREADING_ALT
|
||||
+
|
||||
+#include <mbedtls/threading.h>
|
||||
#include <psa/crypto.h>
|
||||
|
||||
#include "bctoolbox/crypto.hh"
|
||||
@@ -1,14 +1,14 @@
|
||||
Name: bctoolbox
|
||||
Version: 5.3.38
|
||||
Release: 2mamba
|
||||
Version: 5.4.50
|
||||
Release: 1mamba
|
||||
Summary: Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://linphone.org
|
||||
URL: https://www.linphone.org/home/
|
||||
Source: https://github.com/BelledonneCommunications/bctoolbox.git/%{version}/bctoolbox-%{version}.tar.bz2
|
||||
Patch0: bctoolbox-0.6.0-ftbfs-arm.patch
|
||||
Patch0: bctoolbox-5.4.49-libmbedtls-3.6.4.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@@ -41,16 +41,12 @@ Requires: pkg-config
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%ifarch arm
|
||||
#% patch0 -p1
|
||||
#%endif
|
||||
sed -i '89i include_directories(%{_includedir}/mbedtls2)' CMakeLists.txt
|
||||
sed -i -e "s|PRIVATE \${MBEDTLS_TARGETS}|PRIVATE \${MBEDTLS_TARGETS} -L%{_libdir}/mbedtls2|" src/CMakeLists.txt
|
||||
|
||||
%patch 0 -p1
|
||||
echo "typedef void* mbedtls_threading_mutex_t;" > include/threading_alt.h
|
||||
|
||||
%build
|
||||
export CC=/usr/bin/clang
|
||||
export CXX=/usr/bin/clang++
|
||||
@@ -59,7 +55,6 @@ export CXX=/usr/bin/clang++
|
||||
-DDISABLE_MBEDTLS_SEARCH=ON \
|
||||
-DENABLE_STRICT=OFF \
|
||||
-DENABLE_STATIC=OFF \
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -Wno-error=unused-parameter" \
|
||||
-DENABLE_TESTS_COMPONENT=OFF
|
||||
|
||||
%make
|
||||
@@ -71,8 +66,6 @@ export CXX=/usr/bin/clang++
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
@@ -90,6 +83,33 @@ export CXX=/usr/bin/clang++
|
||||
%{_libdir}/pkgconfig/bctoolbox.pc
|
||||
|
||||
%changelog
|
||||
* Tue Oct 21 2025 Automatic Build System <autodist@openmamba.org> 5.4.50-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 14 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.49-1mamba
|
||||
- update to 5.4.49
|
||||
|
||||
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 5.3.81-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 5.3.79-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Aug 29 2024 Automatic Build System <autodist@openmamba.org> 5.3.77-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 06 2024 Automatic Build System <autodist@openmamba.org> 5.3.74-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 23 2024 Automatic Build System <autodist@openmamba.org> 5.3.72-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 5.3.56-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Apr 14 2024 Automatic Build System <autodist@openmamba.org> 5.3.41-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 11 2024 Automatic Build System <autodist@mambasoft.it> 5.3.38-2mamba
|
||||
- rebuilt by autoport with build requirements: libmbedtls-devel>=3.6.0-1mamba
|
||||
|
||||
|
||||
Reference in New Issue
Block a user