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 6597E138334 for ; Wed, 1 Jan 2020 13:38:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DEDEE0929; Wed, 1 Jan 2020 13:38:18 +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 9E66CE0929 for ; Wed, 1 Jan 2020 13:38:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4770A34DDEB for ; Wed, 1 Jan 2020 13:38:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04CD237 for ; Wed, 1 Jan 2020 13:38:15 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1577885893.29d1bef34e1182d771c4150a0720cca3ea4ed43e.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpslice/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild X-VCS-Directories: net-analyzer/tcpslice/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 29d1bef34e1182d771c4150a0720cca3ea4ed43e X-VCS-Branch: master Date: Wed, 1 Jan 2020 13:38:15 +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: 078e84d7-0c46-4ebd-a638-d10fb0006903 X-Archives-Hash: 7e6c5d7d9cf441a25c11bd9809028bda commit: 29d1bef34e1182d771c4150a0720cca3ea4ed43e Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 1 13:37:23 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 1 13:38:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d1bef3 net-analyzer/tcpslice: Version 1.2a_p3_p4 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild new file mode 100644 index 00000000000..c348b112eb3 --- /dev/null +++ b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools flag-o-matic + +MY_P="${PN}_$(ver_cut 1).$(ver_cut 2-3)$(ver_cut 5)" + +DESCRIPTION="Extract and concatenate portions of pcap files" +HOMEPAGE="http://www.tcpdump.org/ https://github.com/the-tcpdump-group/tcpslice" +LICENSE="BSD" +SLOT="0" +SRC_URI=" + mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}-$(ver_cut 7).debian.tar.gz +" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + net-libs/libpcap +" +DEPEND=" + ${RDEPEND} +" +S=${WORKDIR}/${MY_P/_/-} + +src_prepare() { + eapply \ + "${WORKDIR}"/debian/patches/[0-]* \ + "${FILESDIR}"/${PN}-1.2a_p3-exit.patch + eapply_user + sed -i -e 's|ifndef lint|if 0|g' *.c || die + eautoconf +} + +src_install() { + dosbin tcpslice + doman tcpslice.1 + dodoc README +}