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 CE89A13832E for ; Sat, 30 Jul 2016 19:28:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFB7FE0A9D; Sat, 30 Jul 2016 19:28:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84AE6E0A9D for ; Sat, 30 Jul 2016 19:28:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BE12340CC4 for ; Sat, 30 Jul 2016 19:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA7A78DD for ; Sat, 30 Jul 2016 19:28:00 +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: <1469906878.5604fa98bd62965b33f1ff0f242be18393fee5b6.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcptrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/tcptrace/Manifest net-analyzer/tcptrace/tcptrace-6.6.7_p4_p1.ebuild X-VCS-Directories: net-analyzer/tcptrace/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5604fa98bd62965b33f1ff0f242be18393fee5b6 X-VCS-Branch: master Date: Sat, 30 Jul 2016 19:28:00 +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-Archives-Salt: 51d272d4-3834-457b-828d-9aa0b70215bb X-Archives-Hash: ad3e01d9949de540bf76b24e7a13ab90 commit: 5604fa98bd62965b33f1ff0f242be18393fee5b6 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Jul 30 19:27:37 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Jul 30 19:27:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5604fa98 net-analyzer/tcptrace: Pull in Debian patch to replace private pcap_offline_read() call (bug #590076). Package-Manager: portage-2.3.0 net-analyzer/tcptrace/Manifest | 1 + net-analyzer/tcptrace/tcptrace-6.6.7_p4_p1.ebuild | 64 +++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-analyzer/tcptrace/Manifest b/net-analyzer/tcptrace/Manifest index 4a7145e..9c4916d 100644 --- a/net-analyzer/tcptrace/Manifest +++ b/net-analyzer/tcptrace/Manifest @@ -1 +1,2 @@ DIST tcptrace-6.6.7.tar.gz 3773308 SHA256 63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd SHA512 3638770c342aea6c71aa556e758ed22e1fd44730f6c652cf82d3861eb1c31b186952c660071bd1df45020b80eaf9dd090a4ff58c979cc907eb8154dcb7b9b432 WHIRLPOOL b7eb2373b9a26789c47bb05e1e45047164648ff6f5cb3b57ba552d205443ca1fba7df9dd983a68f712a3e7398e776d97b328463f2497e7e39ba2b7db789c14b0 +DIST tcptrace_6.6.7-4.1.diff.gz 29161 SHA256 8d146edf2763badd92813404240c996613e256f1300c801f0dad02b842bf3ed4 SHA512 2f6dfeb8e15faa0151bdbb18194587e51de040f63117eb1b469a826091d5c1e5eb41a306bdc94e89ce993d0d04ec31324e5f7eea0a1a52852e07ee80006b2087 WHIRLPOOL 56af4f8ca7f5efbe5fd57acc2e7a881c315b245f5a10e4e4ce7eee9101554e53694e576129a8a997b4bbf89c2a0a92a2eab2f7efeca401808399524979cd2b17 diff --git a/net-analyzer/tcptrace/tcptrace-6.6.7_p4_p1.ebuild b/net-analyzer/tcptrace/tcptrace-6.6.7_p4_p1.ebuild new file mode 100644 index 0000000..3493016 --- /dev/null +++ b/net-analyzer/tcptrace/tcptrace-6.6.7_p4_p1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools eutils flag-o-matic versionator + +TT_DEB_MAJOR=$(get_version_component_range 4) +TT_DEB_MAJOR=${TT_DEB_MAJOR/p} +TT_DEB_MINOR=$(get_version_component_range 5) +TT_DEB_MINOR=${TT_DEB_MINOR/p} +TT_VER=$(get_version_component_range 1-3) + +DESCRIPTION="A Tool for analyzing network packet dumps" +HOMEPAGE="http://www.tcptrace.org/" +SRC_URI=" + http://www.tcptrace.org/download/${PN}-${TT_VER}.tar.gz + http://www.tcptrace.org/download/old/6.6/${PN}-${TT_VER}.tar.gz + mirror://debian/pool/main/t/${PN}/${PN}_${TT_VER}-${TT_DEB_MAJOR}.${TT_DEB_MINOR}.diff.gz +" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DEPEND=" + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" + +S=${WORKDIR}/${PN}-${TT_VER} + +src_prepare() { + eapply "${FILESDIR}"/${PN}-${TT_VER}-cross-compile.patch + eapply "${WORKDIR}"/${PN}_${TT_VER}-${TT_DEB_MAJOR}.${TT_DEB_MINOR}.diff + + eapply_user + + append-cppflags -D_DEFAULT_SOURCE + + eautoreconf +} + +src_compile() { + emake CCOPT="${CFLAGS}" +} + +src_install() { + dobin tcptrace xpl2gpl + + newman tcptrace.man tcptrace.1 + dodoc CHANGES COPYRIGHT FAQ README* THANKS WWW +} + +pkg_postinst() { + if ! has_version ${CATEGORY}/${PN}; then + elog "Note: tcptrace outputs its graphs in the xpl (xplot)" + elog "format. Since xplot is unavailable, you will have to" + elog "use the included xpl2gpl utility to convert it to" + elog "the gnuplot format." + fi +}