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 22199139694 for ; Tue, 28 Feb 2017 08:13:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DBC321C028; Tue, 28 Feb 2017 08:13: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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F125321C028 for ; Tue, 28 Feb 2017 08:13:17 +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 7B9CD341236 for ; Tue, 28 Feb 2017 08:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C55B55735 for ; Tue, 28 Feb 2017 08:13:14 +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: <1488269592.e0c65f4377832ca0fab3ba02f26b174263df65b6.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.0-headers.patch net-libs/libtrace/libtrace-4.0.0-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: e0c65f4377832ca0fab3ba02f26b174263df65b6 X-VCS-Branch: master Date: Tue, 28 Feb 2017 08:13:14 +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: 2b38de00-68bc-491a-9fd5-5b47d00926f6 X-Archives-Hash: 4404863cc23924162d39d8418c07b3ac commit: e0c65f4377832ca0fab3ba02f26b174263df65b6 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Feb 28 08:12:14 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Feb 28 08:13:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c65f43 net-libs/libtrace: Install most headers in subdir (bug #604660). Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../libtrace/files/libtrace-4.0.0-headers.patch | 14 +++++ net-libs/libtrace/libtrace-4.0.0-r1.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/net-libs/libtrace/files/libtrace-4.0.0-headers.patch b/net-libs/libtrace/files/libtrace-4.0.0-headers.patch new file mode 100644 index 0000000000..589bf97cb0 --- /dev/null +++ b/net-libs/libtrace/files/libtrace-4.0.0-headers.patch @@ -0,0 +1,14 @@ +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 5a5ca35..6c0a8f2 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -1,6 +1,7 @@ + lib_LTLIBRARIES = libtrace.la +-include_HEADERS = libtrace.h dagformat.h lt_inttypes.h daglegacy.h \ +- rt_protocol.h erftypes.h libtrace_parallel.h \ ++include_HEADERS = libtrace.h libtrace_parallel.h ++pkginclude_HEADERS = dagformat.h lt_inttypes.h daglegacy.h \ ++ rt_protocol.h erftypes.h \ + data-struct/ring_buffer.h data-struct/object_cache.h \ + data-struct/vector.h data-struct/message_queue.h \ + data-struct/deque.h data-struct/linked_list.h \ diff --git a/net-libs/libtrace/libtrace-4.0.0-r1.ebuild b/net-libs/libtrace/libtrace-4.0.0-r1.ebuild new file mode 100644 index 0000000000..749f44a964 --- /dev/null +++ b/net-libs/libtrace/libtrace-4.0.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="A library and tools for trace processing" +HOMEPAGE="http://research.wand.net.nz/software/libtrace.php" +SRC_URI="http://research.wand.net.nz/software/${PN}/${P/_/-}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc ncurses numa static-libs" + +RDEPEND=" + >=net-libs/libpcap-0.8 + dev-libs/openssl:0= + ncurses? ( sys-libs/ncurses:0= ) + net-libs/wandio + numa? ( sys-process/numactl ) +" +DEPEND=" + ${RDEPEND} + app-doc/doxygen + sys-devel/flex + virtual/pkgconfig + virtual/yacc +" +PATCHES=( + "${FILESDIR}"/${PN}-3.0.20-autoconf-1.13.patch + "${FILESDIR}"/${PN}-3.0.20-tinfo.patch + "${FILESDIR}"/${PN}-4.0.0-headers.patch + "${FILESDIR}"/${PN}-4.0.0-no-examples.patch + "${FILESDIR}"/${PN}-4.0.0-with-numa.patch +) +S=${WORKDIR}/${P/_beta/} + +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 + + prune_libtool_files --modules +}