Compare commits

..

23 commits

Author SHA1 Message Date
71537401a1
Retiring folly and related libraries, https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KLNKMLQ3Q2O6SOSICXCCKGUILW76SNVL/ 2026-01-16 20:14:06 +00:00
Fedora Release Engineering
bdef791b63 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:16:56 +00:00
66560b9b58 Update to version 2025.02.03.00; Fixes: RHBZ#2307993
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-02-05 21:20:53 -06:00
Fedora Release Engineering
224a2e7a89 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:44:26 +00:00
42b93cef35
Update to version 2024.08.19.00; Fixes: RHBZ#2301646
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-08-21 13:14:56 -05:00
46cb5d3765
Update to 2024.07.22.00 (rhbz#2266619)
- replace `std::latch` with `folly::Latch` for C++17 compatibility
- similarly, replace `std::barrier` with `boost::barrier`
- switch to disabling unwanted tests via `--exclude-regex`

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-07-25 13:31:52 -05:00
Fedora Release Engineering
5bc22f35c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:06:42 +00:00
JasenChao
424c75fd62 Add riscv64 support. 2024-04-09 09:54:27 +08:00
92dd6d1055
Update to 2024.02.19.00
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-02-23 17:42:42 -06:00
Fedora Release Engineering
9fa437f13d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:21:44 +00:00
dc51b2c637
Update to 2024.01.22.00
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-01-22 17:29:10 -06:00
bf4ba338e2
Update to 2023.10.16.00
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2023-10-17 16:02:47 -05:00
bcd533c704
Update to 2023.10.09.00
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2023-10-16 20:52:39 -05:00
4bec0df6df rebuild for new libsodium 2023-10-05 10:03:24 +02:00
829958beab
Update to 2023.09.11.00
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2023-09-11 14:43:00 -05:00
Fedora Release Engineering
dfad6998cd Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:57:39 +00:00
cce9b9cdb0
Update to 2023.07.03.00
- Use SPDX license identifier

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2023-07-06 14:10:48 -05:00
Vitaly Zaitsev
15aaa8154f
Rebuilt due to fmt 10 update. 2023-06-28 11:55:36 +02:00
6320e1f64e
Update to 2023.04.24.00
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2023-04-24 12:35:29 -05:00
Fedora Release Engineering
7e0a041836 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:35:27 +00:00
Fedora Release Engineering
868b1295cd Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:11:50 +00:00
457f208edc Update to 2022.07.11.00
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-07-20 15:04:40 -05:00
0346e7c069 Fix FTBFS, build with gcc
Again, libatomic on F37 (gcc12) does not seem to work built with clang,
so building with gcc seems needed anyway.

Also, enable ppc64 again
2022-07-19 17:43:57 +09:00
7 changed files with 1 additions and 238 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/wangle-????.??.??.??.tar.gz

View file

@ -1,3 +0,0 @@
# wangle
The wangle package

View file

@ -1,89 +0,0 @@
* Thu Nov 18 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.11.15.00-3
- Rebuilt with OpenSSL 1.1.1
* Thu Nov 18 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.11.15.00-2
- Opt in to rpmautospec
* Thu Nov 18 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.11.15.00-1
- Update to 2021.11.15.00
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2021.08.02.00-2
- Rebuilt with OpenSSL 3.0.0
* Thu Aug 5 2021 Filipe Brandenburger <filbranden@gmail.com> - 2021.08.02.00-1
- Update to 2021.08.02.00
* Thu Jul 29 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.07.22.00-3
- Use C++20 standard, in order to enable C++ coroutines
* Tue Jul 27 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.07.22-00-2
- Rebuilt for folly 2021.07.22.00
* Sat Jul 24 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.07.22.00-1
- Update to 2021.07.22.00
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2021.06.28.00-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jul 12 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.06.28.00-1
- Update to 2021.06.28.00
* Wed Jun 09 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.06.07.00-1
- Update to 2021.06.07.00
* Mon May 10 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.05.10.00-1
- Update to 2021.05.10.00
* Mon Apr 26 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.04.26.00-1
- Update to 2021.04.26.00
* Fri Apr 16 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.04.12.00-1
- Update to 2021.04.12.00
* Mon Mar 29 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.03.29.00-1
- Update to 2021.03.29.00
* Wed Mar 24 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.03.22.00-1
- Update to 2021.03.22.00
* Mon Mar 15 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.03.15.00-1
- Update to 2021.03.15.00
* Wed Feb 03 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.02.01.00-1
- Update to 2021.02.01.00
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2021.01.25.00-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jan 26 17:49:34 PST 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 2021.01.25.00-1
- Update to 2021.01.25.00
* Tue Dec 29 12:15:28 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.12.28.00-1
- Update to 2020.12.28.00
* Tue Dec 22 16:56:57 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.12.21.00-1
- Update to 2020.12.21.00
* Mon Nov 30 10:42:48 PST 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.30.00-1
- Update to 2020.11.30.00
* Mon Nov 23 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.23.00-1
- Update to 2020.11.23.00
* Mon Nov 16 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.16.00-1
- Update to 2020.11.16.00
* Mon Nov 9 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.09.00-1
- Update to 2020.11.09.00
* Mon Nov 2 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.11.02.00-1
- Update to 2020.11.02.00
* Fri Oct 30 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.10.26.00-3
- Enable static subpackage on architectures where fizz-static is available
* Wed Oct 28 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.10.26.00-2
- Add ExcludeArch on s390x due to dependency on folly
* Mon Oct 26 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2020.10.26.00-1
- Initial package

1
dead.package Normal file
View file

@ -0,0 +1 @@
Retiring folly and related libraries, https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KLNKMLQ3Q2O6SOSICXCCKGUILW76SNVL/

View file

@ -1 +0,0 @@
SHA512 (wangle-2022.03.14.00.tar.gz) = ad3a5117067b461f5c3dfe1d03da72c0be115bfebc7fd8ee06996fb5b028df6dbf8d471ddd2bd06a5f742a0aefa04095085343fea6249fe9e85413b324a33ae4

View file

@ -1,33 +0,0 @@
diff -ruN wangle-2021.12.20.00/wangle/bootstrap/test/BootstrapTest.cpp wangle-disable_failed_tests/wangle/bootstrap/test/BootstrapTest.cpp
--- wangle-2021.12.20.00/wangle/bootstrap/test/BootstrapTest.cpp 2021-12-19 19:29:28.000000000 -0800
+++ wangle-disable_failed_tests/wangle/bootstrap/test/BootstrapTest.cpp 2021-12-23 12:04:07.412647589 -0800
@@ -353,6 +353,7 @@
server.bind(0);
}
+/* fine on mock, failed on Koji
TEST(Bootstrap, UDPClientServerTest) {
connections = 0;
@@ -382,6 +383,7 @@
EXPECT_EQ(connections, 1);
}
+*/
TEST(Bootstrap, UnixServer) {
TestServer server;
diff -ruN wangle-2021.12.20.00/wangle/CMakeLists.txt wangle-disable_failed_tests/wangle/CMakeLists.txt
--- wangle-2021.12.20.00/wangle/CMakeLists.txt 2021-12-19 19:29:28.000000000 -0800
+++ wangle-disable_failed_tests/wangle/CMakeLists.txt 2021-12-23 12:01:23.779810003 -0800
@@ -295,7 +295,9 @@
# add_gtest(service/test/ServiceTest.cpp ServiceTest)
# this test requires arguments?
# add_gtest(ssl/test/SSLCacheTest.cpp SSLCacheTest)
- add_gtest(ssl/test/SSLContextManagerTest.cpp SSLContextManagerTest)
+ # this test fails against the packaged folly
+ # E1223 11:17:23.030416 2602 SSLContextManager.cpp:491] error loading client CA folly/io/async/test/certs/client_chain.pem: std::runtime_error: SSL_CTX_load_verify_locations: SSL error # 80000002; no such file; system lib
+ # add_gtest(ssl/test/SSLContextManagerTest.cpp SSLContextManagerTest)
add_gtest(ssl/test/TLSCredProcessorTest.cpp TLSCredProcessorTest)
add_gtest(util/test/FilePollerTest.cpp FilePollerTest)
endif()

View file

@ -1,111 +0,0 @@
%if 0%{?fedora} >= 36
# Folly is compiled with Clang
%bcond_without toolchain_clang
%else
%bcond_with toolchain_clang
%endif
%if %{with toolchain_clang}
%global toolchain clang
%endif
%bcond_without check
Name: wangle
Version: 2022.03.14.00
Release: %autorelease
Summary: Framework for building services in a consistent/modular/composable way
License: ASL 2.0
URL: https://github.com/facebook/wangle
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# disable failing tests, see patch for context
Patch0: %{name}-disable_failed_tests.patch
# Folly is known not to work on big-endian CPUs
# https://bugzilla.redhat.com/show_bug.cgi?id=1892807
ExcludeArch: s390x
%if 0%{?fedora} >= 36
# fmt code breaks: https://bugzilla.redhat.com/show_bug.cgi?id=2061022
ExcludeArch: ppc64le
%endif
BuildRequires: cmake
%if %{with toolchain_clang}
BuildRequires: clang
%else
BuildRequires: gcc-c++
%endif
# Library dependencies
BuildRequires: fizz-devel = %{version}
BuildRequires: folly-devel = %{version}
%if %{with check}
BuildRequires: gmock-devel
BuildRequires: gtest-devel
%endif
%global _description %{expand:
Wangle is a library that makes it easy to build protocols, application clients,
and application servers.
It's like Netty + Finagle smooshed together, but in C++.}
%description %{_description}
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-static < 2022.02.28.00-1
%description devel %{_description}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
cd wangle
%cmake \
%if %{with check}
-DBUILD_TESTS=ON \
%else
-DBUILD_TESTS=OFF \
%endif
-DCMAKE_INSTALL_DIR=%{_libdir}/cmake/%{name} \
-DPACKAGE_VERSION=%{version}
%cmake_build
cd -
%install
cd wangle
%cmake_install
cd -
%if %{with check}
%check
cd wangle
%ctest
cd -
%endif
%files
%license LICENSE
%{_libdir}/*.so.%{version}
%files devel
%doc CONTRIBUTING.md README.md tutorial.md
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/cmake/%{name}
%changelog
%autochangelog