Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
794989d41e |
6 changed files with 26 additions and 2724 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,3 @@
|
|||
/websocketpp-0.7.0.tar.gz
|
||||
/websocketpp-0.8.1.tar.gz
|
||||
/websocketpp-0.8.2.tar.gz
|
||||
/websocketpp-b9aeec6eaf3d5610503439b4fae3581d9aff08e8.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (websocketpp-b9aeec6eaf3d5610503439b4fae3581d9aff08e8.tar.gz) = 5449a10086c1b80d0d2865bac90539f64613156050816e97a2da1a2bc1f6710ac72305747e839a13e49b2ce1b25610480c110743aef60d7d148f2c39339289c4
|
||||
SHA512 (websocketpp-0.8.2.tar.gz) = b2afc63edb69ce81a3a6c06b3d857b3e8820f0e22300ac32bb20ab30ff07bd58bd5ada3e526ed8ab52de934e0e3a26cad2118b0e68ecf3e5e9e8d7101348fd06
|
||||
|
|
|
|||
12
websocketpp-0.7.0-cmake_noarch.patch
Normal file
12
websocketpp-0.7.0-cmake_noarch.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -up websocketpp-0.7.0/CMakeLists.txt.cmake_noarch websocketpp-0.7.0/CMakeLists.txt
|
||||
--- websocketpp-0.7.0/CMakeLists.txt.cmake_noarch 2016-02-22 07:30:10.000000000 -0600
|
||||
+++ websocketpp-0.7.0/CMakeLists.txt 2016-09-15 13:05:59.012179625 -0500
|
||||
@@ -19,7 +19,7 @@ set(INSTALL_INCLUDE_DIR include CACHE PA
|
||||
if (WIN32 AND NOT CYGWIN)
|
||||
set (DEF_INSTALL_CMAKE_DIR cmake)
|
||||
else ()
|
||||
- set (DEF_INSTALL_CMAKE_DIR lib/cmake/websocketpp)
|
||||
+ set (DEF_INSTALL_CMAKE_DIR share/cmake/websocketpp)
|
||||
endif ()
|
||||
set (INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files")
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,11 +0,0 @@
|
|||
--- a/CMakeLists.txt 2022-05-24 17:42:50.000000000 +0200
|
||||
+++ b/CMakeLists.txt 2026-01-27 20:15:14.456352600 +0100
|
||||
@@ -45,7 +45,7 @@ set(INSTALL_INCLUDE_DIR include CACHE PA
|
||||
if (WIN32 AND NOT CYGWIN)
|
||||
set (DEF_INSTALL_CMAKE_DIR cmake)
|
||||
else ()
|
||||
- set (DEF_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/websocketpp)
|
||||
+ set (DEF_INSTALL_CMAKE_DIR share/cmake/websocketpp)
|
||||
endif ()
|
||||
set (INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files")
|
||||
|
||||
114
websocketpp.spec
114
websocketpp.spec
|
|
@ -1,26 +1,17 @@
|
|||
%global basever 0.8.2
|
||||
%global commit b9aeec6eaf3d5610503439b4fae3581d9aff08e8
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global snapdate 20220525
|
||||
|
||||
Name: websocketpp
|
||||
Summary: C++ WebSocket Protocol Library
|
||||
Version: %{basever}%{?snapdate:^git%{snapdate}.%{shortcommit}}
|
||||
Release: 3%{?dist}
|
||||
Version: 0.8.2
|
||||
Release: 1%{?dist}
|
||||
|
||||
# Automatically converted from old format: BSD - review is highly recommended.
|
||||
License: LicenseRef-Callaway-BSD
|
||||
License: BSD
|
||||
Url: https://www.zaphoyd.com/websocketpp
|
||||
%if %{defined snapdate}
|
||||
Source0: https://github.com/zaphoyd/websocketpp/archive/%{commit}/%{name}-%{commit}.tar.gz
|
||||
%else
|
||||
Source0: https://github.com/zaphoyd/websocketpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
%endif
|
||||
Source1: websocketpp.pc
|
||||
BuildArch: noarch
|
||||
|
||||
# put cmake files in share/cmake instead of lib/cmake
|
||||
Patch1: websocketpp-0.8.3-cmake_noarch.patch
|
||||
Patch1: websocketpp-0.7.0-cmake_noarch.patch
|
||||
|
||||
# Switch from ExactVersion to AnyNewerVersion to improve compatibility
|
||||
# https://cmake.org/cmake/help/v3.0/module/CMakePackageConfigHelpers.html
|
||||
|
|
@ -33,10 +24,6 @@ Patch2: websocketpp-0.8.1-cmake-configversion-compatibility-anynewerversion.patc
|
|||
# Disable the following tests, which fail occasionally: test_transport, test_transport_asio_timers
|
||||
Patch3: websocketpp-0.7.0-disable-test_transport-test_transport_asio_timers.patch
|
||||
|
||||
# Compatibility fixes for Boost 1.87
|
||||
# https://github.com/zaphoyd/websocketpp/pull/1164
|
||||
# Patch from PR at commit ee8cf42, 2025-04-09
|
||||
Patch4: websocketpp-0.8.2-compatibility_fixes_for_boost_1.87.patch
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
|
|
@ -64,20 +51,21 @@ iostreams and one based on Boost Asio.
|
|||
|
||||
|
||||
%prep
|
||||
%if %{defined snapdate}
|
||||
%autosetup -p1 -n %{name}-%{commit}
|
||||
%else
|
||||
%autosetup -p1
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_TESTS:BOOL=ON
|
||||
%cmake_build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%cmake .. \
|
||||
-DBUILD_TESTS:BOOL=ON
|
||||
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
mkdir -p %{buildroot}%{_datadir}/pkgconfig
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
|
||||
|
||||
|
|
@ -86,7 +74,7 @@ rm -rfv %{buildroot}%{_includedir}/test_connection/
|
|||
|
||||
|
||||
%check
|
||||
%ctest
|
||||
make test -C %{_target_platform}
|
||||
|
||||
|
||||
%files devel
|
||||
|
|
@ -99,82 +87,6 @@ rm -rfv %{buildroot}%{_includedir}/test_connection/
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2^git20220525.b9aeec6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8.2^git20220525.b9aeec6-2
|
||||
- Rebuilt for openssl 4.0
|
||||
|
||||
* Tue Jan 27 2026 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.2^git20220525.b9aeec6-1
|
||||
- Update to post-release git snapshot on 0.8.2
|
||||
- Add patch:
|
||||
websocketpp-0.8.2-compatibility_fixes_for_boost_1.87.patch, which
|
||||
fixes FTBFS with Boost 1.90
|
||||
- Update cmake_noarch patch
|
||||
- Drop patches:
|
||||
websocketpp-0.8.2-fix-cmake-find-boost.patch
|
||||
websocketpp-0.8.2-cpp20-fixes.patch
|
||||
websocketpp-0.8.2-cmake40.patch
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jul 18 2025 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.2-18
|
||||
- Add patch: websocketpp-0.8.2-cmake40.patch
|
||||
- Fix CMake 4.0 FTBFS #2381633
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 0.8.2-16
|
||||
- convert license to SPDX
|
||||
|
||||
* Wed Jul 24 2024 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.2-15
|
||||
- Add dependency on openssl-devel-engine
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Aug 27 2023 Christian Birk <mail@birkc.de> - 0.8.2-12
|
||||
- add patch to fix c++20 compile errors
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Jul 26 2022 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.2-9
|
||||
- Add patch: websocketpp-0.8.2-fix-cmake-find-boost.patch
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Aug 03 2020 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.2-4
|
||||
- Use %%cmake_build and %%cmake_install macros to fix FTBFS
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Apr 20 2020 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.2-1
|
||||
- New upstream version
|
||||
- Drop patches (fixed upstream):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue