The package rpms/aws-c-io.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/aws-c-io.git/commit/?id=be977a607ed5....
Change: +ExcludeArch: s390x
Thanks.
Full change: ============
commit b470947e6a86a05f14ba9a3cb3436ae0f1bf9f8c Author: Dominik Wombacher dominik@wombacher.cc Date: Thu Jun 6 17:22:54 2024 +0000
tests: Updated patch for v0.14.9 to disable tests that require internet access.
diff --git a/0001-disable-tests-that-require-internet-connectivity.patch b/0001-disable-tests-that-require-internet-connectivity.patch index 68cd9d9..b4a7a71 100644 --- a/0001-disable-tests-that-require-internet-connectivity.patch +++ b/0001-disable-tests-that-require-internet-connectivity.patch @@ -1,7 +1,17 @@ -diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt ---- a/tests/CMakeLists.txt 2024-05-03 09:00:18.815890457 +0000 -+++ b/tests/CMakeLists.txt 2024-05-03 09:04:34.702512672 +0000 -@@ -57,8 +57,6 @@ +From f932556eaec57706890d7325e5b96ff52cc77ecc Mon Sep 17 00:00:00 2001 +From: Dominik Wombacher dominik@wombacher.cc +Date: Thu, 6 Jun 2024 17:13:27 +0000 +Subject: [PATCH] disable tests that require internet connectivity + +--- + tests/CMakeLists.txt | 75 -------------------------------------------- + 1 file changed, 75 deletions(-) + +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 6722090..4033947 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -57,8 +57,6 @@ add_test_case(local_socket_communication) add_net_test_case(tcp_socket_communication) add_net_test_case(udp_socket_communication) add_test_case(udp_bind_connect_communication) @@ -10,7 +20,7 @@ diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt
if(USE_VSOCK) add_test_case(vsock_loopback_socket_communication) -@@ -72,7 +70,6 @@ +@@ -72,7 +70,6 @@ add_net_test_case(bind_on_zero_port_tcp_ipv4) add_net_test_case(bind_on_zero_port_udp_ipv4) add_test_case(incoming_udp_sock_errors) add_test_case(wrong_thread_read_write_fails) @@ -18,13 +28,14 @@ diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt add_test_case(cleanup_in_accept_doesnt_explode) add_test_case(cleanup_in_write_cb_doesnt_explode) add_test_case(sock_write_cb_is_async) -@@ -91,15 +88,11 @@ +@@ -91,16 +88,11 @@ add_test_case(channel_tasks_serialized_run) add_test_case(channel_rejects_post_shutdown_tasks) add_test_case(channel_cancels_pending_tasks) add_test_case(channel_duplicate_shutdown) -add_net_test_case(channel_connect_some_hosts_timeout)
-add_net_test_case(test_default_with_ipv6_lookup) +-add_net_test_case(test_default_host_resolver_ipv6_address_variations) add_test_case(test_resolver_ipv6_address_lookup) -add_net_test_case(test_default_with_multiple_lookups) add_test_case(test_resolver_ipv4_address_lookup) @@ -34,7 +45,7 @@ diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt add_test_case(test_resolver_ttls) add_test_case(test_resolver_connect_failure_recording) add_test_case(test_resolver_ttl_refreshes_on_resolve) -@@ -142,79 +135,12 @@ +@@ -165,79 +157,12 @@ if(NOT BYO_CRYPTO) # 2. s2n does not support public key pinning and, given its deprecated and http-centric position, there are no # plans to add support nor investigate osx/windows support as well.
@@ -105,7 +116,7 @@ diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt # Misc non-badssl tls tests add_net_test_case(test_concurrent_cert_import) add_net_test_case(test_duplicate_cert_import) - add_test_case(tls_channel_echo_and_backpressure_test) + add_net_test_case(tls_channel_echo_and_backpressure_test) - add_net_test_case(tls_client_channel_negotiation_error_socket_closed) - add_net_test_case(tls_client_channel_negotiation_success) add_net_test_case(tls_server_multiple_connections) @@ -114,3 +125,6 @@ diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt add_net_test_case(test_tls_negotiation_timeout) add_net_test_case(alpn_successfully_negotiates) add_net_test_case(alpn_no_protocol_message) +-- +2.45.2 +
commit 42043551630236d080788daaa87a170f4b1a1a2f Author: Packit hello@packit.dev Date: Wed Jun 5 04:16:24 2024 +0000
Update to 0.14.9 upstream release
- Resolves: rhbz#2290498
Upstream tag: v0.14.9 Upstream commit: 878b4fa0
Commit authored by Packit automation (https://packit.dev/)
diff --git a/.gitignore b/.gitignore index 9880db4..a14ebf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /aws-c-io-0.14.8.tar.gz +/aws-c-io-0.14.9.tar.gz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..d2b528d --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.97.1.post1.dev6+gc8c0314a. diff --git a/aws-c-io.spec b/aws-c-io.spec index dd9f7a5..2921399 100644 --- a/aws-c-io.spec +++ b/aws-c-io.spec @@ -3,7 +3,7 @@ IO package for AWS SDK for C. It handles all IO and TLS work for application protocols.}
Name: aws-c-io -Version: 0.14.8 +Version: 0.14.9 Release: 1%{?dist} Summary: IO package for AWS SDK for C
@@ -74,6 +74,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%changelog +* Wed Jun 05 2024 Packit hello@packit.dev - 0.14.9-1 +- Update to version 0.14.9 +- Resolves: rhbz#2290498 + * Wed May 15 2024 Dominik Wombacher dominik@wombacher.cc - 0.14.8-1 - update to 0.14.8
diff --git a/sources b/sources index 4361794..bb73d75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aws-c-io-0.14.8.tar.gz) = dd689f03629b174612af004afb8e1af7e403bc120560725cb4cc308ccd5535814ae0365696000f1f31545d1b44770edd3c9cad91af22090618f8e675b0314523 +SHA512 (aws-c-io-0.14.9.tar.gz) = b5dc81635ce775c3783df2d4f6ccf0890b1e1669bddb1c10f6d200203684e84504ca87099cb88874010df28f98f658da5a4eacb9e4df0408d40d845f3d394f48
commit be977a607ed55cbdaa5bae9fc164f3c1d84b0be0 Author: Dominik Wombacher dominik@wombacher.cc Date: Fri May 24 20:13:14 2024 +0000
Initial import (fedora#2279009).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9880db4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/aws-c-io-0.14.8.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..cf680d3 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,40 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +upstream_project_url: https://github.com/awslabs/aws-c-io +upstream_tag_template: v{version} + +jobs: + - job: pull_from_upstream + trigger: release + # Keeping dist-git branches non-divergent + # Requirs manual local merge from rawhide to stable release branches + # https://packit.dev/docs/fedora-releases-guide#keeping-dist-git-branches-non-... + dist_git_branches: + - fedora-rawhide + + - job: koji_build + trigger: commit + allowed_pr_authors: + - packit + - all_admins + - all_committers + - '@cloud-sig' # string with @ needs quotes to be valid yaml + allowed_committers: + - all_admins + - all_committers + - '@cloud-sig' # string with @ needs quotes to be valid yaml + dist_git_branches: + - fedora-all + - epel-all + + - job: bodhi_update + trigger: commit + allowed_builders: + - packit + - all_admins + - all_committers + - '@cloud-sig' # string with @ needs quotes to be valid yaml + dist_git_branches: + - fedora-branched # rawhide updates are created automatically + - epel-all diff --git a/0001-disable-tests-that-require-internet-connectivity.patch b/0001-disable-tests-that-require-internet-connectivity.patch new file mode 100644 index 0000000..68cd9d9 --- /dev/null +++ b/0001-disable-tests-that-require-internet-connectivity.patch @@ -0,0 +1,116 @@ +diff -urN a/tests/CMakeLists.txt b/tests/CMakeLists.txt +--- a/tests/CMakeLists.txt 2024-05-03 09:00:18.815890457 +0000 ++++ b/tests/CMakeLists.txt 2024-05-03 09:04:34.702512672 +0000 +@@ -57,8 +57,6 @@ + add_net_test_case(tcp_socket_communication) + add_net_test_case(udp_socket_communication) + add_test_case(udp_bind_connect_communication) +-add_net_test_case(connect_timeout) +-add_net_test_case(connect_timeout_cancelation) + + if(USE_VSOCK) + add_test_case(vsock_loopback_socket_communication) +@@ -72,7 +70,6 @@ + add_net_test_case(bind_on_zero_port_udp_ipv4) + add_test_case(incoming_udp_sock_errors) + add_test_case(wrong_thread_read_write_fails) +-add_net_test_case(cleanup_before_connect_or_timeout_doesnt_explode) + add_test_case(cleanup_in_accept_doesnt_explode) + add_test_case(cleanup_in_write_cb_doesnt_explode) + add_test_case(sock_write_cb_is_async) +@@ -91,15 +88,11 @@ + add_test_case(channel_rejects_post_shutdown_tasks) + add_test_case(channel_cancels_pending_tasks) + add_test_case(channel_duplicate_shutdown) +-add_net_test_case(channel_connect_some_hosts_timeout) + +-add_net_test_case(test_default_with_ipv6_lookup) + add_test_case(test_resolver_ipv6_address_lookup) +-add_net_test_case(test_default_with_multiple_lookups) + add_test_case(test_resolver_ipv4_address_lookup) + add_test_case(test_resolver_purge_host_cache) + add_test_case(test_resolver_purge_cache) +-add_net_test_case(test_default_with_ipv4_only_lookup) + add_test_case(test_resolver_ttls) + add_test_case(test_resolver_connect_failure_recording) + add_test_case(test_resolver_ttl_refreshes_on_resolve) +@@ -142,79 +135,12 @@ + # 2. s2n does not support public key pinning and, given its deprecated and http-centric position, there are no + # plans to add support nor investigate osx/windows support as well. + +- # Badssl - Certificate Validation endpoint suite +- # For each failure case, we also include a positive test that verifies success when peer verification is disabled +- add_net_test_case(tls_client_channel_negotiation_error_expired) +- add_net_test_case(tls_client_channel_negotiation_error_wrong_host) +- add_net_test_case(tls_client_channel_negotiation_error_wrong_host_with_ca_override) +- add_net_test_case(tls_client_channel_negotiation_error_self_signed) +- add_net_test_case(tls_client_channel_negotiation_error_untrusted_root) +- add_net_test_case(tls_client_channel_negotiation_error_untrusted_root_due_to_ca_override) +- add_net_test_case(tls_client_channel_negotiation_no_verify_expired) +- add_net_test_case(tls_client_channel_negotiation_no_verify_wrong_host) +- add_net_test_case(tls_client_channel_negotiation_no_verify_self_signed) +- add_net_test_case(tls_client_channel_negotiation_no_verify_untrusted_root) +- +- # Badssl - Broken Crypto endpoint suite +- # We don't include dh1024 as it succeeds on the windows baseline configuration and there does not seem +- # to be a way to disable it +- add_net_test_case(tls_client_channel_negotiation_error_broken_crypto_rc4) +- add_net_test_case(tls_client_channel_negotiation_error_broken_crypto_rc4_md5) +- add_net_test_case(tls_client_channel_negotiation_error_broken_crypto_dh480) +- add_net_test_case(tls_client_channel_negotiation_error_broken_crypto_dh512) +- add_net_test_case(tls_client_channel_negotiation_error_broken_crypto_null) +- +- # Badssl - Legacy crypto suite, includes both negative and positive tests, with override checks where appropriate +- # Our current baseline/default is platform-specific, whereas badssl expects a baseline of 1.2 +- # Linux - tls1.1 +- # Windows - system default (1.0 is the only thing we could reasonable fixate to given win7 support) +- # Mac - system default +- # We skip the cbc and 3des checks, as a positive connection result there does not yet represent a security risk +- # We don't include dh2048 as it succeeds on the windows baseline configuration and there does not seem +- # to be a way to disable it +- if(NOT(WIN32 AND NOT CMAKE_SYSTEM_VERSION MATCHES "10.0.1.*")) +- # Skip TLS 1.0 and TLS 1.1 test for windows later than windows server 2022, as they droped old TLS +- add_net_test_case(tls_client_channel_negotiation_error_legacy_crypto_tls10) +- add_net_test_case(tls_client_channel_negotiation_override_legacy_crypto_tls10) +- add_net_test_case(tls_client_channel_negotiation_error_override_legacy_crypto_tls11) +- add_net_test_case(tls_client_channel_negotiation_success_legacy_crypto_tls11) +- endif() +- +- # Badssl - Secure uncommon suite +- # We skip 10000san for now as its unclear the point or relevance especially with respect to the OS-based +- # TLS implementations +- # We skip 1000san, sha384, rsa8192 and sha512 because the public badssl certificate is expired and we haven't migrated to +- # internal hosting yet +- # We also defer the incomplete chain test for now until we can do some further study on how to get it to +- # properly fail on windows and osx. +- # add_net_test_case(tls_client_channel_negotiation_success_sha384) +- # add_net_test_case(tls_client_channel_negotiation_success_sha512) +- # add_net_test_case(tls_client_channel_negotiation_success_rsa8192) +- add_net_test_case(tls_client_channel_negotiation_error_no_subject) +- add_net_test_case(tls_client_channel_negotiation_success_no_verify_no_subject) +- add_net_test_case(tls_client_channel_negotiation_error_no_common_name) +- add_net_test_case(tls_client_channel_negotiation_success_no_verify_no_common_name) +- add_net_test_case(tls_client_channel_negotiation_success_no_verify_incomplete_chain) +- +- # Badssl - Secure common suite, all of these should succeed +- add_net_test_case(tls_client_channel_negotiation_success_tls12) +- add_net_test_case(tls_client_channel_negotiation_success_sha256) +- add_net_test_case(tls_client_channel_negotiation_success_rsa2048) +- add_net_test_case(tls_client_channel_negotiation_success_ecc256) +- add_net_test_case(tls_client_channel_negotiation_success_ecc384) +- +- # add_net_test_case(tls_client_channel_negotiation_success_extended_validation) test disabled until badssl updates cert (expired 2022.08.10) +- add_net_test_case(tls_client_channel_negotiation_success_mozilla_modern) +- + # Misc non-badssl tls tests + add_net_test_case(test_concurrent_cert_import) + add_net_test_case(test_duplicate_cert_import) + add_test_case(tls_channel_echo_and_backpressure_test) +- add_net_test_case(tls_client_channel_negotiation_error_socket_closed) +- add_net_test_case(tls_client_channel_negotiation_success) + add_net_test_case(tls_server_multiple_connections) + add_net_test_case(tls_server_hangup_during_negotiation) +- add_net_test_case(tls_client_channel_no_verify) + add_net_test_case(test_tls_negotiation_timeout) + add_net_test_case(alpn_successfully_negotiates) + add_net_test_case(alpn_no_protocol_message) diff --git a/aws-c-io-cmake.patch b/aws-c-io-cmake.patch new file mode 100644 index 0000000..e5a2b6d --- /dev/null +++ b/aws-c-io-cmake.patch @@ -0,0 +1,21 @@ +diff -urN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2021-10-15 20:38:27.000000000 +0000 ++++ b/CMakeLists.txt 2022-02-03 20:32:20.985273443 +0000 +@@ -215,7 +215,7 @@ + endif() + + install(EXPORT "${PROJECT_NAME}-targets" +- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}" ++ DESTINATION "${LIBRARY_DIRECTORY}/cmake/${PROJECT_NAME}/${TARGET_DIR}" + NAMESPACE AWS:: + COMPONENT Development) + +@@ -224,7 +224,7 @@ + @ONLY) + + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake" +- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/" ++ DESTINATION "${LIBRARY_DIRECTORY}/cmake/${PROJECT_NAME}" + COMPONENT Development) + + if (NOT CMAKE_CROSSCOMPILING) diff --git a/aws-c-io.spec b/aws-c-io.spec new file mode 100644 index 0000000..dd9f7a5 --- /dev/null +++ b/aws-c-io.spec @@ -0,0 +1,90 @@ +%global _description %{expand: +IO package for AWS SDK for C. It handles all IO and TLS work +for application protocols.} + +Name: aws-c-io +Version: 0.14.8 +Release: 1%{?dist} +Summary: IO package for AWS SDK for C + +License: Apache-2.0 +URL: https://github.com/awslabs/%%7Bname%7D +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +# Install cmake files in 'libdir/cmake/aws-c-io' rather than 'libdir/aws-c-io/cmake' +Patch0: aws-c-io-cmake.patch +# All tests disabled that require internet connectivity +Patch1: 0001-disable-tests-that-require-internet-connectivity.patch + +BuildRequires: gcc +BuildRequires: cmake +BuildRequires: openssl-devel +BuildRequires: aws-c-common-devel +BuildRequires: aws-c-cal-devel +BuildRequires: s2n-tls-devel + +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} +# Dependencies like aws-c-common don't support and build on s390x +# Upstream issue: https://github.com/awslabs/aws-c-common/issues/1111 +# Fedora bugzilla ticket to be created after package review +ExcludeArch: s390x + +%description %{_description} + + +%package devel +Summary: IO package for AWS SDK for C +Requires: openssl-devel%{?_isa} +Requires: aws-c-common-devel%{?_isa} +Requires: aws-c-cal-devel%{?_isa} +Requires: s2n-tls-devel%{?_isa} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel %{_description} + + +%prep +%autosetup -p1 + + +%build +%cmake -DBUILD_SHARED_LIBS=ON +%cmake_build + + +%install +%cmake_install + + +%check +%ctest + + +%files +%license LICENSE NOTICE +%doc README.md +%{_libdir}/libaws-c-io.so.1{,.*} + + +%files devel +%{_libdir}/libaws-c-io.so +%{_includedir}/aws/io/ +%{_includedir}/aws/testing/ +%{_libdir}/cmake/aws-c-io/ + + +%changelog +* Wed May 15 2024 Dominik Wombacher dominik@wombacher.cc - 0.14.8-1 +- update to 0.14.8 + +* Fri Feb 04 2022 David davdunc@amazon.com - 0.10.12-4 +- Update and verify spec file for review + +* Thu Feb 03 2022 Kyle Knapp kyleknap@amazon.com - 0.10.12-3 +- Update specfile based on review feedback + +* Wed Feb 02 2022 David Duncan davdunc@amazon.com - 0.10.12-2 +- Prepare for package review + +* Tue Jan 18 2022 Kyle Knapp kyleknap@amazon.com - 0.10.12-1 +- Initial package development diff --git a/sources b/sources new file mode 100644 index 0000000..4361794 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (aws-c-io-0.14.8.tar.gz) = dd689f03629b174612af004afb8e1af7e403bc120560725cb4cc308ccd5535814ae0365696000f1f31545d1b44770edd3c9cad91af22090618f8e675b0314523
arch-excludes@lists.fedoraproject.org