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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99DE315800A for ; Thu, 27 Jul 2023 07:35:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C73FCE0968; Thu, 27 Jul 2023 07:35:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD380E0968 for ; Thu, 27 Jul 2023 07:35:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E5C9341495 for ; Thu, 27 Jul 2023 07:35:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3EA4DDD for ; Thu, 27 Jul 2023 07:35:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1690443338.e570a6b3de1540389fb45a1af263be3a426269df.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpdump/, net-analyzer/tcpdump/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/tcpdump/files/tcpdump-4.99.4-lfs.patch net-analyzer/tcpdump/files/tcpdump-9999-lfs.patch net-analyzer/tcpdump/tcpdump-4.99.4-r1.ebuild net-analyzer/tcpdump/tcpdump-4.99.4.ebuild net-analyzer/tcpdump/tcpdump-9999.ebuild X-VCS-Directories: net-analyzer/tcpdump/ net-analyzer/tcpdump/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e570a6b3de1540389fb45a1af263be3a426269df X-VCS-Branch: master Date: Thu, 27 Jul 2023 07:35:50 +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: f33cfc7d-91eb-405c-9484-456090e40013 X-Archives-Hash: 1cf42d9f5fa0db1a7ab1e6f230f2d4be commit: e570a6b3de1540389fb45a1af263be3a426269df Author: Sam James gentoo org> AuthorDate: Thu Jul 27 07:35:20 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 27 07:35:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e570a6b3 net-analyzer/tcpdump: build with LFS Closes: https://bugs.gentoo.org/911176 Signed-off-by: Sam James gentoo.org> .../tcpdump/files/tcpdump-4.99.4-lfs.patch | 22 ++++++++++++++++++++++ net-analyzer/tcpdump/files/tcpdump-9999-lfs.patch | 22 ++++++++++++++++++++++ ...dump-4.99.4.ebuild => tcpdump-4.99.4-r1.ebuild} | 1 + net-analyzer/tcpdump/tcpdump-9999.ebuild | 1 + 4 files changed, 46 insertions(+) diff --git a/net-analyzer/tcpdump/files/tcpdump-4.99.4-lfs.patch b/net-analyzer/tcpdump/files/tcpdump-4.99.4-lfs.patch new file mode 100644 index 000000000000..b38c2c24b108 --- /dev/null +++ b/net-analyzer/tcpdump/files/tcpdump-4.99.4-lfs.patch @@ -0,0 +1,22 @@ +https://github.com/the-tcpdump-group/tcpdump/pull/1068 + +From 54278acb038f0d16ed75cdddb35fd2813a7cdcef Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Thu, 27 Jul 2023 08:31:53 +0100 +Subject: [PATCH] configure.ac: use AC_SYS_LARGEFILE + +This enables 64-bit off_t where it's opt-in (e.g. glibc) on 32-bit platforms. + +Bug: https://bugs.gentoo.org/911176 +Signed-off-by: Sam James +--- a/configure.ac ++++ b/configure.ac +@@ -30,7 +30,7 @@ if test "$ac_cv_prog_cc_c99" = "no"; then + fi + AC_LBL_C_INIT(V_CCOPT, V_INCLS) + AC_LBL_C_INLINE +- ++AC_SYS_LARGEFILE + AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h net/if.h) + + case "$host_os" in diff --git a/net-analyzer/tcpdump/files/tcpdump-9999-lfs.patch b/net-analyzer/tcpdump/files/tcpdump-9999-lfs.patch new file mode 100644 index 000000000000..396614ef3ad2 --- /dev/null +++ b/net-analyzer/tcpdump/files/tcpdump-9999-lfs.patch @@ -0,0 +1,22 @@ +https://github.com/the-tcpdump-group/tcpdump/pull/1068 + +From 54278acb038f0d16ed75cdddb35fd2813a7cdcef Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Thu, 27 Jul 2023 08:31:53 +0100 +Subject: [PATCH] configure.ac: use AC_SYS_LARGEFILE + +This enables 64-bit off_t where it's opt-in (e.g. glibc) on 32-bit platforms. + +Bug: https://bugs.gentoo.org/911176 +Signed-off-by: Sam James +--- a/configure.ac ++++ b/configure.ac +@@ -30,7 +30,7 @@ if test "$ac_cv_prog_cc_c99" = "no"; then + fi + AC_LBL_C_INIT(V_CCOPT, V_INCLS) + AC_C_INLINE +- ++AC_SYS_LARGEFILE + AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h net/if.h) + + case "$host_os" in diff --git a/net-analyzer/tcpdump/tcpdump-4.99.4.ebuild b/net-analyzer/tcpdump/tcpdump-4.99.4-r1.ebuild similarity index 98% rename from net-analyzer/tcpdump/tcpdump-4.99.4.ebuild rename to net-analyzer/tcpdump/tcpdump-4.99.4-r1.ebuild index 9d57fbcf31bb..3e0d26c1ea52 100644 --- a/net-analyzer/tcpdump/tcpdump-4.99.4.ebuild +++ b/net-analyzer/tcpdump/tcpdump-4.99.4-r1.ebuild @@ -58,6 +58,7 @@ fi PATCHES=( "${FILESDIR}"/${PN}-9999-libdir.patch + "${FILESDIR}"/${PN}-4.99.4-lfs.patch ) src_prepare() { diff --git a/net-analyzer/tcpdump/tcpdump-9999.ebuild b/net-analyzer/tcpdump/tcpdump-9999.ebuild index 8d03b876b291..ac1d9b041bd1 100644 --- a/net-analyzer/tcpdump/tcpdump-9999.ebuild +++ b/net-analyzer/tcpdump/tcpdump-9999.ebuild @@ -58,6 +58,7 @@ fi PATCHES=( "${FILESDIR}"/${PN}-9999-libdir.patch + "${FILESDIR}"/${PN}-9999-lfs.patch ) src_prepare() {