From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66A9D1382C5 for ; Sat, 22 May 2021 20:12:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F66FE0875; Sat, 22 May 2021 20:12:27 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C3F1E0875 for ; Sat, 22 May 2021 20:12:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F389F340CAC for ; Sat, 22 May 2021 20:12:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CA3B794 for ; Sat, 22 May 2021 20:12:24 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1621714329.895cd505ac064877f5411a6b6b867876e7eb3ca5.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/socket_wrapper/, net-libs/socket_wrapper/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/socket_wrapper/Manifest net-libs/socket_wrapper/files/1.2.4-tests-pid.patch net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild X-VCS-Directories: net-libs/socket_wrapper/ net-libs/socket_wrapper/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 895cd505ac064877f5411a6b6b867876e7eb3ca5 X-VCS-Branch: master Date: Sat, 22 May 2021 20:12:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d2e175bd-ad1d-4817-a4b4-c1f2a9773bb5 X-Archives-Hash: 9c9c553c77a601deb166c7cee766a7cb commit: 895cd505ac064877f5411a6b6b867876e7eb3ca5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat May 22 19:03:14 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat May 22 20:12:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=895cd505 net-libs/socket_wrapper: Drop 1.2.3 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> Signed-off-by: Lars Wendler gentoo.org> net-libs/socket_wrapper/Manifest | 1 - .../socket_wrapper/files/1.2.4-tests-pid.patch | 47 ---------------------- .../socket_wrapper/socket_wrapper-1.2.3.ebuild | 28 ------------- 3 files changed, 76 deletions(-) diff --git a/net-libs/socket_wrapper/Manifest b/net-libs/socket_wrapper/Manifest index 8b296abbd49..db0b6d157fd 100644 --- a/net-libs/socket_wrapper/Manifest +++ b/net-libs/socket_wrapper/Manifest @@ -1,2 +1 @@ -DIST socket_wrapper-1.2.3.tar.gz 67476 BLAKE2B 66858406398ce3f33311390812f5fe377a7064d94be5af15fe03c363ab39798fd5a5dad7259e4ef477887c3de8b1d4d1739d08128adea0b1759b3227b4657214 SHA512 78eb85da900b43cbb5b639f19a159fc55ec1209a1a86d5d1eee5f22225d749043712b74c0f8fcb77f5a9bb705568f4cd1cbc89f85941946c745ca2d3a60878b2 DIST socket_wrapper-1.3.2.tar.gz 86255 BLAKE2B 33f526a8871cfb1a889a84660ea8e82b6e591646924e16d2c452bb001e0eb4c1457b8151208bbec55c13c40fd124c160fc85d0df227519f62a2683e4ea1acb85 SHA512 f4d3a7026f1777a4c3b5481a0f6e6057b6372e9b64f44523ec1ebf0a34159d7154493dce6ee3c95fbea15607c6ada1382f2475d5d553133a061c80719c135b9d diff --git a/net-libs/socket_wrapper/files/1.2.4-tests-pid.patch b/net-libs/socket_wrapper/files/1.2.4-tests-pid.patch deleted file mode 100644 index 49aca70becd..00000000000 --- a/net-libs/socket_wrapper/files/1.2.4-tests-pid.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a70e32fa9d60adde861618c91618a3be80f07c22 Mon Sep 17 00:00:00 2001 -From: Mike Gilbert -Date: Thu, 7 May 2020 23:28:50 -0400 -Subject: [PATCH] tests: do not truncate pid to 16 bits - -On Linux, pid_t is a 32-bit type, and the kernel permits pids up to 22 -bits in length. - -Signed-off-by: Mike Gilbert ---- - tests/torture.c | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -diff --git a/tests/torture.c b/tests/torture.c -index e55ebcf..8524138 100644 ---- a/tests/torture.c -+++ b/tests/torture.c -@@ -255,8 +255,7 @@ void torture_teardown_socket_dir(void **state) - void torture_teardown_echo_srv(void **state) - { - struct torture_state *s = *state; -- char buf[8] = {0}; -- long int tmp; -+ char buf[11] = {0}; - ssize_t rc; - pid_t pid; - int fd; -@@ -277,13 +276,12 @@ void torture_teardown_echo_srv(void **state) - - buf[sizeof(buf) - 1] = '\0'; - -- tmp = strtol(buf, NULL, 10); -- if (tmp == 0 || tmp > 0xFFFF || errno == ERANGE) { -+ errno = 0; -+ pid = strtol(buf, NULL, 10); -+ if (pid == 0 || errno != 0) { - goto done; - } - -- pid = (pid_t)(tmp & 0xFFFF); -- - for (count = 0; count < 10; count++) { - /* Make sure the daemon goes away! */ - kill(pid, SIGTERM); --- -2.26.2 - diff --git a/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild b/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild deleted file mode 100644 index 29a7bc24504..00000000000 --- a/net-libs/socket_wrapper/socket_wrapper-1.2.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-multilib - -DESCRIPTION="A library passing all socket communications through unix sockets" -HOMEPAGE="https://cwrap.org/socket_wrapper.html" -SRC_URI="https://ftp.samba.org/pub/cwrap/${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( >=dev-util/cmocka-1.1.0 )" - -PATCHES=( - "${FILESDIR}"/1.2.4-tests-pid.patch -) - -src_configure() { - local mycmakeargs=( - -DUNIT_TESTING=$(usex test ON OFF) - ) - cmake-multilib_src_configure -}