diff options
| author | Crucible <crucible@localhost> | 2026-10-28 03:06:10 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-28 03:06:10 -0500 |
| commit | 7d34c8674b21b66fbf5d9fbe2e68f5ed96b48704 (patch) | |
| tree | d07a55d723555bdd95ec7859b9e5541b454a22b9 /dev-libs | |
| parent | 2b63cb39d9a564ba73aa12da77cc6096dda76b4c (diff) | |
| download | srcux-develop.tar.gz srcux-develop.tar.xz srcux-develop.zip | |
Diffstat (limited to 'dev-libs')
| -rw-r--r-- | dev-libs/aws-c-common/Manifest | 6 | ||||
| -rw-r--r-- | dev-libs/aws-c-common/aws-c-common-0.12.6.ebuild | 29 | ||||
| -rw-r--r-- | dev-libs/aws-c-common/aws-c-common-0.14.2.ebuild | 29 | ||||
| -rw-r--r-- | dev-libs/aws-c-common/aws-c-common-1.0.0.ebuild | 28 | ||||
| -rw-r--r-- | dev-libs/aws-c-common/aws-c-common-1.0.2.ebuild | 28 | ||||
| -rw-r--r-- | dev-libs/aws-c-common/aws-c-common-1.0.5.ebuild (renamed from dev-libs/aws-c-common/aws-c-common-1.0.1-r1.ebuild) | 11 | ||||
| -rw-r--r-- | dev-libs/aws-c-common/files/aws-c-common-1.0.1-32-bit-time_t.patch | 138 | ||||
| -rw-r--r-- | dev-libs/aws-c-s3/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/aws-c-s3/aws-c-s3-1.5.0.ebuild | 48 | ||||
| -rw-r--r-- | dev-libs/iniparser/iniparser-4.3.2.ebuild | 2 | ||||
| -rw-r--r-- | dev-libs/s2n-tls/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/s2n-tls/s2n-tls-1.7.13.ebuild | 35 |
12 files changed, 93 insertions, 263 deletions
diff --git a/dev-libs/aws-c-common/Manifest b/dev-libs/aws-c-common/Manifest index f2303de6331c..83ec149e23f2 100644 --- a/dev-libs/aws-c-common/Manifest +++ b/dev-libs/aws-c-common/Manifest @@ -1,6 +1,2 @@ -DIST aws-c-common-0.12.6.tar.gz 629851 BLAKE2B 46adc68f4ff9bcef4a130dde295259237bc9c29c565df21458ff1f08769440b70903733feb4a4cda34aa0f203a4470bbe7888d8d2ecf98a15f37ed75b78f66d9 SHA512 577fdea85ea84563e2167d70f0988ceeccc6ab298a2ca034393872d1717237a64be0d0b5e9cd2083c2278b8c294bc4afb8f8d6bcc13e144259fa0e3166af35bb -DIST aws-c-common-0.14.2.tar.gz 642107 BLAKE2B bdd0d652bd506ee79704c86129460437e972de523836922c985ec7dd6bc6b1b1619fb1cd4574774e5eb4df2176d8d88e1f8276986fc2a075b13cf0636d0fc40f SHA512 92c21c05d4273e7e38d5ea0097b205ed3766034ee9ca9295e72e14b8ca5998dcff1d3ccefae3d19f16607b1378f335be6bb16ea66a64c6e972a68ea34c80e5e0 -DIST aws-c-common-1.0.0.tar.gz 647961 BLAKE2B 8d4d23c918ca60fa41720fa665c9a15d7b71b5be18d55eb21efcd5b379be66139c62fac48622a37780cd482f86408e911e33fec2dc8681dd242535f2db9573b8 SHA512 f9cd67637383d86353cef7d230051aad67574f9b5c72d6260713f9d8b1139d730ce56d3cc8b646bc0344d99c8cae79d3cfca86c1994207c1b74b9bb814645f4b -DIST aws-c-common-1.0.1.tar.gz 654484 BLAKE2B 7aac6581fd831bf1205e4135168abedd0f1417c0e4dc1348516e3023aabc41f5b06a52779365d9ad84179ad9e547d12d80ea3b48b78fb6627305b42159e01553 SHA512 6c6fc420e5bcdd9b40ea05af1314b46e6186063a00e4f1b8c134099dfc34c990cd790070dec101924c9d7d42469bfe1c4a86eef90747d642d1ef0e8378e3aaf3 -DIST aws-c-common-1.0.2.tar.gz 656107 BLAKE2B d5b626e0d9f8ad1ea9a950e42581d753c79280d1f1000d37da730cfbed1f73e5f065825598c82685dee149b35f6ce482a2fea66543d8a40ed0c40f9543155fb1 SHA512 30bd2eae4cf72c3526381c780e99070e95b94669c06d16e72c82805b7732851fccefe9b5d941bd045d2e8b352446df9e19480497942e141ccdffb58ab1a0c1bd DIST aws-c-common-1.0.3.tar.gz 656266 BLAKE2B a01bfe4e19ecc98d7c2dbee4d0b299c1e0b3080e77b566a02a6d70091b845efad5d416648acd6b62db854e386ed1382ca3d4ef753a208785ece510ddcb26308d SHA512 05cd13aa8c55762345fd7754c1c393b6db48918cb4b4335ade9a75dfbcf20802fa00f8d2e25fa2826b054ffdfe98c60bc50f6c7bb686c1d7df790741bbf8244a +DIST aws-c-common-1.0.5.tar.gz 679093 BLAKE2B cb03554a3da15c7921a67f682713e1ffe42b9a62f08b58760f12d18ff12fa3f63ec77275ac297f0c747ba29843606d0b922cf74be21860bcb3fefdb621f1fbce SHA512 6da51b4cd6cfeeb68ae0feeb75d36c4753704da2a99475f46de96d079040643a36ea8b26aa08cce378bbd238b1c0bfab564875f03cb30571dcfd3247c5bede02 diff --git a/dev-libs/aws-c-common/aws-c-common-0.12.6.ebuild b/dev-libs/aws-c-common/aws-c-common-0.12.6.ebuild deleted file mode 100644 index 978d41eb90ac..000000000000 --- a/dev-libs/aws-c-common/aws-c-common-0.12.6.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Core c99 package for AWS SDK for C" -HOMEPAGE="https://github.com/awslabs/aws-c-common" -SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -inherit cmake flag-o-matic - -LICENSE="Apache-2.0" -SLOT="0/1" -KEYWORDS="amd64" -IUSE="test" - -RESTRICT="!test? ( test )" - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/967010 - # https://github.com/awslabs/aws-c-common/issues/1304 - filter-lto - - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/aws-c-common/aws-c-common-0.14.2.ebuild b/dev-libs/aws-c-common/aws-c-common-0.14.2.ebuild deleted file mode 100644 index 44c14e549e5e..000000000000 --- a/dev-libs/aws-c-common/aws-c-common-0.14.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Core c99 package for AWS SDK for C" -HOMEPAGE="https://github.com/awslabs/aws-c-common" -SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -inherit cmake flag-o-matic - -LICENSE="Apache-2.0" -SLOT="0/1" -KEYWORDS="~amd64 ~arm64 ~riscv" -IUSE="test" - -RESTRICT="!test? ( test )" - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/967010 - # https://github.com/awslabs/aws-c-common/issues/1304 - filter-lto - - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/aws-c-common/aws-c-common-1.0.0.ebuild b/dev-libs/aws-c-common/aws-c-common-1.0.0.ebuild deleted file mode 100644 index 4ec20c47596d..000000000000 --- a/dev-libs/aws-c-common/aws-c-common-1.0.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Core c99 package for AWS SDK for C" -HOMEPAGE="https://github.com/awslabs/aws-c-common" -SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CMAKE_SKIP_TESTS=( - # https://github.com/awslabs/aws-c-common/issues/1274 - test_file_path_read_from_offset_direct_io -) - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/aws-c-common/aws-c-common-1.0.2.ebuild b/dev-libs/aws-c-common/aws-c-common-1.0.2.ebuild deleted file mode 100644 index 4ec20c47596d..000000000000 --- a/dev-libs/aws-c-common/aws-c-common-1.0.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2025-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Core c99 package for AWS SDK for C" -HOMEPAGE="https://github.com/awslabs/aws-c-common" -SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CMAKE_SKIP_TESTS=( - # https://github.com/awslabs/aws-c-common/issues/1274 - test_file_path_read_from_offset_direct_io -) - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/aws-c-common/aws-c-common-1.0.1-r1.ebuild b/dev-libs/aws-c-common/aws-c-common-1.0.5.ebuild index 7cac9b7ccbfb..8abe541c0a11 100644 --- a/dev-libs/aws-c-common/aws-c-common-1.0.1-r1.ebuild +++ b/dev-libs/aws-c-common/aws-c-common-1.0.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Core c99 package for AWS SDK for C" HOMEPAGE="https://github.com/awslabs/aws-c-common" @@ -15,16 +15,17 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" -PATCHES=( - "${FILESDIR}"/${P}-32-bit-time_t.patch -) - CMAKE_SKIP_TESTS=( # https://github.com/awslabs/aws-c-common/issues/1274 test_file_path_read_from_offset_direct_io ) src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/967010 + # https://github.com/awslabs/aws-c-common/issues/1304 + filter-lto + local mycmakeargs=( -DBUILD_TESTING=$(usex test) ) diff --git a/dev-libs/aws-c-common/files/aws-c-common-1.0.1-32-bit-time_t.patch b/dev-libs/aws-c-common/files/aws-c-common-1.0.1-32-bit-time_t.patch deleted file mode 100644 index 7c6762b5e53d..000000000000 --- a/dev-libs/aws-c-common/files/aws-c-common-1.0.1-32-bit-time_t.patch +++ /dev/null @@ -1,138 +0,0 @@ -https://github.com/awslabs/aws-c-common/pull/1282 -From: Arthur Zamarin <arthurzam@gentoo.org> -Subject: [PATCH] Fix 32-bit time_t overflow in condition variable wait and - thread sleep - -On platforms with a 32-bit time_t, aws_condition_variable_wait_for() -computed the absolute deadline in seconds as a uint64_t and cast it to -time_t. For large timeouts the value doesn't fit, wraps to a negative -time in the past, and pthread_cond_timedwait() times out immediately -instead of waiting. - -aws_thread_current_sleep() had the same truncation, so very long sleeps -passed a wrapped tv_sec to nanosleep(), which either fails with EINVAL -(negative) or sleeps far shorter than requested. - -Clamp the seconds value to the maximum time_t in both places, and add a -regression test that waits with an INT64_MAX timeout. - -Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> ---- a/source/posix/condition_variable.c -+++ b/source/posix/condition_variable.c -@@ -9,6 +9,7 @@ - #include <aws/common/mutex.h> - - #include <errno.h> -+#include <limits.h> - - static int process_error_code(int err) { - switch (err) { -@@ -95,8 +96,16 @@ int aws_condition_variable_wait_for( - - struct timespec ts; - uint64_t remainder = 0; -- ts.tv_sec = (time_t)aws_timestamp_convert( -+ uint64_t secs = aws_timestamp_convert( - (uint64_t)(time_to_wait + current_sys_time), AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &remainder); -+ -+ /* time_t may be 32-bit: clamp far-future deadlines instead of letting them wrap into the past */ -+ const uint64_t time_t_max = ((uint64_t)1 << (sizeof(time_t) * CHAR_BIT - 1)) - 1; -+ if (secs > time_t_max) { -+ secs = time_t_max; -+ remainder = 0; -+ } -+ ts.tv_sec = (time_t)secs; - ts.tv_nsec = (long)remainder; - - int err_code = pthread_cond_timedwait(&condition_variable->condition_handle, &mutex->mutex_handle, &ts); ---- a/source/posix/thread.c -+++ b/source/posix/thread.c -@@ -478,10 +478,17 @@ bool aws_thread_thread_id_equal(aws_thread_id_t t1, aws_thread_id_t t2) { - - void aws_thread_current_sleep(uint64_t nanos) { - uint64_t nano = 0; -- time_t seconds = (time_t)aws_timestamp_convert(nanos, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &nano); -+ uint64_t seconds = aws_timestamp_convert(nanos, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &nano); -+ -+ /* time_t may be 32-bit: clamp long sleeps instead of letting them wrap to a negative (invalid) value */ -+ const uint64_t time_t_max = ((uint64_t)1 << (sizeof(time_t) * CHAR_BIT - 1)) - 1; -+ if (seconds > time_t_max) { -+ seconds = time_t_max; -+ nano = 0; -+ } - - struct timespec tm = { -- .tv_sec = seconds, -+ .tv_sec = (time_t)seconds, - .tv_nsec = (long)nano, - }; - struct timespec output; ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -52,6 +52,7 @@ add_test_case(mutex_try_lock_is_correct_test) - - add_test_case(conditional_notify_one) - add_test_case(conditional_notify_all) -+add_test_case(conditional_wait_for_max_timeout) - - add_test_case(error_code_cross_thread_test) - ---- a/tests/condition_variable_test.c -+++ b/tests/condition_variable_test.c -@@ -146,3 +146,56 @@ static int s_test_conditional_notify_all_fn(struct aws_allocator *allocator, voi - } - - AWS_TEST_CASE(conditional_notify_all, s_test_conditional_notify_all_fn) -+ -+struct wait_for_max_test_data { -+ struct aws_mutex mutex; -+ struct aws_condition_variable condition_variable; -+ bool done; -+}; -+ -+static bool s_wait_for_max_predicate(void *arg) { -+ struct wait_for_max_test_data *test_data = arg; -+ return test_data->done; -+} -+ -+static void s_wait_for_max_thread_fn(void *arg) { -+ struct wait_for_max_test_data *test_data = arg; -+ -+ aws_thread_current_sleep(aws_timestamp_convert(100, AWS_TIMESTAMP_MILLIS, AWS_TIMESTAMP_NANOS, NULL)); -+ -+ aws_mutex_lock(&test_data->mutex); -+ test_data->done = true; -+ aws_condition_variable_notify_one(&test_data->condition_variable); -+ aws_mutex_unlock(&test_data->mutex); -+} -+ -+/* Regression test: with a 32-bit time_t, a huge timeout used to wrap the deadline into the past, -+ * so the wait timed out immediately instead of waiting to be notified. */ -+static int s_test_conditional_wait_for_max_timeout_fn(struct aws_allocator *allocator, void *ctx) { -+ (void)ctx; -+ -+ struct wait_for_max_test_data test_data = { -+ .mutex = AWS_MUTEX_INIT, -+ .condition_variable = AWS_CONDITION_VARIABLE_INIT, -+ .done = false, -+ }; -+ -+ ASSERT_SUCCESS(aws_mutex_lock(&test_data.mutex)); -+ -+ struct aws_thread thread; -+ ASSERT_SUCCESS(aws_thread_init(&thread, allocator)); -+ ASSERT_SUCCESS(aws_thread_launch(&thread, s_wait_for_max_thread_fn, &test_data, NULL)); -+ -+ ASSERT_SUCCESS(aws_condition_variable_wait_for_pred( -+ &test_data.condition_variable, &test_data.mutex, INT64_MAX, s_wait_for_max_predicate, &test_data)); -+ ASSERT_TRUE(test_data.done); -+ -+ ASSERT_SUCCESS(aws_mutex_unlock(&test_data.mutex)); -+ -+ aws_thread_join(&thread); -+ aws_thread_clean_up(&thread); -+ -+ return AWS_OP_SUCCESS; -+} -+ -+AWS_TEST_CASE(conditional_wait_for_max_timeout, s_test_conditional_wait_for_max_timeout_fn) diff --git a/dev-libs/aws-c-s3/Manifest b/dev-libs/aws-c-s3/Manifest index 9fb31359d911..42d85472e91f 100644 --- a/dev-libs/aws-c-s3/Manifest +++ b/dev-libs/aws-c-s3/Manifest @@ -1,2 +1,3 @@ DIST aws-c-s3-1.3.1.tar.gz 571766 BLAKE2B 1cd7a362ef6f3c0651d65a9c35a95385a66ec7954502a341f54c9ed4289fe0523b41d43ab71bd3a926c65fc1620beecaa527131e016fb9dbaad1c8c18cd58652 SHA512 c69ebe6c70c57d77186c3a31a8f8c426e2236accf7e032528099f89ab901d8b2147c9bd8ac7487f51afc9135ace74851635826af0732c62c0b281620a610ac5b DIST aws-c-s3-1.4.1.tar.gz 579749 BLAKE2B 2b51afe3fb5500e6108588f1296c13bfca6d1ce4f2e7ba8d97436463a12eaddb5f1341795b9389898bd59b09511fd3e83c23a2ea5240695d6858e9b840a05498 SHA512 19055cd4b601ac55729a4c75518c693be63cda3ae10df038e998abd968637028627b8bb313f751d3beff2110600ee6a1a5c39cf7bf2d8c635ae28055e8d0958c +DIST aws-c-s3-1.5.0.tar.gz 596654 BLAKE2B 4fa8c3b0ef49419d3dc33250a58488c316d37c66551d55b1b51abd73023595f960cf78e3798e7c2af30efffc0061172f85d987b482e01b351a767d2f98d25457 SHA512 9af0bce45b475698d77750cf4d5e3a5d4b6ea996f7b9d0a59de7bb84ab645a8d9baaea243316a659d9a8feef14b01bebfd3bcbe3f77419e285f220360cdef918 diff --git a/dev-libs/aws-c-s3/aws-c-s3-1.5.0.ebuild b/dev-libs/aws-c-s3/aws-c-s3-1.5.0.ebuild new file mode 100644 index 000000000000..baa3a2c3b042 --- /dev/null +++ b/dev-libs/aws-c-s3/aws-c-s3-1.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="AWS C S3 async library" +HOMEPAGE="https://github.com/awslabs/aws-c-s3" +SRC_URI="https://github.com/awslabs/aws-c-s3/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/aws-c-auth-1.0.0:= + >=dev-libs/aws-c-cal-1.0.0:= + >=dev-libs/aws-c-common-1.0.0:= + >=dev-libs/aws-c-http-1.0.0:= + >=dev-libs/aws-c-io-1.1.1:= + >=dev-libs/aws-checksums-1.0.0:= +" +RDEPEND="${DEPEND}" +BDEPEND="dev-libs/aws-c-common" + +src_configure() { + local mycmakeargs=( + -DAWS_GET_VERSION_MODULE="${ESYSROOT}/usr/$(get_libdir)/cmake/aws-c-common/modules/AwsGetVersion.cmake" + -DBUILD_TESTING=$(usex test) + ) + use test && mycmakeargs+=( + -DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail. + ) + + cmake_src_configure +} + +src_install() +{ + cmake_src_install + + if use test; then + rm "${ED}/usr/bin/s3" || die + fi +} diff --git a/dev-libs/iniparser/iniparser-4.3.2.ebuild b/dev-libs/iniparser/iniparser-4.3.2.ebuild index c55f13e2f22f..97a0adfaf5c3 100644 --- a/dev-libs/iniparser/iniparser-4.3.2.ebuild +++ b/dev-libs/iniparser/iniparser-4.3.2.ebuild @@ -12,7 +12,7 @@ S=${WORKDIR}/${PN}-v${PV} LICENSE="MIT" SLOT="0/4" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" IUSE="doc examples" # tests need work, uses ruby + fetchcontent RESTRICT="test" diff --git a/dev-libs/s2n-tls/Manifest b/dev-libs/s2n-tls/Manifest index 0fbeb7135db5..028550d079a9 100644 --- a/dev-libs/s2n-tls/Manifest +++ b/dev-libs/s2n-tls/Manifest @@ -2,4 +2,5 @@ DIST s2n-tls-1.6.0.tar.gz 5108926 BLAKE2B 3ba2e31607bf9807caa715f526171e930c10e8 DIST s2n-tls-1.7.10.tar.gz 4938244 BLAKE2B 475c343a0887f966c53e06021b73bf24401cab1d0a2ab5a55ae8a9c378a945e93c38347abbd0d27e706f56e1504647efdce30b5e03da35ff49e7a2f3024619d0 SHA512 fadd8cdd5fca93f7390fe726441f14da81093dd74ead83057fe19c5bcaae759b17b01b33f418ae09d77a22da51dd09db4debde2f5e978dfa12840b0b4a9628ac DIST s2n-tls-1.7.11.tar.gz 4969344 BLAKE2B 21382835ffa840f38cef598b80398ee88251612044adac72fbe885792d266af6bc1fb9d7e64a02d33f1a4fbc71b845c5f4bfb08e118c65b88c2de2895db05ae3 SHA512 fa3426f1154410fa208ed2486e512daaadc9d715346a090e02ad5d8495e557184cc04ab50337def5c88b6c4cfee4dcdddfd92b1c1f5b3a05846cd3ef431a961a DIST s2n-tls-1.7.12.tar.gz 4969027 BLAKE2B 2dce99695d63502580818ee47faba76455c2212572e62b5a63574a71d38794181df741c8b1334102e9c44cfeb263b5334b3794fee72834b7f9c09f8d43edd31d SHA512 dd1d26f446dd939c66c9f3d989048eb6fdd01f49ddcf6027c098e63b95be9a0bfca771ea65f145072e231acd5aa215fe00f41b8c3fcbd92fb02f74303f3c6a81 +DIST s2n-tls-1.7.13.tar.gz 4975331 BLAKE2B 42ba4e169ff588f9d263a37eff0025a6bcc8272fc2698d6e97a762a5749d6f396b77c146acb0bc1b3735bff0963269f35b1fef0e9f0210eda8f38dad69ef248f SHA512 d760e9f331b3b921c32e9fb5c0c3538ae01dad22bca4097378712028aa2dd5b99b544faeb2e99fe55575dc4200b78fe839f60b252da00b96cdc604fd73b06be5 DIST s2n-tls-1.7.9.tar.gz 4934186 BLAKE2B c75bfd9a658f94ba667385072c65f6c470562fd0b80f4c507b92c21d8e9a8bd84b753db55b07c78c359c43c7b51bb7364d017cc4c8afccc529fe2383a48ce4e8 SHA512 b963727d39d807ab651000f9a6bf730c1ca03065bbb44f848efc825051328e22170880af37b6d10f2117c5cf3ccf85b081db0686e79d15249d5846eae64ef90a diff --git a/dev-libs/s2n-tls/s2n-tls-1.7.13.ebuild b/dev-libs/s2n-tls/s2n-tls-1.7.13.ebuild new file mode 100644 index 000000000000..8a6a137a3742 --- /dev/null +++ b/dev-libs/s2n-tls/s2n-tls-1.7.13.ebuild @@ -0,0 +1,35 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="s2n-tls is a C99 implementation of the TLS/SSL protocols" +HOMEPAGE="https://github.com/aws/s2n-tls" +SRC_URI="https://github.com/aws/s2n-tls/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/openssl:=" +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + + # stop overwriting LDFLAGS + sed -i -e '/set(CMAKE_SHARED_LINKER_FLAGS/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + -DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF + ) + + cmake_src_configure +} |
