Compare commits
No commits in common. "rawhide" and "f29" have entirely different histories.
8 changed files with 53 additions and 2745 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,4 +1,2 @@
|
||||||
/websocketpp-0.7.0.tar.gz
|
/websocketpp-0.7.0.tar.gz
|
||||||
/websocketpp-0.8.1.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.1.tar.gz) = 35e0261ed0285acf77d300768819bd380197de8acdf68223e2d7598481b9bfd69cb1653b435139771b1db6c16530c8d8cf9a887a8a6bba3fea126d0da4dbc13c
|
||||||
|
|
|
||||||
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")
|
||||||
|
|
||||||
22
websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
Normal file
22
websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
From 4bccfb04a264704ec9b80ba332ee1cf113ce7f1b Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= <c72578@yahoo.de>
|
||||||
|
Date: Thu, 1 Nov 2018 20:58:10 +0100
|
||||||
|
Subject: [PATCH] Update version number in CMakeLists.txt to 0.8.1
|
||||||
|
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 2786aba9..2d13117b 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -24,7 +24,7 @@ endif ()
|
||||||
|
############ Project name and version
|
||||||
|
set (WEBSOCKETPP_MAJOR_VERSION 0)
|
||||||
|
set (WEBSOCKETPP_MINOR_VERSION 8)
|
||||||
|
-set (WEBSOCKETPP_PATCH_VERSION 0)
|
||||||
|
+set (WEBSOCKETPP_PATCH_VERSION 1)
|
||||||
|
set (WEBSOCKETPP_VERSION ${WEBSOCKETPP_MAJOR_VERSION}.${WEBSOCKETPP_MINOR_VERSION}.${WEBSOCKETPP_PATCH_VERSION})
|
||||||
|
|
||||||
|
if(POLICY CMP0048)
|
||||||
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")
|
|
||||||
|
|
||||||
|
|
@ -4,6 +4,6 @@ includedir=${prefix}/include
|
||||||
|
|
||||||
Name: websocketpp
|
Name: websocketpp
|
||||||
Description: WebSocket API
|
Description: WebSocket API
|
||||||
Version: 0.8.2
|
Version: 0.8.1
|
||||||
URL: https://www.zaphoyd.com/websocketpp/
|
URL: https://www.zaphoyd.com/websocketpp/
|
||||||
Cflags: -I${includedir}/
|
Cflags: -I${includedir}/
|
||||||
|
|
|
||||||
137
websocketpp.spec
137
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
|
Name: websocketpp
|
||||||
Summary: C++ WebSocket Protocol Library
|
Summary: C++ WebSocket Protocol Library
|
||||||
Version: %{basever}%{?snapdate:^git%{snapdate}.%{shortcommit}}
|
Version: 0.8.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
# Automatically converted from old format: BSD - review is highly recommended.
|
License: BSD
|
||||||
License: LicenseRef-Callaway-BSD
|
|
||||||
Url: https://www.zaphoyd.com/websocketpp
|
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
|
Source0: https://github.com/zaphoyd/websocketpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
%endif
|
|
||||||
Source1: websocketpp.pc
|
Source1: websocketpp.pc
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# put cmake files in share/cmake instead of lib/cmake
|
# 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
|
# Switch from ExactVersion to AnyNewerVersion to improve compatibility
|
||||||
# https://cmake.org/cmake/help/v3.0/module/CMakePackageConfigHelpers.html
|
# https://cmake.org/cmake/help/v3.0/module/CMakePackageConfigHelpers.html
|
||||||
|
|
@ -33,10 +24,10 @@ Patch2: websocketpp-0.8.1-cmake-configversion-compatibility-anynewerversion.patc
|
||||||
# Disable the following tests, which fail occasionally: test_transport, test_transport_asio_timers
|
# 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
|
Patch3: websocketpp-0.7.0-disable-test_transport-test_transport_asio_timers.patch
|
||||||
|
|
||||||
# Compatibility fixes for Boost 1.87
|
# Update version number in CMakeLists.txt to 0.8.1
|
||||||
# https://github.com/zaphoyd/websocketpp/pull/1164
|
# Upstream commit: https://github.com/zaphoyd/websocketpp/commit/72e2760
|
||||||
# Patch from PR at commit ee8cf42, 2025-04-09
|
Patch4: websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
|
||||||
Patch4: websocketpp-0.8.2-compatibility_fixes_for_boost_1.87.patch
|
|
||||||
|
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
@ -64,20 +55,21 @@ iostreams and one based on Boost Asio.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if %{defined snapdate}
|
|
||||||
%autosetup -p1 -n %{name}-%{commit}
|
|
||||||
%else
|
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DBUILD_TESTS:BOOL=ON
|
mkdir %{_target_platform}
|
||||||
%cmake_build
|
pushd %{_target_platform}
|
||||||
|
%cmake .. \
|
||||||
|
-DBUILD_TESTS:BOOL=ON
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||||
mkdir -p %{buildroot}%{_datadir}/pkgconfig
|
mkdir -p %{buildroot}%{_datadir}/pkgconfig
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
|
||||||
|
|
||||||
|
|
@ -86,7 +78,7 @@ rm -rfv %{buildroot}%{_includedir}/test_connection/
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%ctest
|
make test -C %{_target_platform}
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
|
@ -99,101 +91,6 @@ rm -rfv %{buildroot}%{_includedir}/test_connection/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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):
|
|
||||||
websocketpp-0.8.1-boost_1.70.patch
|
|
||||||
websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 08 2019 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-6
|
|
||||||
- Prepare for Boost 1.70:
|
|
||||||
Add websocketpp-0.8.1-boost_1.70.patch
|
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 07 2018 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-4
|
* Wed Nov 07 2018 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-4
|
||||||
- Add websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
|
- Add websocketpp-0.8.1-fix_CMakeLists.txt_version_number.patch
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue