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 9A6F3138334 for ; Tue, 20 Aug 2019 09:02:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0E26E0824; Tue, 20 Aug 2019 09:02:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 8D74CE0824 for ; Tue, 20 Aug 2019 09:02:34 +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 50FF5349EFF for ; Tue, 20 Aug 2019 09:02:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CB9E6FF for ; Tue, 20 Aug 2019 09:02:31 +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: <1566291746.7f7c94aee5a43251ac2812993d0c7ab51f0d17a2.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtrace/files/, net-libs/libtrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libtrace/files/libtrace-4.0.9_p1-SIOCGSTAMP.patch net-libs/libtrace/libtrace-4.0.9_p1-r1.ebuild X-VCS-Directories: net-libs/libtrace/files/ net-libs/libtrace/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 7f7c94aee5a43251ac2812993d0c7ab51f0d17a2 X-VCS-Branch: master Date: Tue, 20 Aug 2019 09:02:31 +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: 2b523161-5f1d-4d2b-aad9-b881262372e1 X-Archives-Hash: 601ee0f92cc87c1e4e114256aeff61bb commit: 7f7c94aee5a43251ac2812993d0c7ab51f0d17a2 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Aug 20 09:01:15 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Aug 20 09:02:26 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7c94ae net-libs/libtrace: Add include for SIOCGSTAMP definition Package-Manager: Portage-2.3.72, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/692430 Signed-off-by: Jeroen Roovers gentoo.org> .../files/libtrace-4.0.9_p1-SIOCGSTAMP.patch | 12 +++++ net-libs/libtrace/libtrace-4.0.9_p1-r1.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/net-libs/libtrace/files/libtrace-4.0.9_p1-SIOCGSTAMP.patch b/net-libs/libtrace/files/libtrace-4.0.9_p1-SIOCGSTAMP.patch new file mode 100644 index 00000000000..0693601356b --- /dev/null +++ b/net-libs/libtrace/files/libtrace-4.0.9_p1-SIOCGSTAMP.patch @@ -0,0 +1,12 @@ +diff --git a/lib/format_linux_common.h b/lib/format_linux_common.h +index 244144b1..b6a66d30 100644 +--- a/lib/format_linux_common.h ++++ b/lib/format_linux_common.h +@@ -44,6 +44,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/net-libs/libtrace/libtrace-4.0.9_p1-r1.ebuild b/net-libs/libtrace/libtrace-4.0.9_p1-r1.ebuild new file mode 100644 index 00000000000..84bdf221362 --- /dev/null +++ b/net-libs/libtrace/libtrace-4.0.9_p1-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="A library and tools for trace processing" +HOMEPAGE="https://research.wand.net.nz/software/libtrace.php" +SRC_URI="https://github.com/${PN^}Team/${PN}/archive//${PV/_p/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc ncurses numa static-libs" + +RDEPEND=" + >=net-libs/libpcap-0.8 + dev-libs/libyaml + dev-libs/openssl:0= + net-libs/wandio + ncurses? ( sys-libs/ncurses:0= ) + numa? ( sys-process/numactl ) +" +DEPEND=" + ${RDEPEND} + app-doc/doxygen + sys-devel/flex + virtual/os-headers + virtual/pkgconfig + virtual/yacc +" +PATCHES=( + "${FILESDIR}"/${PN}-3.0.20-autoconf-1.13.patch + "${FILESDIR}"/${PN}-4.0.0-no-examples.patch + "${FILESDIR}"/${PN}-4.0.0-with-numa.patch + "${FILESDIR}"/${PN}-4.0.9_p1-tinfo.patch + "${FILESDIR}"/${PN}-4.0.9_p1-SIOCGSTAMP.patch +) +S=${WORKDIR}/${P/_p/-} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with ncurses) \ + $(use_with numa) \ + --with-man +} + +src_install() { + default + + use doc && dodoc -r docs/doxygen/html + + find "${D}" -name "*.la" -delete || die +}